Skip to content

Commit 951da1d

Browse files
Updates outdated swagger parser (#24)
* Add whitespace * Update swagger-parser * Update package.json * Add ajv * Do a downgrade of swagger-parser * Update node version and swagger * Remove test case for node 14 * Update lint env to 16 * Update hw1 to 16
1 parent ba098de commit 951da1d

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

.github/workflows/hw1.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
os: [ubuntu-latest]
25-
node: [14]
25+
node: [16]
2626
runs-on: ${{ matrix.os }}
2727
env:
2828
TEST_ENV: ${{ matrix.test_env || 'production' }}

.github/workflows/lint.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
fail-fast: false
2626
matrix:
2727
os: [ubuntu-latest]
28-
node: [14]
28+
node: [16]
2929
runs-on: ${{ matrix.os }}
3030
env:
3131
TEST_ENV: ${{ matrix.test_env || 'production' }}

.github/workflows/test.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ jobs:
2525
fail-fast: false
2626
matrix:
2727
os: [ubuntu-latest]
28-
node: [14, 16, 18]
28+
node: [16, 18]
2929
database: [mongo-dev, mongo, redis, postgres]
3030
include:
3131
# only run coverage once
3232
- os: ubuntu-latest
33-
node: 14
33+
node: 16
3434
coverage: true
3535
# test under development once
3636
- database: mongo-dev

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ![NodeBB](public/images/sm-card.png)
22

3-
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
3+
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
44

55
[**NodeBB Forum Software**](https://nodebb.org) is powered by Node.js and supports either Redis, MongoDB, or a PostgreSQL database. It utilizes web sockets for instant interactions and real-time notifications. NodeBB takes the best of the modern web: real-time streaming discussions, mobile responsiveness, and rich RESTful read/write APIs, while staying true to the original bulletin board/forum format → categorical hierarchies, local user accounts, and asynchronous messaging.
66

install/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
9797
"nodebb-plugin-dbsearch": "5.1.5",
9898
"nodebb-plugin-emoji": "4.0.6",
9999
"nodebb-plugin-emoji-android": "3.0.0",
100+
"nodebb-plugin-location-to-map": "^0.1.1",
100101
"nodebb-plugin-markdown": "10.1.1",
101102
"nodebb-plugin-mentions": "3.0.12",
102103
"nodebb-plugin-spam-be-gone": "1.0.2",
@@ -145,7 +146,7 @@
145146
"zxcvbn": "4.4.2"
146147
},
147148
"devDependencies": {
148-
"@apidevtools/swagger-parser": "10.0.3",
149+
"@apidevtools/swagger-parser": "^10.1.0",
149150
"@commitlint/cli": "17.3.0",
150151
"@commitlint/config-angular": "17.3.0",
151152
"@types/async": "^3.2.16",
@@ -178,7 +179,7 @@
178179
"url": "https://github.com/NodeBB/NodeBB/issues"
179180
},
180181
"engines": {
181-
"node": ">=12"
182+
"node": ">=16"
182183
},
183184
"maintainers": [
184185
{

0 commit comments

Comments
 (0)