Skip to content
Open
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/renovate-27b61a5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'counterfact': patch
---

Updated dependency `@apidevtools/json-schema-ref-parser` to `15.3.1`.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
"using-temporary-files": "2.2.1"
},
"dependencies": {
"@apidevtools/json-schema-ref-parser": "13.0.5",
"@apidevtools/json-schema-ref-parser": "15.1.3",
"@hapi/accept": "6.0.3",
"@types/json-schema": "7.0.15",
"chokidar": "5.0.0",
Expand Down
4 changes: 3 additions & 1 deletion src/typescript-generator/specification.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ export class Specification {

async load(urlOrPath) {
this.rootRequirement = new Requirement(
await bundle(urlOrPath),
await bundle(urlOrPath, {
resolve: { http: { safeUrlResolver: false } },
}),
urlOrPath,
this,
);
Expand Down
13 changes: 6 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@
"@jridgewell/gen-mapping" "^0.3.5"
"@jridgewell/trace-mapping" "^0.3.24"

"@apidevtools/json-schema-ref-parser@13.0.5":
version "13.0.5"
resolved "https://registry.yarnpkg.com/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-13.0.5.tgz#e7a5cfc7df315ebcbafeb98199b72ebed9743b68"
integrity sha512-xfh4xVJD62gG6spIc7lwxoWT+l16nZu1ELyU8FkjaP/oD2yP09EvLAU6KhtudN9aML2Khhs9pY6Slr7KGTES3w==
"@apidevtools/json-schema-ref-parser@15.1.3":
version "15.1.3"
resolved "https://registry.yarnpkg.com/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-15.1.3.tgz#4dc45f3807cea9be807cfca0daf582d8c935f0f0"
integrity sha512-XvEitlOaU8S+hOrMPuGyCjp6vC51K+syUN4HHrSUdSDLLWRWQJYjInU6xlSoRGCVBCfcoHxbRm+yiaYq2yFR5w==
dependencies:
"@types/json-schema" "^7.0.15"
js-yaml "^4.1.0"
js-yaml "^4.1.1"

"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4", "@babel/code-frame@^7.24.7":
version "7.24.7"
Expand Down Expand Up @@ -6350,7 +6349,7 @@ js-tokens@^4.0.0:
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==

js-yaml@4.1.1, js-yaml@^3.13.1, js-yaml@^3.6.1, js-yaml@^4.1.0, js-yaml@^4.1.1:
js-yaml@4.1.1, js-yaml@^3.13.1, js-yaml@^3.6.1, js-yaml@^4.1.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.1.tgz#854c292467705b699476e1a2decc0c8a3458806b"
integrity sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==
Expand Down
Loading