From 7c4f69ebf163413758d6cd53e35d734300b27f09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Gorej?= Date: Thu, 12 Oct 2023 14:04:40 +0200 Subject: [PATCH] chore(deps-dev): bump @types/node from 20.8.3 to 20.8.4 (#3255) Closes #3243 --- package-lock.json | 19 ++++++++++++++----- package.json | 2 +- .../src/lexical-analysis/browser-patch.ts | 2 +- .../src/lexical-analysis/browser-patch.ts | 2 +- 4 files changed, 17 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4c88da829e..1c99d8285f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,7 @@ "@types/chai": "=4.3.7", "@types/dedent": "=0.7.0", "@types/mocha": "=10.0.2", - "@types/node": "=20.8.3", + "@types/node": "=20.8.4", "@types/sinon": "=10.0.18", "@typescript-eslint/eslint-plugin": "=6.7.5", "@typescript-eslint/parser": "=6.7.5", @@ -8576,10 +8576,13 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.8.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.3.tgz", - "integrity": "sha512-jxiZQFpb+NlH5kjW49vXxvxTjeeqlbsnTAdBTKpzEdPs9itay7MscYXz3Fo9VYFEsfQ6LJFitHad3faerLAjCw==", - "dev": true + "version": "20.8.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.4.tgz", + "integrity": "sha512-ZVPnqU58giiCjSxjVUESDtdPk4QR5WQhhINbc9UBrKLU68MX5BF6kbQzTrkwbolyr0X8ChBpXfavr5mZFKZQ5A==", + "dev": true, + "dependencies": { + "undici-types": "~5.25.1" + } }, "node_modules/@types/normalize-package-data": { "version": "2.4.1", @@ -33185,6 +33188,12 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/undici-types": { + "version": "5.25.3", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.25.3.tgz", + "integrity": "sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA==", + "dev": true + }, "node_modules/unicode-canonical-property-names-ecmascript": { "version": "2.0.0", "dev": true, diff --git a/package.json b/package.json index bf4aba49f5..2a58d735ef 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "@types/chai": "=4.3.7", "@types/dedent": "=0.7.0", "@types/mocha": "=10.0.2", - "@types/node": "=20.8.3", + "@types/node": "=20.8.4", "@types/sinon": "=10.0.18", "@typescript-eslint/eslint-plugin": "=6.7.5", "@typescript-eslint/parser": "=6.7.5", diff --git a/packages/apidom-parser-adapter-json/src/lexical-analysis/browser-patch.ts b/packages/apidom-parser-adapter-json/src/lexical-analysis/browser-patch.ts index db6d004471..d3071c81f1 100644 --- a/packages/apidom-parser-adapter-json/src/lexical-analysis/browser-patch.ts +++ b/packages/apidom-parser-adapter-json/src/lexical-analysis/browser-patch.ts @@ -13,6 +13,6 @@ if (isFunction(realFetch)) { // @ts-ignore return realFetch.apply(globalThis, [treeSitterWasm, tail(args)]); } - return realFetch.apply(globalThis, args); + return realFetch.apply(globalThis, args as never); }; } diff --git a/packages/apidom-parser-adapter-yaml-1-2/src/lexical-analysis/browser-patch.ts b/packages/apidom-parser-adapter-yaml-1-2/src/lexical-analysis/browser-patch.ts index db6d004471..d3071c81f1 100644 --- a/packages/apidom-parser-adapter-yaml-1-2/src/lexical-analysis/browser-patch.ts +++ b/packages/apidom-parser-adapter-yaml-1-2/src/lexical-analysis/browser-patch.ts @@ -13,6 +13,6 @@ if (isFunction(realFetch)) { // @ts-ignore return realFetch.apply(globalThis, [treeSitterWasm, tail(args)]); } - return realFetch.apply(globalThis, args); + return realFetch.apply(globalThis, args as never); }; }