Merge pull request #1655 from cosmos/fetch-happened-2

Fetch happened 2
This commit is contained in:
Simon Warta 2025-06-11 15:42:33 +02:00 committed by GitHub
commit 8d487aa985
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
20 changed files with 179 additions and 213 deletions

173
.pnp.cjs generated
View File

@ -833,14 +833,6 @@ const RAW_RUNTIME_STATE =
"astral-regex",\
"npm:2.0.0"\
],\
[\
"asynckit",\
"npm:0.4.0"\
],\
[\
"axios",\
"npm:1.6.2"\
],\
[\
"babylon",\
"npm:6.18.0"\
@ -997,10 +989,6 @@ const RAW_RUNTIME_STATE =
"colors",\
"npm:1.4.0"\
],\
[\
"combined-stream",\
"npm:1.0.8"\
],\
[\
"commander",\
"npm:2.20.3"\
@ -1061,6 +1049,10 @@ const RAW_RUNTIME_STATE =
"cosmjs-types",\
"npm:0.9.0"\
],\
[\
"cross-fetch",\
"npm:4.1.0"\
],\
[\
"cross-spawn",\
"npm:7.0.3"\
@ -1105,10 +1097,6 @@ const RAW_RUNTIME_STATE =
"define-properties",\
"npm:1.1.3"\
],\
[\
"delayed-stream",\
"npm:1.0.0"\
],\
[\
"delegates",\
"npm:1.0.0"\
@ -1401,10 +1389,6 @@ const RAW_RUNTIME_STATE =
"foreground-child",\
"npm:2.0.0"\
],\
[\
"form-data",\
"npm:4.0.0"\
],\
[\
"fresh",\
"npm:0.5.2"\
@ -2073,6 +2057,10 @@ const RAW_RUNTIME_STATE =
"node-addon-api",\
"npm:3.2.0"\
],\
[\
"node-fetch",\
"virtual:611613454578e2dd4bcee686f4d881fe5e138f6c540465d10e9f5a4dd350869bcb413fdfda81b5fcedf3990538dcbd302e372e25db17ec42816b0ce234944e88#npm:2.7.0"\
],\
[\
"node-gyp",\
"npm:9.4.0"\
@ -2285,10 +2273,6 @@ const RAW_RUNTIME_STATE =
"protobufjs",\
"npm:7.4.0"\
],\
[\
"proxy-from-env",\
"npm:1.1.0"\
],\
[\
"pump",\
"npm:3.0.0"\
@ -2671,6 +2655,10 @@ const RAW_RUNTIME_STATE =
"toidentifier",\
"npm:1.0.0"\
],\
[\
"tr46",\
"npm:0.0.3"\
],\
[\
"ts-node",\
"virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:8.10.2"\
@ -2799,6 +2787,10 @@ const RAW_RUNTIME_STATE =
"watchpack",\
"npm:2.4.0"\
],\
[\
"webidl-conversions",\
"npm:3.0.1"\
],\
[\
"webpack",\
"virtual:14e834828d065c83a62d939f78f867dca06a99ef32e4048b15b8f9e3433169eca01f5c29b8d8692cae8f8109cda402ac498149ee584b3d3b9e10e5ef4428aaa9#npm:5.76.1"\
@ -2815,6 +2807,10 @@ const RAW_RUNTIME_STATE =
"webpack-sources",\
"npm:3.2.3"\
],\
[\
"whatwg-url",\
"npm:5.0.0"\
],\
[\
"which",\
"npm:2.0.2"\
@ -3296,10 +3292,10 @@ const RAW_RUNTIME_STATE =
["@types/yargs", "npm:15.0.13"],\
["@typescript-eslint/eslint-plugin", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:5.54.0"],\
["@typescript-eslint/parser", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:5.54.0"],\
["axios", "npm:1.6.2"],\
["babylon", "npm:6.18.0"],\
["chalk", "npm:4.1.2"],\
["cosmjs-types", "npm:0.9.0"],\
["cross-fetch", "npm:4.1.0"],\
["diff", "npm:4.0.2"],\
["eslint", "npm:7.26.0"],\
["eslint-config-prettier", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:8.3.0"],\
@ -3532,7 +3528,7 @@ const RAW_RUNTIME_STATE =
["@types/node", "npm:22.10.6"],\
["@typescript-eslint/eslint-plugin", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:5.54.0"],\
["@typescript-eslint/parser", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:5.54.0"],\
["axios", "npm:1.6.2"],\
["cross-fetch", "npm:4.1.0"],\
["eslint", "npm:7.26.0"],\
["eslint-config-prettier", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:8.3.0"],\
["eslint-import-resolver-node", "npm:0.3.4"],\
@ -3909,7 +3905,7 @@ const RAW_RUNTIME_STATE =
["@types/node", "npm:22.10.6"],\
["@typescript-eslint/eslint-plugin", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:5.54.0"],\
["@typescript-eslint/parser", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:5.54.0"],\
["axios", "npm:1.6.2"],\
["cross-fetch", "npm:4.1.0"],\
["eslint", "npm:7.26.0"],\
["eslint-config-prettier", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:8.3.0"],\
["eslint-import-resolver-node", "npm:0.3.4"],\
@ -6473,27 +6469,6 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["asynckit", [\
["npm:0.4.0", {\
"packageLocation": "./.yarn/cache/asynckit-npm-0.4.0-c718858525-d73e2ddf20.zip/node_modules/asynckit/",\
"packageDependencies": [\
["asynckit", "npm:0.4.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["axios", [\
["npm:1.6.2", {\
"packageLocation": "./.yarn/cache/axios-npm-1.6.2-2334cb6eee-9b77e030e8.zip/node_modules/axios/",\
"packageDependencies": [\
["axios", "npm:1.6.2"],\
["follow-redirects", "virtual:a313c479c5c7e54d9ec8fbeeea69ff640f56b8989ea2dff42351a3fa5c4061fb80a52d8ede0f0826a181a216820c2d2c3f15da881e7fdf31cef1c446e42f0c45#npm:1.15.3"],\
["form-data", "npm:4.0.0"],\
["proxy-from-env", "npm:1.1.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["babylon", [\
["npm:6.18.0", {\
"packageLocation": "./.yarn/cache/babylon-npm-6.18.0-2c6a1b9c30-9b1bf946e1.zip/node_modules/babylon/",\
@ -7003,16 +6978,6 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["combined-stream", [\
["npm:1.0.8", {\
"packageLocation": "./.yarn/cache/combined-stream-npm-1.0.8-dc14d4a63a-0dbb829577.zip/node_modules/combined-stream/",\
"packageDependencies": [\
["combined-stream", "npm:1.0.8"],\
["delayed-stream", "npm:1.0.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["commander", [\
["npm:2.20.3", {\
"packageLocation": "./.yarn/cache/commander-npm-2.20.3-d8dcbaa39b-74c781a524.zip/node_modules/commander/",\
@ -7192,6 +7157,16 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["cross-fetch", [\
["npm:4.1.0", {\
"packageLocation": "./.yarn/cache/cross-fetch-npm-4.1.0-6116134545-628b134ea2.zip/node_modules/cross-fetch/",\
"packageDependencies": [\
["cross-fetch", "npm:4.1.0"],\
["node-fetch", "virtual:611613454578e2dd4bcee686f4d881fe5e138f6c540465d10e9f5a4dd350869bcb413fdfda81b5fcedf3990538dcbd302e372e25db17ec42816b0ce234944e88#npm:2.7.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["cross-spawn", [\
["npm:7.0.3", {\
"packageLocation": "./.yarn/cache/cross-spawn-npm-7.0.3-e4ff3e65b3-5738c31238.zip/node_modules/cross-spawn/",\
@ -7374,15 +7349,6 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["delayed-stream", [\
["npm:1.0.0", {\
"packageLocation": "./.yarn/cache/delayed-stream-npm-1.0.0-c5a4c4cc02-d758899da0.zip/node_modules/delayed-stream/",\
"packageDependencies": [\
["delayed-stream", "npm:1.0.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["delegates", [\
["npm:1.0.0", {\
"packageLocation": "./.yarn/cache/delegates-npm-1.0.0-9b1942d75f-ba05874b91.zip/node_modules/delegates/",\
@ -8384,18 +8350,6 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["form-data", [\
["npm:4.0.0", {\
"packageLocation": "./.yarn/cache/form-data-npm-4.0.0-916facec2d-cb6f3ac491.zip/node_modules/form-data/",\
"packageDependencies": [\
["form-data", "npm:4.0.0"],\
["asynckit", "npm:0.4.0"],\
["combined-stream", "npm:1.0.8"],\
["mime-types", "npm:2.1.35"]\
],\
"linkType": "HARD"\
}]\
]],\
["fresh", [\
["npm:0.5.2", {\
"packageLocation": "./.yarn/cache/fresh-npm-0.5.2-ad2bb4c0a2-c6d27f3ed8.zip/node_modules/fresh/",\
@ -10390,6 +10344,29 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["node-fetch", [\
["npm:2.7.0", {\
"packageLocation": "./.yarn/cache/node-fetch-npm-2.7.0-587d57004e-b55786b602.zip/node_modules/node-fetch/",\
"packageDependencies": [\
["node-fetch", "npm:2.7.0"]\
],\
"linkType": "SOFT"\
}],\
["virtual:611613454578e2dd4bcee686f4d881fe5e138f6c540465d10e9f5a4dd350869bcb413fdfda81b5fcedf3990538dcbd302e372e25db17ec42816b0ce234944e88#npm:2.7.0", {\
"packageLocation": "./.yarn/__virtual__/node-fetch-virtual-8efb717437/0/cache/node-fetch-npm-2.7.0-587d57004e-b55786b602.zip/node_modules/node-fetch/",\
"packageDependencies": [\
["node-fetch", "virtual:611613454578e2dd4bcee686f4d881fe5e138f6c540465d10e9f5a4dd350869bcb413fdfda81b5fcedf3990538dcbd302e372e25db17ec42816b0ce234944e88#npm:2.7.0"],\
["@types/encoding", null],\
["encoding", null],\
["whatwg-url", "npm:5.0.0"]\
],\
"packagePeers": [\
"@types/encoding",\
"encoding"\
],\
"linkType": "HARD"\
}]\
]],\
["node-gyp", [\
["npm:9.4.0", {\
"packageLocation": "./.yarn/unplugged/node-gyp-npm-9.4.0-ebf5f5573e/node_modules/node-gyp/",\
@ -11070,15 +11047,6 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["proxy-from-env", [\
["npm:1.1.0", {\
"packageLocation": "./.yarn/cache/proxy-from-env-npm-1.1.0-c13d07f26b-fe7dd8b1bd.zip/node_modules/proxy-from-env/",\
"packageDependencies": [\
["proxy-from-env", "npm:1.1.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["pump", [\
["npm:3.0.0", {\
"packageLocation": "./.yarn/cache/pump-npm-3.0.0-0080bf6a7a-bbdeda4f74.zip/node_modules/pump/",\
@ -12691,6 +12659,15 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["tr46", [\
["npm:0.0.3", {\
"packageLocation": "./.yarn/cache/tr46-npm-0.0.3-de53018915-047cb209a6.zip/node_modules/tr46/",\
"packageDependencies": [\
["tr46", "npm:0.0.3"]\
],\
"linkType": "HARD"\
}]\
]],\
["ts-node", [\
["npm:8.10.2", {\
"packageLocation": "./.yarn/cache/ts-node-npm-8.10.2-b4fe5a56b0-628343f62f.zip/node_modules/ts-node/",\
@ -13094,6 +13071,15 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["webidl-conversions", [\
["npm:3.0.1", {\
"packageLocation": "./.yarn/cache/webidl-conversions-npm-3.0.1-60310f6a2b-5612d5f3e5.zip/node_modules/webidl-conversions/",\
"packageDependencies": [\
["webidl-conversions", "npm:3.0.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["webpack", [\
["npm:5.76.1", {\
"packageLocation": "./.yarn/cache/webpack-npm-5.76.1-9aeb64c072-9cfc3f5a42.zip/node_modules/webpack/",\
@ -14317,6 +14303,17 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["whatwg-url", [\
["npm:5.0.0", {\
"packageLocation": "./.yarn/cache/whatwg-url-npm-5.0.0-374fb45e60-1588bed84d.zip/node_modules/whatwg-url/",\
"packageDependencies": [\
["whatwg-url", "npm:5.0.0"],\
["tr46", "npm:0.0.3"],\
["webidl-conversions", "npm:3.0.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["which", [\
["npm:1.3.1", {\
"packageLocation": "./.yarn/cache/which-npm-1.3.1-f0ebb8bdd8-e945a8b6bb.zip/node_modules/which/",\

Binary file not shown.

BIN
.yarn/cache/axios-npm-1.6.2-2334cb6eee-9b77e030e8.zip (Stored with Git LFS) vendored

Binary file not shown.

Binary file not shown.

BIN
.yarn/cache/cross-fetch-npm-4.1.0-6116134545-628b134ea2.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
.yarn/cache/node-fetch-npm-2.7.0-587d57004e-b55786b602.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
.yarn/cache/tr46-npm-0.0.3-de53018915-047cb209a6.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

BIN
.yarn/cache/webidl-conversions-npm-3.0.1-60310f6a2b-5612d5f3e5.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

BIN
.yarn/cache/whatwg-url-npm-5.0.0-374fb45e60-1588bed84d.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

View File

@ -6,6 +6,10 @@ and this project adheres to
## [Unreleased]
- Replaxe axios with cross-fetch ([#1645])
[#1645]: https://github.com/cosmos/cosmjs/pull/1645
## [0.33.1] - 2025-03-12
### Fixed

View File

@ -51,10 +51,10 @@
"@cosmjs/stargate": "workspace:^",
"@cosmjs/tendermint-rpc": "workspace:^",
"@cosmjs/utils": "workspace:^",
"axios": "^1.6.0",
"babylon": "^6.18.0",
"chalk": "^4",
"cosmjs-types": "^0.9.0",
"cross-fetch": "^4.1.0",
"diff": "^4",
"recast": "^0.20",
"ts-node": "^8",

View File

@ -1,5 +1,5 @@
import axios from "axios";
import chalk from "chalk";
import fetch from "cross-fetch";
import * as fs from "fs";
import { join } from "path";
import yargs from "yargs";
@ -50,7 +50,7 @@ export async function main(originalArgs: readonly string[]): Promise<void> {
console.info(chalk.green("Initializing session for you. Have fun!"));
const visiblePackages = (await installedPackages()).filter(
(name) => name.startsWith("@cosmjs/") || name === "axios",
(name) => name.startsWith("@cosmjs/") || name === "cross-fetch",
);
console.info(chalk.yellow("The following packages have been installed and can be imported:"));
console.info(chalk.yellow(visiblePackages.join(", ")));
@ -59,7 +59,7 @@ export async function main(originalArgs: readonly string[]): Promise<void> {
if (args.selftest) {
// execute some trival stuff and exit
init += `
import axios from "axios";
import fetch from "cross-fetch";
import * as fs from "fs";
import {
@ -135,8 +135,8 @@ export async function main(originalArgs: readonly string[]): Promise<void> {
for (const source of args.init.map((arg) => arg.toString())) {
if (args.debug) console.info(`Adding code from: '${source}' ...`);
if (source.startsWith("https://")) {
const response = await axios.get(source);
init += response.data + "\n";
const response = await fetch(source).then((r) => r.json());
init += response + "\n";
} else {
init += fs.readFileSync(source, "utf8") + "\n";
}

View File

@ -40,7 +40,7 @@
"pack-web": "yarn build-or-skip && webpack --mode development --config webpack.web.config.js"
},
"dependencies": {
"axios": "^1.6.0"
"cross-fetch": "^4.1.0"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",

View File

@ -1,4 +1,4 @@
import axios from "axios";
import fetch from "cross-fetch";
export class FaucetClient {
private readonly baseUrl: string;
@ -20,7 +20,7 @@ export class FaucetClient {
};
try {
await axios.post(this.baseUrl + "/credit", body);
await fetch(this.baseUrl + "/credit", { method: "POST", body: JSON.stringify(body) });
} catch (error: any) {
if (error.response) {
// append response body to error message

View File

@ -49,7 +49,7 @@
"@cosmjs/socket": "workspace:^",
"@cosmjs/stream": "workspace:^",
"@cosmjs/utils": "workspace:^",
"axios": "^1.6.0",
"cross-fetch": "^4.1.0",
"readonly-date": "^1.0.0",
"xstream": "^11.14.0"
},

View File

@ -1,8 +1,4 @@
import axios from "axios";
// Global symbols in some environments
// https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch
declare const fetch: any | undefined;
import fetch from "cross-fetch";
function filterBadStatus(res: any): any {
if (res.status >= 400) {
@ -11,23 +7,6 @@ function filterBadStatus(res: any): any {
return res;
}
/**
* Node.js 18 comes with exprimental fetch support (https://nodejs.org/de/blog/announcements/v18-release-announce/).
* This is nice, but the implementation does not yet work wekk for us. We
* can just stick with axios on those systems for now.
*/
// eslint-disable-next-line @typescript-eslint/ban-types
function isExperimental(nodeJsFunc: Function): boolean {
// This works because we get this info in node 18:
//
// > fetch.toString()
// 'async function fetch(input, init = undefined) {\n' +
// " emitExperimentalWarning('The Fetch API');\n" +
// ' return lazyUndici().fetch(input, init);\n' +
// ' }'
return nodeJsFunc.toString().includes("emitExperimentalWarning");
}
/**
* Helper to work around missing CORS support in Tendermint (https://github.com/tendermint/tendermint/pull/2800)
*
@ -40,22 +19,16 @@ export async function http(
headers: Record<string, string> | undefined,
request?: any,
): Promise<any> {
if (typeof fetch === "function" && !isExperimental(fetch)) {
const settings = {
method: method,
body: request ? JSON.stringify(request) : undefined,
headers: {
// eslint-disable-next-line @typescript-eslint/naming-convention
"Content-Type": "application/json",
...headers,
},
};
return fetch(url, settings)
.then(filterBadStatus)
.then((res: any) => res.json());
} else {
return axios
.request({ url: url, method: method, data: request, headers: headers })
.then((res) => res.data);
}
const settings = {
method: method,
body: request ? JSON.stringify(request) : undefined,
headers: {
// eslint-disable-next-line @typescript-eslint/naming-convention
"Content-Type": "application/json",
...headers,
},
};
return fetch(url, settings)
.then(filterBadStatus)
.then((res: any) => res.json());
}

109
yarn.lock
View File

@ -345,10 +345,10 @@ __metadata:
"@types/yargs": "npm:^15.0.4"
"@typescript-eslint/eslint-plugin": "npm:^5.54.0"
"@typescript-eslint/parser": "npm:^5.54.0"
axios: "npm:^1.6.0"
babylon: "npm:^6.18.0"
chalk: "npm:^4"
cosmjs-types: "npm:^0.9.0"
cross-fetch: "npm:^4.1.0"
diff: "npm:^4"
eslint: "npm:^7.5"
eslint-config-prettier: "npm:^8.3.0"
@ -532,7 +532,7 @@ __metadata:
"@types/node": "npm:*"
"@typescript-eslint/eslint-plugin": "npm:^5.54.0"
"@typescript-eslint/parser": "npm:^5.54.0"
axios: "npm:^1.6.0"
cross-fetch: "npm:^4.1.0"
eslint: "npm:^7.5"
eslint-config-prettier: "npm:^8.3.0"
eslint-import-resolver-node: "npm:^0.3.4"
@ -936,7 +936,7 @@ __metadata:
"@types/node": "npm:*"
"@typescript-eslint/eslint-plugin": "npm:^5.54.0"
"@typescript-eslint/parser": "npm:^5.54.0"
axios: "npm:^1.6.0"
cross-fetch: "npm:^4.1.0"
eslint: "npm:^7.5"
eslint-config-prettier: "npm:^8.3.0"
eslint-import-resolver-node: "npm:^0.3.4"
@ -2453,24 +2453,6 @@ __metadata:
languageName: node
linkType: hard
"asynckit@npm:^0.4.0":
version: 0.4.0
resolution: "asynckit@npm:0.4.0"
checksum: 10c0/d73e2ddf20c4eb9337e1b3df1a0f6159481050a5de457c55b14ea2e5cb6d90bb69e004c9af54737a5ee0917fcf2c9e25de67777bbe58261847846066ba75bc9d
languageName: node
linkType: hard
"axios@npm:^1.6.0":
version: 1.6.2
resolution: "axios@npm:1.6.2"
dependencies:
follow-redirects: "npm:^1.15.0"
form-data: "npm:^4.0.0"
proxy-from-env: "npm:^1.1.0"
checksum: 10c0/9b77e030e85e4f9cbcba7bb52fbff67d6ce906c92d213e0bd932346a50140faf83733bf786f55bd58301bd92f9973885c7b87d6348023e10f7eaf286d0791a1d
languageName: node
linkType: hard
"babylon@npm:^6.18.0":
version: 6.18.0
resolution: "babylon@npm:6.18.0"
@ -2936,15 +2918,6 @@ __metadata:
languageName: node
linkType: hard
"combined-stream@npm:^1.0.8":
version: 1.0.8
resolution: "combined-stream@npm:1.0.8"
dependencies:
delayed-stream: "npm:~1.0.0"
checksum: 10c0/0dbb829577e1b1e839fa82b40c07ffaf7de8a09b935cadd355a73652ae70a88b4320db322f6634a4ad93424292fa80973ac6480986247f1734a1137debf271d5
languageName: node
linkType: hard
"commander@npm:^2.20.0":
version: 2.20.3
resolution: "commander@npm:2.20.3"
@ -3098,6 +3071,15 @@ __metadata:
languageName: node
linkType: hard
"cross-fetch@npm:^4.1.0":
version: 4.1.0
resolution: "cross-fetch@npm:4.1.0"
dependencies:
node-fetch: "npm:^2.7.0"
checksum: 10c0/628b134ea27cfcada67025afe6ef1419813fffc5d63d175553efa75a2334522d450300a0f3f0719029700da80e96327930709d5551cf6deb39bb62f1d536642e
languageName: node
linkType: hard
"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3":
version: 7.0.3
resolution: "cross-spawn@npm:7.0.3"
@ -3220,13 +3202,6 @@ __metadata:
languageName: node
linkType: hard
"delayed-stream@npm:~1.0.0":
version: 1.0.0
resolution: "delayed-stream@npm:1.0.0"
checksum: 10c0/d758899da03392e6712f042bec80aa293bbe9e9ff1b2634baae6a360113e708b91326594c8a486d475c69d6259afb7efacdc3537bfcda1c6c648e390ce601b19
languageName: node
linkType: hard
"delegates@npm:^1.0.0":
version: 1.0.0
resolution: "delegates@npm:1.0.0"
@ -4001,7 +3976,7 @@ __metadata:
languageName: node
linkType: hard
"follow-redirects@npm:^1.0.0, follow-redirects@npm:^1.15.0":
"follow-redirects@npm:^1.0.0":
version: 1.15.3
resolution: "follow-redirects@npm:1.15.3"
peerDependenciesMeta:
@ -4031,17 +4006,6 @@ __metadata:
languageName: node
linkType: hard
"form-data@npm:^4.0.0":
version: 4.0.0
resolution: "form-data@npm:4.0.0"
dependencies:
asynckit: "npm:^0.4.0"
combined-stream: "npm:^1.0.8"
mime-types: "npm:^2.1.12"
checksum: 10c0/cb6f3ac49180be03ff07ba3ff125f9eba2ff0b277fb33c7fc47569fc5e616882c5b1c69b9904c4c4187e97dd0419dd03b134174756f296dec62041e6527e2c6e
languageName: node
linkType: hard
"fresh@npm:~0.5.2":
version: 0.5.2
resolution: "fresh@npm:0.5.2"
@ -5516,7 +5480,7 @@ __metadata:
languageName: node
linkType: hard
"mime-types@npm:^2.1.12, mime-types@npm:^2.1.18, mime-types@npm:^2.1.27, mime-types@npm:~2.1.24":
"mime-types@npm:^2.1.18, mime-types@npm:^2.1.27, mime-types@npm:~2.1.24":
version: 2.1.35
resolution: "mime-types@npm:2.1.35"
dependencies:
@ -5797,6 +5761,20 @@ __metadata:
languageName: node
linkType: hard
"node-fetch@npm:^2.7.0":
version: 2.7.0
resolution: "node-fetch@npm:2.7.0"
dependencies:
whatwg-url: "npm:^5.0.0"
peerDependencies:
encoding: ^0.1.0
peerDependenciesMeta:
encoding:
optional: true
checksum: 10c0/b55786b6028208e6fbe594ccccc213cab67a72899c9234eb59dba51062a299ea853210fcf526998eaa2867b0963ad72338824450905679ff0fa304b8c5093ae8
languageName: node
linkType: hard
"node-gyp-build@npm:^4.3.0":
version: 4.5.0
resolution: "node-gyp-build@npm:4.5.0"
@ -6424,13 +6402,6 @@ __metadata:
languageName: node
linkType: hard
"proxy-from-env@npm:^1.1.0":
version: 1.1.0
resolution: "proxy-from-env@npm:1.1.0"
checksum: 10c0/fe7dd8b1bdbbbea18d1459107729c3e4a2243ca870d26d34c2c1bcd3e4425b7bcc5112362df2d93cc7fb9746f6142b5e272fd1cc5c86ddf8580175186f6ad42b
languageName: node
linkType: hard
"pump@npm:^3.0.0":
version: 3.0.0
resolution: "pump@npm:3.0.0"
@ -7513,6 +7484,13 @@ __metadata:
languageName: node
linkType: hard
"tr46@npm:~0.0.3":
version: 0.0.3
resolution: "tr46@npm:0.0.3"
checksum: 10c0/047cb209a6b60c742f05c9d3ace8fa510bff609995c129a37ace03476a9b12db4dbf975e74600830ef0796e18882b2381fb5fb1f6b4f96b832c374de3ab91a11
languageName: node
linkType: hard
"ts-node@npm:^8":
version: 8.10.2
resolution: "ts-node@npm:8.10.2"
@ -7834,6 +7812,13 @@ __metadata:
languageName: node
linkType: hard
"webidl-conversions@npm:^3.0.0":
version: 3.0.1
resolution: "webidl-conversions@npm:3.0.1"
checksum: 10c0/5612d5f3e54760a797052eb4927f0ddc01383550f542ccd33d5238cfd65aeed392a45ad38364970d0a0f4fea32e1f4d231b3d8dac4a3bdd385e5cf802ae097db
languageName: node
linkType: hard
"webpack-cli@npm:^4.6.0":
version: 4.7.0
resolution: "webpack-cli@npm:4.7.0"
@ -7922,6 +7907,16 @@ __metadata:
languageName: node
linkType: hard
"whatwg-url@npm:^5.0.0":
version: 5.0.0
resolution: "whatwg-url@npm:5.0.0"
dependencies:
tr46: "npm:~0.0.3"
webidl-conversions: "npm:^3.0.0"
checksum: 10c0/1588bed84d10b72d5eec1d0faa0722ba1962f1821e7539c535558fb5398d223b0c50d8acab950b8c488b4ba69043fd833cc2697056b167d8ad46fac3995a55d5
languageName: node
linkType: hard
"which-boxed-primitive@npm:^1.0.2":
version: 1.0.2
resolution: "which-boxed-primitive@npm:1.0.2"