Skip to content

Commit a17829f

Browse files
committed
chore: Bump postman-collection to v5 and drop support for node < 18
1 parent 1524f33 commit a17829f

File tree

4 files changed

+52
-81
lines changed

4 files changed

+52
-81
lines changed

.github/workflows/integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
node-version: [14.x, 16.x, 18.x]
13+
node-version: [18.x, 20.x, 22.x]
1414
steps:
1515
- uses: actions/checkout@v3
1616
- name: Use Node.js ${{ matrix.node-version }}
@@ -27,7 +27,7 @@ jobs:
2727
runs-on: ubuntu-latest
2828
strategy:
2929
matrix:
30-
node-version: [14.x, 16.x, 18.x]
30+
node-version: [18.x, 20.x, 22.x]
3131
steps:
3232
- uses: actions/checkout@v3
3333
- name: Use Node.js ${{ matrix.node-version }}

package-lock.json

Lines changed: 47 additions & 76 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
}
110110
},
111111
"engines": {
112-
"node": ">=8"
112+
"node": ">=18"
113113
},
114114
"main": "index.js",
115115
"bin": {
@@ -130,7 +130,7 @@
130130
"oas-resolver-browser": "2.5.6",
131131
"object-hash": "3.0.0",
132132
"path-browserify": "1.0.1",
133-
"postman-collection": "^4.4.0",
133+
"postman-collection": "^5.0.0",
134134
"swagger2openapi": "7.0.8",
135135
"yaml": "1.10.2"
136136
},

test/system/repository.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ describe('project repository', function () {
4949
expect(json.keywords).to.eql(['openapi', 'postman', 'api', 'schema', 'swagger', 'oas']);
5050

5151
expect(json).to.have.property('engines');
52-
expect(json.engines).to.eql({ node: '>=8' });
52+
expect(json.engines).to.eql({ node: '>=18' });
5353
});
5454

5555
it('must have a valid version string in form of <major>.<minor>.<revision>', function () {

0 commit comments

Comments
 (0)