diff --git a/.changeset/friendly-bats-shave.md b/.changeset/friendly-bats-shave.md new file mode 100644 index 00000000..25cb90f5 --- /dev/null +++ b/.changeset/friendly-bats-shave.md @@ -0,0 +1,5 @@ +--- +"eslint-plugin-json-schema-validator": minor +--- + +prevent timeouts on Node 19+ diff --git a/src/utils/http-client/get-modules/http.ts b/src/utils/http-client/get-modules/http.ts index c6e9c6c3..2fbaff81 100644 --- a/src/utils/http-client/get-modules/http.ts +++ b/src/utils/http-client/get-modules/http.ts @@ -72,6 +72,7 @@ function parseUrlAndOptions(urlStr: string, baseOptions: RequestOptions) { ? url.hostname.slice(1, -1) : url.hostname; const options: RequestOptions = { + agent: false, ...baseOptions, protocol: url.protocol, hostname,