Skip to content

Commit

Permalink
Updates outdated swagger parser (CMU-313#24)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
victorhuangwq authored Jan 21, 2023
1 parent ba098de commit 951da1d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/hw1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
node: [14]
node: [16]
runs-on: ${{ matrix.os }}
env:
TEST_ENV: ${{ matrix.test_env || 'production' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
node: [14]
node: [16]
runs-on: ${{ matrix.os }}
env:
TEST_ENV: ${{ matrix.test_env || 'production' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
node: [14, 16, 18]
node: [16, 18]
database: [mongo-dev, mongo, redis, postgres]
include:
# only run coverage once
- os: ubuntu-latest
node: 14
node: 16
coverage: true
# test under development once
- database: mongo-dev
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ![NodeBB](public/images/sm-card.png)

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

[**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.

Expand Down
5 changes: 3 additions & 2 deletions install/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
"nodebb-plugin-dbsearch": "5.1.5",
"nodebb-plugin-emoji": "4.0.6",
"nodebb-plugin-emoji-android": "3.0.0",
"nodebb-plugin-location-to-map": "^0.1.1",
"nodebb-plugin-markdown": "10.1.1",
"nodebb-plugin-mentions": "3.0.12",
"nodebb-plugin-spam-be-gone": "1.0.2",
Expand Down Expand Up @@ -145,7 +146,7 @@
"zxcvbn": "4.4.2"
},
"devDependencies": {
"@apidevtools/swagger-parser": "10.0.3",
"@apidevtools/swagger-parser": "^10.1.0",
"@commitlint/cli": "17.3.0",
"@commitlint/config-angular": "17.3.0",
"@types/async": "^3.2.16",
Expand Down Expand Up @@ -178,7 +179,7 @@
"url": "https://github.com/NodeBB/NodeBB/issues"
},
"engines": {
"node": ">=12"
"node": ">=16"
},
"maintainers": [
{
Expand Down

0 comments on commit 951da1d

Please sign in to comment.