From 529c267affba776467dd5127980078e8d98dbde6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Filho?= Date: Tue, 4 Feb 2025 12:42:09 -0300 Subject: [PATCH 1/4] feat: adding the unenv package and removing the polyfill manager (#425) --- .../bundlers/esbuild/esbuild.bundlers.test.js | 4 +- lib/build/bundlers/esbuild/esbuild.config.js | 2 +- .../azion-polyfills.plugins.js | 20 +- .../azion-polyfills.plugins.test.js | 2 +- .../node-polyfills/node-polyfills.plugins.js | 416 +++-- .../node-polyfills.plugins.test.js | 2 +- lib/build/bundlers/helpers/azion-libs.js | 25 + lib/build/bundlers/polyfills/index.js | 3 - lib/build/bundlers/polyfills/node/_empty.js | 0 lib/build/bundlers/polyfills/node/crypto.js | 70 - lib/build/bundlers/polyfills/node/dns.js | 152 -- lib/build/bundlers/polyfills/node/fs.js | 524 ------ .../bundlers/polyfills/node/fs.promises.js | 0 .../bundlers/polyfills/node/globals/buffer.js | 4 - .../polyfills/node/globals/navigator.js | 5 - .../polyfills/node/globals/path-dirname.js | 6 - .../polyfills/node/globals/performance.js | 45 - .../polyfills/node/globals/process.cjs | 203 --- lib/build/bundlers/polyfills/node/http2.js | 148 -- lib/build/bundlers/polyfills/node/module.js | 138 -- .../bundlers/polyfills/polyfills-manager.js | 198 --- .../polyfills/polyfills-manager.test.js | 55 - .../azion-polyfills.plugins.js | 12 +- .../node-polyfills/node-polyfills.plugins.js | 148 +- .../node-polyfills.plugins.test.js | 1 - .../bundlers/webpack/webpack.bundlers.test.js | 6 +- lib/build/bundlers/webpack/webpack.config.js | 2 +- lib/env/polyfills/fs/fs.polyfills.js | 4 +- .../fs/{ => promises}/promises.polyfills.js | 2 +- package.json | 17 +- yarn.lock | 1454 +++++++++-------- 31 files changed, 1199 insertions(+), 2469 deletions(-) create mode 100644 lib/build/bundlers/helpers/azion-libs.js delete mode 100644 lib/build/bundlers/polyfills/index.js delete mode 100644 lib/build/bundlers/polyfills/node/_empty.js delete mode 100644 lib/build/bundlers/polyfills/node/crypto.js delete mode 100644 lib/build/bundlers/polyfills/node/dns.js delete mode 100644 lib/build/bundlers/polyfills/node/fs.js delete mode 100644 lib/build/bundlers/polyfills/node/fs.promises.js delete mode 100644 lib/build/bundlers/polyfills/node/globals/buffer.js delete mode 100644 lib/build/bundlers/polyfills/node/globals/navigator.js delete mode 100644 lib/build/bundlers/polyfills/node/globals/path-dirname.js delete mode 100644 lib/build/bundlers/polyfills/node/globals/performance.js delete mode 100644 lib/build/bundlers/polyfills/node/globals/process.cjs delete mode 100644 lib/build/bundlers/polyfills/node/http2.js delete mode 100644 lib/build/bundlers/polyfills/node/module.js delete mode 100644 lib/build/bundlers/polyfills/polyfills-manager.js delete mode 100644 lib/build/bundlers/polyfills/polyfills-manager.test.js rename lib/env/polyfills/fs/{ => promises}/promises.polyfills.js (98%) diff --git a/lib/build/bundlers/esbuild/esbuild.bundlers.test.js b/lib/build/bundlers/esbuild/esbuild.bundlers.test.js index 0607ef73..7f0ec847 100644 --- a/lib/build/bundlers/esbuild/esbuild.bundlers.test.js +++ b/lib/build/bundlers/esbuild/esbuild.bundlers.test.js @@ -53,7 +53,9 @@ describe('Esbuild Bundler', () => { const result = fs.readFileSync(tmpOutput.name, 'utf-8'); - expect(result).toContain('vulcan-node-modules-polyfills:crypto'); + expect(result).toContain( + 'node-built-in-modules:unenv/runtime/node/crypto/index', + ); }, TIMEOUT, ); diff --git a/lib/build/bundlers/esbuild/esbuild.config.js b/lib/build/bundlers/esbuild/esbuild.config.js index 43b963c3..3dacd49b 100644 --- a/lib/build/bundlers/esbuild/esbuild.config.js +++ b/lib/build/bundlers/esbuild/esbuild.config.js @@ -45,7 +45,7 @@ export default { target: 'es2022', format: 'esm', platform: 'browser', - mainFields: ['browser', 'main', 'module'], + mainFields: ['browser', 'module', 'main'], loader: { '.js': 'jsx', }, diff --git a/lib/build/bundlers/esbuild/plugins/azion-polyfills/azion-polyfills.plugins.js b/lib/build/bundlers/esbuild/plugins/azion-polyfills/azion-polyfills.plugins.js index b2438953..ec0e7c72 100644 --- a/lib/build/bundlers/esbuild/plugins/azion-polyfills/azion-polyfills.plugins.js +++ b/lib/build/bundlers/esbuild/plugins/azion-polyfills/azion-polyfills.plugins.js @@ -1,7 +1,7 @@ /* eslint-disable consistent-return */ import fs from 'fs'; import path from 'path'; -import PolyfillsManager from '../../../polyfills/index.js'; +import azionLibs from '../../../helpers/azion-libs.js'; /** * ESBuild Azion Module Plugin for polyfilling node modules. @@ -9,7 +9,7 @@ import PolyfillsManager from '../../../polyfills/index.js'; * @returns {object} - ESBuild plugin object. */ const ESBuildAzionModulePlugin = (buildProd) => { - const NAME = 'vulcan-azion-modules-polyfills'; + const NAME = 'bundler-azion-modules-polyfills'; const NAMESPACE = NAME; const filter = /^azion:/; const prefix = 'azion:'; @@ -21,14 +21,12 @@ const ESBuildAzionModulePlugin = (buildProd) => { */ name: NAME, setup: (build) => { - const polyfillManager = PolyfillsManager.buildPolyfills(); - const options = build.initialOptions; // external if (buildProd) { options.external = options.external || []; - [...polyfillManager.external].forEach(([key]) => { + [...azionLibs.external].forEach(([key]) => { if (/^[^:]+:/.test(key) && !options.external.includes(key)) { options.external.push(key); } @@ -38,8 +36,8 @@ const ESBuildAzionModulePlugin = (buildProd) => { if (!buildProd) { // build inject prefix (azion:) is not present and the polyfill is Azion options.inject = options.inject || []; - if (polyfillManager.external) { - [...polyfillManager.external].forEach(([key, value]) => { + if (azionLibs.external) { + [...azionLibs.external].forEach(([key, value]) => { const hasPrefix = /^[^:]+:/.test(key); if ( !hasPrefix && @@ -57,13 +55,13 @@ const ESBuildAzionModulePlugin = (buildProd) => { * @returns {object|undefined} - Object with path and namespace or undefined. */ build.onResolve({ filter }, async (args) => { - if (!buildProd && polyfillManager.external.has(args.path)) { + if (!buildProd && azionLibs.external.has(args.path)) { return { path: args.path, namespace: NAMESPACE, }; } - if (!polyfillManager.external.has(args.path)) { + if (!azionLibs.external.has(args.path)) { return; } @@ -87,10 +85,10 @@ const ESBuildAzionModulePlugin = (buildProd) => { * @returns {object} - Object with loader, contents, and resolve directory. */ build.onLoad({ filter, namespace: NAMESPACE }, async (args) => { - if (!polyfillManager.external.has(args.path)) { + if (!azionLibs.external.has(args.path)) { return; } - const resolved = polyfillManager.external.get(args.path); + const resolved = azionLibs.external.get(args.path); const contents = await fs.promises.readFile(resolved, 'utf8'); const resolveDir = path.dirname(resolved); diff --git a/lib/build/bundlers/esbuild/plugins/azion-polyfills/azion-polyfills.plugins.test.js b/lib/build/bundlers/esbuild/plugins/azion-polyfills/azion-polyfills.plugins.test.js index 899b0001..8f5dfea1 100644 --- a/lib/build/bundlers/esbuild/plugins/azion-polyfills/azion-polyfills.plugins.test.js +++ b/lib/build/bundlers/esbuild/plugins/azion-polyfills/azion-polyfills.plugins.test.js @@ -40,7 +40,7 @@ describe('Esbuild Azion Plugin', () => { }); expect(results.outputFiles.at(0)?.text.trim()).toContain( - 'vulcan-azion-modules-polyfills', + 'bundler-azion-modules-polyfills', ); }); }); diff --git a/lib/build/bundlers/esbuild/plugins/node-polyfills/node-polyfills.plugins.js b/lib/build/bundlers/esbuild/plugins/node-polyfills/node-polyfills.plugins.js index dce59f3f..4d69b87a 100644 --- a/lib/build/bundlers/esbuild/plugins/node-polyfills/node-polyfills.plugins.js +++ b/lib/build/bundlers/esbuild/plugins/node-polyfills/node-polyfills.plugins.js @@ -1,16 +1,297 @@ /* eslint-disable consistent-return */ +import { createRequire } from 'module'; import fs from 'fs'; import path from 'path'; -import PolyfillsManager from '../../../polyfills/index.js'; +import { env, nodeless } from 'unenv'; +import { builtinModules } from 'node:module'; +import { getAbsoluteLibDirPath } from '#utils'; +import unenvPresetAzion from 'azion/unenv-preset'; + +const require = createRequire(import.meta.url); + +const { alias, inject, polyfill, external } = env(nodeless, unenvPresetAzion); + +const INTERNAL_POLYFILL_DEV = 'internal-env-dev'; +const INTERNAL_POLYFILL_PROD = 'internal-env-prod'; +const INTERNAL_POLYFILL_PATH = `${getAbsoluteLibDirPath()}/env/polyfills`; +const INTERNAL_POLYFILL_PATH_PROD = `azion/unenv-preset/src/polyfills/node`; +const POLYFILL_PREFIX_DEV = 'aziondev:'; +const POLYFILL_PREFIX_PROD = 'azionprd:'; + +/** + * Get global inject + * @param {*} globalInject Global inject + * @returns {*} Return import statement and export name + */ +function getGlobalInject(globalInject) { + if (typeof globalInject === 'string') { + return { + importStatement: `import globalVar from "${globalInject}";`, + exportName: 'globalVar', + }; + } + const [moduleSpecifier, exportName] = globalInject; + return { + importStatement: `import { ${exportName} } from "${moduleSpecifier}";`, + exportName, + }; +} + +/** + * Handle alias unenv + * @param {*} build Build object + */ +function handleAliasUnenv(build) { + const UNENV_ALIAS_NAMESPACE = 'imported-unenv-alias'; + + const aliasAbsolute = {}; + Object.entries(alias).forEach(([module, unresolvedAlias]) => { + try { + aliasAbsolute[module] = require + .resolve(unresolvedAlias) + .replace(/\.cjs$/, '.mjs'); + } catch (e) { + console.log(e?.message); + // this is an alias for package that is not installed in the current app => ignore + } + }); + + const UNENV_ALIAS_RE = new RegExp( + `^(${Object.keys(aliasAbsolute).join('|')})$`, + ); + + build.onResolve({ filter: UNENV_ALIAS_RE }, (args) => { + return { + path: args.path, + namespace: UNENV_ALIAS_NAMESPACE, + }; + }); + + build.onLoad( + { filter: /.*/, namespace: UNENV_ALIAS_NAMESPACE }, + async (args) => { + const filePath = aliasAbsolute[args.path]; + const contents = await fs.promises.readFile(filePath, 'utf8'); + const resolveDir = path.dirname(filePath); + + return { + loader: 'js', + contents, + resolveDir, + }; + }, + ); +} + +/** + * Node built in modules + * @param {*} build Build object + * @param {*} isProd Is production build + */ +function nodeBuiltInModules(build, isProd) { + const IMPORTED_NODE_BUILT_IN_NAMESPACE = 'node-built-in-modules'; + + const NODEJS_MODULES_RE = new RegExp( + `^(node:)?(${builtinModules.join('|')})$`, + ); + + build.onResolve({ filter: NODEJS_MODULES_RE }, (args) => { + const nameModuleWithoutNode = args.path.replace('node:', ''); + const pathAlias = + alias[nameModuleWithoutNode] ?? alias[args.path] ?? args.path; + + const findModulePolyfill = (prefix, nameModule) => { + return polyfill.find((p) => p.startsWith(`${prefix}${nameModule}`)); + }; + + const resolvePolyfill = (prefix, namespace, nameModule) => { + const externalModule = external.find((ext) => { + return ( + ext === nameModule || + ext === args.path || + `node:${nameModule}` === ext + ); + }); + const polyfillResult = findModulePolyfill(prefix, nameModule); + // if polyfill is not found, check if the module is external + if (!polyfillResult && externalModule) { + return { + path: args.path, + external: externalModule.includes(args.path), + }; + } + if (polyfillResult) { + return { path: nameModule, namespace }; + } + }; + + const result = isProd + ? resolvePolyfill( + POLYFILL_PREFIX_PROD, + INTERNAL_POLYFILL_PROD, + nameModuleWithoutNode, + ) + : resolvePolyfill( + POLYFILL_PREFIX_DEV, + INTERNAL_POLYFILL_DEV, + nameModuleWithoutNode, + ); + + return ( + result ?? { + path: pathAlias, + namespace: IMPORTED_NODE_BUILT_IN_NAMESPACE, + external: external.includes(args.path), + } + ); + }); + + build.onLoad( + { filter: /.*/, namespace: IMPORTED_NODE_BUILT_IN_NAMESPACE }, + async (args) => { + const resolved = require.resolve(args.path); + const contents = await fs.promises.readFile(resolved, 'utf8'); + const resolveDir = path.dirname(resolved); + + return { + loader: 'js', + contents, + resolveDir, + }; + }, + ); +} + +/** + * Handle node js globals + * @param {*} build Build object + */ +function handleNodeJSGlobals(build) { + const UNENV_GLOBALS_RE = /_global_polyfill-([^.]+)\.js$/; + const prefix = path.resolve( + getAbsoluteLibDirPath(), + '../', + '_global_polyfill-', + ); + + // eslint-disable-next-line no-param-reassign + build.initialOptions.inject = [ + ...(build.initialOptions.inject ?? []), + ...Object.keys(inject).map((globalName) => `${prefix}${globalName}.js`), + ]; + + build.onResolve({ filter: UNENV_GLOBALS_RE }, (args) => ({ + path: args.path, + })); + + build.onLoad({ filter: UNENV_GLOBALS_RE }, (args) => { + const globalName = args.path.match(UNENV_GLOBALS_RE)[1]; + const { importStatement, exportName } = getGlobalInject(inject[globalName]); + + return { + contents: ` + ${importStatement} + globalThis.${globalName} = ${exportName}; + `, + }; + }); +} + +/** + * Handle internal polyfill env dev + * @param {*} build Build object + */ +function handleInternalPolyfillEnvDev(build) { + build.onLoad( + { filter: /.*/, namespace: INTERNAL_POLYFILL_DEV }, + async (args) => { + try { + const argsPathWhitoutNode = args.path.replace('node:', ''); + const polyfillPath = polyfill.find((p) => + p.startsWith(`${POLYFILL_PREFIX_DEV}${argsPathWhitoutNode}`), + ); + const internalPolyfillsPath = path.join( + INTERNAL_POLYFILL_PATH, + polyfillPath.replace( + `${POLYFILL_PREFIX_DEV}${argsPathWhitoutNode}:/`, + '', + ), + ); + const contents = await fs.promises.readFile( + internalPolyfillsPath, + 'utf8', + ); + const resolveDir = path.dirname(internalPolyfillsPath); + return { + loader: 'js', + contents, + resolveDir, + }; + } catch (error) { + console.error(`Error loading polyfill for ${args.path}`, error); + } + }, + ); +} + +/** + * Handle internal polyfill env prod + * @param {*} build Build object + */ +function handleInternalPolyfillEnvProd(build) { + build.onLoad( + { filter: /.*/, namespace: INTERNAL_POLYFILL_PROD }, + async (args) => { + try { + const polyfillPath = polyfill.find((p) => + p.startsWith(`${POLYFILL_PREFIX_PROD}${args.path}`), + ); + const internalPolyfillsPath = path.join( + INTERNAL_POLYFILL_PATH_PROD, + polyfillPath.replace(`${POLYFILL_PREFIX_PROD}${args.path}:/`, ''), + ); + const resolved = require.resolve(internalPolyfillsPath); + const contents = await fs.promises.readFile(resolved, 'utf8'); + const resolveDir = path.dirname(resolved); + return { + loader: 'js', + contents, + resolveDir, + }; + } catch (error) { + console.error(`Error loading polyfill prod for ${args.path}`, error); + } + }, + ); +} + +/** + * Define next js runtime + * @param {*} options Options object + */ +function defineNextJsRuntime(options) { + if (fs.existsSync(path.join(process.cwd(), '.next'))) { + const buildId = fs.readFileSync( + path.join(process.cwd(), '.next/BUILD_ID'), + 'utf-8', + ); + // eslint-disable-next-line no-param-reassign + options.define = { + ...options.define, + 'process.env.NEXT_RUNTIME': '"edge"', + 'process.env.NEXT_COMPUTE_JS': 'true', + 'process.env.__NEXT_BUILD_ID': `"${buildId}"`, + }; + } +} /** - * @param {boolean} buildProd Parameter to identify whether the build is dev or prod * ESBuild Node Module Plugin for polyfilling node modules. + * @param {boolean} buildProd Parameter to identify whether the build is dev or prod * @returns {object} - ESBuild plugin object. */ const ESBuildNodeModulePlugin = (buildProd) => { - const NAME = 'vulcan-node-modules-polyfills'; - const NAMESPACE = NAME; + const NAME = 'bundler-node-modules-polyfills'; return { /** @@ -19,11 +300,10 @@ const ESBuildNodeModulePlugin = (buildProd) => { */ name: NAME, setup: (build) => { - const polyfillManager = PolyfillsManager.buildPolyfills(); - // build options const options = build.initialOptions; options.define = options.define || {}; + if (!options.define?.global) { options.define.global = 'globalThis'; } @@ -34,124 +314,22 @@ const ESBuildNodeModulePlugin = (buildProd) => { 'process.env.NODE_ENV': '"production"', }; - if (fs.existsSync(path.join(process.cwd(), '.next'))) { - const buildId = fs.readFileSync( - path.join(process.cwd(), '.next/BUILD_ID'), - 'utf-8', - ); - options.define = { - ...options.define, - 'process.env.NEXT_RUNTIME': '"edge"', - 'process.env.NEXT_COMPUTE_JS': 'true', - 'process.env.__NEXT_BUILD_ID': `"${buildId}"`, - }; - } + // define nextjs runtime + defineNextJsRuntime(options); // build inject options.inject = options.inject || []; - if (polyfillManager.globals) { - [...polyfillManager.globals].forEach(([, value]) => { - options.inject.push(value); - }); - } - - // external - if (buildProd) { - options.external = options.external || []; - [...polyfillManager.external].forEach(([key]) => { - if (!/^[^:]+:/.test(key)) { - options.external.push(key); - options.external.push(`node:${key}`); - } - }); - } - - /** - * Resolve callback for ESBuild. - * @param {object} args - Arguments object. - * @returns {object|undefined} - Object with path and namespace or undefined. - */ - build.onResolve({ filter: /.*/ }, async (args) => { - const argsPath = args.path.replace(/^node:/, ''); - - if ( - !buildProd && - polyfillManager.external.has(argsPath) && - !/^[^:]+:/.test(argsPath) - ) { - return { - path: args.path, - namespace: NAMESPACE, - }; - } - - if (!polyfillManager.libs.has(argsPath)) { - return; - } - - // alias bypass - options.alias = options.alias || {}; - if ( - Object.keys(options.alias)?.length > 0 && - options?.alias[argsPath] - ) { - return; - } - - // external bypass - if ( - options?.external?.length > 0 && - options?.external?.includes(argsPath) - ) { - return; - } - - return { - path: args.path, - namespace: NAMESPACE, - }; - }); - /** - * Load callback for assets. - * @param {object} args - Arguments object. - * @returns {object} - Object with contents and loader type. - */ - build.onLoad({ filter: /\.(txt|html)/ }, async (args) => { - const contents = await fs.promises.readFile(args.path, 'utf8'); - return { - contents, - loader: 'text', - }; - }); - - /** - * Load callback for node module files. - * @param {object} args - Arguments object. - * @returns {object} - Object with loader, contents, and resolve directory. - */ - build.onLoad({ filter: /.*/, namespace: NAMESPACE }, async (args) => { - const argsPath = args.path.replace(/^node:/, ''); - - let resolved = polyfillManager.libs.get(argsPath); - - if ( - !buildProd && - polyfillManager.external.has(argsPath) && - !/^[^:]+:/.test(argsPath) - ) { - resolved = polyfillManager.external.get(argsPath); - } - - const contents = await fs.promises.readFile(resolved, 'utf8'); - const resolveDir = path.dirname(resolved); + options.alias = { + ...options.alias, + }; - return { - loader: 'js', - contents, - resolveDir, - }; - }); + // resolve modules + nodeBuiltInModules(build, buildProd); + handleAliasUnenv(build, alias, external); + handleNodeJSGlobals(build, inject); + handleInternalPolyfillEnvDev(build); + handleInternalPolyfillEnvProd(build); }, }; }; diff --git a/lib/build/bundlers/esbuild/plugins/node-polyfills/node-polyfills.plugins.test.js b/lib/build/bundlers/esbuild/plugins/node-polyfills/node-polyfills.plugins.test.js index 89769134..f3633720 100644 --- a/lib/build/bundlers/esbuild/plugins/node-polyfills/node-polyfills.plugins.test.js +++ b/lib/build/bundlers/esbuild/plugins/node-polyfills/node-polyfills.plugins.test.js @@ -34,7 +34,7 @@ describe('Esbuild Node Plugin', () => { }); expect(results.outputFiles.at(0)?.text.trim()).toContain( - 'vulcan-node-modules-polyfills:crypto', + 'node-built-in-modules:unenv/runtime/node/crypto/index', ); }); }); diff --git a/lib/build/bundlers/helpers/azion-libs.js b/lib/build/bundlers/helpers/azion-libs.js new file mode 100644 index 00000000..e21b6337 --- /dev/null +++ b/lib/build/bundlers/helpers/azion-libs.js @@ -0,0 +1,25 @@ +import { getAbsoluteLibDirPath } from '#utils'; + +const libDirPath = getAbsoluteLibDirPath(); + +const externalPolyfillsPath = `${libDirPath}/env/polyfills`; + +export default { + libs: new Map(), + globals: new Map(), + alias: new Map(), + external: new Map([ + [ + 'azion:storage', + `${externalPolyfillsPath}/azion/storage/storage.polyfills.js`, + ], + [ + 'Azion.env', + `${externalPolyfillsPath}/azion/env-vars/env-vars.polyfills.js`, + ], + [ + 'Azion.networkList', + `${externalPolyfillsPath}/azion/network-list/network-list.polyfills.js`, + ], + ]), +}; diff --git a/lib/build/bundlers/polyfills/index.js b/lib/build/bundlers/polyfills/index.js deleted file mode 100644 index 43dc1c30..00000000 --- a/lib/build/bundlers/polyfills/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import PolyfillsManager from './polyfills-manager.js'; - -export default new PolyfillsManager(); diff --git a/lib/build/bundlers/polyfills/node/_empty.js b/lib/build/bundlers/polyfills/node/_empty.js deleted file mode 100644 index e69de29b..00000000 diff --git a/lib/build/bundlers/polyfills/node/crypto.js b/lib/build/bundlers/polyfills/node/crypto.js deleted file mode 100644 index 6a6f5093..00000000 --- a/lib/build/bundlers/polyfills/node/crypto.js +++ /dev/null @@ -1,70 +0,0 @@ -/* eslint-disable */ -import crypto from 'crypto-browserify'; - -crypto.webcrypto = globalThis.crypto; -export default crypto; -export var { Cipher } = crypto; -export var { Cipheriv } = crypto; -export var { Decipher } = crypto; -export var { Decipheriv } = crypto; -export var { DiffieHellman } = crypto; -export var { DiffieHellmanGroup } = crypto; -export var { Hash } = crypto; -export var { Hmac } = crypto; -export var { Sign } = crypto; -export var { Verify } = crypto; -export var { constants } = crypto; -export var { createCipher } = crypto; -export var { createCipheriv } = crypto; -export var { createCredentials } = crypto; -export var { createDecipher } = crypto; -export var { createDecipheriv } = crypto; -export var { createDiffieHellman } = crypto; -export var { createDiffieHellmanGroup } = crypto; -export var { createECDH } = crypto; -export var { createHash } = crypto; -export var { createHmac } = crypto; -export var { createSign } = crypto; -export var { createVerify } = crypto; -export var { getCiphers } = crypto; -export var { getDiffieHellman } = crypto; -export var { getHashes } = crypto; -export var { listCiphers } = crypto; -export var { pbkdf2 } = crypto; -export var { pbkdf2Sync } = crypto; -export var { privateDecrypt } = crypto; -export var { privateEncrypt } = crypto; -export var { prng } = crypto; -export var { pseudoRandomBytes } = crypto; -export var { publicDecrypt } = crypto; -export var { publicEncrypt } = crypto; -export var { randomBytes } = crypto; -export var { randomFill } = crypto; -export var { randomFillSync } = crypto; -export var { rng } = crypto; -export var { webcrypto } = crypto; - -export var getRandomValues = function (abv) { - let l = abv.length; - while (l--) { - const bytes = randomBytes(7); - let randomFloat = (bytes[0] % 32) / 32; - - for (let i = 0; i < bytes.length; i++) { - const byte = bytes[i]; - randomFloat = (randomFloat + byte) / 256; - } - - abv[l] = Math.floor(randomFloat * 256); - } - return abv; -}; - -export var randomUUID = function () { - return '10000000-1000-4000-8000-100000000000'.replace(/[018]/g, function (c) { - return ( - c ^ - (getRandomValues(new Uint8Array(1))[0] & (15 >> (c / 4))) - ).toString(16); - }); -}; diff --git a/lib/build/bundlers/polyfills/node/dns.js b/lib/build/bundlers/polyfills/node/dns.js deleted file mode 100644 index 9098e5fc..00000000 --- a/lib/build/bundlers/polyfills/node/dns.js +++ /dev/null @@ -1,152 +0,0 @@ -/** - * - */ -function unimplemented() { - throw new Error('Node.js dns is not supported'); -} - -const promises = { - lookup: unimplemented, - lookupService: unimplemented, - Resolver: unimplemented, - getServers: unimplemented, - resolve: unimplemented, - resolve4: unimplemented, - resolve6: unimplemented, - resolveAny: unimplemented, - resolveCname: unimplemented, - resolveMx: unimplemented, - resolveNaptr: unimplemented, - resolveNs: unimplemented, - resolvePtr: unimplemented, - resolveSoa: unimplemented, - resolveSrv: unimplemented, - resolveTxt: unimplemented, - reverse: unimplemented, - setServers: unimplemented, -}; - -const dns = { - lookup: unimplemented, - lookupService: unimplemented, - Resolver: unimplemented, - setServers: unimplemented, - ADDRCONFIG: null, - V4MAPPED: null, - NODATA: null, - FORMERR: null, - SERVFAIL: null, - NOTFOUND: null, - NOTIMP: null, - REFUSED: null, - BADQUERY: null, - BADNAME: null, - BADFAMILY: null, - BADRESP: null, - CONNREFUSED: null, - TIMEOUT: null, - EOF: null, - FILE: null, - NOMEM: null, - DESTRUCTION: null, - BADSTR: null, - BADFLAGS: null, - NONAME: null, - BADHINTS: null, - NOTINITIALIZED: null, - LOADIPHLPAPI: null, - ADDRGETNETWORKPARAMS: null, - CANCELLED: null, - getServers: unimplemented, - resolve: unimplemented, - resolve4: unimplemented, - resolve6: unimplemented, - resolveAny: unimplemented, - resolveCname: unimplemented, - resolveMx: unimplemented, - resolveNaptr: unimplemented, - resolveNs: unimplemented, - resolvePtr: unimplemented, - resolveSoa: unimplemented, - resolveSrv: unimplemented, - resolveTxt: unimplemented, - reverse: unimplemented, - promises, -}; - -const ADDRCONFIG = null; -const V4MAPPED = null; -const NODATA = null; -const FORMERR = null; -const SERVFAIL = null; -const NOTFOUND = null; -const NOTIMP = null; -const REFUSED = null; -const BADQUERY = null; -const BADNAME = null; -const BADFAMILY = null; -const BADRESP = null; -const CONNREFUSED = null; -const TIMEOUT = null; -const EOF = null; -const FILE = null; -const NOMEM = null; -const DESTRUCTION = null; -const BADSTR = null; -const BADFLAGS = null; -const NONAME = null; -const BADHINTS = null; -const NOTINITIALIZED = null; -const LOADIPHLPAPI = null; -const ADDRGETNETWORKPARAMS = null; -const CANCELLED = null; - -export { - ADDRCONFIG, - ADDRGETNETWORKPARAMS, - BADFAMILY, - BADFLAGS, - BADHINTS, - BADNAME, - BADQUERY, - BADRESP, - BADSTR, - CANCELLED, - CONNREFUSED, - DESTRUCTION, - EOF, - FILE, - FORMERR, - LOADIPHLPAPI, - NODATA, - NOMEM, - NONAME, - NOTFOUND, - NOTIMP, - NOTINITIALIZED, - REFUSED, - unimplemented as Resolver, - SERVFAIL, - TIMEOUT, - V4MAPPED, - unimplemented as getServers, - unimplemented as lookup, - unimplemented as lookupService, - promises, - unimplemented as resolve, - unimplemented as resolve4, - unimplemented as resolve6, - unimplemented as resolveAny, - unimplemented as resolveCname, - unimplemented as resolveMx, - unimplemented as resolveNaptr, - unimplemented as resolveNs, - unimplemented as resolvePtr, - unimplemented as resolveSoa, - unimplemented as resolveSrv, - unimplemented as resolveTxt, - unimplemented as reverse, - unimplemented as setServers, -}; - -export default dns; diff --git a/lib/build/bundlers/polyfills/node/fs.js b/lib/build/bundlers/polyfills/node/fs.js deleted file mode 100644 index f072a209..00000000 --- a/lib/build/bundlers/polyfills/node/fs.js +++ /dev/null @@ -1,524 +0,0 @@ -/* eslint-disable max-classes-per-file */ -import bPath from 'path-browserify'; -import { Buffer } from 'buffer'; - -/* eslint-disable */ - -const MEM_FILES = globalThis.vulcan.__FILES__; - -globalThis.vulcan.FS_PATHS_CHANGED = false; - -/** - * fix mapped files paths based on path prefix - */ -function fixMappedFilesPaths() { - const prefix = globalThis.vulcan.FS_PATH_PREFIX_TO_REMOVE; - if (!globalThis.vulcan.FS_PATHS_CHANGED && prefix !== "") { - Object.keys(MEM_FILES).forEach((e) => { - const newKey = e.replace(prefix, ''); - MEM_FILES[newKey] = MEM_FILES[e]; - delete MEM_FILES[e]; - }); - } - - globalThis.vulcan.FS_PATHS_CHANGED = true; -} - -// ### fs polyfill utils -/** - * Get file object stored in mem - * @returns {any} file object - */ -function getFile(path) { - fixMappedFilesPaths(); - - return MEM_FILES[path]; -} - -/** - * Decode file content to return - * @returns {string|Buffer} the file content - */ -function getFileContent(file, returnBuffer = true) { - const buff = Buffer.from(file.content, 'base64'); - - if (returnBuffer) { - return buff; - } else { - return buff.toString('utf8'); - } -} - -/** - * Get available files in worker memory - * @returns {string[]} list of mapped files paths - */ -function getAvailableFiles() { - if (MEM_FILES && typeof MEM_FILES === 'object') { - return Object.keys(MEM_FILES); - } - - return []; -} - -/** - * Get available dirs based on mapped files - * @param {string[]} - files paths - * @returns {string[]} - list of available dirs - */ -function getAvailableDirs(files) { - if (files.length > 0) { - const existingDirs = new Set(); - - files.forEach((filePath) => { - const dirPath = bPath.dirname(filePath); - - let currentPath = '/'; - let pathSegments = dirPath.split('/'); - for (let i = 0; i < pathSegments.length; i++) { - currentPath = bPath.join(currentPath, pathSegments[i]); - if (!existingDirs.has(currentPath)) { - existingDirs.add(currentPath); - } - } - }); - - const dirs = Array.from(existingDirs); - - return dirs; - } - - return []; -} - -/** - * Get mapped files infos - * @returns {object} - object with files, dirs and paths - */ -function getFilesInfos() { - fixMappedFilesPaths(); - - const files = getAvailableFiles(); - const dirs = getAvailableDirs(files); - - return { - files, - dirs, - paths: [...files, ...dirs], - }; -} - -/** - * Returns a valid path - * @returns {string} - path to fix - */ -function getValidatedPath(path) { - if (path.endsWith('/')) { - path = path.slice(0, -1); - } - - if (!path.startsWith('/')) { - path = bPath.join('/', path); - } - - return path; -} - -function generateDefaultStat() { - const defaultDate = new Date(); - - return { - dev: 16777231, - mode: 33188, - nlink: 1, - uid: 503, - gid: 20, - rdev: 0, - blksize: 4096, - ino: 99415867, - size: 4037, - blocks: 8, - atimeMs: 1696531597782.944, - mtimeMs: 1696531596158.1772, - ctimeMs: 1696531596158.1772, - birthtimeMs: 1695652120928.4453, - atime: defaultDate, - mtime: defaultDate, - ctime: defaultDate, - birthtime: defaultDate, - }; -} - -// ### fs polyfills -// code based on node implementations - -const UV_DIRENT_FILE = 1; -const UV_DIRENT_DIR = 2; -const UV_DIRENT_LINK = 3; -const UV_DIRENT_FIFO = 4; -const UV_DIRENT_SOCKET = 5; -const UV_DIRENT_CHAR = 6; -const UV_DIRENT_BLOCK = 7; - -const kType = Symbol('type'); - -class CustomDirent { - constructor(name, type, path) { - this.name = name; - this.path = path; - this[kType] = type; - } - - isDirectory() { - return this[kType] === UV_DIRENT_DIR; - } - - isFile() { - return this[kType] === UV_DIRENT_FILE; - } - - isBlockDevice() { - return this[kType] === UV_DIRENT_BLOCK; - } - - isCharacterDevice() { - return this[kType] === UV_DIRENT_CHAR; - } - - isSymbolicLink() { - return this[kType] === UV_DIRENT_LINK; - } - - isFIFO() { - return this[kType] === UV_DIRENT_FIFO; - } - - isSocket() { - return this[kType] === UV_DIRENT_SOCKET; - } -} - -const kEmptyObject = { __proto__: null }; - -function defaultCloseCallback(err) { - if (err != null) throw err; -} - -function assertEncoding(encoding) { - if (encoding && !Buffer.isEncoding(encoding)) { - throw new Error('Invalid encoding!'); - } -} - -function getOptions(options, defaultOptions = kEmptyObject) { - if (options == null || typeof options === 'function') { - return defaultOptions; - } - - if (typeof options === 'string') { - defaultOptions = { ...defaultOptions }; - defaultOptions.encoding = options; - options = defaultOptions; - } else if (typeof options !== 'object') { - throw new Error('Invalid options!'); - } - - if (options.encoding !== 'buffer') assertEncoding(options.encoding); - - if (options.signal !== undefined) { - // validateAbortSignal(options.signal, 'options.signal'); - } - - return options; -} - -/** - * Closes the file descriptor. - * @param {number} fd - * @param {function(Error): any} [callback] - * @returns {void} - */ -function close(fd, callback = defaultCloseCallback) { - setTimeout(() => { - // (In-memory implementation doesn't require explicit closing) - callback(null); - }, 0); -} - -/** - * Synchronously closes the file descriptor. - * @param {number} fd - * @returns {void} - */ -function closeSync(fd) { - // (In-memory implementation doesn't require explicit closing) -} - -/** - * Synchronously opens a file. - * @param {string | Buffer | URL} path - * @param {string | number} [flags] - * @param {string | number} [mode] - * @returns {number} - */ -function openSync(path, flags, mode) { - path = getValidatedPath(path); - const file = getFile(path); - if (file !== undefined) { - const fileDescriptor = Symbol(`File Descriptor for ${path}`); - - return fileDescriptor; - } else { - const error = new Error( - `ENOENT: no such file or directory, fs.openSync call for path '${path}'`, - ); - error.code = 'ENOENT'; - - throw error; - } -} - -/** - * Synchronously retrieves the `fs.Stats` - * for the `path`. - * @param {string | Buffer | URL} path - * @param {Object} [options] - * @param {boolean} [options.bigint] - * @param {boolean} [options.throwIfNoEntry] - * @returns {any} - */ -function statSync(path, options = {}) { - // checks final - path = getValidatedPath(path); - - // Synchronous method to get file information - const filesInfos = getFilesInfos(); - if (!filesInfos.paths.includes(path)) { - const error = new Error( - `ENOENT: no such file or directory, fs.statSync call for path '${path}'`, - ); - error.code = 'ENOENT'; - throw error; - } - - const file = getFile(path); - - const isFile = filesInfos.files.includes(path); - const size = isFile ? file.content.length : 0; - - // generate file informations - const stats = generateDefaultStat(); - stats.size = size; - stats.isFile = () => isFile; - stats.isDirectory = () => !isFile; - - return stats; -} - -/** - * Synchronously reads the entire contents of a file. - * @param {string | Buffer | URL | number} path - * @param {Object | string} [options] - Options object or encoding string. - * @param {string} [options.encoding] - The file encoding. - * @param {string} [options.flag] - The flag. - * @returns {string | Buffer} - */ -function readFileSync(path, options = {}) { - path = getValidatedPath(path); - options = getOptions(options, { flag: 'r' }); - - const file = getFile(path); - if (file !== undefined) { - let content; - if (options?.encoding === 'utf-8') { - content = getFileContent(file, false); - } else { - content = getFileContent(file, true); - } - return content; - } else { - const error = new Error( - `ENOENT: no such file or directory, fs.readFileSync call for path '${path}'`, - ); - error.code = 'ENOENT'; - throw error; - } -} - -/** - * Synchronously reads the contents of a directory. - * @param {string | Object} [options] - Options object or encoding string. - * @param {string} [options.encoding] - The encoding. - * @param {boolean} [options.withFileTypes] - Whether to include file types. - * @param {boolean} [options.recursive] - Whether to include subdirectories. - */ -function readdirSync(path, options = {}) { - path = getValidatedPath(path); - - const filesInfos = getFilesInfos(); - const stats = statSync(path); - - if (!stats.isDirectory()) { - const error = new Error( - `ENOTDIR: not a directory, scandir - fs.readdirSync call for path '${path}'`, - ); - error.code = 'ENOTDIR'; - throw error; - } - - let result = []; - const matchedElements = filesInfos.paths.filter( - (dir) => dir.startsWith(path) && path !== dir, - ); - let elementsInDir; - if (path === '/') { - elementsInDir = matchedElements.filter( - (element) => !element.substring(1).includes('/'), - ); - } else { - elementsInDir = [ - ...new Set( - matchedElements.map( - (element) => element.replace(`${path}/`, '').split('/')[0], - ), - ), - ]; - } - // generate the list of elements in dir (strings or Dirents) - if (options.withFileTypes) { - result = elementsInDir.map((element) => { - const name = element; - const isFile = filesInfos.files.includes(`${path}/${element}`); - const type = isFile ? UV_DIRENT_FILE : UV_DIRENT_DIR; - return new CustomDirent(name, type, `${path}/${element}`); - }); - } else { - result = elementsInDir; - } - - return result; -} - -// Use Cells node:fs API -const fsPolyfill = Object.create(SRC_NODE_FS); -fsPolyfill.close = close; -fsPolyfill.closeSync = closeSync; -fsPolyfill.openSync = openSync; -fsPolyfill.statSync = statSync; -fsPolyfill.lstatSync = statSync; -fsPolyfill.readFileSync = readFileSync; -fsPolyfill.readdirSync = readdirSync; - -export default fsPolyfill; - -export { - close, - closeSync, - openSync, - statSync, - statSync as lstatSync, - readFileSync, - readdirSync, -}; - -export const { - access, - accessSync, - appendFile, - appendFileSync, - chmod, - chmodSync, - chown, - chownSync, - constants, - copyFile, - copyFileSync, - cp, - cpSync, - createReadStream, - createWriteStream, - Dir, - Dirent, - exists, - existsSync, - F_OK, - fdatasync, - fdatasyncSync, - fstat, - fstatSync, - fsync, - fsyncSync, - ftruncate, - ftruncateSync, - futimes, - futimesSync, - link, - linkSync, - lstat, - mkdir, - mkdirSync, - mkdtemp, - mkdtempSync, - O_APPEND, - O_CREAT, - O_DIRECTORY, - O_DSYNC, - O_EXCL, - O_NOCTTY, - O_NOFOLLOW, - O_NONBLOCK, - O_RDONLY, - O_RDWR, - O_SYMLINK, - O_SYNC, - O_TRUNC, - O_WRONLY, - open, - opendir, - opendirSync, - read, - readSync, - promises, - R_OK, - readdir, - readFile, - readlink, - readlinkSync, - ReadStream, - realpath, - realpathSync, - readv, - readvSync, - rename, - renameSync, - rmdir, - rmdirSync, - rm, - rmSync, - stat, - Stats, - statfs, - statfsSync, - symlink, - symlinkSync, - truncate, - truncateSync, - unlink, - unlinkSync, - unwatchFile, - utimes, - utimesSync, - W_OK, - watch, - watchFile, - write, - writeFile, - writev, - writevSync, - writeFileSync, - WriteStream, - writeSync, - X_OK, -} = SRC_NODE_FS; - -/* eslint-enable */ diff --git a/lib/build/bundlers/polyfills/node/fs.promises.js b/lib/build/bundlers/polyfills/node/fs.promises.js deleted file mode 100644 index e69de29b..00000000 diff --git a/lib/build/bundlers/polyfills/node/globals/buffer.js b/lib/build/bundlers/polyfills/node/globals/buffer.js deleted file mode 100644 index bc58d9da..00000000 --- a/lib/build/bundlers/polyfills/node/globals/buffer.js +++ /dev/null @@ -1,4 +0,0 @@ -/* eslint-disable */ -import { Buffer } from 'buffer'; - -globalThis.Buffer = Buffer; diff --git a/lib/build/bundlers/polyfills/node/globals/navigator.js b/lib/build/bundlers/polyfills/node/globals/navigator.js deleted file mode 100644 index 10b5e0cc..00000000 --- a/lib/build/bundlers/polyfills/node/globals/navigator.js +++ /dev/null @@ -1,5 +0,0 @@ -// These values are used by some of the JSPM polyfills - -globalThis.navigator = { - userAgent: 'runtime', -}; diff --git a/lib/build/bundlers/polyfills/node/globals/path-dirname.js b/lib/build/bundlers/polyfills/node/globals/path-dirname.js deleted file mode 100644 index ab7abe2b..00000000 --- a/lib/build/bundlers/polyfills/node/globals/path-dirname.js +++ /dev/null @@ -1,6 +0,0 @@ -/* eslint-disable */ -import path from 'path'; - -globalThis.__filename = process.cwd(); - -globalThis.__dirname = path.dirname(__filename); diff --git a/lib/build/bundlers/polyfills/node/globals/performance.js b/lib/build/bundlers/polyfills/node/globals/performance.js deleted file mode 100644 index 5d5d3add..00000000 --- a/lib/build/bundlers/polyfills/node/globals/performance.js +++ /dev/null @@ -1,45 +0,0 @@ -/** - * Copyright (c) 2013 Braveg1rl - * github.com/braveg1rl/performance-now - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies - of the Software, and to permit persons to whom the Software is furnished to do - so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS - FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR - COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER - IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION - WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - * - */ - -let loadTime = Date.now(); -globalThis.performance = new Proxy( - {}, - { - get(target, prop) { - if (prop === 'now') { - return () => { - const result = Date.now() - loadTime; - loadTime = Date.now(); - - return result; - }; - } - return () => { - const result = Date.now() - loadTime; - loadTime = Date.now(); - - return result; - }; - }, - }, -); diff --git a/lib/build/bundlers/polyfills/node/globals/process.cjs b/lib/build/bundlers/polyfills/node/globals/process.cjs deleted file mode 100644 index d235bd77..00000000 --- a/lib/build/bundlers/polyfills/node/globals/process.cjs +++ /dev/null @@ -1,203 +0,0 @@ -/* eslint-disable */ -// shim for using process in browser -var processShim = (module.exports = {}); - -/* - * Copyright Azion - * Licensed under the MIT license. See LICENSE file for details. - * - * Portions of this file Copyright Roman Shtylman, licensed under the MIT license. - * npmjs: https://www.npmjs.com/package/process - * repo: https://github.com/defunctzombie/node-process - */ - -var cachedSetTimeout; -var cachedClearTimeout; - -function defaultSetTimout() { - throw new Error('setTimeout has not been defined'); -} -function defaultClearTimeout() { - throw new Error('clearTimeout has not been defined'); -} -(function () { - try { - if (typeof setTimeout === 'function') { - cachedSetTimeout = setTimeout; - } else { - cachedSetTimeout = defaultSetTimout; - } - } catch (e) { - cachedSetTimeout = defaultSetTimout; - } - try { - if (typeof clearTimeout === 'function') { - cachedClearTimeout = clearTimeout; - } else { - cachedClearTimeout = defaultClearTimeout; - } - } catch (e) { - cachedClearTimeout = defaultClearTimeout; - } -})(); -function runTimeout(fun) { - if (cachedSetTimeout === setTimeout) { - //normal enviroments in sane situations - return setTimeout(fun, 0); - } - // if setTimeout wasn't available but was latter defined - if ( - (cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && - setTimeout - ) { - cachedSetTimeout = setTimeout; - return setTimeout(fun, 0); - } - try { - // when when somebody has screwed with setTimeout but no I.E. maddness - return cachedSetTimeout(fun, 0); - } catch (e) { - try { - // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally - return cachedSetTimeout.call(null, fun, 0); - } catch (e) { - // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error - return cachedSetTimeout.call(this, fun, 0); - } - } -} -function runClearTimeout(marker) { - if (cachedClearTimeout === clearTimeout) { - //normal enviroments in sane situations - return clearTimeout(marker); - } - // if clearTimeout wasn't available but was latter defined - if ( - (cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && - clearTimeout - ) { - cachedClearTimeout = clearTimeout; - return clearTimeout(marker); - } - try { - // when when somebody has screwed with setTimeout but no I.E. maddness - return cachedClearTimeout(marker); - } catch (e) { - try { - // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally - return cachedClearTimeout.call(null, marker); - } catch (e) { - // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. - // Some versions of I.E. have different rules for clearTimeout vs setTimeout - return cachedClearTimeout.call(this, marker); - } - } -} -var queue = []; -var draining = false; -var currentQueue; -var queueIndex = -1; - -function cleanUpNextTick() { - if (!draining || !currentQueue) { - return; - } - draining = false; - if (currentQueue.length) { - queue = currentQueue.concat(queue); - } else { - queueIndex = -1; - } - if (queue.length) { - drainQueue(); - } -} - -function drainQueue() { - if (draining) { - return; - } - var timeout = runTimeout(cleanUpNextTick); - draining = true; - - var len = queue.length; - while (len) { - currentQueue = queue; - queue = []; - while (++queueIndex < len) { - if (currentQueue) { - currentQueue[queueIndex].run(); - } - } - queueIndex = -1; - len = queue.length; - } - currentQueue = null; - draining = false; - runClearTimeout(timeout); -} - -processShim.nextTick = function (fun) { - var args = new Array(arguments.length - 1); - if (arguments.length > 1) { - for (var i = 1; i < arguments.length; i++) { - args[i - 1] = arguments[i]; - } - } - queue.push(new Item(fun, args)); - if (queue.length === 1 && !draining) { - runTimeout(drainQueue); - } -}; - -// v8 likes predictible objects -function Item(fun, array) { - this.fun = fun; - this.array = array; -} -Item.prototype.run = function () { - this.fun.apply(null, this.array); -}; -processShim.title = 'browser'; -processShim.browser = true; -processShim.env = processShim.env = - typeof globalThis.process !== 'undefined' && globalThis.process.env - ? globalThis.process.env - : {}; -processShim.argv = []; -processShim.version = ''; // empty string to avoid regexp issues -processShim.versions = { node: '18.3.1' }; - -function noop() {} - -processShim.on = noop; -processShim.addListener = noop; -processShim.once = noop; -processShim.off = noop; -processShim.removeListener = noop; -processShim.removeAllListeners = noop; -processShim.emit = noop; -processShim.prependListener = noop; -processShim.prependOnceListener = noop; - -processShim.listeners = function (name) { - return []; -}; - -processShim.binding = function (name) { - throw new Error('process.binding is not supported'); -}; - -processShim.cwd = function () { - return '/'; -}; - -processShim.chdir = function (dir) { - throw new Error('process.chdir is not supported'); -}; -processShim.umask = function () { - return 0; -}; - -globalThis.process = processShim; -globalThis.process.env = processShim.env; diff --git a/lib/build/bundlers/polyfills/node/http2.js b/lib/build/bundlers/polyfills/node/http2.js deleted file mode 100644 index dac944d4..00000000 --- a/lib/build/bundlers/polyfills/node/http2.js +++ /dev/null @@ -1,148 +0,0 @@ -/* eslint-disable max-classes-per-file */ -// Copyright Joyent and Node contributors. All rights reserved. MIT license. - -/** - * Function that throws unimplemented error - * @param {string} name - the class name - */ -function unimplemented(name) { - throw new Error(`Node.js HTTP/2 ${name} is not currently supported`); -} - -class Http2Session { - constructor() { - unimplemented(this.constructor.name); - } -} - -class ServerHttp2Session { - constructor() { - unimplemented(this.constructor.name); - } -} - -class ClientHttp2Session { - constructor() { - unimplemented(this.constructor.name); - } -} - -class Http2Stream { - constructor() { - unimplemented(this.constructor.name); - } -} - -class ClientHttp2Stream { - constructor() { - unimplemented(this.constructor.name); - } -} - -class ServerHttp2Stream { - constructor() { - unimplemented(this.constructor.name); - } -} - -class Http2Server { - constructor() { - unimplemented(this.constructor.name); - } -} - -class Http2SecureServer { - constructor() { - unimplemented(this.constructor.name); - } -} - -class Http2ServerRequest { - constructor() { - unimplemented(this.constructor.name); - } -} - -class Http2ServerResponse { - constructor() { - unimplemented(this.constructor.name); - } -} - -/** - * mock function to be used in build bypass - */ -function createServer() {} - -/** - * mock function to be used in build bypass - */ -function createSecureServer() {} - -/** - * mock function to be used in build bypass - */ -function connect() {} - -/** - * mock function to be used in build bypass - */ -function getDefaultSettings() {} - -/** - * mock function to be used in build bypass - */ -function getPackedSettings() {} - -/** - * mock function to be used in build bypass - */ -function getUnpackedSettings() {} - -const sensitiveHeaders = Symbol('nodejs.http2.sensitiveHeaders'); - -const constants = {}; - -const http2 = { - Http2Session, - ServerHttp2Session, - ClientHttp2Session, - Http2Stream, - ClientHttp2Stream, - ServerHttp2Stream, - Http2Server, - Http2SecureServer, - createServer, - createSecureServer, - connect, - constants, - getDefaultSettings, - getPackedSettings, - getUnpackedSettings, - sensitiveHeaders, - Http2ServerRequest, - Http2ServerResponse, -}; - -export { - ClientHttp2Session, - ClientHttp2Stream, - Http2SecureServer, - Http2Server, - Http2ServerRequest, - Http2ServerResponse, - Http2Session, - Http2Stream, - ServerHttp2Session, - ServerHttp2Stream, - connect, - constants, - createSecureServer, - createServer, - getDefaultSettings, - getPackedSettings, - getUnpackedSettings, - sensitiveHeaders, -}; - -export default http2; diff --git a/lib/build/bundlers/polyfills/node/module.js b/lib/build/bundlers/polyfills/node/module.js deleted file mode 100644 index f4ef47b6..00000000 --- a/lib/build/bundlers/polyfills/node/module.js +++ /dev/null @@ -1,138 +0,0 @@ -/* eslint-disable */ - -function createRequire(...args) { - /* EMPTY */ -} - -function unimplemented() { - throw new Error('Node.js module module is not supported by Cells'); -} - -var builtinModules = [ - '_http_agent', - '_http_client', - '_http_common', - '_http_incoming', - '_http_outgoing', - '_http_server', - '_stream_duplex', - '_stream_passthrough', - '_stream_readable', - '_stream_transform', - '_stream_wrap', - '_stream_writable', - '_tls_common', - '_tls_wrap', - 'assert', - 'assert/strict', - 'async_hooks', - 'buffer', - 'child_process', - 'cluster', - 'console', - 'constants', - 'crypto', - 'dgram', - 'diagnostics_channel', - 'dns', - 'dns/promises', - 'domain', - 'events', - 'fs', - 'fs/promises', - 'http', - 'http2', - 'https', - 'inspector', - 'module', - 'net', - 'os', - 'path', - 'path/posix', - 'path/win32', - 'perf_hooks', - 'process', - 'punycode', - 'querystring', - 'readline', - 'repl', - 'stream', - 'stream/consumers', - 'stream/promises', - 'stream/web', - 'string_decoder', - 'sys', - 'timers', - 'timers/promises', - 'tls', - 'trace_events', - 'tty', - 'url', - 'util', - 'util/types', - 'v8', - 'vm', - 'worker_threads', - 'zlib', -]; - -function _load(...args) { - /* EMPTY */ -} - -function _nodeModulePaths(...args) { - /* EMPTY */ -} - -function _resolveFilename(...args) { - /* EMPTY */ -} - -export default { - builtinModules: builtinModules, - _cache: null, - _pathCache: null, - _extensions: null, - globalPaths: null, - _debug: unimplemented, - _findPath: unimplemented, - _nodeModulePaths: _nodeModulePaths, - _resolveLookupPaths: unimplemented, - _load: _load, - _resolveFilename: _resolveFilename, - createRequireFromPath: unimplemented, - createRequire: createRequire, - _initPaths: unimplemented, - _preloadModules: unimplemented, - syncBuiltinESMExports: unimplemented, - Module: unimplemented, - runMain: unimplemented, - findSourceMap: unimplemented, - SourceMap: unimplemented, -}; - -export var _cache = null, - _pathCache = null, - _extensions = null, - globalPaths = null; - -export { - builtinModules, - unimplemented as _debug, - unimplemented as _findPath, - unimplemented as _nodeModulePaths, - unimplemented as _resolveLookupPaths, - unimplemented as _load, - unimplemented as _resolveFilename, - createRequire as createRequireFromPath, - createRequire as createRequire, - unimplemented as _initPaths, - unimplemented as _preloadModules, - unimplemented as syncBuiltinESMExports, - unimplemented as Module, - unimplemented as runMain, - unimplemented as findSourceMap, - unimplemented as SourceMap, -}; - -/* eslint-enable */ diff --git a/lib/build/bundlers/polyfills/polyfills-manager.js b/lib/build/bundlers/polyfills/polyfills-manager.js deleted file mode 100644 index 92da48a7..00000000 --- a/lib/build/bundlers/polyfills/polyfills-manager.js +++ /dev/null @@ -1,198 +0,0 @@ -import { createRequire } from 'module'; -import { getAbsoluteLibDirPath } from '#utils'; - -const require = createRequire(import.meta.url); -const libDirPath = getAbsoluteLibDirPath(); -const polyfillsPath = `${libDirPath}/build/bundlers/polyfills`; -const nextNodePresetPath = `${libDirPath}/presets/next/node`; -const nodePolyfillsPath = `${polyfillsPath}/node`; - -/** - * External polyfills are resolved in the build, but as they are for the local - * environment (Vulcan dev) they are located in #env/polyfills. - */ -const externalPolyfillsPath = `${libDirPath}/env/polyfills`; - -/** - * Manages and builds polyfills for Node and global browser environments. - */ -class PolyfillsManager { - /** - * Constructs a PolyfillsManager instance. - */ - constructor() { - /** @type {Map} */ - this.globals = new Map(); - /** @type {Map} */ - this.libs = new Map(); - /** @type {Map} */ - this.alias = new Map(); - /** @type {Map} */ - this.external = new Map(); - } - - /** - * Sets a global polyfill. - * @param {string} name - Name of the global. - * @param {string} path - Path to the polyfill. - */ - setGlobal(name, path) { - this.globals.set(name, path); - } - - /** - * Sets a module/library polyfill. - * @param {string} name - Name of the module/library. - * @param {string|boolean} path - Path to the polyfill or a boolean value. - */ - setLib(name, path) { - this.libs.set(name, path); - } - - /** - * Sets a module/alias polyfill. - * @param {string} name - Name of the module/alias. - * @param {string|boolean} path - Path to the polyfill or a boolean value. - */ - setAlias(name, path) { - this.alias.set(name, path); - } - - /** - * Sets a external libs. - * @param {string} name - Name of the external. - * @param {string|boolean} path - Path to the polyfill or a boolean value. - */ - setExternal(name, path) { - this.external.set(name, path); - } - - /** - * Builds and retrieves the polyfills for Node and globals. - * @returns {{ libs: Map, globals: Map, alias: Map, external: Map }} - Object containing libs and globals. - */ - buildPolyfills() { - // global polyfills - this.setGlobal('buffer', `${nodePolyfillsPath}/globals/buffer.js`); - this.setGlobal('console', require.resolve('console-browserify')); - this.setGlobal('navigator', `${nodePolyfillsPath}/globals/navigator.js`); - this.setGlobal( - 'performance', - `${nodePolyfillsPath}/globals/performance.js`, - ); - this.setGlobal('process', `${nodePolyfillsPath}/globals/process.cjs`); - this.setGlobal('__dirname', `${nodePolyfillsPath}/globals/path-dirname.js`); - this.setGlobal( - '__filename', - `${nodePolyfillsPath}/globals/path-dirname.js`, - ); - // libs polyfills (fallbacks) - this.setLib('accepts', require.resolve('accepts')); - this.setLib('buffer', require.resolve('buffer/')); - this.setLib('child_process', `${nodePolyfillsPath}/_empty.js`); - this.setLib('cluster', `${nodePolyfillsPath}/_empty.js`); - this.setLib('console', require.resolve('console-browserify')); - this.setLib('crypto', `${nodePolyfillsPath}/crypto.js`); - this.setLib('dgram', `${nodePolyfillsPath}/_empty.js`); - this.setLib('dns', `${nodePolyfillsPath}/dns.js`); - this.setLib('events', require.resolve('events/')); - this.setLib('http', require.resolve('stream-http')); - this.setLib('http2', `${nodePolyfillsPath}/http2.js`); - this.setLib('https', require.resolve('stream-http')); - this.setLib('inspector', `${nodePolyfillsPath}/_empty.js`); - this.setLib('module', `${nodePolyfillsPath}/module.js`); - this.setLib('net', `${nodePolyfillsPath}/_empty.js`); - this.setLib('os', require.resolve('os-browserify/browser')); - this.setLib('path', require.resolve('path-browserify')); - this.setLib('perf_hooks', `${nodePolyfillsPath}/_empty.js`); - this.setLib('process', `${nodePolyfillsPath}/globals/process.cjs`); - this.setLib('querystring', require.resolve('querystring-es3/')); - this.setLib('readline', `${nodePolyfillsPath}/_empty.js`); - this.setLib('repl', `${nodePolyfillsPath}/_empty.js`); - this.setLib('stream', require.resolve('stream-browserify')); - this.setLib( - '_stream_passthrough', - require.resolve('readable-stream/lib/_stream_passthrough.js'), - ); - this.setLib( - '_stream_readable', - require.resolve('readable-stream/lib/stream.js'), - ); - this.setLib( - '_stream_transform', - require.resolve('readable-stream/lib/_stream_transform.js'), - ); - this.setLib( - '_stream_writable', - require.resolve('readable-stream/lib/_stream_writable.js'), - ); - this.setLib('string_decoder', require.resolve('string_decoder/')); - this.setLib('sys', require.resolve('util/util.js')); - this.setLib('timers', require.resolve('timers-browserify')); - this.setLib('tls', `${nodePolyfillsPath}/_empty.js`); - this.setLib('tty', require.resolve('tty-browserify')); - this.setLib('url', require.resolve('url/')); - this.setLib('util', require.resolve('util/')); - this.setLib('vm', require.resolve('vm-browserify')); - this.setLib('zlib', require.resolve('browserify-zlib')); - this.setLib( - 'next/dist/compiled/etag', - `${nextNodePresetPath}/custom-server/12.3.1/util/etag.js`, - ); - this.setLib( - '@fastly/http-compute-js', - require.resolve('@fastly/http-compute-js'), - ); - - // set azion utils lib for esbuild to solve this - this.setLib('azion/utils', require.resolve('azion/utils')); - - // alias polyfills - this.setAlias('util', require.resolve('util/')); - this.setAlias('process', `${nodePolyfillsPath}/globals/process.cjs`); - - // set azion utils alias for esbuild and webpack to solve this - this.setAlias('azion/utils', require.resolve('azion/utils')); - - // external polyfills - this.setExternal( - 'async_hooks', - `${externalPolyfillsPath}/async-hooks/async-hooks.polyfills.js`, - ); - this.setExternal( - 'azion:storage', - `${externalPolyfillsPath}/azion/storage/storage.polyfills.js`, - ); - - // globalThis.Azion - this.setExternal( - 'Azion.env', - `${externalPolyfillsPath}/azion/env-vars/env-vars.polyfills.js`, - ); - this.setExternal( - 'Azion.networkList', - `${externalPolyfillsPath}/azion/network-list/network-list.polyfills.js`, - ); - - // fs temp solution for hybrid implementation (polyfill + runtime) - if (globalThis.vulcan.buildProd) { - this.setLib('fs', `${nodePolyfillsPath}/fs.js`); - this.setExternal('fs/promises', `${nodePolyfillsPath}/fs.promises.js`); - } else { - this.setExternal( - 'fs/promises', - `${externalPolyfillsPath}/fs/promises.polyfills.js`, - ); - this.setExternal('fs', `${externalPolyfillsPath}/fs/fs.polyfills.js`); - } - - return { - libs: this.libs, - globals: this.globals, - alias: this.alias, - external: this.external, - }; - } -} - -export default PolyfillsManager; diff --git a/lib/build/bundlers/polyfills/polyfills-manager.test.js b/lib/build/bundlers/polyfills/polyfills-manager.test.js deleted file mode 100644 index da682211..00000000 --- a/lib/build/bundlers/polyfills/polyfills-manager.test.js +++ /dev/null @@ -1,55 +0,0 @@ -import { expect, it } from '@jest/globals'; -import PolyfillsManager from './index.js'; - -globalThis.vulcan = { buildProd: true }; - -describe('Polyfills Manager', () => { - it('Should return map of polyfills', () => { - const expectedPolyfills = new Set([ - 'accepts', - 'azion/utils', - 'buffer', - 'child_process', - 'cluster', - 'console', - 'crypto', - 'dgram', - 'dns', - 'events', - 'fs', - 'http', - 'http2', - 'https', - 'inspector', - 'module', - 'net', - 'os', - 'path', - 'perf_hooks', - 'process', - 'querystring', - 'readline', - 'repl', - 'stream', - '_stream_passthrough', - '_stream_readable', - '_stream_transform', - '_stream_writable', - 'string_decoder', - 'sys', - 'timers', - 'tls', - 'tty', - 'url', - 'util', - 'vm', - 'zlib', - 'next/dist/compiled/etag', - '@fastly/http-compute-js', - ]); - const listOfAvailablePolyfills = new Set( - PolyfillsManager.buildPolyfills().libs.keys(), - ); - expect(listOfAvailablePolyfills).toEqual(expectedPolyfills); - }); -}); diff --git a/lib/build/bundlers/webpack/plugins/azion-polyfills/azion-polyfills.plugins.js b/lib/build/bundlers/webpack/plugins/azion-polyfills/azion-polyfills.plugins.js index 549f7976..60cadf4b 100644 --- a/lib/build/bundlers/webpack/plugins/azion-polyfills/azion-polyfills.plugins.js +++ b/lib/build/bundlers/webpack/plugins/azion-polyfills/azion-polyfills.plugins.js @@ -1,6 +1,6 @@ /* eslint-disable no-param-reassign,class-methods-use-this */ import { generateWebpackBanner } from '#utils'; -import PolyfillsManager from '../../../polyfills/index.js'; +import azionLibs from '../../../helpers/azion-libs.js'; class AzionPolyfillPlugin { constructor(buildProd) { @@ -9,8 +9,6 @@ class AzionPolyfillPlugin { } apply(compiler) { - const polyfillsManager = PolyfillsManager.buildPolyfills(); - if (!compiler.options.plugins?.length) { compiler.options.plugins = []; } @@ -30,7 +28,7 @@ class AzionPolyfillPlugin { ); const filteredExternal = new Map( - [...polyfillsManager.external].filter(([key]) => { + [...azionLibs.external].filter(([key]) => { const hasPrefix = new RegExp(`^${this.prefix}`).test(key); return hasPrefix; }), @@ -38,7 +36,7 @@ class AzionPolyfillPlugin { // build inject prefix (azion:) is not present and the polyfill is Azion if (!this.buildProd) { - [...polyfillsManager.external].forEach(([key]) => { + [...azionLibs.external].forEach(([key]) => { const hasPrefix = /^[^:]+:/.test(key); if ( !hasPrefix && @@ -46,9 +44,7 @@ class AzionPolyfillPlugin { ) { compiler.options.plugins.push( new compiler.webpack.BannerPlugin({ - banner: generateWebpackBanner([ - polyfillsManager.external.get(key), - ]), + banner: generateWebpackBanner([azionLibs.external.get(key)]), raw: true, }), ); diff --git a/lib/build/bundlers/webpack/plugins/node-polyfills/node-polyfills.plugins.js b/lib/build/bundlers/webpack/plugins/node-polyfills/node-polyfills.plugins.js index f7257561..4b2a0205 100644 --- a/lib/build/bundlers/webpack/plugins/node-polyfills/node-polyfills.plugins.js +++ b/lib/build/bundlers/webpack/plugins/node-polyfills/node-polyfills.plugins.js @@ -1,8 +1,19 @@ /* eslint-disable no-param-reassign,class-methods-use-this */ import fs from 'fs'; import path from 'path'; -import { generateWebpackBanner } from '#utils'; -import PolyfillsManager from '../../../polyfills/index.js'; +import { createRequire } from 'module'; +import { env, nodeless } from 'unenv'; +import { getAbsoluteLibDirPath } from '#utils'; +import unenvPresetAzion from 'azion/unenv-preset'; + +const require = createRequire(import.meta.url); + +const INTERNAL_POLYFILL_PATH = `${getAbsoluteLibDirPath()}/env/polyfills`; +const INTERNAL_POLYFILL_PATH_PROD = `azion/unenv-preset/src/polyfills/node`; +const POLYFILL_PREFIX_DEV = 'aziondev:'; +const POLYFILL_PREFIX_PROD = 'azionprd:'; + +const { alias, inject, polyfill, external } = env(nodeless, unenvPresetAzion); class NodePolyfillPlugin { constructor(buildProd) { @@ -10,9 +21,21 @@ class NodePolyfillPlugin { this.prefix = 'node:'; } - apply(compiler) { - const polyfillsManager = PolyfillsManager.buildPolyfills(); + #changeToPolyfillPath = (key, value, polyfillPrefix, polyfillPath) => { + const keyModule = key.replace(new RegExp(`^${this.prefix}`), ''); + const foundPolyfill = polyfill.find((p) => + p.startsWith(`${polyfillPrefix}${keyModule}`), + ); + if (foundPolyfill) { + const [, , pathPolyfill] = foundPolyfill.split(':'); + const internalPolyfillsPath = path.join(polyfillPath, pathPolyfill); + const resolved = require.resolve(internalPolyfillsPath); + return [key, resolved]; + } + return [key, require.resolve(value)]; + }; + apply(compiler) { if (!compiler.options.plugins?.length) { compiler.options.plugins = []; } @@ -30,12 +53,19 @@ class NodePolyfillPlugin { }, ), ); + // globals compiler.options.plugins.push( - new compiler.webpack.ProvidePlugin({ - Buffer: ['buffer', 'Buffer'], - process: polyfillsManager.globals.get('process'), - }), + new compiler.webpack.ProvidePlugin( + Object.fromEntries( + Object.entries(inject).map(([key, value]) => { + if (typeof value === 'string') { + return [key, require.resolve(value)]; + } + return [key, value]; + }), + ), + ), ); // env @@ -57,63 +87,93 @@ class NodePolyfillPlugin { new compiler.webpack.EnvironmentPlugin(envsNext), ); - compiler.options.plugins.push( - new compiler.webpack.BannerPlugin({ - banner: generateWebpackBanner([ - polyfillsManager.globals.get('navigator'), - polyfillsManager.globals.get('performance'), - ]), - raw: true, - }), - ); - - // filter external no prefix - const filteredExternal = new Map( - [...polyfillsManager.external].filter(([key]) => { - const hasPrefix = /^[^:]+:/.test(key); - return !hasPrefix; - }), - ); - if (this.buildProd) { compiler.options.externals = compiler.options.externals || {}; compiler.options.externalsType = 'module'; compiler.options.externals = { ...compiler.options.externals, ...Object.fromEntries( - [...filteredExternal].flatMap(([key]) => { + [...external].flatMap((key) => { + const moduleName = key.replace(new RegExp(`^${this.prefix}`), ''); return [ [key, key], - [`${this.prefix}${key}`, `${this.prefix}${key}`], + [moduleName, moduleName], ]; }), ), }; - } else { - compiler.options.resolve.fallback = { - ...Object.fromEntries( - [...filteredExternal].map(([key, value]) => [ - key.replace(new RegExp(`^${this.prefix}`), ''), - value, - ]), - ), - ...compiler.options.resolve.fallback, - }; } compiler.options.resolve.alias = { - ...Object.fromEntries( - [...polyfillsManager.alias].map(([key, value]) => [key, value]), - ), ...compiler.options.resolve.alias, + ...alias, }; compiler.options.resolve.fallback = { - ...Object.fromEntries( - [...polyfillsManager.libs].map(([key, value]) => [key, value]), - ), ...compiler.options.resolve.fallback, + ...alias, }; + + // change alias and fallback to polyfill path + if (this.buildProd) { + compiler.options.resolve.alias = { + ...Object.fromEntries( + Object.entries(compiler.options.resolve.alias).map(([key, value]) => { + // change value to polyfill path + return this.#changeToPolyfillPath( + key, + value, + POLYFILL_PREFIX_PROD, + INTERNAL_POLYFILL_PATH_PROD, + ); + }), + ), + }; + compiler.options.resolve.fallback = { + ...Object.fromEntries( + Object.entries(compiler.options.resolve.fallback).map( + ([key, value]) => { + // change value to polyfill path + return this.#changeToPolyfillPath( + key, + value, + POLYFILL_PREFIX_PROD, + INTERNAL_POLYFILL_PATH_PROD, + ); + }, + ), + ), + }; + } else { + compiler.options.resolve.alias = { + ...Object.fromEntries( + Object.entries(compiler.options.resolve.alias).map(([key, value]) => { + // change value to polyfill path + return this.#changeToPolyfillPath( + key, + value, + POLYFILL_PREFIX_DEV, + INTERNAL_POLYFILL_PATH, + ); + }), + ), + }; + compiler.options.resolve.fallback = { + ...Object.fromEntries( + Object.entries(compiler.options.resolve.fallback).map( + ([key, value]) => { + // change value to polyfill path + return this.#changeToPolyfillPath( + key, + value, + POLYFILL_PREFIX_DEV, + INTERNAL_POLYFILL_PATH, + ); + }, + ), + ), + }; + } } } diff --git a/lib/build/bundlers/webpack/plugins/node-polyfills/node-polyfills.plugins.test.js b/lib/build/bundlers/webpack/plugins/node-polyfills/node-polyfills.plugins.test.js index 11cb77c8..227d349d 100644 --- a/lib/build/bundlers/webpack/plugins/node-polyfills/node-polyfills.plugins.test.js +++ b/lib/build/bundlers/webpack/plugins/node-polyfills/node-polyfills.plugins.test.js @@ -55,6 +55,5 @@ describe('Webpack Node Plugin', () => { }); const bundle = fs.readFileSync(tmpOutput.name, 'utf-8'); expect(bundle).toContain('console.log("test")'); - expect(bundle).toContain('./lib/build/bundlers/polyfills/node/crypto.js'); }, 20000); }); diff --git a/lib/build/bundlers/webpack/webpack.bundlers.test.js b/lib/build/bundlers/webpack/webpack.bundlers.test.js index 561b8c9f..f33f68ba 100644 --- a/lib/build/bundlers/webpack/webpack.bundlers.test.js +++ b/lib/build/bundlers/webpack/webpack.bundlers.test.js @@ -35,7 +35,7 @@ describe('Webpack Bundler', () => { it( 'should execute the bundle successfully', async () => { - const code = `import crypto from 'crypto';console.log(process.env.NODE_ENV);`; + const code = `import crypto from 'crypto';console.log(crypto.randomUUID());`; await fs.promises.writeFile(tmpEntry.name, code); const bundler = new Webpack({ @@ -61,7 +61,9 @@ describe('Webpack Bundler', () => { const result = fs.readFileSync(tmpOutput.name, 'utf-8'); - expect(result).toContain('./lib/build/bundlers/polyfills/node/crypto.js'); + expect(result).toContain( + 'console.log(crypto__WEBPACK_IMPORTED_MODULE_0___default().randomUUID())', + ); }, TIMEOUT, ); diff --git a/lib/build/bundlers/webpack/webpack.config.js b/lib/build/bundlers/webpack/webpack.config.js index 5c90504b..4ebe2af8 100644 --- a/lib/build/bundlers/webpack/webpack.config.js +++ b/lib/build/bundlers/webpack/webpack.config.js @@ -93,7 +93,7 @@ export default { }, resolve: { extensions: ['.tsx', '.ts', '.js'], - mainFields: ['browser', 'main', 'module'], + mainFields: ['browser', 'module', 'main'], }, // loaders ...defineLoaderTypescriptRules(), diff --git a/lib/env/polyfills/fs/fs.polyfills.js b/lib/env/polyfills/fs/fs.polyfills.js index 62828ba3..b990b379 100644 --- a/lib/env/polyfills/fs/fs.polyfills.js +++ b/lib/env/polyfills/fs/fs.polyfills.js @@ -1,6 +1,6 @@ /* eslint-disable */ -import { join } from 'path-browserify'; -import promises from './promises.polyfills.js'; +import { join } from 'node:path'; +import promises from './promises/promises.polyfills.js'; const localFs = {}; diff --git a/lib/env/polyfills/fs/promises.polyfills.js b/lib/env/polyfills/fs/promises/promises.polyfills.js similarity index 98% rename from lib/env/polyfills/fs/promises.polyfills.js rename to lib/env/polyfills/fs/promises/promises.polyfills.js index cdfe1f4b..aaf14ca3 100644 --- a/lib/env/polyfills/fs/promises.polyfills.js +++ b/lib/env/polyfills/fs/promises/promises.polyfills.js @@ -1,5 +1,5 @@ /* eslint-disable */ -import { join } from 'path-browserify'; +import { join } from 'node:path'; const localFsPromises = {}; diff --git a/package.json b/package.json index 8be9195a..d013cca9 100644 --- a/package.json +++ b/package.json @@ -55,17 +55,14 @@ "ajv-errors": "^3.0.0", "ajv-keywords": "^5.1.0", "assert": "^2.0.0", - "azion": "^1.13.1", + "azion": "^1.14.0-stage.4", "babel-loader": "^9.2.1", "bottleneck": "^2.19.5", "browserify-zlib": "^0.2.0", - "buffer": "^6.0.3", "chalk": "^5.3.0", "chokidar": "^3.5.3", "commander": "^10.0.1", - "console-browserify": "^1.2.0", "cookie": "^0.6.0", - "crypto-browserify": "^3.12.0", "deepmerge": "^4.3.1", "dotenv": "^16.4.4", "edge-runtime": "^2.4.5", @@ -75,7 +72,7 @@ "fast-glob": "^3.3.1", "form-data": "^4.0.0", "fs-extra": "^11.2.0", - "https-browserify": "^1.0.0", + "inherits": "^2.0.4", "inquirer": "^9.2.7", "install": "^0.13.0", "ip": "^2.0.1", @@ -83,15 +80,11 @@ "lodash.merge": "^4.6.2", "log-update": "^5.0.1", "mathjs": "^14.0.1", + "mime": "3.0.0", "mime-types": "^2.1.35", - "os-browserify": "^0.3.0", - "path-browserify": "^1.0.1", "pcre-to-regexp": "^1.1.0", "pkg-dir": "^7.0.0", "prettier": "^3.3.2", - "process": "^0.11.10", - "querystring-es3": "^0.2.1", - "readable-stream": "^4.4.2", "semantic-release": "^21.0.7", "semver": "^7.5.2", "signale": "^1.4.0", @@ -100,9 +93,9 @@ "string_decoder": "^1.3.0", "timers-browserify": "^2.0.12", "ts-loader": "^9.5.1", - "tty-browserify": "^0.0.1", "typescript": "^5.5.3", - "url": "^0.11.1", + "unenv": "^1.10.0", + "url": "^0.11.4", "util": "^0.12.5", "vm-browserify": "^1.1.2", "webpack": "^5.84.0", diff --git a/yarn.lock b/yarn.lock index 1c6f48b7..459f1394 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15,214 +15,126 @@ "@jridgewell/gen-mapping" "^0.3.0" "@jridgewell/trace-mapping" "^0.3.9" -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.21.4", "@babel/code-frame@^7.22.13", "@babel/code-frame@^7.23.5": - version "7.23.5" - resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz" - integrity sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA== - dependencies: - "@babel/highlight" "^7.23.4" - chalk "^2.4.2" - -"@babel/code-frame@^7.25.9", "@babel/code-frame@^7.26.2": +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.21.4", "@babel/code-frame@^7.25.9", "@babel/code-frame@^7.26.2": version "7.26.2" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.26.2.tgz#4b5fab97d33338eff916235055f0ebc21e573a85" + resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz" integrity sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ== dependencies: "@babel/helper-validator-identifier" "^7.25.9" js-tokens "^4.0.0" picocolors "^1.0.0" -"@babel/compat-data@^7.23.5": - version "7.23.5" - resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.5.tgz" - integrity sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw== +"@babel/compat-data@^7.26.5": + version "7.26.5" + resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.26.5.tgz" + integrity sha512-XvcZi1KWf88RVbF9wn8MN6tYFloU5qX8KjuF3E1PVBmJ9eypXfs4GRiJwLuTZL0iSnJUKn1BFPa5BPZZJyFzPg== -"@babel/core@^7.11.6", "@babel/core@^7.12.3": - version "7.23.6" - resolved "https://registry.npmjs.org/@babel/core/-/core-7.23.6.tgz" - integrity sha512-FxpRyGjrMJXh7X3wGLGhNDCRiwpWEF74sKjTLDJSG5Kyvow3QZaG0Adbqzi9ZrVjTWpsX+2cxWXD71NMg93kdw== +"@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.23.9": + version "7.26.7" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.26.7.tgz" + integrity sha512-SRijHmF0PSPgLIBYlWnG0hyeJLwXE2CgpsXaMOrtt2yp9/86ALw6oUlj9KYuZ0JN07T4eBMVIW4li/9S1j2BGA== dependencies: "@ampproject/remapping" "^2.2.0" - "@babel/code-frame" "^7.23.5" - "@babel/generator" "^7.23.6" - "@babel/helper-compilation-targets" "^7.23.6" - "@babel/helper-module-transforms" "^7.23.3" - "@babel/helpers" "^7.23.6" - "@babel/parser" "^7.23.6" - "@babel/template" "^7.22.15" - "@babel/traverse" "^7.23.6" - "@babel/types" "^7.23.6" + "@babel/code-frame" "^7.26.2" + "@babel/generator" "^7.26.5" + "@babel/helper-compilation-targets" "^7.26.5" + "@babel/helper-module-transforms" "^7.26.0" + "@babel/helpers" "^7.26.7" + "@babel/parser" "^7.26.7" + "@babel/template" "^7.25.9" + "@babel/traverse" "^7.26.7" + "@babel/types" "^7.26.7" convert-source-map "^2.0.0" debug "^4.1.0" gensync "^1.0.0-beta.2" json5 "^2.2.3" semver "^6.3.1" -"@babel/generator@^7.23.5", "@babel/generator@^7.23.6", "@babel/generator@^7.7.2": - version "7.23.6" - resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.23.6.tgz" - integrity sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw== +"@babel/generator@^7.23.5", "@babel/generator@^7.26.5", "@babel/generator@^7.7.2": + version "7.26.5" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.26.5.tgz" + integrity sha512-2caSP6fN9I7HOe6nqhtft7V4g7/V/gfDsC3Ag4W7kEzzvRGKqiv0pu0HogPiZ3KaVSoNDhUws6IJjDjpfmYIXw== dependencies: - "@babel/types" "^7.23.6" - "@jridgewell/gen-mapping" "^0.3.2" - "@jridgewell/trace-mapping" "^0.3.17" - jsesc "^2.5.1" - -"@babel/generator@^7.26.3": - version "7.26.3" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.26.3.tgz#ab8d4360544a425c90c248df7059881f4b2ce019" - integrity sha512-6FF/urZvD0sTeO7k6/B15pMLC4CHUv1426lzr3N01aHJTl046uCAh9LXW/fzeXXjPNCJ6iABW5XaWOsIZB93aQ== - dependencies: - "@babel/parser" "^7.26.3" - "@babel/types" "^7.26.3" + "@babel/parser" "^7.26.5" + "@babel/types" "^7.26.5" "@jridgewell/gen-mapping" "^0.3.5" "@jridgewell/trace-mapping" "^0.3.25" jsesc "^3.0.2" -"@babel/helper-compilation-targets@^7.23.6": - version "7.23.6" - resolved "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz" - integrity sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ== +"@babel/helper-compilation-targets@^7.26.5": + version "7.26.5" + resolved "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.26.5.tgz" + integrity sha512-IXuyn5EkouFJscIDuFF5EsiSolseme1s0CZB+QxVugqJLYmKdxI1VfIBOst0SUu4rnk2Z7kqTwmoO1lp3HIfnA== dependencies: - "@babel/compat-data" "^7.23.5" - "@babel/helper-validator-option" "^7.23.5" - browserslist "^4.22.2" + "@babel/compat-data" "^7.26.5" + "@babel/helper-validator-option" "^7.25.9" + browserslist "^4.24.0" lru-cache "^5.1.1" semver "^6.3.1" -"@babel/helper-environment-visitor@^7.22.20": - version "7.22.20" - resolved "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz" - integrity sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA== - -"@babel/helper-function-name@^7.23.0": - version "7.23.0" - resolved "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz" - integrity sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw== - dependencies: - "@babel/template" "^7.22.15" - "@babel/types" "^7.23.0" - -"@babel/helper-hoist-variables@^7.22.5": - version "7.22.5" - resolved "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz" - integrity sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw== - dependencies: - "@babel/types" "^7.22.5" - -"@babel/helper-module-imports@^7.22.15": - version "7.22.15" - resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz" - integrity sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w== +"@babel/helper-module-imports@^7.25.9": + version "7.25.9" + resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.25.9.tgz" + integrity sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw== dependencies: - "@babel/types" "^7.22.15" + "@babel/traverse" "^7.25.9" + "@babel/types" "^7.25.9" -"@babel/helper-module-transforms@^7.23.3": - version "7.23.3" - resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz" - integrity sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ== +"@babel/helper-module-transforms@^7.26.0": + version "7.26.0" + resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.26.0.tgz" + integrity sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw== dependencies: - "@babel/helper-environment-visitor" "^7.22.20" - "@babel/helper-module-imports" "^7.22.15" - "@babel/helper-simple-access" "^7.22.5" - "@babel/helper-split-export-declaration" "^7.22.6" - "@babel/helper-validator-identifier" "^7.22.20" - -"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.22.5", "@babel/helper-plugin-utils@^7.8.0": - version "7.22.5" - resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz" - integrity sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg== - -"@babel/helper-plugin-utils@^7.25.9": - version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.25.9.tgz#9cbdd63a9443a2c92a725cca7ebca12cc8dd9f46" - integrity sha512-kSMlyUVdWe25rEsRGviIgOWnoT/nfABVWlqt9N19/dIPWViAOW2s9wznP5tURbs/IDuNk4gPy3YdYRgH3uxhBw== + "@babel/helper-module-imports" "^7.25.9" + "@babel/helper-validator-identifier" "^7.25.9" + "@babel/traverse" "^7.25.9" -"@babel/helper-simple-access@^7.22.5": - version "7.22.5" - resolved "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz" - integrity sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w== - dependencies: - "@babel/types" "^7.22.5" +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.22.5", "@babel/helper-plugin-utils@^7.25.9", "@babel/helper-plugin-utils@^7.8.0": + version "7.26.5" + resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.26.5.tgz" + integrity sha512-RS+jZcRdZdRFzMyr+wcsaqOmld1/EqTghfaBGQQd/WnRdzdlvSZ//kF7U8VQTxf1ynZ4cjUcYgjVGx13ewNPMg== "@babel/helper-skip-transparent-expression-wrappers@^7.25.9": version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.25.9.tgz#0b2e1b62d560d6b1954893fd2b705dc17c91f0c9" + resolved "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.25.9.tgz" integrity sha512-K4Du3BFa3gvyhzgPcntrkDgZzQaq6uozzcpGbOO1OEJaI+EJdqWIMTLgFgQf6lrfiDFo5FU+BxKepI9RmZqahA== dependencies: "@babel/traverse" "^7.25.9" "@babel/types" "^7.25.9" -"@babel/helper-split-export-declaration@^7.22.6": - version "7.22.6" - resolved "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz" - integrity sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g== - dependencies: - "@babel/types" "^7.22.5" - -"@babel/helper-string-parser@^7.23.4": - version "7.23.4" - resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz" - integrity sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ== - "@babel/helper-string-parser@^7.25.9": version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz#1aabb72ee72ed35789b4bbcad3ca2862ce614e8c" + resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz" integrity sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA== -"@babel/helper-validator-identifier@^7.22.20": - version "7.22.20" - resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz" - integrity sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A== - "@babel/helper-validator-identifier@^7.25.9": version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz#24b64e2c3ec7cd3b3c547729b8d16871f22cbdc7" + resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz" integrity sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ== -"@babel/helper-validator-option@^7.23.5": - version "7.23.5" - resolved "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz" - integrity sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw== - "@babel/helper-validator-option@^7.25.9": version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.25.9.tgz#86e45bd8a49ab7e03f276577f96179653d41da72" + resolved "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.25.9.tgz" integrity sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw== -"@babel/helpers@^7.23.6": - version "7.23.6" - resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.6.tgz" - integrity sha512-wCfsbN4nBidDRhpDhvcKlzHWCTlgJYUUdSJfzXb2NuBssDSIjc3xcb+znA7l+zYsFljAcGM0aFkN40cR3lXiGA== - dependencies: - "@babel/template" "^7.22.15" - "@babel/traverse" "^7.23.6" - "@babel/types" "^7.23.6" - -"@babel/highlight@^7.23.4": - version "7.23.4" - resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz" - integrity sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A== +"@babel/helpers@^7.26.7": + version "7.26.7" + resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.26.7.tgz" + integrity sha512-8NHiL98vsi0mbPQmYAGWwfcFaOy4j2HY49fXJCfuDcdE7fMIsH9a7GdaeXpIBsbT7307WU8KCMp5pUVDNL4f9A== dependencies: - "@babel/helper-validator-identifier" "^7.22.20" - chalk "^2.4.2" - js-tokens "^4.0.0" - -"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.15", "@babel/parser@^7.20.7", "@babel/parser@^7.22.15", "@babel/parser@^7.23.5", "@babel/parser@^7.23.6": - version "7.23.6" - resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.23.6.tgz" - integrity sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ== + "@babel/template" "^7.25.9" + "@babel/types" "^7.26.7" -"@babel/parser@^7.25.9", "@babel/parser@^7.26.3": - version "7.26.3" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.26.3.tgz#8c51c5db6ddf08134af1ddbacf16aaab48bac234" - integrity sha512-WJ/CvmY8Mea8iDXo6a7RK2wbmJITT5fN3BEkRuFlxVyNx8jOKIIhmC4fSkTcPcf8JyavbBwIe6OpiCOBXt/IcA== +"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.15", "@babel/parser@^7.20.7", "@babel/parser@^7.23.5", "@babel/parser@^7.23.9", "@babel/parser@^7.25.9", "@babel/parser@^7.26.5", "@babel/parser@^7.26.7": + version "7.26.7" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.26.7.tgz" + integrity sha512-kEvgGGgEjRUutvdVvZhbn/BxVt+5VSpwXz1j3WYXQbXDo8KzFOPNG2GQbdAiNq8g6wn1yKk7C/qrke03a84V+w== dependencies: - "@babel/types" "^7.26.3" + "@babel/types" "^7.26.7" "@babel/plugin-proposal-optional-chaining-assign@^7.25.9": version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining-assign/-/plugin-proposal-optional-chaining-assign-7.25.9.tgz#6bd52f1c2f113ba2b43cf108c8fd501ef15bf7a0" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining-assign/-/plugin-proposal-optional-chaining-assign-7.25.9.tgz" integrity sha512-63C8l8u1qXmNo0j/zTYs40fhHOTptwbWO1qapLH3GTjvs6mncouNaCiUQQYIDzWhv9u3EsDqmf6y+GSFkqb3HQ== dependencies: "@babel/helper-plugin-utils" "^7.25.9" @@ -309,7 +221,7 @@ "@babel/plugin-syntax-optional-chaining-assign@^7.25.9": version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-chaining-assign/-/plugin-syntax-optional-chaining-assign-7.25.9.tgz#b8ad8dca4e73e77595754cf33cceb0347e81e337" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining-assign/-/plugin-syntax-optional-chaining-assign-7.25.9.tgz" integrity sha512-rzS50VG9dwrRB57NoAz6gEz3zkh51L4AViiyMqeefsuSPPQc3rBE+p2U3GLcvtdd/3xVHcA/PeigLQG7Fl6N8A== dependencies: "@babel/helper-plugin-utils" "^7.25.9" @@ -317,7 +229,7 @@ "@babel/plugin-syntax-optional-chaining@^7.8.3": version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz" integrity sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg== dependencies: "@babel/helper-plugin-utils" "^7.8.0" @@ -338,7 +250,7 @@ "@babel/plugin-transform-optional-chaining@^7.25.9": version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.25.9.tgz#e142eb899d26ef715435f201ab6e139541eee7dd" + resolved "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.25.9.tgz" integrity sha512-6AvV0FsLULbpnXeBjrY4dmWF8F7gf8QnvTEoO/wX/5xm/xE1Xo8oPuD3MPS+KS9f9XBEAWN7X1aWr4z9HdOr7A== dependencies: "@babel/helper-plugin-utils" "^7.25.9" @@ -346,71 +258,37 @@ "@babel/runtime@^7.25.7": version "7.26.0" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.26.0.tgz#8600c2f595f277c60815256418b85356a65173c1" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.26.0.tgz" integrity sha512-FDSOghenHTiToteC/QRlv2q3DhPZ/oOXTBoirfWNx1Cx3TMVcGWQtMMmQcSvb/JjpNeGzx8Pq/b4fKEJuWm1sw== dependencies: regenerator-runtime "^0.14.0" -"@babel/template@^7.22.15", "@babel/template@^7.3.3": - version "7.22.15" - resolved "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz" - integrity sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w== - dependencies: - "@babel/code-frame" "^7.22.13" - "@babel/parser" "^7.22.15" - "@babel/types" "^7.22.15" - -"@babel/template@^7.25.9": +"@babel/template@^7.25.9", "@babel/template@^7.3.3": version "7.25.9" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.25.9.tgz#ecb62d81a8a6f5dc5fe8abfc3901fc52ddf15016" + resolved "https://registry.npmjs.org/@babel/template/-/template-7.25.9.tgz" integrity sha512-9DGttpmPvIxBb/2uwpVo3dqJ+O6RooAFOS+lB+xDqoE2PVCE8nfoHMdZLpfCQRLwvohzXISPZcgxt80xLfsuwg== dependencies: "@babel/code-frame" "^7.25.9" "@babel/parser" "^7.25.9" "@babel/types" "^7.25.9" -"@babel/traverse@^7.23.5", "@babel/traverse@^7.23.6": - version "7.23.6" - resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.6.tgz" - integrity sha512-czastdK1e8YByZqezMPFiZ8ahwVMh/ESl9vPgvgdB9AmFMGP5jfpFax74AQgl5zj4XHzqeYAg2l8PuUeRS1MgQ== - dependencies: - "@babel/code-frame" "^7.23.5" - "@babel/generator" "^7.23.6" - "@babel/helper-environment-visitor" "^7.22.20" - "@babel/helper-function-name" "^7.23.0" - "@babel/helper-hoist-variables" "^7.22.5" - "@babel/helper-split-export-declaration" "^7.22.6" - "@babel/parser" "^7.23.6" - "@babel/types" "^7.23.6" - debug "^4.3.1" - globals "^11.1.0" - -"@babel/traverse@^7.25.9": - version "7.26.4" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.26.4.tgz#ac3a2a84b908dde6d463c3bfa2c5fdc1653574bd" - integrity sha512-fH+b7Y4p3yqvApJALCPJcwb0/XaOSgtK4pzV6WVjPR5GLFQBRI7pfoX2V2iM48NXvX07NUxxm1Vw98YjqTcU5w== +"@babel/traverse@^7.23.5", "@babel/traverse@^7.25.9", "@babel/traverse@^7.26.7": + version "7.26.7" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.26.7.tgz" + integrity sha512-1x1sgeyRLC3r5fQOM0/xtQKsYjyxmFjaOrLJNtZ81inNjyJHGIolTULPiSc/2qe1/qfpFLisLQYFnnZl7QoedA== dependencies: "@babel/code-frame" "^7.26.2" - "@babel/generator" "^7.26.3" - "@babel/parser" "^7.26.3" + "@babel/generator" "^7.26.5" + "@babel/parser" "^7.26.7" "@babel/template" "^7.25.9" - "@babel/types" "^7.26.3" + "@babel/types" "^7.26.7" debug "^4.3.1" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.22.15", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.23.5", "@babel/types@^7.23.6", "@babel/types@^7.3.3": - version "7.23.6" - resolved "https://registry.npmjs.org/@babel/types/-/types-7.23.6.tgz" - integrity sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg== - dependencies: - "@babel/helper-string-parser" "^7.23.4" - "@babel/helper-validator-identifier" "^7.22.20" - to-fast-properties "^2.0.0" - -"@babel/types@^7.25.9", "@babel/types@^7.26.3": - version "7.26.3" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.26.3.tgz#37e79830f04c2b5687acc77db97fbc75fb81f3c0" - integrity sha512-vN5p+1kl59GVKMvTHt55NzzmYVxprfJD+ql7U9NFIfKCBkYE55LYtS+WtPlaYOyzydrKI8Nezd+aZextrd+FMA== +"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.23.5", "@babel/types@^7.25.9", "@babel/types@^7.26.5", "@babel/types@^7.26.7", "@babel/types@^7.3.3": + version "7.26.7" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.26.7.tgz" + integrity sha512-t8kDRGrKXyp6+tjUh7hw2RLyclsW4TRoRvRHtSyAX9Bb5ldlFh+90YAYY6awRXrlB4G5G2izNeGySpATlFzmOg== dependencies: "@babel/helper-string-parser" "^7.25.9" "@babel/helper-validator-identifier" "^7.25.9" @@ -841,7 +719,7 @@ js-yaml "^3.13.1" resolve-from "^5.0.0" -"@istanbuljs/schema@^0.1.2": +"@istanbuljs/schema@^0.1.2", "@istanbuljs/schema@^0.1.3": version "0.1.3" resolved "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz" integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== @@ -1056,19 +934,10 @@ "@types/yargs" "^17.0.8" chalk "^4.0.0" -"@jridgewell/gen-mapping@^0.3.0", "@jridgewell/gen-mapping@^0.3.2": - version "0.3.3" - resolved "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz" - integrity sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ== - dependencies: - "@jridgewell/set-array" "^1.0.1" - "@jridgewell/sourcemap-codec" "^1.4.10" - "@jridgewell/trace-mapping" "^0.3.9" - -"@jridgewell/gen-mapping@^0.3.5": - version "0.3.5" - resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz#dcce6aff74bdf6dad1a95802b69b04a2fcb1fb36" - integrity sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg== +"@jridgewell/gen-mapping@^0.3.0", "@jridgewell/gen-mapping@^0.3.5": + version "0.3.8" + resolved "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz" + integrity sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA== dependencies: "@jridgewell/set-array" "^1.2.1" "@jridgewell/sourcemap-codec" "^1.4.10" @@ -1079,14 +948,9 @@ resolved "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz" integrity sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA== -"@jridgewell/set-array@^1.0.1": - version "1.1.2" - resolved "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz" - integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== - "@jridgewell/set-array@^1.2.1": version "1.2.1" - resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.2.1.tgz#558fb6472ed16a4c850b889530e6b36438c49280" + resolved "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz" integrity sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A== "@jridgewell/source-map@^0.3.3": @@ -1102,17 +966,9 @@ resolved "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz" integrity sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ== -"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.18", "@jridgewell/trace-mapping@^0.3.9": - version "0.3.20" - resolved "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz" - integrity sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q== - dependencies: - "@jridgewell/resolve-uri" "^3.1.0" - "@jridgewell/sourcemap-codec" "^1.4.14" - -"@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25": +"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.18", "@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25", "@jridgewell/trace-mapping@^0.3.9": version "0.3.25" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz#15f190e98895f3fc23276ee14bc76b675c2e50f0" + resolved "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz" integrity sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ== dependencies: "@jridgewell/resolve-uri" "^3.1.0" @@ -1623,10 +1479,10 @@ resolved "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz" integrity sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA== -"@sindresorhus/merge-streams@^1.0.0": - version "1.0.0" - resolved "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-1.0.0.tgz" - integrity sha512-rUV5WyJrJLoloD4NDN1V1+LDMDWOa4OTsT4yYJwQNpTU6FWxkxHpL7eu4w+DmiH8x/EAM1otkPE1+LaspIbplw== +"@sindresorhus/merge-streams@^2.1.0": + version "2.3.0" + resolved "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-2.3.0.tgz" + integrity sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg== "@sinonjs/commons@^3.0.0": version "3.0.0" @@ -1859,17 +1715,10 @@ resolved "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.5.tgz" integrity sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag== -"@types/node@*": - version "20.10.4" - resolved "https://registry.npmjs.org/@types/node/-/node-20.10.4.tgz" - integrity sha512-D08YG6rr8X90YB56tSIuBaddy/UXAA9RKJoFvrsnogAum/0pmjkgi4+2nx96A330FmioegBWmEYQ+syqCFaveg== - dependencies: - undici-types "~5.26.4" - -"@types/node@^18.11.9": - version "18.19.3" - resolved "https://registry.npmjs.org/@types/node/-/node-18.19.3.tgz" - integrity sha512-k5fggr14DwAytoA/t8rPrIz++lXK7/DqckthCmoZOKNsEbJkId4Z//BqgApXBUGrGddrigYa1oqheo/7YmW4rg== +"@types/node@*", "@types/node@^18.11.9": + version "18.19.74" + resolved "https://registry.npmjs.org/@types/node/-/node-18.19.74.tgz" + integrity sha512-HMwEkkifei3L605gFdV+/UwtpxP6JSzM+xFk2Ia6DNFSwSVBRh9qp5Tgf4lNFOMfPVuU0WnkcWpXZpgn5ufO4A== dependencies: undici-types "~5.26.4" @@ -1901,9 +1750,9 @@ "@types/yargs-parser" "*" "@types/yargs@^17.0.8": - version "17.0.32" - resolved "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.32.tgz" - integrity sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog== + version "17.0.33" + resolved "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.33.tgz" + integrity sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA== dependencies: "@types/yargs-parser" "*" @@ -2116,16 +1965,9 @@ abbrev@^2.0.0: resolved "https://registry.npmjs.org/abbrev/-/abbrev-2.0.0.tgz" integrity sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ== -abort-controller@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz" - integrity sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg== - dependencies: - event-target-shim "^5.0.0" - accepts@^1.3.8: version "1.3.8" - resolved "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz" + resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.8.tgz#0bf0be125b67014adcb0b0921e62db7bffe16b2e" integrity sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw== dependencies: mime-types "~2.1.34" @@ -2142,9 +1984,9 @@ acorn-jsx@^5.3.2: integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== acorn@^8.7.1, acorn@^8.8.2, acorn@^8.9.0: - version "8.12.1" - resolved "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz" - integrity sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg== + version "8.14.0" + resolved "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz" + integrity sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA== agent-base@6, agent-base@^6.0.2: version "6.0.2" @@ -2153,17 +1995,15 @@ agent-base@6, agent-base@^6.0.2: dependencies: debug "4" -agent-base@^7.0.2, agent-base@^7.1.0: - version "7.1.0" - resolved "https://registry.npmjs.org/agent-base/-/agent-base-7.1.0.tgz" - integrity sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg== - dependencies: - debug "^4.3.4" +agent-base@^7.0.2, agent-base@^7.1.0, agent-base@^7.1.2: + version "7.1.3" + resolved "https://registry.npmjs.org/agent-base/-/agent-base-7.1.3.tgz" + integrity sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw== agentkeepalive@^4.2.1: - version "4.5.0" - resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-4.5.0.tgz#2673ad1389b3c418c5a20c5d7364f93ca04be923" - integrity sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew== + version "4.6.0" + resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-4.6.0.tgz#35f73e94b3f40bf65f105219c623ad19c136ea6a" + integrity sha512-kja8j7PjmncONqaTsB8fQ+wE2mSU2DJ9D4XKoJ5PFWIdRMa6SLSN1ff4mOr4jCbfRSsxR4keIiySJU0N9T5hIQ== dependencies: humanize-ms "^1.2.1" @@ -2198,7 +2038,7 @@ ajv-errors@^3.0.0: ajv-formats@^2.1.1: version "2.1.1" - resolved "https://registry.yarnpkg.com/ajv-formats/-/ajv-formats-2.1.1.tgz#6e669400659eb74973bbf2e33327180a0996b520" + resolved "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz" integrity sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA== dependencies: ajv "^8.0.0" @@ -2225,9 +2065,9 @@ ajv@^6.12.4, ajv@^6.12.5: json-schema-traverse "^0.4.1" uri-js "^4.2.2" -ajv@^8.0.0, ajv@^8.9.0: +ajv@^8.0.0, ajv@^8.11.0, ajv@^8.12.0, ajv@^8.9.0: version "8.17.1" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.17.1.tgz#37d9a5c776af6bc92d7f4f9510eba4c0a60d11a6" + resolved "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz" integrity sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g== dependencies: fast-deep-equal "^3.1.3" @@ -2235,16 +2075,6 @@ ajv@^8.0.0, ajv@^8.9.0: json-schema-traverse "^1.0.0" require-from-string "^2.0.2" -ajv@^8.11.0, ajv@^8.12.0: - version "8.12.0" - resolved "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz" - integrity sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA== - dependencies: - fast-deep-equal "^3.1.1" - json-schema-traverse "^1.0.0" - require-from-string "^2.0.2" - uri-js "^4.2.2" - ansi-escapes@^4.2.1, ansi-escapes@^4.3.2: version "4.3.2" resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz" @@ -2260,11 +2090,9 @@ ansi-escapes@^5.0.0: type-fest "^1.0.2" ansi-escapes@^6.2.0: - version "6.2.0" - resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-6.2.0.tgz" - integrity sha512-kzRaCqXnpzWs+3z5ABPQiVke+iq0KXkHo8xiWV4RPTi5Yli0l97BEQuhXV1s7+aSU/fu1kUuxgS4MsQ0fRuygw== - dependencies: - type-fest "^3.0.0" + version "6.2.1" + resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-6.2.1.tgz" + integrity sha512-4nJ3yixlEthEJ9Rk4vPcdBRkZvQZlYyu8j4/Mqz5sgIkddmEnH2Yj2ZrnP9S3tQOvSNRUIgVNF/1yPpRAGNRig== ansi-regex@^5.0.1: version "5.0.1" @@ -2441,19 +2269,18 @@ asap@^2.0.0: resolved "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz" integrity sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA== -asn1.js@^5.2.0: - version "5.4.1" - resolved "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz" - integrity sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA== +asn1.js@^4.10.1: + version "4.10.1" + resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-4.10.1.tgz#b9c2bf5805f1e64aadeed6df3a2bfafb5a73f5a0" + integrity sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw== dependencies: bn.js "^4.0.0" inherits "^2.0.1" minimalistic-assert "^1.0.0" - safer-buffer "^2.1.0" assert@^2.0.0: version "2.1.0" - resolved "https://registry.npmjs.org/assert/-/assert-2.1.0.tgz" + resolved "https://registry.yarnpkg.com/assert/-/assert-2.1.0.tgz#6d92a238d05dc02e7427c881fb8be81c8448b2dd" integrity sha512-eLHpSK/Y4nhMJ07gDaAzoX/XAKS8PSaojml3M0DM4JpV1LAi5JOJ/p6H/XWrl8L+DzVEvVCW1z3vWAaB9oTsQw== dependencies: call-bind "^1.0.2" @@ -2484,6 +2311,13 @@ available-typed-arrays@^1.0.5: resolved "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz" integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw== +available-typed-arrays@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz#a5cc375d6a03c2efc87a553f3e0b1522def14846" + integrity sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ== + dependencies: + possible-typed-array-names "^1.0.0" + axios@^1.6.1: version "1.6.2" resolved "https://registry.npmjs.org/axios/-/axios-1.6.2.tgz" @@ -2493,23 +2327,19 @@ axios@^1.6.1: form-data "^4.0.0" proxy-from-env "^1.1.0" -azion@^1.13.1: - version "1.13.1" - resolved "https://registry.yarnpkg.com/azion/-/azion-1.13.1.tgz#843a1c066ced3a17f14670631ea5fe76af063c2f" - integrity sha512-rU6bymdL2IjCxUqldrp2g9YlKW2hFvFwGtNKJ5DhrSlXDM87nzHP13Q3WKw9R/uCadiwbqSVWPRXVhX2kH+5/Q== +azion@^1.14.0-stage.4: + version "1.14.0-stage.4" + resolved "https://registry.yarnpkg.com/azion/-/azion-1.14.0-stage.4.tgz#9986c1237013a29ad4062127aeadbaea142182e9" + integrity sha512-SEzRx7louDr7xSEX30WEc5+T4O2GzkLW/p0PZxQGewfOJV6eElNyAL5RjVt6QANaqHFgGLkYQs+isgw8HcA/ng== dependencies: chalk "^5.3.0" + crypto-browserify "^3.12.1" progress "^2.0.3" -b4a@^1.6.4: - version "1.6.4" - resolved "https://registry.npmjs.org/b4a/-/b4a-1.6.4.tgz" - integrity sha512-fpWrvyVHEKyeEvbKZTVOeZF3VSKKWtJxFIxX/jaVPf+cLbGUSitjb49pHLqPV2BUNNZ0LcoeEGfE/YCpyDYHIw== - -b4a@^1.6.6: - version "1.6.6" - resolved "https://registry.npmjs.org/b4a/-/b4a-1.6.6.tgz" - integrity sha512-5Tk1HLk6b6ctmjIkAcU/Ujv/1WqiDl0F0JdRCR80VsOcUlHcu7pWeWRlOqQLHfDEsVx9YH/aif5AG4ehoCtTmg== +b4a@^1.6.4, b4a@^1.6.6: + version "1.6.7" + resolved "https://registry.npmjs.org/b4a/-/b4a-1.6.7.tgz" + integrity sha512-OnAYlL5b7LEkALw87fUVafQw5rVR9RjwGd4KUwNQ6DrrNmaVaUCgLipfVlzrPQ4tWOR9P0IXGNOx50jYCCdSJg== babel-jest@^29.7.0: version "29.7.0" @@ -2526,7 +2356,7 @@ babel-jest@^29.7.0: babel-loader@^9.2.1: version "9.2.1" - resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-9.2.1.tgz#04c7835db16c246dd19ba0914418f3937797587b" + resolved "https://registry.npmjs.org/babel-loader/-/babel-loader-9.2.1.tgz" integrity sha512-fqe8naHt46e0yIdkjUZYqddSXfej3AHajX+CSO5X7oy0EmPc6o5Xh+RClNoHjnieWz9AW4kZxW9yyFMhVB1QLA== dependencies: find-cache-dir "^4.0.0" @@ -2648,7 +2478,12 @@ bin-links@^4.0.1: read-cmd-shim "^4.0.0" write-file-atomic "^5.0.0" -binary-extensions@^2.0.0, binary-extensions@^2.2.0: +binary-extensions@^2.0.0: + version "2.3.0" + resolved "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz" + integrity sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw== + +binary-extensions@^2.2.0: version "2.2.0" resolved "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz" integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== @@ -2668,13 +2503,13 @@ bluebird@^3.7.2: integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.9: - version "4.12.0" - resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz" - integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== + version "4.12.1" + resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.1.tgz#215741fe3c9dba2d7e12c001d0cfdbae43975ba7" + integrity sha512-k8TVBiPkPJT9uHLdOKfFpqcfprwBFOAAXXozRubr7R7PfIuKvQlzcI4M0pALeqXN09vdaMbUdUj+pass+uULAg== -bn.js@^5.0.0, bn.js@^5.2.1: +bn.js@^5.2.1: version "5.2.1" - resolved "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz" + resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== bottleneck@^2.15.3, bottleneck@^2.19.5: @@ -2713,12 +2548,12 @@ braces@^3.0.2, braces@~3.0.2: brorand@^1.0.1, brorand@^1.1.0: version "1.1.0" - resolved "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz" + resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== -browserify-aes@^1.0.0, browserify-aes@^1.0.4: +browserify-aes@^1.0.4, browserify-aes@^1.2.0: version "1.2.0" - resolved "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz" + resolved "https://registry.yarnpkg.com/browserify-aes/-/browserify-aes-1.2.0.tgz#326734642f403dabc3003209853bb70ad428ef48" integrity sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA== dependencies: buffer-xor "^1.0.3" @@ -2728,9 +2563,9 @@ browserify-aes@^1.0.0, browserify-aes@^1.0.4: inherits "^2.0.1" safe-buffer "^5.0.1" -browserify-cipher@^1.0.0: +browserify-cipher@^1.0.1: version "1.0.1" - resolved "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz" + resolved "https://registry.yarnpkg.com/browserify-cipher/-/browserify-cipher-1.0.1.tgz#8d6474c1b870bfdabcd3bcfcc1934a10e94f15f0" integrity sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w== dependencies: browserify-aes "^1.0.4" @@ -2739,7 +2574,7 @@ browserify-cipher@^1.0.0: browserify-des@^1.0.0: version "1.0.2" - resolved "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz" + resolved "https://registry.yarnpkg.com/browserify-des/-/browserify-des-1.0.2.tgz#3af4f1f59839403572f1c66204375f7a7f703e9c" integrity sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A== dependencies: cipher-base "^1.0.1" @@ -2748,44 +2583,46 @@ browserify-des@^1.0.0: safe-buffer "^5.1.2" browserify-rsa@^4.0.0, browserify-rsa@^4.1.0: - version "4.1.0" - resolved "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz" - integrity sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog== + version "4.1.1" + resolved "https://registry.yarnpkg.com/browserify-rsa/-/browserify-rsa-4.1.1.tgz#06e530907fe2949dc21fc3c2e2302e10b1437238" + integrity sha512-YBjSAiTqM04ZVei6sXighu679a3SqWORA3qZTEqZImnlkDIFtKc6pNutpjyZ8RJTjQtuYfeetkxM11GwoYXMIQ== dependencies: - bn.js "^5.0.0" - randombytes "^2.0.1" + bn.js "^5.2.1" + randombytes "^2.1.0" + safe-buffer "^5.2.1" -browserify-sign@^4.0.0: - version "4.2.2" - resolved "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.2.tgz" - integrity sha512-1rudGyeYY42Dk6texmv7c4VcQ0EsvVbLwZkA+AQB7SxvXxmcD93jcHie8bzecJ+ChDlmAm2Qyu0+Ccg5uhZXCg== +browserify-sign@^4.2.3: + version "4.2.3" + resolved "https://registry.yarnpkg.com/browserify-sign/-/browserify-sign-4.2.3.tgz#7afe4c01ec7ee59a89a558a4b75bd85ae62d4208" + integrity sha512-JWCZW6SKhfhjJxO8Tyiiy+XYB7cqd2S5/+WeYHsKdNKFlCBhKbblba1A/HN/90YwtxKc8tCErjffZl++UNmGiw== dependencies: bn.js "^5.2.1" browserify-rsa "^4.1.0" create-hash "^1.2.0" create-hmac "^1.1.7" - elliptic "^6.5.4" + elliptic "^6.5.5" + hash-base "~3.0" inherits "^2.0.4" - parse-asn1 "^5.1.6" - readable-stream "^3.6.2" + parse-asn1 "^5.1.7" + readable-stream "^2.3.8" safe-buffer "^5.2.1" browserify-zlib@^0.2.0: version "0.2.0" - resolved "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz" + resolved "https://registry.yarnpkg.com/browserify-zlib/-/browserify-zlib-0.2.0.tgz#2869459d9aa3be245fe8fe2ca1f46e2e7f54d73f" integrity sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA== dependencies: pako "~1.0.5" -browserslist@^4.14.5, browserslist@^4.22.2: - version "4.22.2" - resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.22.2.tgz" - integrity sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A== +browserslist@^4.14.5, browserslist@^4.24.0: + version "4.24.4" + resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.24.4.tgz" + integrity sha512-KDi1Ny1gSePi1vm0q4oxSF8b4DR44GF4BbmS2YdhPLOEqd8pDviZOGH/GsmRwoWJ2+5Lr085X7naowMwKHDG1A== dependencies: - caniuse-lite "^1.0.30001565" - electron-to-chromium "^1.4.601" - node-releases "^2.0.14" - update-browserslist-db "^1.0.13" + caniuse-lite "^1.0.30001688" + electron-to-chromium "^1.5.73" + node-releases "^2.0.19" + update-browserslist-db "^1.1.1" bser@2.1.1: version "2.1.1" @@ -2806,7 +2643,7 @@ buffer-from@^1.0.0: buffer-xor@^1.0.3: version "1.0.3" - resolved "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz" + resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" integrity sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ== buffer@^5.2.1, buffer@^5.5.0: @@ -2819,7 +2656,7 @@ buffer@^5.2.1, buffer@^5.5.0: buffer@^6.0.3: version "6.0.3" - resolved "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz" + resolved "https://registry.yarnpkg.com/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== dependencies: base64-js "^1.3.1" @@ -2827,7 +2664,7 @@ buffer@^6.0.3: builtin-status-codes@^3.0.0: version "3.0.0" - resolved "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz" + resolved "https://registry.yarnpkg.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8" integrity sha512-HpGFw18DgFWlncDfjTa2rcQ4W88O1mC8e8yZ2AvQY5KDaktSTwo+KRf6nHK6FRI5FyRyb/5T6+TSxfP7QyGsmQ== builtins@^5.0.0: @@ -2886,6 +2723,14 @@ cacache@^17.0.0, cacache@^17.0.4, cacache@^17.1.3: tar "^6.1.11" unique-filename "^3.0.0" +call-bind-apply-helpers@^1.0.0, call-bind-apply-helpers@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.1.tgz#32e5892e6361b29b0b545ba6f7763378daca2840" + integrity sha512-BhYE+WDaywFg2TBWYNXAE+8B1ATnThNBqXHP5nQu0jWJdVvY2hvkpyB3qOmtmDePiS5/BDQ8wASEWGMWRG148g== + dependencies: + es-errors "^1.3.0" + function-bind "^1.1.2" + call-bind@^1.0.0, call-bind@^1.0.2, call-bind@^1.0.4, call-bind@^1.0.5: version "1.0.5" resolved "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz" @@ -2895,6 +2740,24 @@ call-bind@^1.0.0, call-bind@^1.0.2, call-bind@^1.0.4, call-bind@^1.0.5: get-intrinsic "^1.2.1" set-function-length "^1.1.1" +call-bind@^1.0.7, call-bind@^1.0.8: + version "1.0.8" + resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.8.tgz#0736a9660f537e3388826f440d5ec45f744eaa4c" + integrity sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww== + dependencies: + call-bind-apply-helpers "^1.0.0" + es-define-property "^1.0.0" + get-intrinsic "^1.2.4" + set-function-length "^1.2.2" + +call-bound@^1.0.2, call-bound@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/call-bound/-/call-bound-1.0.3.tgz#41cfd032b593e39176a71533ab4f384aa04fd681" + integrity sha512-YTd+6wGlNlPxSuri7Y6X8tY2dmm12UMH66RpKMhiX6rsk5wXXnYgbUcOt8kiS31/AjfoTOvCsE+w8nZQLQnzHA== + dependencies: + call-bind-apply-helpers "^1.0.1" + get-intrinsic "^1.2.6" + callsites@^3.0.0: version "3.1.0" resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz" @@ -2927,10 +2790,10 @@ camelcase@^6.2.0: resolved "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz" integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== -caniuse-lite@^1.0.30001565: - version "1.0.30001568" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001568.tgz" - integrity sha512-vSUkH84HontZJ88MiNrOau1EBrCqEQYgkC5gIySiDlpsm8sGVrhU7Kx4V6h0tnqaHzIHZv08HlJIwPbL4XL9+A== +caniuse-lite@^1.0.30001688: + version "1.0.30001696" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001696.tgz" + integrity sha512-pDCPkvzfa39ehJtJ+OwGT/2yvT2SbjfHhiIW2LWOAcMQ7BzwxT/XuyUp4OTOd0XFWA6BKw0JalnBHgSi5DGJBQ== cardinal@^2.1.1: version "2.1.1" @@ -2947,7 +2810,7 @@ catharsis@^0.9.0: dependencies: lodash "^4.17.15" -chalk@^2.3.2, chalk@^2.4.2: +chalk@^2.3.2: version "2.4.2" resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -2965,9 +2828,9 @@ chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.2: supports-color "^7.1.0" chalk@^5.2.0, chalk@^5.3.0: - version "5.3.0" - resolved "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz" - integrity sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w== + version "5.4.1" + resolved "https://registry.npmjs.org/chalk/-/chalk-5.4.1.tgz" + integrity sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w== char-regex@^1.0.2: version "1.0.2" @@ -3026,12 +2889,12 @@ cidr-regex@^3.1.1: ip-regex "^4.1.0" cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: - version "1.0.4" - resolved "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz" - integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== + version "1.0.6" + resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.6.tgz#8fe672437d01cd6c4561af5334e0cc50ff1955f7" + integrity sha512-3Ek9H3X6pj5TgenXYtNWdaBon1tgYCaebd+XPg0keyjEbEfkD4KkmAxkQ/i1vYvxdcT5nscLBfq9VJRmCBcFSw== dependencies: - inherits "^2.0.1" - safe-buffer "^5.0.1" + inherits "^2.0.4" + safe-buffer "^5.2.1" cjs-module-lexer@^1.0.0: version "1.2.3" @@ -3104,9 +2967,9 @@ cli-spinners@^2.5.0: integrity sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg== cli-table3@^0.6.3: - version "0.6.3" - resolved "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.3.tgz" - integrity sha512-w5Jac5SykAeZJKntOxJCrm63Eg5/4dhMWIcuTbo9rpE+brgaSZo0RuNJZeOyMgsUdhDeojvgyQLmjI+K50ZGyg== + version "0.6.5" + resolved "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.5.tgz" + integrity sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ== dependencies: string-width "^4.2.0" optionalDependencies: @@ -3231,7 +3094,7 @@ common-ancestor-path@^1.0.1: common-path-prefix@^3.0.0: version "3.0.0" - resolved "https://registry.yarnpkg.com/common-path-prefix/-/common-path-prefix-3.0.0.tgz#7d007a7e07c58c4b4d5f433131a19141b29f11e0" + resolved "https://registry.npmjs.org/common-path-prefix/-/common-path-prefix-3.0.0.tgz" integrity sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w== compare-func@^2.0.0: @@ -3244,7 +3107,7 @@ compare-func@^2.0.0: complex.js@^2.2.5: version "2.4.2" - resolved "https://registry.yarnpkg.com/complex.js/-/complex.js-2.4.2.tgz#76f260a9e7e232d8ad26348484a9b128c13fcc9a" + resolved "https://registry.npmjs.org/complex.js/-/complex.js-2.4.2.tgz" integrity sha512-qtx7HRhPGSCBtGiST4/WGHuW+zeaND/6Ld+db6PbrulIB1i2Ev/2UPiqcmpQNPSyfBKraC0EOvOKCB5dGZKt3g== component-emitter@^1.3.0: @@ -3270,10 +3133,10 @@ confusing-browser-globals@^1.0.10: resolved "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.11.tgz" integrity sha512-JsPKdmh8ZkmnHxDk55FZ1TqVLvEQTvoByJZRN9jzI0UjxK/QgAmsphz7PGtqgPieQZ/CQcHWXCR7ATDNhGe+YA== -console-browserify@^1.2.0: - version "1.2.0" - resolved "https://registry.npmjs.org/console-browserify/-/console-browserify-1.2.0.tgz" - integrity sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA== +consola@^3.2.3: + version "3.4.0" + resolved "https://registry.npmjs.org/consola/-/consola-3.4.0.tgz" + integrity sha512-EiPU8G6dQG0GFHNR8ljnZFki/8a+cQwEQ+7wpxdChl02Q8HXlwEZWD5lqAF8vC2sEC3Tehr8hy7vErz88LHyUA== console-control-strings@^1.1.0: version "1.1.0" @@ -3398,9 +3261,9 @@ cosmiconfig@^9.0.0: js-yaml "^4.1.0" parse-json "^5.2.0" -create-ecdh@^4.0.0: +create-ecdh@^4.0.4: version "4.0.4" - resolved "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz" + resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.4.tgz#d6e7f4bffa66736085a0762fd3a632684dabcc4e" integrity sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A== dependencies: bn.js "^4.1.0" @@ -3408,7 +3271,7 @@ create-ecdh@^4.0.0: create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: version "1.2.0" - resolved "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz" + resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== dependencies: cipher-base "^1.0.1" @@ -3417,9 +3280,9 @@ create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: ripemd160 "^2.0.1" sha.js "^2.4.0" -create-hmac@^1.1.0, create-hmac@^1.1.4, create-hmac@^1.1.7: +create-hmac@^1.1.4, create-hmac@^1.1.7: version "1.1.7" - resolved "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz" + resolved "https://registry.yarnpkg.com/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== dependencies: cipher-base "^1.0.3" @@ -3442,7 +3305,7 @@ create-jest@^29.7.0: jest-util "^29.7.0" prompts "^2.0.1" -cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3: +cross-spawn@^7.0.0: version "7.0.3" resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz" integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== @@ -3451,22 +3314,32 @@ cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3: shebang-command "^2.0.0" which "^2.0.1" -crypto-browserify@^3.12.0: - version "3.12.0" - resolved "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz" - integrity sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg== +cross-spawn@^7.0.2, cross-spawn@^7.0.3: + version "7.0.6" + resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz" + integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA== dependencies: - browserify-cipher "^1.0.0" - browserify-sign "^4.0.0" - create-ecdh "^4.0.0" - create-hash "^1.1.0" - create-hmac "^1.1.0" - diffie-hellman "^5.0.0" - inherits "^2.0.1" - pbkdf2 "^3.0.3" - public-encrypt "^4.0.0" - randombytes "^2.0.0" - randomfill "^1.0.3" + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + +crypto-browserify@^3.12.1: + version "3.12.1" + resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.1.tgz#bb8921bec9acc81633379aa8f52d69b0b69e0dac" + integrity sha512-r4ESw/IlusD17lgQi1O20Fa3qNnsckR126TdUuBgAu7GBYSIPvdNyONd3Zrxh0xCwA4+6w/TDArBPsMvhur+KQ== + dependencies: + browserify-cipher "^1.0.1" + browserify-sign "^4.2.3" + create-ecdh "^4.0.4" + create-hash "^1.2.0" + create-hmac "^1.1.7" + diffie-hellman "^5.0.3" + hash-base "~3.0.4" + inherits "^2.0.4" + pbkdf2 "^3.1.2" + public-encrypt "^4.0.3" + randombytes "^2.1.0" + randomfill "^1.0.4" crypto-random-string@^4.0.0: version "4.0.0" @@ -3503,12 +3376,12 @@ dateformat@^3.0.3: resolved "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz" integrity sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q== -debug@4, debug@^4.0.0, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.3, debug@^4.3.4: - version "4.3.4" - resolved "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz" - integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== +debug@4, debug@^4.0.0, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.4, debug@^4.3.6: + version "4.4.0" + resolved "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz" + integrity sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA== dependencies: - ms "2.1.2" + ms "^2.1.3" debug@^3.2.7: version "3.2.7" @@ -3517,12 +3390,12 @@ debug@^3.2.7: dependencies: ms "^2.1.1" -debug@^4.3.6: - version "4.3.7" - resolved "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz" - integrity sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ== +debug@^4.3.3: + version "4.3.4" + resolved "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz" + integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== dependencies: - ms "^2.1.3" + ms "2.1.2" decamelize-keys@^1.1.0: version "1.1.1" @@ -3539,7 +3412,7 @@ decamelize@^1.1.0: decimal.js@^10.4.3: version "10.4.3" - resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.4.3.tgz#1044092884d245d1b7f65725fa4ad4c6f781cc23" + resolved "https://registry.npmjs.org/decimal.js/-/decimal.js-10.4.3.tgz" integrity sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA== dedent@^1.0.0: @@ -3596,6 +3469,15 @@ define-data-property@^1.0.1, define-data-property@^1.1.1: gopd "^1.0.1" has-property-descriptors "^1.0.0" +define-data-property@^1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.4.tgz#894dc141bb7d3060ae4366f6a0107e68fbe48c5e" + integrity sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A== + dependencies: + es-define-property "^1.0.0" + es-errors "^1.3.0" + gopd "^1.0.1" + define-lazy-prop@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz" @@ -3610,6 +3492,11 @@ define-properties@^1.1.3, define-properties@^1.2.0, define-properties@^1.2.1: has-property-descriptors "^1.0.0" object-keys "^1.1.1" +defu@^6.1.4: + version "6.1.4" + resolved "https://registry.npmjs.org/defu/-/defu-6.1.4.tgz" + integrity sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg== + degenerator@^5.0.0: version "5.0.1" resolved "https://registry.npmjs.org/degenerator/-/degenerator-5.0.1.tgz" @@ -3636,7 +3523,7 @@ deprecation@^2.0.0: des.js@^1.0.0: version "1.1.0" - resolved "https://registry.npmjs.org/des.js/-/des.js-1.1.0.tgz" + resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.1.0.tgz#1d37f5766f3bbff4ee9638e871a8768c173b81da" integrity sha512-r17GxjhUCjSRy8aiJpr8/UadFIzMzJGexI3Nmz4ADi9LYSFx4gTBp80+NaX/YsXWWLhpZ7v/v/ubEc/bCNfKwg== dependencies: inherits "^2.0.1" @@ -3670,9 +3557,9 @@ diff@^5.1.0: resolved "https://registry.npmjs.org/diff/-/diff-5.1.0.tgz" integrity sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw== -diffie-hellman@^5.0.0: +diffie-hellman@^5.0.3: version "5.0.3" - resolved "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz" + resolved "https://registry.yarnpkg.com/diffie-hellman/-/diffie-hellman-5.0.3.tgz#40e8ee98f55a2149607146921c63e1ae5f3d2875" integrity sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg== dependencies: bn.js "^4.1.0" @@ -3720,6 +3607,15 @@ dotenv@^16.4.4: resolved "https://registry.npmjs.org/dotenv/-/dotenv-16.4.4.tgz" integrity sha512-XvPXc8XAQThSjAbY6cQ/9PcBXmFoWuw1sQ3b8HqUCR6ziGXjkTi//kB9SWa2UwqlgdAIuRqAa/9hVljzPehbYg== +dunder-proto@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/dunder-proto/-/dunder-proto-1.0.1.tgz#d7ae667e1dc83482f8b70fd0f6eefc50da30f58a" + integrity sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A== + dependencies: + call-bind-apply-helpers "^1.0.1" + es-errors "^1.3.0" + gopd "^1.2.0" + duplexer2@~0.1.0: version "0.1.4" resolved "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz" @@ -3747,15 +3643,15 @@ edge-runtime@^2.4.5: signal-exit "4.0.2" time-span "4.0.0" -electron-to-chromium@^1.4.601: - version "1.4.610" - resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.610.tgz" - integrity sha512-mqi2oL1mfeHYtOdCxbPQYV/PL7YrQlxbvFEZ0Ee8GbDdShimqt2/S6z2RWqysuvlwdOrQdqvE0KZrBTipAeJzg== +electron-to-chromium@^1.5.73: + version "1.5.90" + resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.90.tgz" + integrity sha512-C3PN4aydfW91Natdyd449Kw+BzhLmof6tzy5W1pFC5SpQxVXT+oyiyOG9AgYYSN9OdA/ik3YkCrpwqI8ug5Tug== -elliptic@^6.5.3, elliptic@^6.5.4: - version "6.5.4" - resolved "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz" - integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== +elliptic@^6.5.3, elliptic@^6.5.5: + version "6.6.1" + resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.6.1.tgz#3b8ffb02670bf69e382c7f65bf524c97c5405c06" + integrity sha512-RaddvvMatK2LJHqFJ+YA4WysVN5Ita9E35botqIYspQ4TkRAlCicdzKOjlyv/1Za5RyTNn7di//eEV0uTAfe3g== dependencies: bn.js "^4.11.9" brorand "^1.1.0" @@ -3882,11 +3778,28 @@ es-abstract@^1.22.1: unbox-primitive "^1.0.2" which-typed-array "^1.1.13" +es-define-property@^1.0.0, es-define-property@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/es-define-property/-/es-define-property-1.0.1.tgz#983eb2f9a6724e9303f61addf011c72e09e0b0fa" + integrity sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g== + +es-errors@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f" + integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== + es-module-lexer@^1.2.1: version "1.5.4" resolved "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.5.4.tgz" integrity sha512-MVNK56NiMrOwitFB7cqDwq0CQutbw+0BvLshJSse0MUNU+y1FC3bUS/AQg7oUng+/wKrrki7JfmwtVHkVfPLlw== +es-object-atoms@^1.0.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/es-object-atoms/-/es-object-atoms-1.1.1.tgz#1c4f2c4837327597ce69d2ca190a7fdd172338c1" + integrity sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA== + dependencies: + es-errors "^1.3.0" + es-set-tostringtag@^2.0.1: version "2.0.2" resolved "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.2.tgz" @@ -3940,14 +3853,14 @@ esbuild@^0.19.7: "@esbuild/win32-ia32" "0.19.9" "@esbuild/win32-x64" "0.19.9" -escalade@^3.1.1: - version "3.1.1" - resolved "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz" - integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== +escalade@^3.1.1, escalade@^3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz" + integrity sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA== escape-latex@^1.2.0: version "1.2.0" - resolved "https://registry.yarnpkg.com/escape-latex/-/escape-latex-1.2.0.tgz#07c03818cf7dac250cce517f4fda1b001ef2bca1" + resolved "https://registry.npmjs.org/escape-latex/-/escape-latex-1.2.0.tgz" integrity sha512-nV5aVWW1K0wEiUIEdZ4erkGGH8mDxGyxSeqPzRNtWP7ataw+/olFObw7hujFWlVjNsaDFw5VZ5NzVSIqRgfTiw== escape-string-regexp@5.0.0, escape-string-regexp@^5.0.0: @@ -4177,11 +4090,6 @@ esutils@^2.0.2: resolved "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz" integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== -event-target-shim@^5.0.0: - version "5.0.1" - resolved "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz" - integrity sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ== - events@^3.2.0, events@^3.3.0: version "3.3.0" resolved "https://registry.npmjs.org/events/-/events-3.3.0.tgz" @@ -4189,7 +4097,7 @@ events@^3.2.0, events@^3.3.0: evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: version "1.0.3" - resolved "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz" + resolved "https://registry.yarnpkg.com/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz#7fcbdb198dc71959432efe13842684e0525acb02" integrity sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA== dependencies: md5.js "^1.3.4" @@ -4303,7 +4211,7 @@ fast-diff@^1.1.2: resolved "https://registry.npmjs.org/fast-diff/-/fast-diff-1.3.0.tgz" integrity sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw== -fast-fifo@^1.1.0, fast-fifo@^1.2.0, fast-fifo@^1.3.2: +fast-fifo@^1.2.0, fast-fifo@^1.3.2: version "1.3.2" resolved "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz" integrity sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ== @@ -4335,9 +4243,9 @@ fast-safe-stringify@^2.1.1: integrity sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA== fast-uri@^3.0.1: - version "3.0.3" - resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-3.0.3.tgz#892a1c91802d5d7860de728f18608a0573142241" - integrity sha512-aLrHthzCjH5He4Z2H9YZ+v6Ujb9ocRuW6ZzkJQOrTxleEijANq4v1TsaPaVG1PZcuurEzrLcWRyYBYXD5cEiaw== + version "3.0.6" + resolved "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.6.tgz" + integrity sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw== fastest-levenshtein@^1.0.16: version "1.0.16" @@ -4396,7 +4304,7 @@ fill-range@^7.0.1: find-cache-dir@^4.0.0: version "4.0.0" - resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-4.0.0.tgz#a30ee0448f81a3990708f6453633c733e2f6eec2" + resolved "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-4.0.0.tgz" integrity sha512-9ZonPT4ZAK4a+1pUPVPZJapbi7O5qbbJPdYw/NOQWZZbVLdDTYM3A4R9z/DpAM08IDaFGsvPgiGZ82WEwUDWjg== dependencies: common-path-prefix "^3.0.0" @@ -4524,7 +4432,7 @@ formidable@^2.1.2: fraction.js@^5.2.1: version "5.2.1" - resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-5.2.1.tgz#93ffc9507b1a68a1271883aa28e98f58a1c0c6b3" + resolved "https://registry.npmjs.org/fraction.js/-/fraction.js-5.2.1.tgz" integrity sha512-Ah6t/7YCYjrPUFUFsOsRLMXAdnYM+aQwmojD2Ayb/Ezr82SwES0vuyQ8qZ3QO8n9j7W14VJuVZZet8U3bhSdQQ== from2@^2.3.0: @@ -4550,9 +4458,9 @@ fs-extra@^10.1.0: universalify "^2.0.0" fs-extra@^11.0.0, fs-extra@^11.2.0: - version "11.2.0" - resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz" - integrity sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw== + version "11.3.0" + resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.0.tgz" + integrity sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew== dependencies: graceful-fs "^4.2.0" jsonfile "^6.0.1" @@ -4659,11 +4567,35 @@ get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3, get-intrinsic@ has-symbols "^1.0.3" hasown "^2.0.0" +get-intrinsic@^1.2.4, get-intrinsic@^1.2.5, get-intrinsic@^1.2.6: + version "1.2.7" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.7.tgz#dcfcb33d3272e15f445d15124bc0a216189b9044" + integrity sha512-VW6Pxhsrk0KAOqs3WEd0klDiF/+V7gQOpAvY1jVU/LHmaD/kQO4523aiJuikX/QAKYiW6x8Jh+RJej1almdtCA== + dependencies: + call-bind-apply-helpers "^1.0.1" + es-define-property "^1.0.1" + es-errors "^1.3.0" + es-object-atoms "^1.0.0" + function-bind "^1.1.2" + get-proto "^1.0.0" + gopd "^1.2.0" + has-symbols "^1.1.0" + hasown "^2.0.2" + math-intrinsics "^1.1.0" + get-package-type@^0.1.0: version "0.1.0" resolved "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz" integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== +get-proto@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/get-proto/-/get-proto-1.0.1.tgz#150b3f2743869ef3e851ec0c49d15b1d14d00ee1" + integrity sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g== + dependencies: + dunder-proto "^1.0.1" + es-object-atoms "^1.0.0" + get-stream@^5.1.0: version "5.2.0" resolved "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz" @@ -4748,7 +4680,7 @@ glob-to-regexp@^0.4.1: glob@^10.2.2, glob@^10.2.7: version "10.4.5" - resolved "https://registry.yarnpkg.com/glob/-/glob-10.4.5.tgz#f4d9f0b90ffdbab09c9d77f5f29b4262517b0956" + resolved "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz" integrity sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg== dependencies: foreground-child "^3.1.0" @@ -4838,11 +4770,11 @@ globby@^11.1.0: slash "^3.0.0" globby@^14.0.0: - version "14.0.0" - resolved "https://registry.npmjs.org/globby/-/globby-14.0.0.tgz" - integrity sha512-/1WM/LNHRAOH9lZta77uGbq0dAEQM+XjNesWwhlERDVenqothRbnzTrL3/LrIoEPPjeUHC3vrS6TwoyxeHs7MQ== + version "14.0.2" + resolved "https://registry.npmjs.org/globby/-/globby-14.0.2.tgz" + integrity sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw== dependencies: - "@sindresorhus/merge-streams" "^1.0.0" + "@sindresorhus/merge-streams" "^2.1.0" fast-glob "^3.3.2" ignore "^5.2.4" path-type "^5.0.0" @@ -4856,12 +4788,17 @@ gopd@^1.0.1: dependencies: get-intrinsic "^1.1.3" -graceful-fs@4.2.10: +gopd@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.2.0.tgz#89f56b8217bdbc8802bd299df6d7f1081d7e51a1" + integrity sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg== + +graceful-fs@4.2.10, graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9, graceful-fs@^4.2.0, graceful-fs@^4.2.4, graceful-fs@^4.2.9: version "4.2.10" resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz" integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== -graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9, graceful-fs@^4.2.0, graceful-fs@^4.2.11, graceful-fs@^4.2.4, graceful-fs@^4.2.6, graceful-fs@^4.2.9: +graceful-fs@^4.2.11, graceful-fs@^4.2.6: version "4.2.11" resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz" integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== @@ -4910,6 +4847,13 @@ has-property-descriptors@^1.0.0: dependencies: get-intrinsic "^1.2.2" +has-property-descriptors@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz#963ed7d071dc7bf5f084c5bfbe0d1b6222586854" + integrity sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg== + dependencies: + es-define-property "^1.0.0" + has-proto@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz" @@ -4920,6 +4864,11 @@ has-symbols@^1.0.2, has-symbols@^1.0.3: resolved "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz" integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== +has-symbols@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.1.0.tgz#fc9c6a783a084951d0b971fe1018de813707a338" + integrity sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ== + has-tostringtag@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz" @@ -4927,6 +4876,13 @@ has-tostringtag@^1.0.0: dependencies: has-symbols "^1.0.2" +has-tostringtag@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.2.tgz#2cdc42d40bef2e5b4eeab7c01a73c54ce7ab5abc" + integrity sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw== + dependencies: + has-symbols "^1.0.3" + has-unicode@^2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz" @@ -4934,25 +4890,33 @@ has-unicode@^2.0.1: hash-base@^3.0.0: version "3.1.0" - resolved "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz" + resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA== dependencies: inherits "^2.0.4" readable-stream "^3.6.0" safe-buffer "^5.2.0" +hash-base@~3.0, hash-base@~3.0.4: + version "3.0.5" + resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-3.0.5.tgz#52480e285395cf7fba17dc4c9e47acdc7f248a8a" + integrity sha512-vXm0l45VbcHEVlTCzs8M+s0VeYsB2lnlAaThoLKGXr3bE/VWDOelNUnycUPEhKEaXARL2TEFjBOyUiM6+55KBg== + dependencies: + inherits "^2.0.4" + safe-buffer "^5.2.1" + hash.js@^1.0.0, hash.js@^1.0.3: version "1.1.7" - resolved "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz" + resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== dependencies: inherits "^2.0.3" minimalistic-assert "^1.0.1" -hasown@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz" - integrity sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA== +hasown@^2.0.0, hasown@^2.0.2: + version "2.0.2" + resolved "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz" + integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== dependencies: function-bind "^1.1.2" @@ -4963,7 +4927,7 @@ hexoid@^1.0.0: hmac-drbg@^1.0.1: version "1.0.1" - resolved "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz" + resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" integrity sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg== dependencies: hash.js "^1.0.3" @@ -5002,9 +4966,9 @@ hosted-git-info@^6.0.0, hosted-git-info@^6.1.1: lru-cache "^7.5.1" hosted-git-info@^7.0.0: - version "7.0.1" - resolved "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.1.tgz" - integrity sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA== + version "7.0.2" + resolved "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.2.tgz" + integrity sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w== dependencies: lru-cache "^10.0.1" @@ -5040,15 +5004,7 @@ http-proxy-agent@^5.0.0: agent-base "6" debug "4" -http-proxy-agent@^7.0.0: - version "7.0.0" - resolved "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.0.tgz" - integrity sha512-+ZT+iBxVUQ1asugqnD6oWoRiS25AkjNfG085dKJGtGxkdwLQrMKU5wJr2bOOFAXzKcTuqq+7fZlTMgG3SRfIYQ== - dependencies: - agent-base "^7.1.0" - debug "^4.3.4" - -http-proxy-agent@^7.0.1: +http-proxy-agent@^7.0.0, http-proxy-agent@^7.0.1: version "7.0.2" resolved "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz" integrity sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig== @@ -5056,11 +5012,6 @@ http-proxy-agent@^7.0.1: agent-base "^7.1.0" debug "^4.3.4" -https-browserify@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz" - integrity sha512-J+FkSdyD+0mA0N+81tMotaRMfSL9SGi+xpD3T6YApKsc3bGSXJlfXri3VyFOeYkfLRQisDk1W+jIFFKBeUBbBg== - https-proxy-agent@^5.0.0: version "5.0.1" resolved "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz" @@ -5069,20 +5020,12 @@ https-proxy-agent@^5.0.0: agent-base "6" debug "4" -https-proxy-agent@^7.0.0, https-proxy-agent@^7.0.2: - version "7.0.2" - resolved "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.2.tgz" - integrity sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA== - dependencies: - agent-base "^7.0.2" - debug "4" - -https-proxy-agent@^7.0.3: - version "7.0.5" - resolved "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz" - integrity sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw== +https-proxy-agent@^7.0.0, https-proxy-agent@^7.0.2, https-proxy-agent@^7.0.3: + version "7.0.6" + resolved "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz" + integrity sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw== dependencies: - agent-base "^7.0.2" + agent-base "^7.1.2" debug "4" human-signals@^2.1.0: @@ -5263,6 +5206,14 @@ into-stream@^7.0.0: from2 "^2.3.0" p-is-promise "^3.0.0" +ip-address@^9.0.5: + version "9.0.5" + resolved "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz" + integrity sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g== + dependencies: + jsbn "1.1.0" + sprintf-js "^1.1.3" + ip-regex@^4.1.0: version "4.3.0" resolved "https://registry.npmjs.org/ip-regex/-/ip-regex-4.3.0.tgz" @@ -5279,12 +5230,12 @@ ip@^2.0.0, ip@^2.0.1: integrity sha512-lJUL9imLTNi1ZfXT+DU6rBBdbiKGBuay9B6xGSPVjUeQwaH1RIGqef8RZkUtHioLmSNpPR5M4HVKJGm1j8FWVQ== is-arguments@^1.0.4: - version "1.1.1" - resolved "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz" - integrity sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA== + version "1.2.0" + resolved "https://registry.yarnpkg.com/is-arguments/-/is-arguments-1.2.0.tgz#ad58c6aecf563b78ef2bf04df540da8f5d7d8e1b" + integrity sha512-7bVbi0huj/wrIAOzb8U1aszg9kdi3KN/CyU19CTI7tAoZYEZoL9yCDXpbXN+uPsuWnP02cyug1gleqq+TU+YCA== dependencies: - call-bind "^1.0.2" - has-tostringtag "^1.0.0" + call-bound "^1.0.2" + has-tostringtag "^1.0.2" is-array-buffer@^3.0.1, is-array-buffer@^3.0.2: version "3.0.2" @@ -5335,11 +5286,11 @@ is-cidr@^4.0.2: cidr-regex "^3.1.1" is-core-module@^2.13.0, is-core-module@^2.13.1, is-core-module@^2.5.0, is-core-module@^2.8.1: - version "2.13.1" - resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz" - integrity sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw== + version "2.16.1" + resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz" + integrity sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w== dependencies: - hasown "^2.0.0" + hasown "^2.0.2" is-date-object@^1.0.1: version "1.0.5" @@ -5379,11 +5330,14 @@ is-generator-fn@^2.0.0: integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ== is-generator-function@^1.0.7: - version "1.0.10" - resolved "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz" - integrity sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A== + version "1.1.0" + resolved "https://registry.yarnpkg.com/is-generator-function/-/is-generator-function-1.1.0.tgz#bf3eeda931201394f57b5dba2800f91a238309ca" + integrity sha512-nPUB5km40q9e8UfN/Zc24eLlzdSf9OfKByBw9CIdw4H1giPMeA0OIJvbchsCu4npfI2QcMVBsGEBHKZ7wLTWmQ== dependencies: - has-tostringtag "^1.0.0" + call-bound "^1.0.3" + get-proto "^1.0.0" + has-tostringtag "^1.0.2" + safe-regex-test "^1.1.0" is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1: version "4.0.3" @@ -5411,7 +5365,7 @@ is-lambda@^1.0.1: is-nan@^1.3.2: version "1.3.2" - resolved "https://registry.npmjs.org/is-nan/-/is-nan-1.3.2.tgz" + resolved "https://registry.yarnpkg.com/is-nan/-/is-nan-1.3.2.tgz#043a54adea31748b55b6cd4e09aadafa69bd9e1d" integrity sha512-E+zBKpQ2t6MEo1VsonYmluk9NxGrbzpeeLC2xIViuO2EjU2xsXsBPwTr3Ykv9l08UYEVEdWeRZNouaZqF6RN0w== dependencies: call-bind "^1.0.0" @@ -5464,6 +5418,16 @@ is-regex@^1.1.4: call-bind "^1.0.2" has-tostringtag "^1.0.0" +is-regex@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.2.1.tgz#76d70a3ed10ef9be48eb577887d74205bf0cad22" + integrity sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g== + dependencies: + call-bound "^1.0.2" + gopd "^1.2.0" + has-tostringtag "^1.0.2" + hasown "^2.0.2" + is-shared-array-buffer@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz" @@ -5502,13 +5466,20 @@ is-text-path@^2.0.0: dependencies: text-extensions "^2.0.0" -is-typed-array@^1.1.10, is-typed-array@^1.1.12, is-typed-array@^1.1.3, is-typed-array@^1.1.9: +is-typed-array@^1.1.10, is-typed-array@^1.1.12, is-typed-array@^1.1.9: version "1.1.12" resolved "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.12.tgz" integrity sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg== dependencies: which-typed-array "^1.1.11" +is-typed-array@^1.1.3: + version "1.1.15" + resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.15.tgz#4bfb4a45b61cee83a5a46fba778e4e8d59c0ce0b" + integrity sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ== + dependencies: + which-typed-array "^1.1.16" + is-unicode-supported@^0.1.0: version "0.1.0" resolved "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz" @@ -5586,13 +5557,13 @@ istanbul-lib-instrument@^5.0.4: semver "^6.3.0" istanbul-lib-instrument@^6.0.0: - version "6.0.1" - resolved "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.1.tgz" - integrity sha512-EAMEJBsYuyyztxMxW3g7ugGPkrZsV57v0Hmv3mm1uQsmB+QnZuepg731CRaIgeUVSdmsTngOkSnauNF8p7FIhA== + version "6.0.3" + resolved "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz" + integrity sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q== dependencies: - "@babel/core" "^7.12.3" - "@babel/parser" "^7.14.7" - "@istanbuljs/schema" "^0.1.2" + "@babel/core" "^7.23.9" + "@babel/parser" "^7.23.9" + "@istanbuljs/schema" "^0.1.3" istanbul-lib-coverage "^3.2.0" semver "^7.5.4" @@ -5638,7 +5609,7 @@ java-properties@^1.0.2: javascript-natural-sort@^0.7.1: version "0.7.1" - resolved "https://registry.yarnpkg.com/javascript-natural-sort/-/javascript-natural-sort-0.7.1.tgz#f9e2303d4507f6d74355a73664d1440fb5a0ef59" + resolved "https://registry.npmjs.org/javascript-natural-sort/-/javascript-natural-sort-0.7.1.tgz" integrity sha512-nO6jcEfZWQXDhOiBtG2KvKyEptz7RVbpGP4vTD2hLBdmNQSsCiicO2Ioinv6UI4y9ukqnBpy+XZ9H6uLNgJTlw== jest-changed-files@^29.7.0: @@ -6083,6 +6054,11 @@ js2xmlparser@^4.0.2: dependencies: xmlcreate "^2.0.4" +jsbn@1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz" + integrity sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A== + jsdoc-type-pratt-parser@~4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-4.0.0.tgz" @@ -6109,15 +6085,10 @@ jsdoc@^4.0.2: strip-json-comments "^3.1.0" underscore "~1.13.2" -jsesc@^2.5.1: - version "2.5.2" - resolved "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz" - integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== - jsesc@^3.0.2: - version "3.1.0" - resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-3.1.0.tgz#74d335a234f67ed19907fdadfac7ccf9d409825d" - integrity sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA== + version "3.0.2" + resolved "https://registry.npmjs.org/jsesc/-/jsesc-3.0.2.tgz" + integrity sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g== json-buffer@3.0.1: version "3.0.1" @@ -6135,9 +6106,9 @@ json-parse-even-better-errors@^2.3.0, json-parse-even-better-errors@^2.3.1: integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== json-parse-even-better-errors@^3.0.0: - version "3.0.1" - resolved "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.1.tgz" - integrity sha512-aatBvbL26wVUCLmbWdCpeu9iF5wOyWpagiKkInA+kfws3sWdBrTnsvN2CKcyCYyUrc7rebNBlK6+kteg7ksecg== + version "3.0.2" + resolved "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.2.tgz" + integrity sha512-fi0NG4bPjCHunUJffmLd0gxssIgkNmArMvis4iNah6Owg1MCJjWhEcDLmsK6iGkJq3tHwbDkTlce70/tmXN4cQ== json-schema-traverse@^0.4.1: version "0.4.1" @@ -6541,14 +6512,9 @@ lower-case@^2.0.2: dependencies: tslib "^2.0.3" -lru-cache@^10.0.1: - version "10.1.0" - resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz" - integrity sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag== - -lru-cache@^10.2.0: +lru-cache@^10.0.1, lru-cache@^10.2.0: version "10.4.3" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.4.3.tgz#410fc8a17b70e598013df257c2446b7f3383f119" + resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz" integrity sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ== lru-cache@^5.1.1: @@ -6680,9 +6646,14 @@ marked@^5.0.0: resolved "https://registry.npmjs.org/marked/-/marked-5.1.2.tgz" integrity sha512-ahRPGXJpjMjwSOlBoTMZAK7ATXkli5qCPxZ21TG44rx1KEo44bii4ekgTDQPNRQ4Kh7JMb9Ub1PVk1NxRSsorg== +math-intrinsics@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/math-intrinsics/-/math-intrinsics-1.1.0.tgz#a0dd74be81e2aa5c2f27e65ce283605ee4e2b7f9" + integrity sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g== + mathjs@^14.0.1: version "14.0.1" - resolved "https://registry.yarnpkg.com/mathjs/-/mathjs-14.0.1.tgz#b47233a3e0913ae3d2669d67f4edf7a5b6fe1fb1" + resolved "https://registry.npmjs.org/mathjs/-/mathjs-14.0.1.tgz" integrity sha512-yyJgLwC6UXuve724np8tHRMYaTtb5UqiOGQkjwbSXgH8y1C/LcJ0pvdNDZLI2LT7r+iExh2Y5HwfAY+oZFtGIQ== dependencies: "@babel/runtime" "^7.25.7" @@ -6697,7 +6668,7 @@ mathjs@^14.0.1: md5.js@^1.3.4: version "1.3.5" - resolved "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz" + resolved "https://registry.yarnpkg.com/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg== dependencies: hash-base "^3.0.0" @@ -6756,7 +6727,7 @@ micromatch@^4.0.0, micromatch@^4.0.2, micromatch@^4.0.4: miller-rabin@^4.0.0: version "4.0.1" - resolved "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz" + resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.1.tgz#f080351c865b0dc562a8462966daa53543c78a4d" integrity sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA== dependencies: bn.js "^4.0.0" @@ -6776,13 +6747,18 @@ mime-types@^2.1.12, mime-types@^2.1.27, mime-types@^2.1.35, mime-types@~2.1.34: mime@2.6.0: version "2.6.0" - resolved "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz" + resolved "https://registry.yarnpkg.com/mime/-/mime-2.6.0.tgz#a2a682a95cd4d0cb1d6257e28f83da7e35800367" integrity sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg== +mime@3.0.0, mime@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/mime/-/mime-3.0.0.tgz#b374550dca3a0c18443b0c950a6a58f1931cf7a7" + integrity sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A== + mime@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/mime/-/mime-4.0.0.tgz" - integrity sha512-pzhgdeqU5pJ9t5WK9m4RT4GgGWqYJylxUf62Yb9datXRwdcw5MjiD1BYI5evF8AgTXN9gtKX3CFLvCUL5fAhEA== + version "4.0.6" + resolved "https://registry.yarnpkg.com/mime/-/mime-4.0.6.tgz#ca83bec0bcf2a02353d0e02da99be05603d04839" + integrity sha512-4rGt7rvQHBbaSOF9POGkk1ocRP16Md1x36Xma8sz8h8/vfCUI2OtEIeCqe4Ofes853x4xDoPiFLIT47J5fI/7A== mimic-fn@^2.1.0: version "2.1.0" @@ -6801,12 +6777,12 @@ min-indent@^1.0.0: minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: version "1.0.1" - resolved "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz" + resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== minimalistic-crypto-utils@^1.0.1: version "1.0.1" - resolved "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz" + resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: @@ -6832,7 +6808,7 @@ minimatch@^9.0.0, minimatch@^9.0.3: minimatch@^9.0.4: version "9.0.5" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5" + resolved "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz" integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow== dependencies: brace-expansion "^2.0.1" @@ -6923,7 +6899,7 @@ minipass@^5.0.0: "minipass@^5.0.0 || ^6.0.2 || ^7.0.0", minipass@^7.0.3, minipass@^7.1.2: version "7.1.2" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.2.tgz#93a9626ce5e5e66bd4db86849e7515e92340a707" + resolved "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz" integrity sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw== minizlib@^2.1.1, minizlib@^2.1.2: @@ -7014,6 +6990,11 @@ node-emoji@^1.11.0: dependencies: lodash "^4.17.21" +node-fetch-native@^1.6.4: + version "1.6.6" + resolved "https://registry.npmjs.org/node-fetch-native/-/node-fetch-native-1.6.6.tgz" + integrity sha512-8Mc2HhqPdlIfedsuZoc3yioPuzp6b+L5jRCRY1QzuWZh2EGJVQrGppC6V6cF0bLdbW0+O2YpqCA25aF/1lvipQ== + node-gyp@^9.0.0, node-gyp@^9.4.0: version "9.4.1" resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-9.4.1.tgz#8a1023e0d6766ecb52764cc3a734b36ff275e185" @@ -7041,10 +7022,10 @@ node-int64@^0.4.0: resolved "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz" integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== -node-releases@^2.0.14: - version "2.0.14" - resolved "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz" - integrity sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw== +node-releases@^2.0.19: + version "2.0.19" + resolved "https://registry.npmjs.org/node-releases/-/node-releases-2.0.19.tgz" + integrity sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw== nopt@^6.0.0: version "6.0.0" @@ -7091,12 +7072,11 @@ normalize-package-data@^5.0.0: validate-npm-package-license "^3.0.4" normalize-package-data@^6.0.0: - version "6.0.0" - resolved "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.0.tgz" - integrity sha512-UL7ELRVxYBHBgYEtZCXjxuD5vPxnmvMGq0jp/dGPKKrN7tfsBh2IY7TlJ15WWwdjRWD3RJbnsygUurTK3xkPkg== + version "6.0.2" + resolved "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.2.tgz" + integrity sha512-V6gygoYb/5EmNI+MEGrWkC+e6+Rr7mTmfHrxDbLzxQogBkgzo76rkok0Am6thgSF7Mv2nLOajAJj5vDJZEFn7g== dependencies: hosted-git-info "^7.0.0" - is-core-module "^2.8.1" semver "^7.3.5" validate-npm-package-license "^3.0.4" @@ -7190,9 +7170,9 @@ npm-run-path@^4.0.1: path-key "^3.0.0" npm-run-path@^5.1.0: - version "5.1.0" - resolved "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.1.0.tgz" - integrity sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q== + version "5.3.0" + resolved "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz" + integrity sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ== dependencies: path-key "^4.0.0" @@ -7302,13 +7282,18 @@ object-inspect@^1.13.1, object-inspect@^1.9.0: resolved "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz" integrity sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ== +object-inspect@^1.13.3: + version "1.13.3" + resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.3.tgz#f14c183de51130243d6d18ae149375ff50ea488a" + integrity sha512-kDCGIbxkDSXE3euJZZXzc6to7fCrKHNI/hSRQnRuQ+BWjFNzZwiFF8fj/6o2t2G9/jTj8PSIYTfCLelLZEeRpA== + object-is@^1.1.5: - version "1.1.5" - resolved "https://registry.npmjs.org/object-is/-/object-is-1.1.5.tgz" - integrity sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw== + version "1.1.6" + resolved "https://registry.yarnpkg.com/object-is/-/object-is-1.1.6.tgz#1a6a53aed2dd8f7e6775ff870bea58545956ab07" + integrity sha512-F8cZ+KfGlSGi09lJT7/Nd6KJZ9ygtvYC0/UYYLI9nmQKLMnydpB9yvbv9K1uSkEu7FU9vYPmVwLg328tX+ot3Q== dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" + call-bind "^1.0.7" + define-properties "^1.2.1" object-keys@^1.1.1: version "1.1.1" @@ -7420,11 +7405,6 @@ ora@^5.4.1: strip-ansi "^6.0.0" wcwidth "^1.0.1" -os-browserify@^0.3.0: - version "0.3.0" - resolved "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz" - integrity sha512-gjcpUc3clBf9+210TRaDWbf+rZZZEshZ+DlXMRCeAjp0xhTrnQsKHypIy1J3d5hKdUzj69t708EHtU8P6bUn0A== - os-homedir@^1.0.1: version "1.0.2" resolved "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz" @@ -7567,7 +7547,7 @@ pac-resolver@^7.0.0: package-json-from-dist@^1.0.0: version "1.0.1" - resolved "https://registry.yarnpkg.com/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz#4f1471a010827a86f94cfd9b0727e36d267de505" + resolved "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz" integrity sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw== pacote@^15.0.0, pacote@^15.0.8, pacote@^15.2.0: @@ -7596,7 +7576,7 @@ pacote@^15.0.0, pacote@^15.0.8, pacote@^15.2.0: pako@~1.0.5: version "1.0.11" - resolved "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz" + resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== param-case@^3.0.4: @@ -7614,16 +7594,17 @@ parent-module@^1.0.0: dependencies: callsites "^3.0.0" -parse-asn1@^5.0.0, parse-asn1@^5.1.6: - version "5.1.6" - resolved "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz" - integrity sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw== +parse-asn1@^5.0.0, parse-asn1@^5.1.7: + version "5.1.7" + resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.7.tgz#73cdaaa822125f9647165625eb45f8a051d2df06" + integrity sha512-CTM5kuWR3sx9IFamcl5ErfPl6ea/N8IYwiJ+vpeB2g+1iknv7zBl5uPwbMbRVznRVbrNY6lGuDoE5b30grmbqg== dependencies: - asn1.js "^5.2.0" - browserify-aes "^1.0.0" - evp_bytestokey "^1.0.0" - pbkdf2 "^3.0.3" - safe-buffer "^5.1.1" + asn1.js "^4.10.1" + browserify-aes "^1.2.0" + evp_bytestokey "^1.0.3" + hash-base "~3.0" + pbkdf2 "^3.1.2" + safe-buffer "^5.2.1" parse-conflict-json@^3.0.0, parse-conflict-json@^3.0.1: version "3.0.1" @@ -7681,11 +7662,6 @@ pascal-case@^3.1.2: no-case "^3.0.4" tslib "^2.0.3" -path-browserify@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz" - integrity sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g== - path-exists@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz" @@ -7739,9 +7715,14 @@ path-type@^5.0.0: resolved "https://registry.npmjs.org/path-type/-/path-type-5.0.0.tgz" integrity sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg== -pbkdf2@^3.0.3: +pathe@^1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/pathe/-/pathe-1.1.2.tgz" + integrity sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ== + +pbkdf2@^3.1.2: version "3.1.2" - resolved "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz" + resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== dependencies: create-hash "^1.1.2" @@ -7765,6 +7746,11 @@ picocolors@1.0.0, picocolors@^1.0.0: resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz" integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== +picocolors@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz" + integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== + picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.1: version "2.3.1" resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz" @@ -7802,6 +7788,11 @@ pkg-dir@^7.0.0: dependencies: find-up "^6.3.0" +possible-typed-array-names@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz#89bb63c6fada2c3e90adc4a647beeeb39cc7bf8f" + integrity sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q== + postcss-selector-parser@^6.0.10: version "6.0.13" resolved "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz" @@ -7925,9 +7916,9 @@ proxy-from-env@^1.1.0: resolved "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz" integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== -public-encrypt@^4.0.0: +public-encrypt@^4.0.3: version "4.0.3" - resolved "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz" + resolved "https://registry.yarnpkg.com/public-encrypt/-/public-encrypt-4.0.3.tgz#4fcc9d77a07e48ba7527e7cbe0de33d0701331e0" integrity sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q== dependencies: bn.js "^4.1.0" @@ -7947,7 +7938,7 @@ pump@^3.0.0: punycode@^1.4.1: version "1.4.1" - resolved "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" integrity sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ== punycode@^2.1.0: @@ -7994,28 +7985,25 @@ qrcode-terminal@^0.12.0: resolved "https://registry.npmjs.org/qrcode-terminal/-/qrcode-terminal-0.12.0.tgz" integrity sha512-EXtzRZmC+YGmGlDFbXKxQiMZNwCLEO6BANKXG4iCtSIM0yqc/pappSx3RIKr4r0uh5JsBckOXeKrB3Iz7mdQpQ== -qs@^6.11.0, qs@^6.11.2: +qs@^6.11.0: version "6.11.2" resolved "https://registry.npmjs.org/qs/-/qs-6.11.2.tgz" integrity sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA== dependencies: side-channel "^1.0.4" -querystring-es3@^0.2.1: - version "0.2.1" - resolved "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz" - integrity sha512-773xhDQnZBMFobEiztv8LIl70ch5MSF/jUQVlhwFyBILqq96anmoctVIYz+ZRp0qbCKATTn6ev02M3r7Ga5vqA== +qs@^6.12.3: + version "6.14.0" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.14.0.tgz#c63fa40680d2c5c941412a0e899c89af60c0a930" + integrity sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w== + dependencies: + side-channel "^1.1.0" queue-microtask@^1.2.2: version "1.2.3" resolved "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz" integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== -queue-tick@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.1.tgz" - integrity sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag== - quick-lru@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz" @@ -8028,9 +8016,9 @@ randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5, randombytes@^2.1.0: dependencies: safe-buffer "^5.1.0" -randomfill@^1.0.3: +randomfill@^1.0.4: version "1.0.4" - resolved "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz" + resolved "https://registry.yarnpkg.com/randomfill/-/randomfill-1.0.4.tgz#c92196fc86ab42be983f1bf31778224931d61458" integrity sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw== dependencies: randombytes "^2.0.5" @@ -8119,7 +8107,7 @@ read@^2.0.0, read@^2.1.0: dependencies: mute-stream "~1.0.0" -readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.4.0, readable-stream@^3.5.0, readable-stream@^3.6.0, readable-stream@^3.6.2: +readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.4.0, readable-stream@^3.5.0, readable-stream@^3.6.0: version "3.6.2" resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz" integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA== @@ -8128,9 +8116,9 @@ readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.4.0, readable-stre string_decoder "^1.1.1" util-deprecate "^1.0.1" -readable-stream@^2.0.0, readable-stream@^2.0.2, readable-stream@~2.3.6: +readable-stream@^2.0.0, readable-stream@^2.0.2, readable-stream@^2.3.8, readable-stream@~2.3.6: version "2.3.8" - resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.8.tgz#91125e8042bba1b9887f49345f6277027ce8be9b" integrity sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA== dependencies: core-util-is "~1.0.0" @@ -8141,17 +8129,6 @@ readable-stream@^2.0.0, readable-stream@^2.0.2, readable-stream@~2.3.6: string_decoder "~1.1.1" util-deprecate "~1.0.1" -readable-stream@^4.4.2: - version "4.4.2" - resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-4.4.2.tgz" - integrity sha512-Lk/fICSyIhodxy1IDK2HazkeGjSmezAWX2egdtJnYhtzKEsBPJowlI6F6LPb5tqIQILrMbx22S5o3GuJavPusA== - dependencies: - abort-controller "^3.0.0" - buffer "^6.0.3" - events "^3.3.0" - process "^0.11.10" - string_decoder "^1.3.0" - readdirp@~3.6.0: version "3.6.0" resolved "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz" @@ -8176,7 +8153,7 @@ redeyed@~2.1.0: regenerator-runtime@^0.14.0: version "0.14.1" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz#356ade10263f685dda125100cd862c1db895327f" + resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz" integrity sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw== regexp.prototype.flags@^1.5.1: @@ -8289,7 +8266,7 @@ reusify@^1.0.4: resolved "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz" integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== -rimraf@^3.0.0, rimraf@^3.0.2: +rimraf@^3.0.2: version "3.0.2" resolved "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz" integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== @@ -8298,7 +8275,7 @@ rimraf@^3.0.0, rimraf@^3.0.2: ripemd160@^2.0.0, ripemd160@^2.0.1: version "2.0.2" - resolved "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz" + resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== dependencies: hash-base "^3.0.0" @@ -8340,12 +8317,12 @@ safe-array-concat@^1.0.1: has-symbols "^1.0.3" isarray "^2.0.5" -safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@^5.2.1, safe-buffer@~5.2.0: +safe-buffer@^5.0.1, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@^5.2.1, safe-buffer@~5.2.0: version "5.2.1" - resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== -safe-buffer@~5.1.0, safe-buffer@~5.1.1: +safe-buffer@^5.1.0, safe-buffer@~5.1.0, safe-buffer@~5.1.1: version "5.1.2" resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz" integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== @@ -8359,7 +8336,16 @@ safe-regex-test@^1.0.0: get-intrinsic "^1.1.3" is-regex "^1.1.4" -"safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0", safer-buffer@^2.1.0: +safe-regex-test@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.1.0.tgz#7f87dfb67a3150782eaaf18583ff5d1711ac10c1" + integrity sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw== + dependencies: + call-bound "^1.0.2" + es-errors "^1.3.0" + is-regex "^1.2.1" + +"safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0": version "2.1.2" resolved "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== @@ -8374,9 +8360,9 @@ schema-utils@^3.1.1, schema-utils@^3.2.0: ajv-keywords "^3.5.2" schema-utils@^4.0.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-4.2.0.tgz#70d7c93e153a273a805801882ebd3bff20d89c8b" - integrity sha512-L0jRsrPpjdckP3oPug3/VxNKt2trR8TcabrM6FOAAlvC/9Phcmm+cuAgTlxBqdBR1WJx7Naj9WHw+aOmheSVbw== + version "4.3.0" + resolved "https://registry.npmjs.org/schema-utils/-/schema-utils-4.3.0.tgz" + integrity sha512-Gf9qqc58SpCA/xdziiHz35F4GNIWYWZrEshUc/G/r5BnLph6xpKuLeoJoQuj5WfBIx/eQLf+hmVPYHaxJu7V2g== dependencies: "@types/json-schema" "^7.0.9" ajv "^8.9.0" @@ -8385,7 +8371,7 @@ schema-utils@^4.0.0: seedrandom@^3.0.5: version "3.0.5" - resolved "https://registry.yarnpkg.com/seedrandom/-/seedrandom-3.0.5.tgz#54edc85c95222525b0c7a6f6b3543d8e0b3aa0a7" + resolved "https://registry.npmjs.org/seedrandom/-/seedrandom-3.0.5.tgz" integrity sha512-8OwmbklUNzwezjGInmZ+2clQmExQPvomqjL7LFqOYqtmuxRgQYqOD3mHaU+MvZn5FLUeVxVfQjwLZW/n/JFuqg== semantic-release@^21.0.7: @@ -8452,9 +8438,9 @@ semver@^6.3.0, semver@^6.3.1: integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== semver@^7.6.3: - version "7.6.3" - resolved "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz" - integrity sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A== + version "7.7.0" + resolved "https://registry.npmjs.org/semver/-/semver-7.7.0.tgz" + integrity sha512-DrfFnPzblFmNrIZzg5RzHegbiRWg7KMR7btwi2yjHwx06zsUbO5g613sVwEV7FTwmzJu+Io0lJe2GJ3LxqpvBQ== serialize-javascript@^6.0.1: version "6.0.1" @@ -8478,6 +8464,18 @@ set-function-length@^1.1.1: gopd "^1.0.1" has-property-descriptors "^1.0.0" +set-function-length@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.2.tgz#aac72314198eaed975cf77b2c3b6b880695e5449" + integrity sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg== + dependencies: + define-data-property "^1.1.4" + es-errors "^1.3.0" + function-bind "^1.1.2" + get-intrinsic "^1.2.4" + gopd "^1.0.1" + has-property-descriptors "^1.0.2" + set-function-name@^2.0.0: version "2.0.1" resolved "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.1.tgz" @@ -8489,12 +8487,12 @@ set-function-name@^2.0.0: setimmediate@^1.0.4: version "1.0.5" - resolved "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz" + resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" integrity sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA== sha.js@^2.4.0, sha.js@^2.4.8: version "2.4.11" - resolved "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz" + resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== dependencies: inherits "^2.0.1" @@ -8526,6 +8524,35 @@ showdown@^2.1.0: dependencies: commander "^9.0.0" +side-channel-list@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/side-channel-list/-/side-channel-list-1.0.0.tgz#10cb5984263115d3b7a0e336591e290a830af8ad" + integrity sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA== + dependencies: + es-errors "^1.3.0" + object-inspect "^1.13.3" + +side-channel-map@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/side-channel-map/-/side-channel-map-1.0.1.tgz#d6bb6b37902c6fef5174e5f533fab4c732a26f42" + integrity sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA== + dependencies: + call-bound "^1.0.2" + es-errors "^1.3.0" + get-intrinsic "^1.2.5" + object-inspect "^1.13.3" + +side-channel-weakmap@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz#11dda19d5368e40ce9ec2bdc1fb0ecbc0790ecea" + integrity sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A== + dependencies: + call-bound "^1.0.2" + es-errors "^1.3.0" + get-intrinsic "^1.2.5" + object-inspect "^1.13.3" + side-channel-map "^1.0.1" + side-channel@^1.0.4: version "1.0.4" resolved "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz" @@ -8535,6 +8562,17 @@ side-channel@^1.0.4: get-intrinsic "^1.0.2" object-inspect "^1.9.0" +side-channel@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.1.0.tgz#c3fcff9c4da932784873335ec9765fa94ff66bc9" + integrity sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw== + dependencies: + es-errors "^1.3.0" + object-inspect "^1.13.3" + side-channel-list "^1.0.0" + side-channel-map "^1.0.1" + side-channel-weakmap "^1.0.2" + signal-exit@4.0.2: version "4.0.2" resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-4.0.2.tgz" @@ -8608,15 +8646,15 @@ socks-proxy-agent@^7.0.0: socks "^2.6.2" socks-proxy-agent@^8.0.2: - version "8.0.2" - resolved "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.2.tgz" - integrity sha512-8zuqoLv1aP/66PHF5TqwJ7Czm3Yv32urJQHrVyhD7mmA6d61Zv8cIXQYPTWwmg6qlupnPvs/QKDmfa4P/qct2g== + version "8.0.5" + resolved "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.5.tgz" + integrity sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw== dependencies: - agent-base "^7.0.2" + agent-base "^7.1.2" debug "^4.3.4" - socks "^2.7.1" + socks "^2.8.3" -socks@^2.6.2, socks@^2.7.1: +socks@^2.6.2: version "2.7.1" resolved "https://registry.npmjs.org/socks/-/socks-2.7.1.tgz" integrity sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ== @@ -8624,6 +8662,14 @@ socks@^2.6.2, socks@^2.7.1: ip "^2.0.0" smart-buffer "^4.2.0" +socks@^2.8.3: + version "2.8.3" + resolved "https://registry.npmjs.org/socks/-/socks-2.8.3.tgz" + integrity sha512-l5x7VUUWbjVFbafGLxPWkYsHIhEvmF85tbIeFZWc8ZPtoMyybuEhL7Jye/ooC4/d48FgOjSJXgsF/AJPYCW8Zw== + dependencies: + ip-address "^9.0.5" + smart-buffer "^4.2.0" + source-map-support@0.5.13: version "0.5.13" resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz" @@ -8672,9 +8718,9 @@ spdx-correct@^3.0.0: spdx-license-ids "^3.0.0" spdx-exceptions@^2.1.0: - version "2.3.0" - resolved "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz" - integrity sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A== + version "2.5.0" + resolved "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz" + integrity sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w== spdx-expression-parse@^3.0.0, spdx-expression-parse@^3.0.1: version "3.0.1" @@ -8685,9 +8731,9 @@ spdx-expression-parse@^3.0.0, spdx-expression-parse@^3.0.1: spdx-license-ids "^3.0.0" spdx-license-ids@^3.0.0: - version "3.0.16" - resolved "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.16.tgz" - integrity sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw== + version "3.0.21" + resolved "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.21.tgz" + integrity sha512-Bvg/8F5XephndSK3JffaRqdT+gyhfqIPwDHpX80tJrF8QQRYMo8sNMeaZ2Dp5+jhwKnUmIOyFFQfHRkjJm5nXg== split2@^3.0.0: version "3.2.2" @@ -8715,6 +8761,11 @@ split@^1.0.1: dependencies: through "2" +sprintf-js@^1.1.3: + version "1.1.3" + resolved "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz" + integrity sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA== + sprintf-js@~1.0.2: version "1.0.3" resolved "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz" @@ -8743,7 +8794,7 @@ stack-utils@^2.0.3: stream-browserify@^3.0.0: version "3.0.0" - resolved "https://registry.npmjs.org/stream-browserify/-/stream-browserify-3.0.0.tgz" + resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-3.0.0.tgz#22b0a2850cdf6503e73085da1fc7b7d0c2122f2f" integrity sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA== dependencies: inherits "~2.0.4" @@ -8759,7 +8810,7 @@ stream-combiner2@~1.1.1: stream-http@^3.2.0: version "3.2.0" - resolved "https://registry.npmjs.org/stream-http/-/stream-http-3.2.0.tgz" + resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-3.2.0.tgz#1872dfcf24cb15752677e40e5c3f9cc1926028b5" integrity sha512-Oq1bLqisTyK3TSCXpPbT4sdeYNdmyZJv1LxpEm2vu1ZhK89kSE5YXwZc3cWk0MagGaKriBh9mCFbVGtO+vY29A== dependencies: builtin-status-codes "^3.0.0" @@ -8767,21 +8818,12 @@ stream-http@^3.2.0: readable-stream "^3.6.0" xtend "^4.0.2" -streamx@^2.15.0: - version "2.15.6" - resolved "https://registry.npmjs.org/streamx/-/streamx-2.15.6.tgz" - integrity sha512-q+vQL4AAz+FdfT137VF69Cc/APqUbxy+MDOImRrMvchJpigHj9GksgDU2LYbO9rx7RX6osWgxJB2WxhYv4SZAw== - dependencies: - fast-fifo "^1.1.0" - queue-tick "^1.0.1" - -streamx@^2.20.0: - version "2.20.1" - resolved "https://registry.npmjs.org/streamx/-/streamx-2.20.1.tgz" - integrity sha512-uTa0mU6WUC65iUvzKH4X9hEdvSW7rbPxPtwfWiLMSj3qTdQbAiUboZTxauKfpFuGIGa1C2BYijZ7wgdUXICJhA== +streamx@^2.15.0, streamx@^2.20.0: + version "2.22.0" + resolved "https://registry.npmjs.org/streamx/-/streamx-2.22.0.tgz" + integrity sha512-sLh1evHOzBy/iWRiR6d1zRcLao4gGZr3C1kzNz4fopCOKJb6xD9ub8Mpi9Mr1R6id5o43S+d93fI48UC5uM9aw== dependencies: fast-fifo "^1.3.2" - queue-tick "^1.0.1" text-decoder "^1.1.0" optionalDependencies: bare-events "^2.2.0" @@ -8794,16 +8836,7 @@ string-length@^4.0.1: char-regex "^1.0.2" strip-ansi "^6.0.0" -"string-width-cjs@npm:string-width@^4.2.0": - version "4.2.3" - resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - -"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -8848,28 +8881,21 @@ string.prototype.trimstart@^1.0.7: define-properties "^1.2.0" es-abstract "^1.22.1" -string_decoder@^1.1.1, string_decoder@^1.3.0: - version "1.3.0" - resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz" - integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== - dependencies: - safe-buffer "~5.2.0" - -string_decoder@~1.1.1: +string_decoder@^1.1.1, string_decoder@~1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz" integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== dependencies: safe-buffer "~5.1.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1": - version "6.0.1" - resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== +string_decoder@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" + integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== dependencies: - ansi-regex "^5.0.1" + safe-buffer "~5.2.0" -strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -9119,14 +9145,14 @@ time-span@4.0.0: timers-browserify@^2.0.12: version "2.0.12" - resolved "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.12.tgz" + resolved "https://registry.yarnpkg.com/timers-browserify/-/timers-browserify-2.0.12.tgz#44a45c11fbf407f34f97bccd1577c652361b00ee" integrity sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ== dependencies: setimmediate "^1.0.4" tiny-emitter@^2.1.0: version "2.1.0" - resolved "https://registry.yarnpkg.com/tiny-emitter/-/tiny-emitter-2.1.0.tgz#1d1a56edfc51c43e863cbb5382a72330e3555423" + resolved "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.1.0.tgz" integrity sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q== tiny-relative-date@^1.3.0: @@ -9147,22 +9173,15 @@ tmp@^0.0.33: os-tmpdir "~1.0.2" tmp@^0.2.1: - version "0.2.1" - resolved "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz" - integrity sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ== - dependencies: - rimraf "^3.0.0" + version "0.2.3" + resolved "https://registry.npmjs.org/tmp/-/tmp-0.2.3.tgz" + integrity sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w== tmpl@1.0.5: version "1.0.5" resolved "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz" integrity sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw== -to-fast-properties@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz" - integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== - to-regex-range@^5.0.1: version "5.0.1" resolved "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz" @@ -9217,9 +9236,9 @@ tslib@^1.8.1: integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== tslib@^2.0.1, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.6.0, tslib@^2.6.2: - version "2.6.2" - resolved "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz" - integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== + version "2.8.1" + resolved "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz" + integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w== tsutils@^3.21.0: version "3.21.0" @@ -9228,11 +9247,6 @@ tsutils@^3.21.0: dependencies: tslib "^1.8.1" -tty-browserify@^0.0.1: - version "0.0.1" - resolved "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.1.tgz" - integrity sha512-C3TaO7K81YvjCgQH9Q1S3R3P3BtN3RIM8n+OvX4il1K1zgE8ZhI0op7kClgkxtutIE8hQrcrHBXvIheqKUUCxw== - tuf-js@^1.1.7: version "1.1.7" resolved "https://registry.npmjs.org/tuf-js/-/tuf-js-1.1.7.tgz" @@ -9289,15 +9303,15 @@ type-fest@^2.12.2: resolved "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz" integrity sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA== -type-fest@^3.0.0, type-fest@^3.8.0: +type-fest@^3.8.0: version "3.13.1" resolved "https://registry.npmjs.org/type-fest/-/type-fest-3.13.1.tgz" integrity sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g== type-fest@^4.2.0: - version "4.8.3" - resolved "https://registry.npmjs.org/type-fest/-/type-fest-4.8.3.tgz" - integrity sha512-//BaTm14Q/gHBn09xlnKNqfI8t6bmdzx2DXYfPBNofN0WUybCEUDcbCWcTa0oF09lzLjZgPphXAsvRiMK0V6Bw== + version "4.33.0" + resolved "https://registry.npmjs.org/type-fest/-/type-fest-4.33.0.tgz" + integrity sha512-s6zVrxuyKbbAsSAD5ZPTB77q4YIdRctkTbJ2/Dqlinwz+8ooH2gd+YA7VA6Pa93KML9GockVvoxjZ2vHP+mu8g== typed-array-buffer@^1.0.0: version "1.0.0" @@ -9340,7 +9354,7 @@ typed-array-length@^1.0.4: typed-function@^4.2.1: version "4.2.1" - resolved "https://registry.yarnpkg.com/typed-function/-/typed-function-4.2.1.tgz#19aa51847aa2dea9ef5e7fb7641c060179a74426" + resolved "https://registry.npmjs.org/typed-function/-/typed-function-4.2.1.tgz" integrity sha512-EGjWssW7Tsk4DGfE+5yluuljS1OGYWiI1J6e8puZz9nTMM51Oug8CD5Zo4gWMsOhq5BI+1bF+rWTm4Vbj3ivRA== typed-query-selector@^2.12.0: @@ -9391,6 +9405,17 @@ undici-types@~5.26.4: resolved "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz" integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== +unenv@^1.10.0: + version "1.10.0" + resolved "https://registry.npmjs.org/unenv/-/unenv-1.10.0.tgz" + integrity sha512-wY5bskBQFL9n3Eca5XnhH6KbUo/tfvkwm9OpcdCvLaeA7piBNbavbOKJySEwQ1V0RH6HvNlSAFRTpvTqgKRQXQ== + dependencies: + consola "^3.2.3" + defu "^6.1.4" + mime "^3.0.0" + node-fetch-native "^1.6.4" + pathe "^1.1.2" + unicorn-magic@^0.1.0: version "0.1.0" resolved "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz" @@ -9451,13 +9476,13 @@ untildify@^4.0.0: resolved "https://registry.npmjs.org/untildify/-/untildify-4.0.0.tgz" integrity sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw== -update-browserslist-db@^1.0.13: - version "1.0.13" - resolved "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz" - integrity sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg== +update-browserslist-db@^1.1.1: + version "1.1.2" + resolved "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.2.tgz" + integrity sha512-PPypAm5qvlD7XMZC3BujecnaOxwhrtoFR+Dqkk5Aa/6DssiH0ibKoketaj9w8LP7Bont1rYeoV5plxD7RTEPRg== dependencies: - escalade "^3.1.1" - picocolors "^1.0.0" + escalade "^3.2.0" + picocolors "^1.1.1" uri-js@^4.2.2: version "4.4.1" @@ -9471,13 +9496,13 @@ url-join@^5.0.0: resolved "https://registry.npmjs.org/url-join/-/url-join-5.0.0.tgz" integrity sha512-n2huDr9h9yzd6exQVnH/jU5mr+Pfx08LRXXZhkLLetAMESRj+anQsTAh940iMrIetKAmry9coFuZQ2jY8/p3WA== -url@^0.11.1: - version "0.11.3" - resolved "https://registry.npmjs.org/url/-/url-0.11.3.tgz" - integrity sha512-6hxOLGfZASQK/cijlZnZJTq8OXAkt/3YGfQX45vvMYXpZoo8NdWZcY73K108Jf759lS1Bv/8wXnHDTSz17dSRw== +url@^0.11.4: + version "0.11.4" + resolved "https://registry.yarnpkg.com/url/-/url-0.11.4.tgz#adca77b3562d56b72746e76b330b7f27b6721f3c" + integrity sha512-oCwdVC7mTuWiPyjLUz/COz5TLk6wgp0RCsN+wHZ2Ekneac9w8uuV0njcbbie2ME+Vs+d6duwmYuR3HgQXs1fOg== dependencies: punycode "^1.4.1" - qs "^6.11.2" + qs "^6.12.3" urlpattern-polyfill@10.0.0: version "10.0.0" @@ -9491,7 +9516,7 @@ util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1: util@^0.12.5: version "0.12.5" - resolved "https://registry.npmjs.org/util/-/util-0.12.5.tgz" + resolved "https://registry.yarnpkg.com/util/-/util-0.12.5.tgz#5f17a6059b73db61a875668781a1c2b136bd6fbc" integrity sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA== dependencies: inherits "^2.0.3" @@ -9526,7 +9551,7 @@ validate-npm-package-name@^5.0.0: vm-browserify@^1.1.2: version "1.1.2" - resolved "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz" + resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0" integrity sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ== wait-on@^7.2.0: @@ -9622,7 +9647,7 @@ which-boxed-primitive@^1.0.2: is-string "^1.0.5" is-symbol "^1.0.3" -which-typed-array@^1.1.11, which-typed-array@^1.1.13, which-typed-array@^1.1.2: +which-typed-array@^1.1.11, which-typed-array@^1.1.13: version "1.1.13" resolved "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.13.tgz" integrity sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow== @@ -9633,6 +9658,18 @@ which-typed-array@^1.1.11, which-typed-array@^1.1.13, which-typed-array@^1.1.2: gopd "^1.0.1" has-tostringtag "^1.0.0" +which-typed-array@^1.1.16, which-typed-array@^1.1.2: + version "1.1.18" + resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.18.tgz#df2389ebf3fbb246a71390e90730a9edb6ce17ad" + integrity sha512-qEcY+KJYlWyLH9vNbsr6/5j59AXk5ni5aakf8ldzBvGde6Iz4sxZGkJyWSAueTG7QhOvNRYb1lDdFmL5Td0QKA== + dependencies: + available-typed-arrays "^1.0.7" + call-bind "^1.0.8" + call-bound "^1.0.3" + for-each "^0.3.3" + gopd "^1.2.0" + has-tostringtag "^1.0.2" + which@^1.2.12: version "1.3.1" resolved "https://registry.npmjs.org/which/-/which-1.3.1.tgz" @@ -9671,7 +9708,7 @@ wordwrap@^1.0.0: resolved "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz" integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: version "7.0.0" resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -9689,15 +9726,6 @@ wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" -wrap-ansi@^7.0.0: - version "7.0.0" - resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz" - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - wrap-ansi@^8.0.1, wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz" @@ -9795,9 +9823,9 @@ yocto-queue@^0.1.0: integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== yocto-queue@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.0.0.tgz" - integrity sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g== + version "1.1.1" + resolved "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.1.1.tgz" + integrity sha512-b4JR1PFR10y1mKjhHY9LaGo6tmrgjit7hxVIeAmyMw3jegXR4dhYqLaQF5zMXZxY7tLpMyJeLjr1C4rLmkVe8g== zod@3.23.8: version "3.23.8" From 91327173f6e7b2575153155f211654fa2dcd3b4b Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 4 Feb 2025 15:43:01 +0000 Subject: [PATCH 2/4] chore(release): 4.6.0-stage.1 [skip ci] ## [4.6.0-stage.1](https://github.com/aziontech/bundler/compare/v4.5.0...v4.6.0-stage.1) (2025-02-04) ### Features * adding the unenv package and removing the polyfill manager ([#425](https://github.com/aziontech/bundler/issues/425)) ([529c267](https://github.com/aziontech/bundler/commit/529c267affba776467dd5127980078e8d98dbde6)) --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f4a1a3f5..4ed8737d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [4.6.0-stage.1](https://github.com/aziontech/bundler/compare/v4.5.0...v4.6.0-stage.1) (2025-02-04) + + +### Features + +* adding the unenv package and removing the polyfill manager ([#425](https://github.com/aziontech/bundler/issues/425)) ([529c267](https://github.com/aziontech/bundler/commit/529c267affba776467dd5127980078e8d98dbde6)) + ## [4.5.0](https://github.com/aziontech/bundler/compare/v4.4.2...v4.5.0) (2025-01-30) diff --git a/package.json b/package.json index d013cca9..947ccb65 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "edge-functions", "type": "module", - "version": "4.5.0", + "version": "4.6.0-stage.1", "description": "Tool to launch and build JavaScript/Frameworks. This tool automates polyfills for Edge Computing and assists in creating Workers, notably for the Azion platform.", "main": "lib/main.js", "bin": { From a8ea3c397de83f94cac542e0469bcaa73918c87b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Filho?= Date: Wed, 5 Feb 2025 10:33:55 -0300 Subject: [PATCH 3/4] chore: update azion package version to 1.14.0 (#428) --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 947ccb65..ef889ec3 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "ajv-errors": "^3.0.0", "ajv-keywords": "^5.1.0", "assert": "^2.0.0", - "azion": "^1.14.0-stage.4", + "azion": "^1.14.0", "babel-loader": "^9.2.1", "bottleneck": "^2.19.5", "browserify-zlib": "^0.2.0", diff --git a/yarn.lock b/yarn.lock index 459f1394..48cd511f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2327,10 +2327,10 @@ axios@^1.6.1: form-data "^4.0.0" proxy-from-env "^1.1.0" -azion@^1.14.0-stage.4: - version "1.14.0-stage.4" - resolved "https://registry.yarnpkg.com/azion/-/azion-1.14.0-stage.4.tgz#9986c1237013a29ad4062127aeadbaea142182e9" - integrity sha512-SEzRx7louDr7xSEX30WEc5+T4O2GzkLW/p0PZxQGewfOJV6eElNyAL5RjVt6QANaqHFgGLkYQs+isgw8HcA/ng== +azion@^1.14.0: + version "1.14.0" + resolved "https://registry.yarnpkg.com/azion/-/azion-1.14.0.tgz#c3ba022c5f933490706bf83d5cb34b89711d9992" + integrity sha512-e4SXKr2LAiUTEjBMfp6rbLSoFxrw1ECWaSuvbfVM7ii/sRhxHQjh7K/JUKe6hPZ/8JA7sS/OIUvp+GfpmD52Ug== dependencies: chalk "^5.3.0" crypto-browserify "^3.12.1" From 7bcf2e2623894742bb720de705313e9be44e15cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Filho?= Date: Thu, 6 Feb 2025 11:42:05 -0300 Subject: [PATCH 4/4] chore: update azion package version to ~1.14.1 (#430) --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index ef889ec3..3543f063 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "ajv-errors": "^3.0.0", "ajv-keywords": "^5.1.0", "assert": "^2.0.0", - "azion": "^1.14.0", + "azion": "~1.14.0", "babel-loader": "^9.2.1", "bottleneck": "^2.19.5", "browserify-zlib": "^0.2.0", diff --git a/yarn.lock b/yarn.lock index 48cd511f..21dd64f3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2327,10 +2327,10 @@ axios@^1.6.1: form-data "^4.0.0" proxy-from-env "^1.1.0" -azion@^1.14.0: - version "1.14.0" - resolved "https://registry.yarnpkg.com/azion/-/azion-1.14.0.tgz#c3ba022c5f933490706bf83d5cb34b89711d9992" - integrity sha512-e4SXKr2LAiUTEjBMfp6rbLSoFxrw1ECWaSuvbfVM7ii/sRhxHQjh7K/JUKe6hPZ/8JA7sS/OIUvp+GfpmD52Ug== +azion@~1.14.0: + version "1.14.1" + resolved "https://registry.yarnpkg.com/azion/-/azion-1.14.1.tgz#d854ca7a93d3bb094fcd8b22ba80f8cc1454fe44" + integrity sha512-tTI7cCf1g4eZcxUdWwkqIP9lMIu2t6z5VZEw1a0giTV9SGEASib3SvuEZ8ES0235x7+w8g9gz03ATLIzmjIJ8g== dependencies: chalk "^5.3.0" crypto-browserify "^3.12.1"