Skip to content

Commit

Permalink
fix: use [email protected] to be further compatible with Node.js>=12.20.0 (
Browse files Browse the repository at this point in the history
  • Loading branch information
char0n authored Sep 7, 2023
1 parent 1c5396a commit 34ff082
Show file tree
Hide file tree
Showing 4 changed files with 128 additions and 98 deletions.
212 changes: 121 additions & 91 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@
},
"dependencies": {
"@babel/runtime-corejs3": "^7.20.13",
"@swagger-api/apidom-core": ">=0.74.1 <1.0.0",
"@swagger-api/apidom-json-pointer": ">=0.74.1 <1.0.0",
"@swagger-api/apidom-ns-openapi-3-1": ">=0.74.1 <1.0.0",
"@swagger-api/apidom-reference": ">=0.74.1 <1.0.0",
"@swagger-api/apidom-core": ">=0.76.1 <1.0.0",
"@swagger-api/apidom-json-pointer": ">=0.76.1 <1.0.0",
"@swagger-api/apidom-ns-openapi-3-1": ">=0.76.1 <1.0.0",
"@swagger-api/apidom-reference": ">=0.76.1 <1.0.0",
"cookie": "~0.5.0",
"cross-fetch": "^3.1.5",
"deepmerge": "~4.3.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ describe('dereference', () => {
expect(errors).toHaveLength(1);
expect(errors[0]).toMatchObject({
message: expect.stringMatching(
/^Could not resolve reference: Evaluation failed on token/
/^Could not resolve reference: JSON Pointer evaluation failed while evaluating/
),
baseDoc: expect.stringMatching(/unresolvable-path-item\/root\.json$/),
$ref: '#/paths/invalid-pointer',
Expand Down
Loading

0 comments on commit 34ff082

Please sign in to comment.