diff --git a/package.json b/package.json index b487e0040..d8183b71a 100644 --- a/package.json +++ b/package.json @@ -17,20 +17,15 @@ "security": "pnpm audit --audit-level=high" }, "devDependencies": { - "@ava/babel": "2.0.0", "@dot/versioner": "^0.3.1", "@rollup/plugin-typescript": "^9.0.1", - "@types/conventional-commits-parser": "^3.0.2", "@types/node": "14.18.30", - "@types/semver": "^7.3.7", "@types/source-map-support": "^0.5.4", - "@types/yargs-parser": "^20.2.1", "@typescript-eslint/eslint-plugin": "^5.38.0", "@typescript-eslint/parser": "^5.38.0", "ava": "^4.3.3", "chalk": "^4.1.0", "codecov-lite": "2.0.0", - "conventional-commits-parser": "^3.2.1", "del-cli": "^5.0.0", "eslint-config-rollup": "^3.0.1", "esm": "^3.2.25", @@ -41,14 +36,9 @@ "nyc": "^15.1.0", "pnpm": "^8.7.5", "prettier-plugin-package": "^1.3.0", - "semver": "^7.3.2", "source-map-support": "^0.5.21", "ts-node": "10.9.1", - "tsconfig-paths": "^3.9.0", - "typescript": "^4.8.3", - "write-pkg": "^4.0.0", - "yaml": "^1.10.0", - "yargs-parser": "^20.2.9" + "typescript": "^4.8.3" }, "ava": { "files": [ diff --git a/packages/alias/CHANGELOG.md b/packages/alias/CHANGELOG.md index f264d0276..1b3ec3d8c 100755 --- a/packages/alias/CHANGELOG.md +++ b/packages/alias/CHANGELOG.md @@ -1,5 +1,13 @@ # @rollup/plugin-alias ChangeLog +## v5.1.1 + +_2024-09-22_ + +### Bugfixes + +- fix: remove unused slash dependency (#1763) + ## v5.1.0 _2023-11-25_ diff --git a/packages/alias/package.json b/packages/alias/package.json index a550cb8f6..9051cad88 100755 --- a/packages/alias/package.json +++ b/packages/alias/package.json @@ -1,6 +1,6 @@ { "name": "@rollup/plugin-alias", - "version": "5.1.0", + "version": "5.1.1", "publishConfig": { "access": "public" }, @@ -58,9 +58,6 @@ "optional": true } }, - "dependencies": { - "slash": "^4.0.0" - }, "devDependencies": { "@rollup/plugin-node-resolve": "^15.0.0", "@rollup/plugin-typescript": "^9.0.1", diff --git a/packages/commonjs/CHANGELOG.md b/packages/commonjs/CHANGELOG.md index 26909f198..e5a16d3fc 100644 --- a/packages/commonjs/CHANGELOG.md +++ b/packages/commonjs/CHANGELOG.md @@ -1,5 +1,13 @@ # @rollup/plugin-commonjs ChangeLog +## v26.0.2 + +_2024-09-23_ + +### Bugfixes + +- fix: replace top-level this with exports name (#1618) + ## v26.0.1 _2024-06-05_ diff --git a/packages/commonjs/package.json b/packages/commonjs/package.json index eaf3fdef3..5daff7280 100644 --- a/packages/commonjs/package.json +++ b/packages/commonjs/package.json @@ -1,6 +1,6 @@ { "name": "@rollup/plugin-commonjs", - "version": "26.0.1", + "version": "26.0.2", "publishConfig": { "access": "public" }, diff --git a/packages/commonjs/src/transform-commonjs.js b/packages/commonjs/src/transform-commonjs.js index 4601094e9..ba348dedf 100644 --- a/packages/commonjs/src/transform-commonjs.js +++ b/packages/commonjs/src/transform-commonjs.js @@ -102,6 +102,7 @@ export default async function transformCommonjs( const topLevelAssignments = new Set(); const topLevelDefineCompiledEsmExpressions = []; const replacedGlobal = []; + const replacedThis = []; const replacedDynamicRequires = []; const importedVariables = new Set(); const indentExclusionRanges = []; @@ -369,7 +370,7 @@ export default async function transformCommonjs( if (lexicalDepth === 0 && !classBodyDepth) { uses.global = true; if (!ignoreGlobal) { - replacedGlobal.push(node); + replacedThis.push(node); } } return; @@ -444,6 +445,11 @@ export default async function transformCommonjs( storeName: true }); } + for (const node of replacedThis) { + magicString.overwrite(node.start, node.end, exportsName, { + storeName: true + }); + } for (const node of replacedDynamicRequires) { magicString.overwrite( node.start, diff --git a/packages/commonjs/test/fixtures/function/this/main.js b/packages/commonjs/test/fixtures/function/this/main.js index d0c275253..c0be15432 100644 --- a/packages/commonjs/test/fixtures/function/this/main.js +++ b/packages/commonjs/test/fixtures/function/this/main.js @@ -1,10 +1,11 @@ -const { augmentThis, classThis } = require('./foo'); +const { augmentThis, classThis, y } = require('./foo'); const obj = {}; augmentThis.call(obj); t.is(obj.x, 'x'); -t.is(this.y, 'y'); +t.is(this.y, undefined); +t.is(y, 'y'); const instance = new classThis(); diff --git a/packages/commonjs/test/snapshots/function.js.md b/packages/commonjs/test/snapshots/function.js.md index 2c31aab43..c6e8d6b30 100644 --- a/packages/commonjs/test/snapshots/function.js.md +++ b/packages/commonjs/test/snapshots/function.js.md @@ -7286,8 +7286,6 @@ Generated by [AVA](https://avajs.dev). { 'main.js': `'use strict';␊ ␊ - var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};␊ - ␊ var main = {};␊ ␊ var foo = {};␊ @@ -7296,7 +7294,7 @@ Generated by [AVA](https://avajs.dev). this.x = 'x';␊ };␊ ␊ - commonjsGlobal.y = 'y';␊ + foo.y = 'y';␊ ␊ foo.classThis = class classThis {␊ constructor(){␊ @@ -7310,13 +7308,14 @@ Generated by [AVA](https://avajs.dev). yy = this.y␊ };␊ ␊ - const { augmentThis, classThis } = foo;␊ + const { augmentThis, classThis, y } = foo;␊ ␊ const obj = {};␊ augmentThis.call(obj);␊ ␊ t.is(obj.x, 'x');␊ - t.is(commonjsGlobal.y, 'y');␊ + t.is(main.y, undefined);␊ + t.is(y, 'y');␊ ␊ const instance = new classThis();␊ ␊ diff --git a/packages/commonjs/test/snapshots/function.js.snap b/packages/commonjs/test/snapshots/function.js.snap index 97a1e03b0..726565e0d 100644 Binary files a/packages/commonjs/test/snapshots/function.js.snap and b/packages/commonjs/test/snapshots/function.js.snap differ diff --git a/packages/dynamic-import-vars/CHANGELOG.md b/packages/dynamic-import-vars/CHANGELOG.md index 4c6e08a44..660134aa5 100644 --- a/packages/dynamic-import-vars/CHANGELOG.md +++ b/packages/dynamic-import-vars/CHANGELOG.md @@ -1,5 +1,13 @@ # @rollup/plugin-dynamic-import-vars ChangeLog +## v2.1.3 + +_2024-09-22_ + +### Bugfixes + +- fix: simplify regex (#1751) + ## v2.1.2 _2023-11-28_ diff --git a/packages/dynamic-import-vars/package.json b/packages/dynamic-import-vars/package.json index 53b782d5e..d25ea21b9 100644 --- a/packages/dynamic-import-vars/package.json +++ b/packages/dynamic-import-vars/package.json @@ -1,6 +1,6 @@ { "name": "@rollup/plugin-dynamic-import-vars", - "version": "2.1.2", + "version": "2.1.3", "publishConfig": { "access": "public" }, diff --git a/packages/dynamic-import-vars/src/dynamic-import-to-glob.js b/packages/dynamic-import-vars/src/dynamic-import-to-glob.js index 6dcf7d7fd..ed1ae978e 100644 --- a/packages/dynamic-import-vars/src/dynamic-import-to-glob.js +++ b/packages/dynamic-import-vars/src/dynamic-import-to-glob.js @@ -107,7 +107,7 @@ export function dynamicImportToGlob(node, sourceString) { } // Disallow ./*.ext - const ownDirectoryStarExtension = /^\.\/\*\.[\w]+$/; + const ownDirectoryStarExtension = /^\.\/\*\.\w+$/; if (ownDirectoryStarExtension.test(glob)) { throw new VariableDynamicImportError( `${ diff --git a/packages/graphql/CHANGELOG.md b/packages/graphql/CHANGELOG.md index 20d2516d4..75b94223a 100644 --- a/packages/graphql/CHANGELOG.md +++ b/packages/graphql/CHANGELOG.md @@ -1,5 +1,13 @@ # @rollup/plugin-graphql ChangeLog +## v2.0.5 + +_2024-09-22_ + +### Bugfixes + +- fix: handle parentheses in fragment import file paths. (#1746) + ## v2.0.4 _2023-10-05_ diff --git a/packages/graphql/package.json b/packages/graphql/package.json index 6280a1b7a..dc3565952 100644 --- a/packages/graphql/package.json +++ b/packages/graphql/package.json @@ -1,6 +1,6 @@ { "name": "@rollup/plugin-graphql", - "version": "2.0.4", + "version": "2.0.5", "publishConfig": { "access": "public" }, diff --git a/packages/graphql/src/toESModules.js b/packages/graphql/src/toESModules.js index 08647fc36..cb2ccc6ce 100644 --- a/packages/graphql/src/toESModules.js +++ b/packages/graphql/src/toESModules.js @@ -29,15 +29,13 @@ function replaceRequires(source) { let index = 0; // replace a require statement with a variable - const replaceSource = source.replace(/require\(([^)]+)\)/gi, (match, path) => { - const replacePath = path.replace(/["']+/g, ''); - - if (!imports[replacePath]) { + const replaceSource = source.replace(/require\(["']([^"']+)["']\)/gi, (match, path) => { + if (!imports[path]) { index += 1; - imports[replacePath] = `frgmt${index}`; + imports[path] = `frgmt${index}`; } - return imports[replacePath]; + return imports[path]; }); // prepare import statements diff --git a/packages/graphql/test/fixtures/fragments-with-special-characters/(parentheses)/fragment.graphql b/packages/graphql/test/fixtures/fragments-with-special-characters/(parentheses)/fragment.graphql new file mode 100644 index 000000000..706b5d691 --- /dev/null +++ b/packages/graphql/test/fixtures/fragments-with-special-characters/(parentheses)/fragment.graphql @@ -0,0 +1,3 @@ +fragment ParenthesesFragment on Parentheses { + id +} diff --git a/packages/graphql/test/fixtures/fragments-with-special-characters/[brackets]/fragment.graphql b/packages/graphql/test/fixtures/fragments-with-special-characters/[brackets]/fragment.graphql new file mode 100644 index 000000000..3821b0882 --- /dev/null +++ b/packages/graphql/test/fixtures/fragments-with-special-characters/[brackets]/fragment.graphql @@ -0,0 +1,3 @@ +fragment BracketsFragment on Brackets { + id +} diff --git a/packages/graphql/test/fixtures/fragments-with-special-characters/index.js b/packages/graphql/test/fixtures/fragments-with-special-characters/index.js new file mode 100644 index 000000000..286dd2116 --- /dev/null +++ b/packages/graphql/test/fixtures/fragments-with-special-characters/index.js @@ -0,0 +1,2 @@ +// eslint-disable-next-line import/prefer-default-export +export { default as doc } from './query.graphql'; diff --git a/packages/graphql/test/fixtures/fragments-with-special-characters/query.graphql b/packages/graphql/test/fixtures/fragments-with-special-characters/query.graphql new file mode 100644 index 000000000..390e3cc12 --- /dev/null +++ b/packages/graphql/test/fixtures/fragments-with-special-characters/query.graphql @@ -0,0 +1,7 @@ +#import "./(parentheses)/fragment.graphql" +#import "./[brackets]/fragment.graphql" + +query Query { + ...ParenthesesFragment + ...BracketsFragment +} diff --git a/packages/graphql/test/test.js b/packages/graphql/test/test.js index b4af33306..d085da2b4 100755 --- a/packages/graphql/test/test.js +++ b/packages/graphql/test/test.js @@ -62,3 +62,15 @@ test('should support graphqls schema files', async (t) => { t.truthy('doc' in module.exports); t.is(module.exports.doc.kind, 'Document'); }); + +test('should support fragment imports with brackets and parentheses in file paths', async (t) => { + const bundle = await rollup({ + input: 'fixtures/fragments-with-special-characters/index.js', + plugins: [graphql()] + }); + + const { module } = await testBundle(t, bundle); + + t.truthy('doc' in module.exports); + t.is(module.exports.doc.kind, 'Document'); +}); diff --git a/packages/html/CHANGELOG.md b/packages/html/CHANGELOG.md index 5a113334a..6b1514d94 100644 --- a/packages/html/CHANGELOG.md +++ b/packages/html/CHANGELOG.md @@ -1,5 +1,13 @@ # @rollup/plugin-html ChangeLog +## v1.0.4 + +_2024-09-22_ + +### Bugfixes + +- fix: template function first arg is always provided (#1718) + ## v1.0.3 _2023-10-05_ diff --git a/packages/html/package.json b/packages/html/package.json index 4bfdf7371..2f53e9062 100644 --- a/packages/html/package.json +++ b/packages/html/package.json @@ -1,6 +1,6 @@ { "name": "@rollup/plugin-html", - "version": "1.0.3", + "version": "1.0.4", "publishConfig": { "access": "public" }, diff --git a/packages/html/types/index.d.ts b/packages/html/types/index.d.ts index f8d62ef33..715e9a03c 100644 --- a/packages/html/types/index.d.ts +++ b/packages/html/types/index.d.ts @@ -15,7 +15,7 @@ export interface RollupHtmlOptions { fileName?: string; meta?: Record[]; publicPath?: string; - template?: (templateoptions?: RollupHtmlTemplateOptions) => string; + template?: (templateoptions: RollupHtmlTemplateOptions) => string; } export function makeHtmlAttributes(attributes: Record): string; diff --git a/packages/node-resolve/CHANGELOG.md b/packages/node-resolve/CHANGELOG.md index b0515adc8..ae6af6e4b 100755 --- a/packages/node-resolve/CHANGELOG.md +++ b/packages/node-resolve/CHANGELOG.md @@ -1,5 +1,13 @@ # @rollup/plugin-node-resolve ChangeLog +## v15.2.4 + +_2024-09-22_ + +### Updates + +- chore: remove is-builtin-module (#1735) + ## v15.2.3 _2023-10-08_ diff --git a/packages/node-resolve/package.json b/packages/node-resolve/package.json index 78b7c922d..73fd1c285 100644 --- a/packages/node-resolve/package.json +++ b/packages/node-resolve/package.json @@ -1,6 +1,6 @@ { "name": "@rollup/plugin-node-resolve", - "version": "15.2.3", + "version": "15.2.4", "publishConfig": { "access": "public" }, @@ -64,7 +64,6 @@ "@rollup/pluginutils": "^5.0.1", "@types/resolve": "1.20.2", "deepmerge": "^4.2.2", - "is-builtin-module": "^3.2.1", "is-module": "^1.0.0", "resolve": "^1.22.1" }, diff --git a/packages/node-resolve/src/index.js b/packages/node-resolve/src/index.js index 3d389383d..dbf301c80 100644 --- a/packages/node-resolve/src/index.js +++ b/packages/node-resolve/src/index.js @@ -1,7 +1,8 @@ /* eslint-disable no-param-reassign, no-shadow, no-undefined */ import { dirname, normalize, resolve, sep } from 'path'; -import isBuiltinModule from 'is-builtin-module'; +import { builtinModules } from 'module'; + import deepMerge from 'deepmerge'; import isModule from 'is-module'; @@ -42,6 +43,8 @@ const defaults = { // TODO: set to false in next major release or remove allowExportsFolderMapping: true }; +const nodeImportPrefix = /^node:/; + export const DEFAULTS = deepFreeze(deepMerge({}, defaults)); export function nodeResolve(opts = {}) { @@ -190,7 +193,7 @@ export function nodeResolve(opts = {}) { allowExportsFolderMapping: options.allowExportsFolderMapping }); - const importeeIsBuiltin = isBuiltinModule(importee); + const importeeIsBuiltin = builtinModules.includes(importee.replace(nodeImportPrefix, '')); const resolved = importeeIsBuiltin && preferBuiltins ? { diff --git a/packages/pluginutils/CHANGELOG.md b/packages/pluginutils/CHANGELOG.md index ae8bd877d..10f9df2eb 100755 --- a/packages/pluginutils/CHANGELOG.md +++ b/packages/pluginutils/CHANGELOG.md @@ -1,5 +1,13 @@ # @rollup/pluginutils ChangeLog +## v5.1.1 + +_2024-09-22_ + +### Bugfixes + +- fix: improve regex performance (#1753) + ## v5.1.0 _2023-11-28_ diff --git a/packages/pluginutils/package.json b/packages/pluginutils/package.json index dcbf42059..7476ddc27 100644 --- a/packages/pluginutils/package.json +++ b/packages/pluginutils/package.json @@ -1,6 +1,6 @@ { "name": "@rollup/pluginutils", - "version": "5.1.0", + "version": "5.1.1", "publishConfig": { "access": "public" }, diff --git a/packages/pluginutils/src/attachScopes.ts b/packages/pluginutils/src/attachScopes.ts index d5dace4ed..fc6392ddb 100755 --- a/packages/pluginutils/src/attachScopes.ts +++ b/packages/pluginutils/src/attachScopes.ts @@ -66,7 +66,7 @@ const attachScopes: AttachScopes = function attachScopes(ast, propertyName = 'sc const node = n as estree.Node; // function foo () {...} // class Foo {...} - if (/(Function|Class)Declaration/.test(node.type)) { + if (/(?:Function|Class)Declaration/.test(node.type)) { scope.addDeclaration(node, false, false); } @@ -98,7 +98,7 @@ const attachScopes: AttachScopes = function attachScopes(ast, propertyName = 'sc } // create new for scope - if (/For(In|Of)?Statement/.test(node.type)) { + if (/For(?:In|Of)?Statement/.test(node.type)) { newScope = new Scope({ parent: scope, block: true diff --git a/packages/pluginutils/src/dataToEsm.ts b/packages/pluginutils/src/dataToEsm.ts index 312017220..4be5d7ae4 100755 --- a/packages/pluginutils/src/dataToEsm.ts +++ b/packages/pluginutils/src/dataToEsm.ts @@ -91,7 +91,7 @@ const dataToEsm: DataToEsm = function dataToEsm(data, options = {}) { let maxUnderbarPrefixLength = 0; for (const key of Object.keys(data)) { - const underbarPrefixLength = key.match(/^(_+)/)?.[0].length ?? 0; + const underbarPrefixLength = /^(_+)/.exec(key)?.[0].length ?? 0; if (underbarPrefixLength > maxUnderbarPrefixLength) { maxUnderbarPrefixLength = underbarPrefixLength; } diff --git a/packages/replace/CHANGELOG.md b/packages/replace/CHANGELOG.md index 826a21468..2b0eb4dc5 100755 --- a/packages/replace/CHANGELOG.md +++ b/packages/replace/CHANGELOG.md @@ -1,5 +1,21 @@ # @rollup/plugin-replace ChangeLog +## v6.0.1 + +_2024-09-23_ + +### Bugfixes + +- fix: The `preventAssignment` option is treated as a value to replace (#1768) + +## v6.0.0 + +_2024-09-23_ + +### Breaking Changes + +- fix!: objectGuards doesn't take effects (#1764) + ## v5.0.7 _2024-06-05_ diff --git a/packages/replace/package.json b/packages/replace/package.json index e93542fe2..0a07d5abe 100644 --- a/packages/replace/package.json +++ b/packages/replace/package.json @@ -1,6 +1,6 @@ { "name": "@rollup/plugin-replace", - "version": "5.0.7", + "version": "6.0.1", "publishConfig": { "access": "public" }, diff --git a/packages/replace/src/index.js b/packages/replace/src/index.js index cdbe6419a..5d0427769 100755 --- a/packages/replace/src/index.js +++ b/packages/replace/src/index.js @@ -25,6 +25,7 @@ function getReplacements(options) { delete values.sourcemap; delete values.sourceMap; delete values.objectGuards; + delete values.preventAssignment; return values; } @@ -43,26 +44,10 @@ function expandTypeofReplacements(replacements) { const objMatch = key.match(objKeyRegEx); if (!objMatch) return; let dotIndex = objMatch[1].length; - let lastIndex = 0; do { // eslint-disable-next-line no-param-reassign - replacements[`typeof ${key.slice(lastIndex, dotIndex)} ===`] = '"object" ==='; - // eslint-disable-next-line no-param-reassign - replacements[`typeof ${key.slice(lastIndex, dotIndex)} !==`] = '"object" !=='; - // eslint-disable-next-line no-param-reassign - replacements[`typeof ${key.slice(lastIndex, dotIndex)}===`] = '"object"==='; - // eslint-disable-next-line no-param-reassign - replacements[`typeof ${key.slice(lastIndex, dotIndex)}!==`] = '"object"!=='; - // eslint-disable-next-line no-param-reassign - replacements[`typeof ${key.slice(lastIndex, dotIndex)} ==`] = '"object" ==='; - // eslint-disable-next-line no-param-reassign - replacements[`typeof ${key.slice(lastIndex, dotIndex)} !=`] = '"object" !=='; - // eslint-disable-next-line no-param-reassign - replacements[`typeof ${key.slice(lastIndex, dotIndex)}==`] = '"object"==='; - // eslint-disable-next-line no-param-reassign - replacements[`typeof ${key.slice(lastIndex, dotIndex)}!=`] = '"object"!=='; - lastIndex = dotIndex + 1; - dotIndex = key.indexOf('.', lastIndex); + replacements[`typeof ${key.slice(0, dotIndex)}`] = '"object"'; + dotIndex = key.indexOf('.', dotIndex + 1); } while (dotIndex !== -1); }); } diff --git a/packages/replace/test/fixtures/form/observe-plugin-options/_config.js b/packages/replace/test/fixtures/form/observe-plugin-options/_config.js index 5d1b7ba76..f472fef74 100755 --- a/packages/replace/test/fixtures/form/observe-plugin-options/_config.js +++ b/packages/replace/test/fixtures/form/observe-plugin-options/_config.js @@ -6,6 +6,7 @@ module.exports = { sourcemap: true, sourceMap: true, include: '**/input.js', - exclude: 'node_modules/**' + exclude: 'node_modules/**', + preventAssignment: false } }; diff --git a/packages/replace/test/fixtures/form/observe-plugin-options/input.js b/packages/replace/test/fixtures/form/observe-plugin-options/input.js index 58a951275..3c553f2cc 100755 --- a/packages/replace/test/fixtures/form/observe-plugin-options/input.js +++ b/packages/replace/test/fixtures/form/observe-plugin-options/input.js @@ -5,4 +5,5 @@ console.log(` sourceMap include exclude + preventAssignment `); diff --git a/packages/replace/test/fixtures/form/observe-plugin-options/output.js b/packages/replace/test/fixtures/form/observe-plugin-options/output.js index cbf28032f..df587965c 100755 --- a/packages/replace/test/fixtures/form/observe-plugin-options/output.js +++ b/packages/replace/test/fixtures/form/observe-plugin-options/output.js @@ -5,4 +5,5 @@ console.log(` sourceMap include exclude + preventAssignment `); diff --git a/packages/replace/test/fixtures/form/process-check/input.js b/packages/replace/test/fixtures/form/process-check/input.js index dcce0a89f..8e6bf9ddc 100644 --- a/packages/replace/test/fixtures/form/process-check/input.js +++ b/packages/replace/test/fixtures/form/process-check/input.js @@ -1,3 +1,3 @@ -if (typeof process !== 'undefined' && process.env.NODE_ENV === 'production') { +if (typeof process !== 'undefined' && typeof process.env === "object" && process.env.NODE_ENV === 'production') { console.log('production'); } diff --git a/packages/replace/test/snapshots/form.js.md b/packages/replace/test/snapshots/form.js.md index 04ba72de9..e8b50f05c 100644 --- a/packages/replace/test/snapshots/form.js.md +++ b/packages/replace/test/snapshots/form.js.md @@ -37,13 +37,14 @@ Generated by [AVA](https://avajs.dev). sourceMap␊ include␊ exclude␊ + preventAssignment␊ \`);` ## process-check: Handles process type guards in replacements > Snapshot 1 - `if (typeof process !== 'undefined' && "production" === 'production') {␊ + `if ("object" !== 'undefined' && "object" === "object" && "production" === 'production') {␊ console.log('production');␊ }` diff --git a/packages/replace/test/snapshots/form.js.snap b/packages/replace/test/snapshots/form.js.snap index 242f1c08c..310c56eb3 100644 Binary files a/packages/replace/test/snapshots/form.js.snap and b/packages/replace/test/snapshots/form.js.snap differ diff --git a/packages/replace/test/snapshots/misc.js.snap b/packages/replace/test/snapshots/misc.js.snap index 73ae474b8..a62804a04 100644 Binary files a/packages/replace/test/snapshots/misc.js.snap and b/packages/replace/test/snapshots/misc.js.snap differ diff --git a/packages/replace/test/snapshots/sourcemaps.js.snap b/packages/replace/test/snapshots/sourcemaps.js.snap index 8771f7074..d6aa96543 100644 Binary files a/packages/replace/test/snapshots/sourcemaps.js.snap and b/packages/replace/test/snapshots/sourcemaps.js.snap differ diff --git a/packages/swc/CHANGELOG.md b/packages/swc/CHANGELOG.md index e64735a14..92ea249d9 100644 --- a/packages/swc/CHANGELOG.md +++ b/packages/swc/CHANGELOG.md @@ -1,5 +1,13 @@ # @rollup/plugin-swc ChangeLog +## v0.4.0 + +_2024-09-06_ + +### Features + +- feat: sets filename property, so to make additional swc features… (#1761) + ## v0.3.1 _2024-06-05_ diff --git a/packages/swc/package.json b/packages/swc/package.json index 525f5f2e0..3dee9d25e 100644 --- a/packages/swc/package.json +++ b/packages/swc/package.json @@ -1,6 +1,6 @@ { "name": "@rollup/plugin-swc", - "version": "0.3.1", + "version": "0.4.0", "publishConfig": { "access": "public" }, diff --git a/packages/swc/src/module.ts b/packages/swc/src/module.ts index 84933c172..e200566dc 100644 --- a/packages/swc/src/module.ts +++ b/packages/swc/src/module.ts @@ -37,7 +37,8 @@ export function swc(input: Options = {}): Plugin { return transform(code, { ...swcOptions, - sourceMaps: true + sourceMaps: true, + filename: id }); } }; diff --git a/packages/typescript/CHANGELOG.md b/packages/typescript/CHANGELOG.md index 2e8fae7d4..e37cd8d34 100644 --- a/packages/typescript/CHANGELOG.md +++ b/packages/typescript/CHANGELOG.md @@ -1,5 +1,21 @@ # @rollup/plugin-typescript ChangeLog +## v12.1.0 + +_2024-09-22_ + +### Features + +- feat: add transformers factory. (#1668) + +## v12.0.0 + +_2024-09-22_ + +### Breaking Changes + +- fix!: correctly resolve filenames of declaration files for `output.file` (#1728) + ## v11.1.6 _2024-01-09_ diff --git a/packages/typescript/README.md b/packages/typescript/README.md index 8350f9aa8..340f5cd3b 100644 --- a/packages/typescript/README.md +++ b/packages/typescript/README.md @@ -125,7 +125,7 @@ typescript({ ### `transformers` -Type: `{ [before | after | afterDeclarations]: TransformerFactory[] }`
+Type: `{ [before | after | afterDeclarations]: TransformerFactory[] } | ((program: ts.Program) => ts.CustomTransformers)`
Default: `undefined` Allows registration of TypeScript custom transformers at any of the supported stages: @@ -199,6 +199,48 @@ typescript({ }); ``` +Alternatively, the transformers can be created inside a factory. + +Supported transformer factories: + +- all **built-in** TypeScript custom transformer factories: + + - `import('typescript').TransformerFactory` annotated **TransformerFactory** bellow + - `import('typescript').CustomTransformerFactory` annotated **CustomTransformerFactory** bellow + +The example above could be written like this: + +```js +typescript({ + transformers: function (program) { + return { + before: [ + ProgramRequiringTransformerFactory(program), + TypeCheckerRequiringTransformerFactory(program.getTypeChecker()) + ], + after: [ + // You can use normal transformers directly + require('custom-transformer-based-on-Context') + ], + afterDeclarations: [ + // Or even define in place + function fixDeclarationFactory(context) { + return function fixDeclaration(source) { + function visitor(node) { + // Do real work here + + return ts.visitEachChild(node, visitor, context); + } + + return ts.visitEachChild(source, visitor, context); + }; + } + ] + }; + } +}); +``` + ### `cacheDir` Type: `String`
diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 7fca1ce58..3504f38e3 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@rollup/plugin-typescript", - "version": "11.1.6", + "version": "12.1.0", "publishConfig": { "access": "public" }, diff --git a/packages/typescript/src/index.ts b/packages/typescript/src/index.ts index 6b0eb2652..339a8ba40 100644 --- a/packages/typescript/src/index.ts +++ b/packages/typescript/src/index.ts @@ -178,20 +178,8 @@ export default function typescript(options: RollupTypescriptOptions = {}): Plugi if (outputOptions.dir) { baseDir = outputOptions.dir; } else if (outputOptions.file) { - // find common path of output.file and configured declation output - const outputDir = path.dirname(outputOptions.file); - const configured = path.resolve( - parsedOptions.options.declarationDir || - parsedOptions.options.outDir || - tsconfig || - process.cwd() - ); - const backwards = path - .relative(outputDir, configured) - .split(path.sep) - .filter((v) => v === '..') - .join(path.sep); - baseDir = path.normalize(`${outputDir}/${backwards}`); + // the bundle output directory used by rollup when outputOptions.file is used instead of outputOptions.dir + baseDir = path.dirname(outputOptions.file); } if (!baseDir) return; diff --git a/packages/typescript/src/moduleResolution.ts b/packages/typescript/src/moduleResolution.ts index 97aa01e79..779e0304a 100644 --- a/packages/typescript/src/moduleResolution.ts +++ b/packages/typescript/src/moduleResolution.ts @@ -20,7 +20,9 @@ export type Resolver = ( /** * Create a helper for resolving modules using Typescript. - * @param host Typescript host that extends `ModuleResolutionHost` + * @param ts custom typescript implementation + * @param host Typescript host that extends {@link ModuleResolutionHost} + * @param filter * with methods for sanitizing filenames and getting compiler options. */ export default function createModuleResolver( diff --git a/packages/typescript/src/options/tsconfig.ts b/packages/typescript/src/options/tsconfig.ts index 74d04ee9c..4ebc12675 100644 --- a/packages/typescript/src/options/tsconfig.ts +++ b/packages/typescript/src/options/tsconfig.ts @@ -45,6 +45,7 @@ function makeForcedCompilerOptions(noForceEmit: boolean) { /** * Finds the path to the tsconfig file relative to the current working directory. + * @param ts Custom typescript implementation * @param relativePath Relative tsconfig path given by the user. * If `false` is passed, then a null path is returned. * @returns The absolute path, or null if the file does not exist. @@ -69,9 +70,8 @@ function getTsConfigPath(ts: typeof typescript, relativePath?: string | false) { /** * Tries to read the tsconfig file at `tsConfigPath`. + * @param ts Custom typescript implementation * @param tsConfigPath Absolute path to tsconfig JSON file. - * @param explicitPath If true, the path was set by the plugin user. - * If false, the path was computed automatically. */ function readTsConfigFile(ts: typeof typescript, tsConfigPath: string) { const { config, error } = ts.readConfigFile(tsConfigPath, (path) => readFileSync(path, 'utf8')); @@ -122,13 +122,14 @@ function setModuleResolutionKind(parsedConfig: ParsedCommandLine): ParsedCommand }; } -const configCache = new Map() as typescript.Map; +const configCache = new Map() as typescript.ESMap; /** * Parse the Typescript config to use with the plugin. * @param ts Typescript library instance. * @param tsconfig Path to the tsconfig file, or `false` to ignore the file. * @param compilerOptions Options passed to the plugin directly for Typescript. + * @param noForceEmit Whether to respect emit options from {@link tsconfig} * * @returns Parsed tsconfig.json file with some important properties: * - `options`: Parsed compiler options. diff --git a/packages/typescript/src/options/validate.ts b/packages/typescript/src/options/validate.ts index 7dbc3367c..d0f22e3de 100644 --- a/packages/typescript/src/options/validate.ts +++ b/packages/typescript/src/options/validate.ts @@ -1,4 +1,4 @@ -import { relative } from 'path'; +import { relative, dirname } from 'path'; import type { OutputOptions, PluginContext } from 'rollup'; @@ -51,14 +51,24 @@ export function validatePaths( ); } + let outputDir: string | undefined = outputOptions.dir; + if (outputOptions.file) { + outputDir = dirname(outputOptions.file); + } for (const dirProperty of DIRECTORY_PROPS) { - if (compilerOptions[dirProperty] && outputOptions.dir) { + if (compilerOptions[dirProperty] && outputDir) { // Checks if the given path lies within Rollup output dir - const fromRollupDirToTs = relative(outputOptions.dir, compilerOptions[dirProperty]!); + const fromRollupDirToTs = relative(outputDir, compilerOptions[dirProperty]!); if (fromRollupDirToTs.startsWith('..')) { - context.error( - `@rollup/plugin-typescript: Path of Typescript compiler option '${dirProperty}' must be located inside Rollup 'dir' option.` - ); + if (outputOptions.dir) { + context.error( + `@rollup/plugin-typescript: Path of Typescript compiler option '${dirProperty}' must be located inside Rollup 'dir' option.` + ); + } else { + context.error( + `@rollup/plugin-typescript: Path of Typescript compiler option '${dirProperty}' must be located inside the same directory as the Rollup 'file' option.` + ); + } } } } diff --git a/packages/typescript/src/watchProgram.ts b/packages/typescript/src/watchProgram.ts index 07bf25d18..9ad50f647 100644 --- a/packages/typescript/src/watchProgram.ts +++ b/packages/typescript/src/watchProgram.ts @@ -1,9 +1,11 @@ import type { PluginContext } from 'rollup'; import typescript from 'typescript'; import type { + CustomTransformers, Diagnostic, EmitAndSemanticDiagnosticsBuilderProgram, ParsedCommandLine, + Program, WatchCompilerHostOfFilesAndCompilerOptions, WatchStatusReporter, WriteFileCallback @@ -39,7 +41,7 @@ interface CreateProgramOptions { /** Function to resolve a module location */ resolveModule: Resolver; /** Custom TypeScript transformers */ - transformers?: CustomTransformerFactories; + transformers?: CustomTransformerFactories | ((program: Program) => CustomTransformers); } type DeferredResolve = ((value: boolean | PromiseLike) => void) | (() => void); @@ -155,22 +157,36 @@ function createWatchHost( parsedOptions.projectReferences ); + let createdTransformers: CustomTransformers | undefined; return { ...baseHost, /** Override the created program so an in-memory emit is used */ afterProgramCreate(program) { const origEmit = program.emit; // eslint-disable-next-line no-param-reassign - program.emit = (targetSourceFile, _, ...args) => - origEmit( + program.emit = ( + targetSourceFile, + _, + cancellationToken, + emitOnlyDtsFiles, + customTransformers + ) => { + createdTransformers ??= + typeof transformers === 'function' + ? transformers(program.getProgram()) + : mergeTransformers( + program, + transformers, + customTransformers as CustomTransformerFactories + ); + return origEmit( targetSourceFile, writeFile, - // cancellationToken - args[0], - // emitOnlyDtsFiles - args[1], - mergeTransformers(program, transformers, args[2] as CustomTransformerFactories) + cancellationToken, + emitOnlyDtsFiles, + createdTransformers ); + }; return baseHost.afterProgramCreate!(program); }, diff --git a/packages/typescript/test/fixtures/incremental-single/tsconfig.tsbuildinfo b/packages/typescript/test/fixtures/incremental-single/tsconfig.tsbuildinfo index 582b24612..ddf4834d4 100644 --- a/packages/typescript/test/fixtures/incremental-single/tsconfig.tsbuildinfo +++ b/packages/typescript/test/fixtures/incremental-single/tsconfig.tsbuildinfo @@ -1 +1 @@ -{"program":{"fileNames":["../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es5.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2016.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2017.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2018.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.dom.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.scripthost.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.esnext.intl.d.ts","./main.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/assert.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/globals.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/async_hooks.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/buffer.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/child_process.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/cluster.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/console.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/constants.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/crypto.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/dgram.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/dns.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/domain.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/events.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/fs.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/fs/promises.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/http.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/http2.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/https.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/inspector.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/module.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/net.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/os.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/path.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/perf_hooks.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/process.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/punycode.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/querystring.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/readline.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/repl.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/stream.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/string_decoder.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/timers.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/tls.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/trace_events.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/tty.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/url.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/util.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/v8.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/vm.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/wasi.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/worker_threads.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/zlib.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/globals.global.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/index.d.ts","../../../../../node_modules/.pnpm/@types+resolve@1.20.2/node_modules/@types/resolve/index.d.ts","../../../../../node_modules/.pnpm/@babel+types@7.19.4/node_modules/@babel/types/lib/index.d.ts","../../../../../node_modules/.pnpm/@types+babel__generator@7.6.4/node_modules/@types/babel__generator/index.d.ts","../../../../../node_modules/.pnpm/@babel+parser@7.19.4/node_modules/@babel/parser/typings/babel-parser.d.ts","../../../../../node_modules/.pnpm/@types+babel__template@7.4.1/node_modules/@types/babel__template/index.d.ts","../../../../../node_modules/.pnpm/@types+babel__traverse@7.18.2/node_modules/@types/babel__traverse/index.d.ts","../../../../../node_modules/.pnpm/@types+babel__core@7.1.19/node_modules/@types/babel__core/index.d.ts","../../../../../node_modules/.pnpm/magic-string@0.25.9/node_modules/magic-string/index.d.ts","../../../../../node_modules/.pnpm/@types+buble@0.19.2/node_modules/@types/buble/index.d.ts","../../../../../node_modules/.pnpm/@types+keyv@3.1.4/node_modules/@types/keyv/index.d.ts","../../../../../node_modules/.pnpm/@types+http-cache-semantics@4.0.1/node_modules/@types/http-cache-semantics/index.d.ts","../../../../../node_modules/.pnpm/@types+responselike@1.0.0/node_modules/@types/responselike/index.d.ts","../../../../../node_modules/.pnpm/@types+cacheable-request@6.0.2/node_modules/@types/cacheable-request/index.d.ts","../../../../../node_modules/.pnpm/@types+conventional-commits-parser@3.0.2/node_modules/@types/conventional-commits-parser/index.d.ts","../../../../../node_modules/.pnpm/@types+d3-dsv@3.0.0/node_modules/@types/d3-dsv/index.d.ts","../../../../../node_modules/.pnpm/@types+eslint@8.4.6/node_modules/@types/eslint/helpers.d.ts","../../../../../node_modules/.pnpm/@types+estree@1.0.0/node_modules/@types/estree/index.d.ts","../../../../../node_modules/.pnpm/@types+json-schema@7.0.11/node_modules/@types/json-schema/index.d.ts","../../../../../node_modules/.pnpm/@types+eslint@8.4.6/node_modules/@types/eslint/index.d.ts","../../../../../node_modules/.pnpm/@types+json5@0.0.29/node_modules/@types/json5/index.d.ts","../../../../../node_modules/.pnpm/@types+minimist@1.2.2/node_modules/@types/minimist/index.d.ts","../../../../../node_modules/.pnpm/@types+normalize-package-data@2.4.1/node_modules/@types/normalize-package-data/index.d.ts","../../../../../node_modules/.pnpm/@types+parse-json@4.0.0/node_modules/@types/parse-json/index.d.ts","../../../../../node_modules/.pnpm/@types+picomatch@2.3.0/node_modules/@types/picomatch/lib/constants.d.ts","../../../../../node_modules/.pnpm/@types+picomatch@2.3.0/node_modules/@types/picomatch/lib/parse.d.ts","../../../../../node_modules/.pnpm/@types+picomatch@2.3.0/node_modules/@types/picomatch/lib/scan.d.ts","../../../../../node_modules/.pnpm/@types+picomatch@2.3.0/node_modules/@types/picomatch/lib/picomatch.d.ts","../../../../../node_modules/.pnpm/@types+picomatch@2.3.0/node_modules/@types/picomatch/index.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/classes/semver.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/parse.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/valid.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/clean.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/inc.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/diff.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/major.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/minor.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/patch.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/prerelease.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/compare.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/rcompare.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/compare-loose.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/compare-build.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/sort.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/rsort.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/gt.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/lt.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/eq.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/neq.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/gte.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/lte.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/cmp.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/coerce.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/classes/comparator.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/classes/range.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/satisfies.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/ranges/max-satisfying.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/ranges/min-satisfying.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/ranges/to-comparators.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/ranges/min-version.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/ranges/valid.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/ranges/outside.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/ranges/gtr.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/ranges/ltr.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/ranges/intersects.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/ranges/simplify.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/ranges/subset.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/internals/identifiers.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/index.d.ts","../../../../../node_modules/.pnpm/@types+serialize-javascript@5.0.2/node_modules/@types/serialize-javascript/index.d.ts","../../../../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/source-map.d.ts","../../../../../node_modules/.pnpm/@types+source-map-support@0.5.6/node_modules/@types/source-map-support/index.d.ts","../../../../../node_modules/.pnpm/@types+yargs-parser@20.2.2/node_modules/@types/yargs-parser/index.d.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"f20c05dbfe50a208301d2a1da37b9931bce0466eb5a1f4fe240971b4ecc82b67","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06",{"version":"9b087de7268e4efc5f215347a62656663933d63c0b1d7b624913240367b999ea","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"55f400eec64d17e888e278f4def2f254b41b89515d3b88ad75d5e05f019daddd","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"775d9c9fd150d5de79e0450f35bc8b8f94ae64e3eb5da12725ff2a649dccc777","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},{"version":"dc13372d005136feb44d8fa670d0a80d674b3964fe29dc30e693c9836c997006","affectsGlobalScope":true},"4c2c4f53e8eedd970f8afa369d7371544fb6231bf95e659f8602e09abe74d5a5",{"version":"32ddf2b046fa7269050f64a87f1f3d2db10b92ad6302460681915af1207b1222","affectsGlobalScope":true},"c2b5085f47e41d6940bbc5b0d3bd7cc0037c752efb18aecd243c9cf83ad0c0b7","3143a5add0467b83150961ecd33773b561a1207aec727002aa1d70333068eb1b","9b2a8f604e7c0482a9061755f00b287cc99bd8718dc82d8207dd74c599b6dc43","d0fc76a91c828fbe3f0be5d683273634b7b101068333ceed975a8a9ac464137b",{"version":"1a048ff164b8d9609f5de3139d4e37f6e8a82af82087ac414b9208f52ef8aac7","affectsGlobalScope":true},"3111079f3cb5f2b9c812ca3f46161562bce5bfb355e915f46ed46c41714dc1c3","db86f82fac051ae344b47e8fe7ac7990174b41db79b2b220a49dc5a47c71a9b5","b32b6b16cb0bda68199582ad6f22242d07ee75fac9b1f28a98cd838afc5eea45","4441ee4119824bfaebc49308559edd7545978f9cb41a40f115074e1031dde75f",{"version":"60693a88462d0e97900123b5bf7c73e146ce0cc94da46a61fe6775b430d2ff05","affectsGlobalScope":true},{"version":"588c69eda58b9202676ec7ca11a72c3762819b46a0ed72462c769846153c447c","affectsGlobalScope":true},"ae064ed4f855716b7ff348639ddcd6a6d354a72fae82f506608a7dc9266aa24c","92f019c55b21c939616f6a48f678e714ac7b109444cbbf23ad69310ce66ecbdc","0eb4ba769e8881dc8cf1fb77c059eb9e3ed8a4ebe70a19a0f2055b68fda68c60","56e6722c6013609b3e5e6ed4a8a7e01f41da6c5e3d6f0ecff3d09ef7a81414cf","3924e8b900c717cb4ddf663d996e0bc0918f01b2c2e8dccaa94e59a8ae6912ec","f614c3f61e46ccc2cb58702d5a158338ea57ee09099fde5db4cfc63ed0ce4d74","44e42ed6ec9c4451ebe89524e80ac8564e9dd0988c56e6c58f393c810730595d","d79fda68cbfb361c4ee9cd9ea169babb65887534d64017726cd01f54783d20a5","155865f5f76db0996cd5e20cc5760613ea170ee5ad594c1f3d76fcaa05382161","e92852d673c836fc64e10c38640abcd67c463456e5df55723ac699b8e6ab3a8a","4455c78d226d061b1203c7614c6c6eb5f4f9db5f00d44ff47d0112de8766fbc4",{"version":"ec369bb9d97c4dc09dd2a4093b7ca3ba69ad284831fccac8a1977785e9e38ce5","affectsGlobalScope":true},"4465a636f5f6e9665a90e30691862c9e0a3ac2edc0e66296704f10865e924f2a","9af781f03d44f5635ed7844be0ce370d9d595d4b4ec67cad88f0fac03255257e","f9fd4c3ef6de27fa0e256f4e75b61711c4be05a3399f7714621d3edc832e36b0","e49290b7a927995c0d7e6b2b9c8296284b68a9036d9966531de65185269258d7","c3689f70ce7563c2299f2dcb3c72efdf6f87ae510e7456fa6223c767d0ca99fc","874ca809b79276460011480a2829f4c8d4db29416dd411f71efbf8f497f0ac09","6c903bceaf3f3bc04f2d4c7dcd89ce9fb148b3ba0a5f5408d8f6de2b7eecc7ea","504d049d9e550a65466b73ca39da6469ab41786074ea1d16d37c8853f9f6ab2e","23a28f834a078986bbf58f4e3705956983ff81c3c2493f3db3e5f0e8a9507779","4febdf7f3ec92706c58e0b4e8159cd6de718284ef384260b07c9641c13fc70ce",{"version":"eabefc2999c1489cf870e0c85af908900462fa245822d9a4616780a1a129945d","affectsGlobalScope":true},"7335933d9f30dcfd2c4b6080a8b78e81912a7fcefb1dafccb67ca4cb4b3ac23d","a6bfe9de9adef749010c118104b071d14943802ff0614732b47ce4f1c3e383cd","4c3d0e10396646db4a1e917fb852077ee77ae62e512913bef9cccc2bb0f8bd0e","3b220849d58140dcc6718f5b52dcd29fdb79c45bc28f561cbd29eb1cac6cce13","0ee22fce41f7417a24c808d266e91b850629113c104713a35854393d55994beb","22d1b1d965baba05766613e2e6c753bb005d4386c448cafd72c309ba689e8c24",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"01c93adfc4c6555c559e7334b6b5f45b48c9e1f809144822088e45ba13e36d9f","8baa5d0febc68db886c40bf341e5c90dc215a90cd64552e47e8184be6b7e3358","760cb9b76ab53a2f704ee0e731e162bcfc6af609f5e400a668efe2cc7923e4f4","cc957354aa3c94c9961ebf46282cfde1e81d107fc5785a61f62c67f1dd3ac2eb","7ec238b220ea991b6643e24191b1f552a65956d5f6de4c6144e700b9985265d8","93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9","dae3d1adc67ac3dbd1cd471889301339ec439837b5df565982345be20c8fca9a","5426e62886b7be7806312d31a00e8f7dccd6fe63ba9bbefe99ee2eab29cc48a3","dd6a4b050f1016c0318291b42c98ab068e07e208b1ae8e4e27167c2b8007406f","bf6148950ca5307411c2ae98561f3b845c8cd31c330e731a6822bf52ff757bf6","fec943fdb3275eb6e006b35e04a8e2e99e9adf3f4b969ddf15315ac7575a93e4","cab425b5559edac18327eb2c3c0f47e7e9f71b667290b7689faafd28aac69eae","3cfb0cb51cc2c2e1b313d7c4df04dbf7e5bda0a133c6b309bf6af77cf614b971","f992cd6cc0bcbaa4e6c810468c90f2d8595f8c6c3cf050c806397d3de8585562","2733d9c68999f6fb4a8e853f4266b40b1e91ef7ae97a35d82014a732f9f3584b","f5d81560bfe80aa653ec60c6a72e68e5ffd60b5e894aef7a46dec316c2a7b9e7",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"946bd1737d9412395a8f24414c70f18660b84a75a12b0b448e6eb1a2161d06dd","f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","c84d0f714fe122193c21c0f0917e873beb3a03fa3422ceb2fbd1ebc0558790a0","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","3e4001643b64a3a4722718c5a778ae73f3dd43487e39508ce2f9dd7cfb1d40b7","b90c23a457c16f77a282531a5caba5c911d2252eb097f3193a8ee2df6a3f21a2","8f9aa0f1f409380d4dbd5c9f5f2e4af828e123095891dd0efc5bb999f8d1a301","bdab62a006260d5fd3c623f0b635140bf48d7a8f87f0eeca5fb188b5ac66770f","c0dd6b46374a90bbb701cc4888a9d6b698a479a2acce11969c5583ba6127f5d5","2b93035328f7778d200252681c1d86285d501ed424825a18f81e4c3028aa51d9","2ac9c8332c5f8510b8bdd571f8271e0f39b0577714d5e95c1e79a12b2616f069","42c21aa963e7b86fa00801d96e88b36803188018d5ad91db2a9101bccd40b3ff","d31eb848cdebb4c55b4893b335a7c0cca95ad66dee13cbb7d0893810c0a9c301","77c1d91a129ba60b8c405f9f539e42df834afb174fe0785f89d92a2c7c16b77a","7a9e0a564fee396cacf706523b5aeed96e04c6b871a8bebefad78499fbffc5bc","906c751ef5822ec0dadcea2f0e9db64a33fb4ee926cc9f7efa38afe5d5371b2a","5387c049e9702f2d2d7ece1a74836a14b47fbebe9bbeb19f94c580a37c855351","c68391fb9efad5d99ff332c65b1606248c4e4a9f1dd9a087204242b56c7126d6","e9cf02252d3a0ced987d24845dcb1f11c1be5541f17e5daa44c6de2d18138d0c","e8b02b879754d85f48489294f99147aeccc352c760d95a6fe2b6e49cd400b2fe","9f6908ab3d8a86c68b86e38578afc7095114e66b2fc36a2a96e9252aac3998e0","0eedb2344442b143ddcd788f87096961cd8572b64f10b4afc3356aa0460171c6","71405cc70f183d029cc5018375f6c35117ffdaf11846c35ebf85ee3956b1b2a6","c68baff4d8ba346130e9753cefe2e487a16731bf17e05fdacc81e8c9a26aae9d","2cd15528d8bb5d0453aa339b4b52e0696e8b07e790c153831c642c3dea5ac8af","479d622e66283ffa9883fbc33e441f7fc928b2277ff30aacbec7b7761b4e9579","ade307876dc5ca267ca308d09e737b611505e015c535863f22420a11fffc1c54","f8cdefa3e0dee639eccbe9794b46f90291e5fd3989fcba60d2f08fde56179fb9","86c5a62f99aac7053976e317dbe9acb2eaf903aaf3d2e5bb1cafe5c2df7b37a8","2b300954ce01a8343866f737656e13243e86e5baef51bd0631b21dcef1f6e954","a2d409a9ffd872d6b9d78ead00baa116bbc73cfa959fce9a2f29d3227876b2a1","b288936f560cd71f4a6002953290de9ff8dfbfbf37f5a9391be5c83322324898","61178a781ef82e0ff54f9430397e71e8f365fc1e3725e0e5346f2de7b0d50dfa","6a6ccb37feb3aad32d9be026a3337db195979cd5727a616fc0f557e974101a54","6eef5113135a0f2bbac8259909a5bbb7666bcde022c28f4ab95145623cbe1f72","38e2b02897c6357bbcff729ef84c736727b45cc152abe95a7567caccdfad2a1d","d6610ea7e0b1a7686dba062a1e5544dd7d34140f4545305b7c6afaebfb348341","3dee35db743bdba2c8d19aece7ac049bde6fa587e195d86547c882784e6ba34c","b15e55c5fa977c2f25ca0b1db52cfa2d1fd4bf0baf90a8b90d4a7678ca462ff1","f41d30972724714763a2698ae949fbc463afb203b5fa7c4ad7e4de0871129a17","843dd7b6a7c6269fd43827303f5cbe65c1fecabc30b4670a50d5a15d57daeeb9","f06d8b8567ee9fd799bf7f806efe93b67683ef24f4dea5b23ef12edff4434d9d","6017384f697ff38bc3ef6a546df5b230c3c31329db84cbfe686c83bec011e2b2","e1a5b30d9248549ca0c0bb1d653bafae20c64c4aa5928cc4cd3017b55c2177b0","a593632d5878f17295bd53e1c77f27bf4c15212822f764a2bfc1702f4b413fa0","a868a534ba1c2ca9060b8a13b0ffbbbf78b4be7b0ff80d8c75b02773f7192c29","da7545aba8f54a50fde23e2ede00158dc8112560d934cee58098dfb03aae9b9d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","6aee496bf0ecfbf6731aa8cca32f4b6e92cdc0a444911a7d88410408a45ecc5d","b9afcdd9563bae8409d0ce97db6f60c1f8455dfab79fc8dc89d7b793ba8479a2","2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579","ce99fd4b37ce2dbf9adfc06c1722271c926adb408b1f6413763ae9253d922823","d5c21c0fd9ecf84a785a6bd290931d7672132778cd6ef6e827ab7dc2c4426ac5"],"options":{"emitDeclarationOnly":false,"importHelpers":true,"inlineSources":true,"module":99,"noEmitHelpers":true,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[79],[79,80,81,82,83],[79,81],[85],[46,49,69,77,87,88,89],[63,77],[93,94,95],[46,77],[34],[36],[37,42],[38,46,47,54,63],[38,39,46,54],[40,70],[41,42,47,55],[42,63],[43,44,46,54],[44],[45,46],[46],[46,47,48,63,69],[47,48],[49,54,63,69],[46,47,49,50,54,63,66,69],[49,51,63,66,69],[34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76],[46,52],[53,69],[44,46,54,63],[55],[56],[36,57],[58,68],[59],[60],[46,61],[61,62,70,72],[46,63],[64],[65],[54,63,66],[67],[54,68],[60,69],[70],[63,71],[72],[73],[46,48,63,69,72,74],[63,75],[104],[101,102,103],[49,63,77],[106,145],[106,130,145],[145],[106],[106,131,145],[106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144],[131,145],[147]],"referencedMap":[[81,1],[84,2],[80,1],[82,3],[83,1],[86,4],[90,5],[91,6],[96,7],[87,8],[34,9],[36,10],[37,11],[38,12],[39,13],[40,14],[41,15],[42,16],[43,17],[44,18],[45,19],[46,20],[47,21],[48,22],[49,23],[50,24],[51,25],[77,26],[52,27],[53,28],[54,29],[55,30],[56,31],[57,32],[58,33],[59,34],[60,35],[61,36],[62,37],[63,38],[64,39],[65,40],[66,41],[67,42],[68,43],[69,44],[70,45],[71,46],[72,47],[73,48],[74,49],[75,50],[105,51],[104,52],[89,53],[130,54],[131,55],[106,56],[109,56],[128,54],[129,54],[119,54],[118,57],[116,54],[111,54],[124,54],[122,54],[126,54],[110,54],[123,54],[127,54],[112,54],[113,54],[125,54],[107,54],[114,54],[115,54],[117,54],[121,54],[132,58],[120,54],[108,54],[145,59],[139,58],[141,60],[140,58],[133,58],[134,58],[136,58],[138,58],[142,60],[143,60],[135,60],[137,60],[148,61]],"exportedModulesMap":[[81,1],[84,2],[80,1],[82,3],[83,1],[86,4],[90,5],[91,6],[96,7],[87,8],[34,9],[36,10],[37,11],[38,12],[39,13],[40,14],[41,15],[42,16],[43,17],[44,18],[45,19],[46,20],[47,21],[48,22],[49,23],[50,24],[51,25],[77,26],[52,27],[53,28],[54,29],[55,30],[56,31],[57,32],[58,33],[59,34],[60,35],[61,36],[62,37],[63,38],[64,39],[65,40],[66,41],[67,42],[68,43],[69,44],[70,45],[71,46],[72,47],[73,48],[74,49],[75,50],[105,51],[104,52],[89,53],[130,54],[131,55],[106,56],[109,56],[128,54],[129,54],[119,54],[118,57],[116,54],[111,54],[124,54],[122,54],[126,54],[110,54],[123,54],[127,54],[112,54],[113,54],[125,54],[107,54],[114,54],[115,54],[117,54],[121,54],[132,58],[120,54],[108,54],[145,59],[139,58],[141,60],[140,58],[133,58],[134,58],[136,58],[138,58],[142,60],[143,60],[135,60],[137,60],[148,61]],"semanticDiagnosticsPerFile":[81,79,84,80,82,83,86,90,91,92,93,96,94,88,95,97,87,98,34,36,37,38,39,40,41,42,43,44,45,46,47,48,35,76,49,50,51,77,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,99,100,105,101,102,104,103,78,89,130,131,106,109,128,129,119,118,116,111,124,122,126,110,123,127,112,113,125,107,114,115,117,121,132,120,108,145,144,139,141,140,133,134,136,138,142,143,135,137,146,148,149,85,147,1,7,11,10,3,12,13,14,15,16,17,18,19,4,5,23,20,21,22,24,25,26,6,27,28,29,30,31,2,32,9,8,33]},"version":"4.8.4"} \ No newline at end of file +{"program":{"fileNames":["../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es5.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2016.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2017.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2018.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.dom.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.scripthost.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.esnext.intl.d.ts","./main.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/assert.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/globals.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/async_hooks.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/buffer.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/child_process.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/cluster.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/console.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/constants.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/crypto.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/dgram.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/dns.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/domain.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/events.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/fs.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/fs/promises.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/http.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/http2.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/https.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/inspector.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/module.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/net.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/os.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/path.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/perf_hooks.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/process.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/punycode.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/querystring.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/readline.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/repl.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/stream.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/string_decoder.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/timers.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/tls.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/trace_events.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/tty.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/url.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/util.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/v8.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/vm.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/wasi.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/worker_threads.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/zlib.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/globals.global.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.31/node_modules/@types/node/ts4.8/index.d.ts","../../../../../node_modules/.pnpm/@types+resolve@1.20.2/node_modules/@types/resolve/index.d.ts","../../../../../node_modules/.pnpm/@babel+types@7.19.4/node_modules/@babel/types/lib/index.d.ts","../../../../../node_modules/.pnpm/@types+babel__generator@7.6.4/node_modules/@types/babel__generator/index.d.ts","../../../../../node_modules/.pnpm/@babel+parser@7.19.4/node_modules/@babel/parser/typings/babel-parser.d.ts","../../../../../node_modules/.pnpm/@types+babel__template@7.4.1/node_modules/@types/babel__template/index.d.ts","../../../../../node_modules/.pnpm/@types+babel__traverse@7.18.2/node_modules/@types/babel__traverse/index.d.ts","../../../../../node_modules/.pnpm/@types+babel__core@7.1.19/node_modules/@types/babel__core/index.d.ts","../../../../../node_modules/.pnpm/magic-string@0.25.9/node_modules/magic-string/index.d.ts","../../../../../node_modules/.pnpm/@types+buble@0.19.2/node_modules/@types/buble/index.d.ts","../../../../../node_modules/.pnpm/@types+keyv@3.1.4/node_modules/@types/keyv/index.d.ts","../../../../../node_modules/.pnpm/@types+http-cache-semantics@4.0.1/node_modules/@types/http-cache-semantics/index.d.ts","../../../../../node_modules/.pnpm/@types+responselike@1.0.0/node_modules/@types/responselike/index.d.ts","../../../../../node_modules/.pnpm/@types+cacheable-request@6.0.2/node_modules/@types/cacheable-request/index.d.ts","../../../../../node_modules/.pnpm/@types+d3-dsv@3.0.0/node_modules/@types/d3-dsv/index.d.ts","../../../../../node_modules/.pnpm/@types+eslint@8.4.6/node_modules/@types/eslint/helpers.d.ts","../../../../../node_modules/.pnpm/@types+estree@1.0.0/node_modules/@types/estree/index.d.ts","../../../../../node_modules/.pnpm/@types+json-schema@7.0.11/node_modules/@types/json-schema/index.d.ts","../../../../../node_modules/.pnpm/@types+eslint@8.4.6/node_modules/@types/eslint/index.d.ts","../../../../../node_modules/.pnpm/@types+json5@0.0.29/node_modules/@types/json5/index.d.ts","../../../../../node_modules/.pnpm/@types+minimist@1.2.2/node_modules/@types/minimist/index.d.ts","../../../../../node_modules/.pnpm/@types+normalize-package-data@2.4.1/node_modules/@types/normalize-package-data/index.d.ts","../../../../../node_modules/.pnpm/@types+parse-json@4.0.0/node_modules/@types/parse-json/index.d.ts","../../../../../node_modules/.pnpm/@types+picomatch@2.3.0/node_modules/@types/picomatch/lib/constants.d.ts","../../../../../node_modules/.pnpm/@types+picomatch@2.3.0/node_modules/@types/picomatch/lib/parse.d.ts","../../../../../node_modules/.pnpm/@types+picomatch@2.3.0/node_modules/@types/picomatch/lib/scan.d.ts","../../../../../node_modules/.pnpm/@types+picomatch@2.3.0/node_modules/@types/picomatch/lib/picomatch.d.ts","../../../../../node_modules/.pnpm/@types+picomatch@2.3.0/node_modules/@types/picomatch/index.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/classes/semver.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/parse.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/valid.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/clean.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/inc.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/diff.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/major.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/minor.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/patch.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/prerelease.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/compare.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/rcompare.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/compare-loose.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/compare-build.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/sort.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/rsort.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/gt.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/lt.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/eq.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/neq.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/gte.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/lte.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/cmp.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/coerce.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/classes/comparator.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/classes/range.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/functions/satisfies.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/ranges/max-satisfying.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/ranges/min-satisfying.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/ranges/to-comparators.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/ranges/min-version.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/ranges/valid.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/ranges/outside.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/ranges/gtr.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/ranges/ltr.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/ranges/intersects.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/ranges/simplify.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/ranges/subset.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/internals/identifiers.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.12/node_modules/@types/semver/index.d.ts","../../../../../node_modules/.pnpm/@types+serialize-javascript@5.0.2/node_modules/@types/serialize-javascript/index.d.ts","../../../../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/source-map.d.ts","../../../../../node_modules/.pnpm/@types+source-map-support@0.5.6/node_modules/@types/source-map-support/index.d.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"f20c05dbfe50a208301d2a1da37b9931bce0466eb5a1f4fe240971b4ecc82b67","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06",{"version":"9b087de7268e4efc5f215347a62656663933d63c0b1d7b624913240367b999ea","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"55f400eec64d17e888e278f4def2f254b41b89515d3b88ad75d5e05f019daddd","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"775d9c9fd150d5de79e0450f35bc8b8f94ae64e3eb5da12725ff2a649dccc777","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},{"version":"dc13372d005136feb44d8fa670d0a80d674b3964fe29dc30e693c9836c997006","affectsGlobalScope":true},"4c2c4f53e8eedd970f8afa369d7371544fb6231bf95e659f8602e09abe74d5a5",{"version":"32ddf2b046fa7269050f64a87f1f3d2db10b92ad6302460681915af1207b1222","affectsGlobalScope":true},"c2b5085f47e41d6940bbc5b0d3bd7cc0037c752efb18aecd243c9cf83ad0c0b7","3143a5add0467b83150961ecd33773b561a1207aec727002aa1d70333068eb1b","9b2a8f604e7c0482a9061755f00b287cc99bd8718dc82d8207dd74c599b6dc43","d0fc76a91c828fbe3f0be5d683273634b7b101068333ceed975a8a9ac464137b",{"version":"1a048ff164b8d9609f5de3139d4e37f6e8a82af82087ac414b9208f52ef8aac7","affectsGlobalScope":true},"3111079f3cb5f2b9c812ca3f46161562bce5bfb355e915f46ed46c41714dc1c3","db86f82fac051ae344b47e8fe7ac7990174b41db79b2b220a49dc5a47c71a9b5","b32b6b16cb0bda68199582ad6f22242d07ee75fac9b1f28a98cd838afc5eea45","4441ee4119824bfaebc49308559edd7545978f9cb41a40f115074e1031dde75f",{"version":"60693a88462d0e97900123b5bf7c73e146ce0cc94da46a61fe6775b430d2ff05","affectsGlobalScope":true},{"version":"588c69eda58b9202676ec7ca11a72c3762819b46a0ed72462c769846153c447c","affectsGlobalScope":true},"ae064ed4f855716b7ff348639ddcd6a6d354a72fae82f506608a7dc9266aa24c","92f019c55b21c939616f6a48f678e714ac7b109444cbbf23ad69310ce66ecbdc","0eb4ba769e8881dc8cf1fb77c059eb9e3ed8a4ebe70a19a0f2055b68fda68c60","56e6722c6013609b3e5e6ed4a8a7e01f41da6c5e3d6f0ecff3d09ef7a81414cf","3924e8b900c717cb4ddf663d996e0bc0918f01b2c2e8dccaa94e59a8ae6912ec","f614c3f61e46ccc2cb58702d5a158338ea57ee09099fde5db4cfc63ed0ce4d74","44e42ed6ec9c4451ebe89524e80ac8564e9dd0988c56e6c58f393c810730595d","d79fda68cbfb361c4ee9cd9ea169babb65887534d64017726cd01f54783d20a5","155865f5f76db0996cd5e20cc5760613ea170ee5ad594c1f3d76fcaa05382161","e92852d673c836fc64e10c38640abcd67c463456e5df55723ac699b8e6ab3a8a","4455c78d226d061b1203c7614c6c6eb5f4f9db5f00d44ff47d0112de8766fbc4",{"version":"ec369bb9d97c4dc09dd2a4093b7ca3ba69ad284831fccac8a1977785e9e38ce5","affectsGlobalScope":true},"4465a636f5f6e9665a90e30691862c9e0a3ac2edc0e66296704f10865e924f2a","9af781f03d44f5635ed7844be0ce370d9d595d4b4ec67cad88f0fac03255257e","f9fd4c3ef6de27fa0e256f4e75b61711c4be05a3399f7714621d3edc832e36b0","e49290b7a927995c0d7e6b2b9c8296284b68a9036d9966531de65185269258d7","c3689f70ce7563c2299f2dcb3c72efdf6f87ae510e7456fa6223c767d0ca99fc","874ca809b79276460011480a2829f4c8d4db29416dd411f71efbf8f497f0ac09","6c903bceaf3f3bc04f2d4c7dcd89ce9fb148b3ba0a5f5408d8f6de2b7eecc7ea","504d049d9e550a65466b73ca39da6469ab41786074ea1d16d37c8853f9f6ab2e","23a28f834a078986bbf58f4e3705956983ff81c3c2493f3db3e5f0e8a9507779","4febdf7f3ec92706c58e0b4e8159cd6de718284ef384260b07c9641c13fc70ce",{"version":"eabefc2999c1489cf870e0c85af908900462fa245822d9a4616780a1a129945d","affectsGlobalScope":true},"7335933d9f30dcfd2c4b6080a8b78e81912a7fcefb1dafccb67ca4cb4b3ac23d","a6bfe9de9adef749010c118104b071d14943802ff0614732b47ce4f1c3e383cd","4c3d0e10396646db4a1e917fb852077ee77ae62e512913bef9cccc2bb0f8bd0e","3b220849d58140dcc6718f5b52dcd29fdb79c45bc28f561cbd29eb1cac6cce13","0ee22fce41f7417a24c808d266e91b850629113c104713a35854393d55994beb","22d1b1d965baba05766613e2e6c753bb005d4386c448cafd72c309ba689e8c24",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"01c93adfc4c6555c559e7334b6b5f45b48c9e1f809144822088e45ba13e36d9f","8baa5d0febc68db886c40bf341e5c90dc215a90cd64552e47e8184be6b7e3358","760cb9b76ab53a2f704ee0e731e162bcfc6af609f5e400a668efe2cc7923e4f4","cc957354aa3c94c9961ebf46282cfde1e81d107fc5785a61f62c67f1dd3ac2eb","7ec238b220ea991b6643e24191b1f552a65956d5f6de4c6144e700b9985265d8","93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9","dae3d1adc67ac3dbd1cd471889301339ec439837b5df565982345be20c8fca9a","5426e62886b7be7806312d31a00e8f7dccd6fe63ba9bbefe99ee2eab29cc48a3","dd6a4b050f1016c0318291b42c98ab068e07e208b1ae8e4e27167c2b8007406f","bf6148950ca5307411c2ae98561f3b845c8cd31c330e731a6822bf52ff757bf6","fec943fdb3275eb6e006b35e04a8e2e99e9adf3f4b969ddf15315ac7575a93e4","cab425b5559edac18327eb2c3c0f47e7e9f71b667290b7689faafd28aac69eae","3cfb0cb51cc2c2e1b313d7c4df04dbf7e5bda0a133c6b309bf6af77cf614b971","f992cd6cc0bcbaa4e6c810468c90f2d8595f8c6c3cf050c806397d3de8585562","f5d81560bfe80aa653ec60c6a72e68e5ffd60b5e894aef7a46dec316c2a7b9e7",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"946bd1737d9412395a8f24414c70f18660b84a75a12b0b448e6eb1a2161d06dd","f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","c84d0f714fe122193c21c0f0917e873beb3a03fa3422ceb2fbd1ebc0558790a0","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","3e4001643b64a3a4722718c5a778ae73f3dd43487e39508ce2f9dd7cfb1d40b7","b90c23a457c16f77a282531a5caba5c911d2252eb097f3193a8ee2df6a3f21a2","8f9aa0f1f409380d4dbd5c9f5f2e4af828e123095891dd0efc5bb999f8d1a301","bdab62a006260d5fd3c623f0b635140bf48d7a8f87f0eeca5fb188b5ac66770f","c0dd6b46374a90bbb701cc4888a9d6b698a479a2acce11969c5583ba6127f5d5","2b93035328f7778d200252681c1d86285d501ed424825a18f81e4c3028aa51d9","2ac9c8332c5f8510b8bdd571f8271e0f39b0577714d5e95c1e79a12b2616f069","42c21aa963e7b86fa00801d96e88b36803188018d5ad91db2a9101bccd40b3ff","d31eb848cdebb4c55b4893b335a7c0cca95ad66dee13cbb7d0893810c0a9c301","77c1d91a129ba60b8c405f9f539e42df834afb174fe0785f89d92a2c7c16b77a","7a9e0a564fee396cacf706523b5aeed96e04c6b871a8bebefad78499fbffc5bc","906c751ef5822ec0dadcea2f0e9db64a33fb4ee926cc9f7efa38afe5d5371b2a","5387c049e9702f2d2d7ece1a74836a14b47fbebe9bbeb19f94c580a37c855351","c68391fb9efad5d99ff332c65b1606248c4e4a9f1dd9a087204242b56c7126d6","e9cf02252d3a0ced987d24845dcb1f11c1be5541f17e5daa44c6de2d18138d0c","e8b02b879754d85f48489294f99147aeccc352c760d95a6fe2b6e49cd400b2fe","9f6908ab3d8a86c68b86e38578afc7095114e66b2fc36a2a96e9252aac3998e0","0eedb2344442b143ddcd788f87096961cd8572b64f10b4afc3356aa0460171c6","71405cc70f183d029cc5018375f6c35117ffdaf11846c35ebf85ee3956b1b2a6","c68baff4d8ba346130e9753cefe2e487a16731bf17e05fdacc81e8c9a26aae9d","2cd15528d8bb5d0453aa339b4b52e0696e8b07e790c153831c642c3dea5ac8af","479d622e66283ffa9883fbc33e441f7fc928b2277ff30aacbec7b7761b4e9579","ade307876dc5ca267ca308d09e737b611505e015c535863f22420a11fffc1c54","f8cdefa3e0dee639eccbe9794b46f90291e5fd3989fcba60d2f08fde56179fb9","86c5a62f99aac7053976e317dbe9acb2eaf903aaf3d2e5bb1cafe5c2df7b37a8","2b300954ce01a8343866f737656e13243e86e5baef51bd0631b21dcef1f6e954","a2d409a9ffd872d6b9d78ead00baa116bbc73cfa959fce9a2f29d3227876b2a1","b288936f560cd71f4a6002953290de9ff8dfbfbf37f5a9391be5c83322324898","61178a781ef82e0ff54f9430397e71e8f365fc1e3725e0e5346f2de7b0d50dfa","6a6ccb37feb3aad32d9be026a3337db195979cd5727a616fc0f557e974101a54","6eef5113135a0f2bbac8259909a5bbb7666bcde022c28f4ab95145623cbe1f72","38e2b02897c6357bbcff729ef84c736727b45cc152abe95a7567caccdfad2a1d","d6610ea7e0b1a7686dba062a1e5544dd7d34140f4545305b7c6afaebfb348341","3dee35db743bdba2c8d19aece7ac049bde6fa587e195d86547c882784e6ba34c","b15e55c5fa977c2f25ca0b1db52cfa2d1fd4bf0baf90a8b90d4a7678ca462ff1","f41d30972724714763a2698ae949fbc463afb203b5fa7c4ad7e4de0871129a17","843dd7b6a7c6269fd43827303f5cbe65c1fecabc30b4670a50d5a15d57daeeb9","f06d8b8567ee9fd799bf7f806efe93b67683ef24f4dea5b23ef12edff4434d9d","6017384f697ff38bc3ef6a546df5b230c3c31329db84cbfe686c83bec011e2b2","e1a5b30d9248549ca0c0bb1d653bafae20c64c4aa5928cc4cd3017b55c2177b0","a593632d5878f17295bd53e1c77f27bf4c15212822f764a2bfc1702f4b413fa0","a868a534ba1c2ca9060b8a13b0ffbbbf78b4be7b0ff80d8c75b02773f7192c29","da7545aba8f54a50fde23e2ede00158dc8112560d934cee58098dfb03aae9b9d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","6aee496bf0ecfbf6731aa8cca32f4b6e92cdc0a444911a7d88410408a45ecc5d","b9afcdd9563bae8409d0ce97db6f60c1f8455dfab79fc8dc89d7b793ba8479a2","2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579","ce99fd4b37ce2dbf9adfc06c1722271c926adb408b1f6413763ae9253d922823"],"options":{"emitDeclarationOnly":false,"importHelpers":true,"inlineSources":true,"module":99,"noEmitHelpers":true,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[79],[79,80,81,82,83],[79,81],[85],[46,49,69,77,87,88,89],[92,93,94],[46,77],[34],[36],[37,42],[38,46,47,54,63],[38,39,46,54],[40,70],[41,42,47,55],[42,63],[43,44,46,54],[44],[45,46],[46],[46,47,48,63,69],[47,48],[49,54,63,69],[46,47,49,50,54,63,66,69],[49,51,63,66,69],[34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76],[46,52],[53,69],[44,46,54,63],[55],[56],[36,57],[58,68],[59],[60],[46,61],[61,62,70,72],[46,63],[64],[65],[54,63,66],[67],[54,68],[60,69],[70],[63,71],[72],[73],[46,48,63,69,72,74],[63,75],[103],[100,101,102],[49,63,77],[105,144],[105,129,144],[144],[105],[105,130,144],[105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143],[130,144],[146]],"referencedMap":[[81,1],[84,2],[80,1],[82,3],[83,1],[86,4],[90,5],[95,6],[87,7],[34,8],[36,9],[37,10],[38,11],[39,12],[40,13],[41,14],[42,15],[43,16],[44,17],[45,18],[46,19],[47,20],[48,21],[49,22],[50,23],[51,24],[77,25],[52,26],[53,27],[54,28],[55,29],[56,30],[57,31],[58,32],[59,33],[60,34],[61,35],[62,36],[63,37],[64,38],[65,39],[66,40],[67,41],[68,42],[69,43],[70,44],[71,45],[72,46],[73,47],[74,48],[75,49],[104,50],[103,51],[89,52],[129,53],[130,54],[105,55],[108,55],[127,53],[128,53],[118,53],[117,56],[115,53],[110,53],[123,53],[121,53],[125,53],[109,53],[122,53],[126,53],[111,53],[112,53],[124,53],[106,53],[113,53],[114,53],[116,53],[120,53],[131,57],[119,53],[107,53],[144,58],[138,57],[140,59],[139,57],[132,57],[133,57],[135,57],[137,57],[141,59],[142,59],[134,59],[136,59],[147,60]],"exportedModulesMap":[[81,1],[84,2],[80,1],[82,3],[83,1],[86,4],[90,5],[95,6],[87,7],[34,8],[36,9],[37,10],[38,11],[39,12],[40,13],[41,14],[42,15],[43,16],[44,17],[45,18],[46,19],[47,20],[48,21],[49,22],[50,23],[51,24],[77,25],[52,26],[53,27],[54,28],[55,29],[56,30],[57,31],[58,32],[59,33],[60,34],[61,35],[62,36],[63,37],[64,38],[65,39],[66,40],[67,41],[68,42],[69,43],[70,44],[71,45],[72,46],[73,47],[74,48],[75,49],[104,50],[103,51],[89,52],[129,53],[130,54],[105,55],[108,55],[127,53],[128,53],[118,53],[117,56],[115,53],[110,53],[123,53],[121,53],[125,53],[109,53],[122,53],[126,53],[111,53],[112,53],[124,53],[106,53],[113,53],[114,53],[116,53],[120,53],[131,57],[119,53],[107,53],[144,58],[138,57],[140,59],[139,57],[132,57],[133,57],[135,57],[137,57],[141,59],[142,59],[134,59],[136,59],[147,60]],"semanticDiagnosticsPerFile":[81,79,84,80,82,83,86,90,91,92,95,93,88,94,96,87,97,34,36,37,38,39,40,41,42,43,44,45,46,47,48,35,76,49,50,51,77,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,98,99,104,100,101,103,102,78,89,129,130,105,108,127,128,118,117,115,110,123,121,125,109,122,126,111,112,124,106,113,114,116,120,131,119,107,144,143,138,140,139,132,133,135,137,141,142,134,136,145,147,85,146,1,7,11,10,3,12,13,14,15,16,17,18,19,4,5,23,20,21,22,24,25,26,6,27,28,29,30,31,2,32,9,8,33]},"version":"4.8.4"} \ No newline at end of file diff --git a/packages/typescript/test/test.js b/packages/typescript/test/test.js index 127f98e19..efed9b397 100644 --- a/packages/typescript/test/test.js +++ b/packages/typescript/test/test.js @@ -101,6 +101,34 @@ test.serial('ensures declarationDir is located in Rollup output dir', async (t) ); }); +test.serial( + 'ensures declarationDir is located in Rollup output directory when output.file is used', + async (t) => { + const bundle = await rollup({ + input: 'fixtures/basic/main.ts', + plugins: [ + typescript({ + tsconfig: 'fixtures/basic/tsconfig.json', + declarationDir: 'fixtures/basic/other/', + declaration: true + }) + ], + onwarn + }); + + // this should throw an error just like the equivalent setup using output.dir above + const wrongDirError = await t.throwsAsync(() => + getCode(bundle, { format: 'es', file: 'fixtures/basic/dist/index.js' }, true) + ); + t.true( + wrongDirError.message.includes( + `Path of Typescript compiler option 'declarationDir' must be located inside the same directory as the Rollup 'file' option` + ), + `Unexpected error message: ${wrongDirError.message}` + ); + } +); + test.serial('ensures multiple outputs can be built', async (t) => { // In a rollup.config.js we would pass an array // The rollup method that's exported as a library won't do that so we must make two calls @@ -1236,6 +1264,119 @@ test('supports custom transformers', async (t) => { ); }); +test('supports passing a custom transformers factory', async (t) => { + const warnings = []; + + let program = null; + let typeChecker = null; + + const bundle = await rollup({ + input: 'fixtures/transformers/main.ts', + plugins: [ + typescript({ + tsconfig: 'fixtures/transformers/tsconfig.json', + outDir: 'fixtures/transformers/dist', + declaration: true, + transformers: (p) => { + program = p; + typeChecker = p.getTypeChecker(); + return { + before: [ + function removeOneParameterFactory(context) { + return function removeOneParameter(source) { + function visitor(node) { + if (ts.isArrowFunction(node)) { + return ts.factory.createArrowFunction( + node.modifiers, + node.typeParameters, + [node.parameters[0]], + node.type, + node.equalsGreaterThanToken, + node.body + ); + } + + return ts.visitEachChild(node, visitor, context); + } + + return ts.visitEachChild(source, visitor, context); + }; + } + ], + after: [ + // Enforce a constant numeric output + function enforceConstantReturnFactory(context) { + return function enforceConstantReturn(source) { + function visitor(node) { + if (ts.isReturnStatement(node)) { + return ts.factory.createReturnStatement(ts.factory.createNumericLiteral('1')); + } + + return ts.visitEachChild(node, visitor, context); + } + + return ts.visitEachChild(source, visitor, context); + }; + } + ], + afterDeclarations: [ + // Change the return type to numeric + function fixDeclarationFactory(context) { + return function fixDeclaration(source) { + function visitor(node) { + if (ts.isFunctionTypeNode(node)) { + return ts.factory.createFunctionTypeNode( + node.typeParameters, + [node.parameters[0]], + ts.factory.createKeywordTypeNode(ts.SyntaxKind.NumberKeyword) + ); + } + + return ts.visitEachChild(node, visitor, context); + } + + return ts.visitEachChild(source, visitor, context); + }; + } + ] + }; + } + }) + ], + onwarn(warning) { + warnings.push(warning); + } + }); + + const output = await getCode(bundle, { format: 'esm', dir: 'fixtures/transformers' }, true); + + t.is(warnings.length, 0); + t.deepEqual( + output.map((out) => out.fileName), + ['main.js', 'dist/main.d.ts'] + ); + + // Expect the function to have one less arguments from before transformer and return 1 from after transformer + t.true(output[0].code.includes('var HashFn = function (val) { return 1; };'), output[0].code); + + // Expect the definition file to reflect the resulting function type after transformer modifications + t.true( + output[1].source.includes('export declare const HashFn: (val: string) => number;'), + output[1].source + ); + + // Expect a Program to have been forwarded for transformers with custom factories requesting one + t.deepEqual(program && program.emit && typeof program.emit === 'function', true); + + // Expect a TypeChecker to have been forwarded for transformers with custom factories requesting one + t.deepEqual( + typeChecker && + typeChecker.getTypeAtLocation && + typeof typeChecker.getTypeAtLocation === 'function', + true + ); +}); + // This test randomly fails with a segfault directly at the first "await waitForWatcherEvent" before any event occurred. // Skipping it until we can figure out what the cause is. test.serial.skip('picks up on newly included typescript files in watch mode', async (t) => { diff --git a/packages/typescript/types/index.d.ts b/packages/typescript/types/index.d.ts index 6d4a30f00..4db1c5d06 100644 --- a/packages/typescript/types/index.d.ts +++ b/packages/typescript/types/index.d.ts @@ -75,7 +75,7 @@ export interface RollupTypescriptPluginOptions { /** * TypeScript custom transformers */ - transformers?: CustomTransformerFactories; + transformers?: CustomTransformerFactories | ((program: Program) => CustomTransformers); /** * When set to false, force non-cached files to always be emitted in the output directory.output * If not set, will default to true with a warning. diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a34835556..767e65c89 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,30 +8,18 @@ importers: .: devDependencies: - '@ava/babel': - specifier: 2.0.0 - version: 2.0.0 '@dot/versioner': specifier: ^0.3.1 version: 0.3.1 '@rollup/plugin-typescript': specifier: ^9.0.1 - version: 9.0.1(rollup@4.0.0-24)(typescript@4.8.4) - '@types/conventional-commits-parser': - specifier: ^3.0.2 - version: 3.0.2 + version: 9.0.1(typescript@4.8.4) '@types/node': specifier: 14.18.30 version: 14.18.30 - '@types/semver': - specifier: ^7.3.7 - version: 7.3.12 '@types/source-map-support': specifier: ^0.5.4 version: 0.5.6 - '@types/yargs-parser': - specifier: ^20.2.1 - version: 20.2.2 '@typescript-eslint/eslint-plugin': specifier: ^5.38.0 version: 5.39.0(@typescript-eslint/parser@5.39.0)(eslint@8.57.0)(typescript@4.8.4) @@ -47,9 +35,6 @@ importers: codecov-lite: specifier: 2.0.0 version: 2.0.0 - conventional-commits-parser: - specifier: ^3.2.1 - version: 3.2.4 del-cli: specifier: ^5.0.0 version: 5.0.0 @@ -80,36 +65,17 @@ importers: prettier-plugin-package: specifier: ^1.3.0 version: 1.3.0(prettier@2.8.8) - semver: - specifier: ^7.3.2 - version: 7.3.8 source-map-support: specifier: ^0.5.21 version: 0.5.21 ts-node: specifier: 10.9.1 version: 10.9.1(@types/node@14.18.30)(typescript@4.8.4) - tsconfig-paths: - specifier: ^3.9.0 - version: 3.14.1 typescript: specifier: ^4.8.3 version: 4.8.4 - write-pkg: - specifier: ^4.0.0 - version: 4.0.0 - yaml: - specifier: ^1.10.0 - version: 1.10.2 - yargs-parser: - specifier: ^20.2.9 - version: 20.2.9 packages/alias: - dependencies: - slash: - specifier: ^4.0.0 - version: 4.0.0 devDependencies: '@rollup/plugin-node-resolve': specifier: ^15.0.0 @@ -524,9 +490,6 @@ importers: deepmerge: specifier: ^4.2.2 version: 4.2.2 - is-builtin-module: - specifier: ^3.2.1 - version: 3.2.1 is-module: specifier: ^1.0.0 version: 1.0.0 @@ -853,40 +816,6 @@ packages: '@jridgewell/trace-mapping': 0.3.16 dev: true - /@ava/babel@2.0.0: - resolution: {integrity: sha512-50ol1X2AOuX82UskqQYx7XCvv/05GQA2dib/n4XP99sg63fIVtzwpPZ7amLN7mghhGRr2fjXFbuRgJ4+VeDsIg==} - engines: {node: '>=12.22 <13 || >=14.16 <15 || >=16'} - dependencies: - '@ava/require-precompiled': 1.0.0 - '@babel/core': 7.19.3 - '@babel/generator': 7.19.4 - '@babel/plugin-proposal-dynamic-import': 7.18.6(@babel/core@7.19.3) - '@babel/plugin-proposal-nullish-coalescing-operator': 7.18.6(@babel/core@7.19.3) - '@babel/plugin-proposal-optional-chaining': 7.18.9(@babel/core@7.19.3) - '@babel/plugin-transform-modules-commonjs': 7.18.6(@babel/core@7.19.3) - babel-plugin-espower: 3.0.1 - concordance: 5.0.4 - convert-source-map: 1.8.0 - dot-prop: 6.0.1 - empower-core: 1.2.0 - escape-string-regexp: 4.0.0 - find-up: 5.0.0 - is-plain-object: 5.0.0 - md5-hex: 3.0.1 - package-hash: 4.0.0 - pkg-conf: 3.1.0 - source-map-support: 0.5.21 - strip-bom-buf: 2.0.0 - write-file-atomic: 3.0.3 - transitivePeerDependencies: - - supports-color - dev: true - - /@ava/require-precompiled@1.0.0: - resolution: {integrity: sha512-N7w4g+P/SUL8SF+HC4Z4e/ctV6nQ5AERC90K90r4xZQ8WVrJux9albvfyYAzygyU47CSqMWh6yJwFs8DYaeWmg==} - engines: {node: '>=10'} - dev: true - /@babel/code-frame@7.18.6: resolution: {integrity: sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==} engines: {node: '>=6.9.0'} @@ -2448,6 +2377,24 @@ packages: typescript: 4.8.4 dev: true + /@rollup/plugin-typescript@9.0.1(typescript@4.8.4): + resolution: {integrity: sha512-fj+CTk8+HvFCEwwDQdNgWd0lIJVXtMQ0Z3vH/ZgzFSbK2s1zs5wjZrjzrhViTTN+UF49+P69/tybgKRdGHpj/Q==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^2.14.0||^3.0.0 + tslib: '*' + typescript: '>=3.7.0' + peerDependenciesMeta: + rollup: + optional: true + tslib: + optional: true + dependencies: + '@rollup/pluginutils': 4.2.1 + resolve: 1.22.1 + typescript: 4.8.4 + dev: true + /@rollup/plugin-virtual@3.0.0(rollup@4.0.0-24): resolution: {integrity: sha512-K9KORe1myM62o0lKkNR4MmCxjwuAXsZEtIHpaILfv4kILXTOrXt/R2ha7PzMcCHPYdnkWPiBZK8ed4Zr3Ll5lQ==} engines: {node: '>=14.0.0'} @@ -2809,12 +2756,6 @@ packages: '@types/responselike': 1.0.0 dev: true - /@types/conventional-commits-parser@3.0.2: - resolution: {integrity: sha512-1kVPUHFaart1iGRFxKn8WNXYEDVAgMb+DLatgql2dGg9jTGf3bNxWtN//C/tDG3ckOLg4u7SSx+qcn8VjzI5zg==} - dependencies: - '@types/node': 14.18.30 - dev: true - /@types/d3-dsv@3.0.0: resolution: {integrity: sha512-o0/7RlMl9p5n6FQDptuJVMxDf/7EDEv2SYEO/CwdG2tr1hTfUVi0Iavkk2ax+VpaQ/1jVhpnj5rq1nj8vwhn2A==} dev: false @@ -2893,10 +2834,6 @@ packages: source-map: 0.6.1 dev: true - /@types/yargs-parser@20.2.2: - resolution: {integrity: sha512-sUWMriymrSqTvxCmCkf+7k392TNDcMJBHI1/rysWJxKnWAan/Zk4gZ/GEieSRo4EqIEPpbGU3Sd/0KTRoIA3pA==} - dev: true - /@typescript-eslint/eslint-plugin@5.39.0(@typescript-eslint/parser@5.39.0)(eslint@8.57.0)(typescript@4.8.4): resolution: {integrity: sha512-xVfKOkBm5iWMNGKQ2fwX5GVgBuHmZBO1tCRwXmY5oAIsPscfwm2UADDuNB8ZVYCtpQvJK4xpjrK7jEhcJ0zY9A==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -3468,18 +3405,6 @@ packages: object.assign: 4.1.4 dev: true - /babel-plugin-espower@3.0.1: - resolution: {integrity: sha512-Ms49U7VIAtQ/TtcqRbD6UBmJBUCSxiC3+zPc+eGqxKUIFO1lTshyEDRUjhoAbd2rWfwYf3cZ62oXozrd8W6J0A==} - dependencies: - '@babel/generator': 7.19.4 - '@babel/parser': 7.19.4 - call-matcher: 1.1.0 - core-js: 2.6.12 - espower-location-detector: 1.0.0 - espurify: 1.8.1 - estraverse: 4.3.0 - dev: true - /babel-plugin-polyfill-corejs2@0.3.3(@babel/core@7.19.3): resolution: {integrity: sha512-8hOdmFYFSZhqg2C/JgLUQ+t52o5nirNwaWM2B9LWteozwIvM14VSwdsCAUET10qT+kmySAlseadmfeeSWFCy+Q==} peerDependencies: @@ -3578,6 +3503,7 @@ packages: /builtin-modules@3.3.0: resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} engines: {node: '>=6'} + dev: true /cacheable-lookup@5.0.4: resolution: {integrity: sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA==} @@ -3614,20 +3540,6 @@ packages: get-intrinsic: 1.1.3 dev: true - /call-matcher@1.1.0: - resolution: {integrity: sha512-IoQLeNwwf9KTNbtSA7aEBb1yfDbdnzwjCetjkC8io5oGeOmK2CBNdg0xr+tadRYKO0p7uQyZzvon0kXlZbvGrw==} - dependencies: - core-js: 2.6.12 - deep-equal: 1.1.1 - espurify: 1.8.1 - estraverse: 4.3.0 - dev: true - - /call-signature@0.0.2: - resolution: {integrity: sha512-qvYvkAVcoae0obt8OsZn0VEBHeEpvYIZDy1gGYtZDJG0fHawew+Mi0dBjieFz8F8dzQ2Kr19+nsDm+T5XFVs+Q==} - engines: {node: '>=0.10.0'} - dev: true - /callsites@3.1.0: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} engines: {node: '>=6'} @@ -3910,12 +3822,6 @@ packages: browserslist: 4.21.4 dev: true - /core-js@2.6.12: - resolution: {integrity: sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==} - deprecated: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js. - requiresBuild: true - dev: true - /cosmiconfig@7.0.1: resolution: {integrity: sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ==} engines: {node: '>=10'} @@ -4135,17 +4041,6 @@ packages: resolution: {integrity: sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==} dev: true - /deep-equal@1.1.1: - resolution: {integrity: sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g==} - dependencies: - is-arguments: 1.1.1 - is-date-object: 1.0.5 - is-regex: 1.1.4 - object-is: 1.1.5 - object-keys: 1.1.1 - regexp.prototype.flags: 1.4.3 - dev: true - /deep-is@0.1.4: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} @@ -4271,13 +4166,6 @@ packages: domhandler: 4.3.1 dev: true - /dot-prop@6.0.1: - resolution: {integrity: sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA==} - engines: {node: '>=10'} - dependencies: - is-obj: 2.0.0 - dev: true - /eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} @@ -4296,13 +4184,6 @@ packages: /emoji-regex@9.2.2: resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} - /empower-core@1.2.0: - resolution: {integrity: sha512-g6+K6Geyc1o6FdXs9HwrXleCFan7d66G5xSCfSF7x1mJDCes6t0om9lFQG3zOrzh3Bkb/45N0cZ5Gqsf7YrzGQ==} - dependencies: - call-signature: 0.0.2 - core-js: 2.6.12 - dev: true - /end-of-stream@1.4.4: resolution: {integrity: sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==} dependencies: @@ -4759,15 +4640,6 @@ packages: engines: {node: '>=6'} dev: true - /espower-location-detector@1.0.0: - resolution: {integrity: sha512-Y/3H6ytYwqC3YcOc0gOU22Lp3eI5GAFGOymTdzFyfaiglKgtsw2dePOgXY3yrV+QcLPMPiVYwBU9RKaDoh2bbQ==} - dependencies: - is-url: 1.2.4 - path-is-absolute: 1.0.1 - source-map: 0.5.7 - xtend: 4.0.2 - dev: true - /espree@9.4.0: resolution: {integrity: sha512-DQmnRpLj7f6TgN/NYb0MTzJXL+vJF9h3pHy4JhCIs3zwcgez8xmGg3sXHcEO97BrmO2OSvCwMdfdlyl+E9KjOw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -4791,12 +4663,6 @@ packages: hasBin: true dev: true - /espurify@1.8.1: - resolution: {integrity: sha512-ZDko6eY/o+D/gHCWyHTU85mKDgYcS4FJj7S+YD6WIInm7GQ6AnOjmcL4+buFV/JOztVLELi/7MmuGU5NHta0Mg==} - dependencies: - core-js: 2.6.12 - dev: true - /esquery@1.4.0: resolution: {integrity: sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==} engines: {node: '>=0.10'} @@ -4918,13 +4784,6 @@ packages: pkg-dir: 4.2.0 dev: true - /find-up@3.0.0: - resolution: {integrity: sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==} - engines: {node: '>=6'} - dependencies: - locate-path: 3.0.0 - dev: true - /find-up@4.1.0: resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} engines: {node: '>=8'} @@ -5378,14 +5237,6 @@ packages: engines: {node: '>=8'} dev: true - /is-arguments@1.1.1: - resolution: {integrity: sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.2 - has-tostringtag: 1.0.0 - dev: true - /is-arrayish@0.2.1: resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} dev: true @@ -5418,13 +5269,6 @@ packages: builtin-modules: 3.3.0 dev: true - /is-builtin-module@3.2.1: - resolution: {integrity: sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==} - engines: {node: '>=6'} - dependencies: - builtin-modules: 3.3.0 - dev: false - /is-callable@1.2.7: resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==} engines: {node: '>= 0.4'} @@ -5489,11 +5333,6 @@ packages: engines: {node: '>=0.10.0'} dev: true - /is-obj@2.0.0: - resolution: {integrity: sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==} - engines: {node: '>=8'} - dev: true - /is-path-cwd@2.2.0: resolution: {integrity: sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ==} engines: {node: '>=6'} @@ -5592,14 +5431,6 @@ packages: engines: {node: '>=12'} dev: true - /is-url@1.2.4: - resolution: {integrity: sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww==} - dev: true - - /is-utf8@0.2.1: - resolution: {integrity: sha512-rMYPYvCzsXywIsldgLaSoPlw5PfoB/ssr7hY4pLfcodrA5M/eArza1a9VmTiNIBNMjOGr1Ow9mTyU2o69U6U9Q==} - dev: true - /is-weakref@1.0.2: resolution: {integrity: sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==} dependencies: @@ -5731,10 +5562,6 @@ packages: resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} dev: true - /json-parse-better-errors@1.0.2: - resolution: {integrity: sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==} - dev: true - /json-parse-even-better-errors@2.3.1: resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} dev: true @@ -5840,17 +5667,6 @@ packages: wrap-ansi: 7.0.0 dev: true - /load-json-file@5.3.0: - resolution: {integrity: sha512-cJGP40Jc/VXUsp8/OrnyKyTZ1y6v/dphm3bioS+RrKXjK2BB6wHUd6JptZEFDGgGahMT+InnZO5i1Ei9mpC8Bw==} - engines: {node: '>=6'} - dependencies: - graceful-fs: 4.2.10 - parse-json: 4.0.0 - pify: 4.0.1 - strip-bom: 3.0.0 - type-fest: 0.3.1 - dev: true - /load-json-file@7.0.1: resolution: {integrity: sha512-Gnxj3ev3mB5TkVBGad0JM6dmLiQL+o0t23JPBZ9sd+yvSLk05mFoqKBw5N8gbbkU4TNXyqCgIrl/VM17OgUIgQ==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -5865,14 +5681,6 @@ packages: resolution: {integrity: sha512-n2GmejDXtOPBAZdIiEFy5dJ5N38xBCXLNOtw2WpB9kGh6pnrEuKlwYI+Tkpofc4wDtVXHtoAOJaMRlYG/oYaxg==} dev: true - /locate-path@3.0.0: - resolution: {integrity: sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==} - engines: {node: '>=6'} - dependencies: - p-locate: 3.0.0 - path-exists: 3.0.0 - dev: true - /locate-path@5.0.0: resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} engines: {node: '>=8'} @@ -6327,14 +6135,6 @@ packages: resolution: {integrity: sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==} dev: true - /object-is@1.1.5: - resolution: {integrity: sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.2 - define-properties: 1.1.4 - dev: true - /object-keys@1.1.1: resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==} engines: {node: '>= 0.4'} @@ -6441,13 +6241,6 @@ packages: yocto-queue: 1.0.0 dev: true - /p-locate@3.0.0: - resolution: {integrity: sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==} - engines: {node: '>=6'} - dependencies: - p-limit: 2.3.0 - dev: true - /p-locate@4.1.0: resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} engines: {node: '>=8'} @@ -6530,14 +6323,6 @@ packages: dependencies: callsites: 3.1.0 - /parse-json@4.0.0: - resolution: {integrity: sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==} - engines: {node: '>=4'} - dependencies: - error-ex: 1.3.2 - json-parse-better-errors: 1.0.2 - dev: true - /parse-json@5.2.0: resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} engines: {node: '>=8'} @@ -6553,11 +6338,6 @@ packages: engines: {node: '>=6'} dev: true - /path-exists@3.0.0: - resolution: {integrity: sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==} - engines: {node: '>=4'} - dev: true - /path-exists@4.0.0: resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} engines: {node: '>=8'} @@ -6619,14 +6399,6 @@ packages: engines: {node: '>= 6'} dev: false - /pkg-conf@3.1.0: - resolution: {integrity: sha512-m0OTbR/5VPNPqO1ph6Fqbj7Hv6QU7gR/tQW40ZqrL1rjgCU85W6C1bJn0BItuJqnR98PWzw7Z8hHeChD1WrgdQ==} - engines: {node: '>=6'} - dependencies: - find-up: 3.0.0 - load-json-file: 5.3.0 - dev: true - /pkg-conf@4.0.0: resolution: {integrity: sha512-7dmgi4UY4qk+4mj5Cd8v/GExPo0K+SlY+hulOSdfZ/T6jVH6//y7NtzZo5WrfhDBxuQ0jCa7fLZmNaNh7EWL/w==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -7540,6 +7312,7 @@ packages: /slash@4.0.0: resolution: {integrity: sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==} engines: {node: '>=12'} + dev: true /slice-ansi@3.0.0: resolution: {integrity: sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==} @@ -7593,11 +7366,6 @@ packages: buffer-from: 1.1.2 source-map: 0.6.1 - /source-map@0.5.7: - resolution: {integrity: sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==} - engines: {node: '>=0.10.0'} - dev: true - /source-map@0.6.1: resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} engines: {node: '>=0.10.0'} @@ -7745,13 +7513,6 @@ packages: ansi-regex: 6.0.1 dev: false - /strip-bom-buf@2.0.0: - resolution: {integrity: sha512-gLFNHucd6gzb8jMsl5QmZ3QgnUJmp7qn4uUSHNwEXumAp7YizoGYw19ZUVfuq4aBOQUtyn2k8X/CwzWB73W2lQ==} - engines: {node: '>=8'} - dependencies: - is-utf8: 0.2.1 - dev: true - /strip-bom@3.0.0: resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==} engines: {node: '>=4'} @@ -8029,11 +7790,6 @@ packages: engines: {node: '>=10'} dev: true - /type-fest@0.3.1: - resolution: {integrity: sha512-cUGJnCdr4STbePCgqNFbpVNCepa+kAVohJs1sLhxzdH+gnEoOd8VhbYa7pD3zZYGiURWM2xzEII3fQcRizDkYQ==} - engines: {node: '>=6'} - dev: true - /type-fest@0.4.1: resolution: {integrity: sha512-IwzA/LSfD2vC1/YDYMv/zHP4rDF1usCwllsDpbolT3D4fUepIO7f9K70jjmUewU/LmGUKJcwcVtDCpnKk4BPMw==} engines: {node: '>=6'} @@ -8271,11 +8027,6 @@ packages: write-json-file: 3.2.0 dev: true - /xtend@4.0.2: - resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==} - engines: {node: '>=0.4'} - dev: true - /y18n@4.0.3: resolution: {integrity: sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==} dev: true