Skip to content

Commit 3778b42

Browse files
authored
fix: Update Glob to fix memory leak issue from inflight (#430)
* Update glob, jest * Update node version * Update node v in readme * Update lock files * Update all vulnerable dependencies * Update lock * Fix node versions in ci matrix (#3) * Fix node versions in ci matrix * Update cli.spec.js.snap * Update ci.yml
1 parent 2325600 commit 3778b42

File tree

9 files changed

+6658
-8174
lines changed

9 files changed

+6658
-8174
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
name: audit
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
9+
- uses: actions/checkout@v4
1010
- name: Run audit
1111
run: yarn audit
1212

@@ -16,10 +16,13 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [12.x, 14.x]
19+
node-version: [22.x, 24.x]
2020

2121
steps:
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v4
23+
- uses: actions/setup-node@v4
24+
with:
25+
node-version: ${{ matrix.node-version }}
2326
- name: Install dependencies
2427
run: yarn install --frozen-lockfile
2528
- name: Run tests

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ The resulting `openapiSpecification` will be a [swagger tools](https://swagger.i
4949

5050
## System requirements
5151

52-
- Node.js 12.x or higher
52+
- Node.js 20.x or higher
5353

5454
You are viewing `swagger-jsdoc` v6 which is published in CommonJS module system.
5555

examples/eventDriven/src/customSpec.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"asyncapi": "2.0.0",
88
"components": {
99
"messages": {
10-
"UserSignedIn": {
10+
"UserSignedUp": {
1111
"payload": {
1212
"type": "object",
1313
"properties": {
@@ -18,7 +18,7 @@
1818
}
1919
}
2020
},
21-
"UserSignedUp": {
21+
"UserSignedIn": {
2222
"payload": {
2323
"type": "object",
2424
"properties": {
@@ -32,17 +32,17 @@
3232
}
3333
},
3434
"channels": {
35-
"user/signedin": {
35+
"user/signedup": {
3636
"subscribe": {
3737
"message": {
38-
"$ref": "#/components/messages/UserSignedIn"
38+
"$ref": "#/components/messages/UserSignedUp"
3939
}
4040
}
4141
},
42-
"user/signedup": {
42+
"user/signedin": {
4343
"subscribe": {
4444
"message": {
45-
"$ref": "#/components/messages/UserSignedUp"
45+
"$ref": "#/components/messages/UserSignedIn"
4646
}
4747
}
4848
}

examples/eventDriven/src/customSpec.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,27 @@ info:
55
asyncapi: 2.0.0
66
components:
77
messages:
8-
UserSignedIn:
8+
UserSignedUp:
99
payload:
1010
type: object
1111
properties:
1212
id:
1313
type: string
1414
description: Id of the user
15-
UserSignedUp:
15+
UserSignedIn:
1616
payload:
1717
type: object
1818
properties:
1919
id:
2020
type: string
2121
description: Id of the user
2222
channels:
23-
user/signedin:
24-
subscribe:
25-
message:
26-
$ref: "#/components/messages/UserSignedIn"
2723
user/signedup:
2824
subscribe:
2925
message:
3026
$ref: "#/components/messages/UserSignedUp"
27+
user/signedin:
28+
subscribe:
29+
message:
30+
$ref: "#/components/messages/UserSignedIn"
3131
tags: []

0 commit comments

Comments
 (0)