From e7763d7b8d1d1ddd90cd56bf775aaeae6d843b04 Mon Sep 17 00:00:00 2001 From: Lukas Taegert-Atkinson Date: Fri, 30 Sep 2022 07:07:16 +0200 Subject: [PATCH] fix(typescript): prepare for Rollup 3 BREAKING CHANGES: Requires Node 14 --- packages/typescript/README.md | 2 +- packages/typescript/ava.config.js | 1 - packages/typescript/ava.config.mjs | 1 + packages/typescript/package.json | 28 +++++---- packages/typescript/rollup.config.js | 15 ----- packages/typescript/rollup.config.mjs | 7 +++ packages/typescript/src/customTransformers.ts | 2 +- .../typescript/src/diagnostics/toWarning.ts | 4 +- packages/typescript/src/index.ts | 2 +- packages/typescript/src/options/interfaces.ts | 4 +- packages/typescript/src/options/plugin.ts | 2 +- packages/typescript/src/options/tsconfig.ts | 2 +- packages/typescript/src/watchProgram.ts | 2 +- packages/typescript/test/declarations.ts | 19 +++--- .../incremental-single/tsconfig.tsbuildinfo | 2 +- .../typescript/test/snapshots/tslib.ts.snap | Bin 574 -> 590 bytes .../test/snapshots/warnings.ts.snap | Bin 450 -> 475 bytes packages/typescript/test/test.js | 57 +++++++++--------- packages/typescript/test/tslib.ts | 5 +- pnpm-lock.yaml | 38 +++--------- shared/rollup.config.mjs | 4 +- tsconfig.base.json | 2 +- 22 files changed, 87 insertions(+), 112 deletions(-) delete mode 120000 packages/typescript/ava.config.js create mode 120000 packages/typescript/ava.config.mjs delete mode 100644 packages/typescript/rollup.config.js create mode 100644 packages/typescript/rollup.config.mjs diff --git a/packages/typescript/README.md b/packages/typescript/README.md index 047d5d2a6..b15eeb6f9 100644 --- a/packages/typescript/README.md +++ b/packages/typescript/README.md @@ -13,7 +13,7 @@ ## Requirements -This plugin requires an [LTS](https://github.com/nodejs/Release) Node version (v8.0.0+) and Rollup v1.20.0+. This plugin also requires at least [TypeScript 3.7](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html). +This plugin requires an [LTS](https://github.com/nodejs/Release) Node version (v14.0.0+) and Rollup v2.14.0+. This plugin also requires at least [TypeScript 3.7](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html). ## Install diff --git a/packages/typescript/ava.config.js b/packages/typescript/ava.config.js deleted file mode 120000 index 9c726dbb2..000000000 --- a/packages/typescript/ava.config.js +++ /dev/null @@ -1 +0,0 @@ -../../shared/ava.config.js \ No newline at end of file diff --git a/packages/typescript/ava.config.mjs b/packages/typescript/ava.config.mjs new file mode 120000 index 000000000..e75878a8b --- /dev/null +++ b/packages/typescript/ava.config.mjs @@ -0,0 +1 @@ +../../shared/ava.config.mjs \ No newline at end of file diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 9179159e5..ec8481d1f 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -13,10 +13,14 @@ "author": "Oskar Segersvärd", "homepage": "https://github.com/rollup/plugins/tree/master/packages/typescript/#readme", "bugs": "https://github.com/rollup/plugins/issues", - "main": "dist/index.js", - "module": "dist/index.es.js", + "main": "./dist/cjs/index.js", + "module": "./dist/es/index.js", + "exports": { + "require": "./dist/cjs/index.js", + "import": "./dist/es/index.js" + }, "engines": { - "node": ">=8.0.0" + "node": ">=14.0.0" }, "scripts": { "build": "rollup -c", @@ -33,7 +37,7 @@ "test:ts": "tsc --noEmit" }, "files": [ - "dist", + "dist/**/*.{js,json}", "types", "README.md", "LICENSE" @@ -45,27 +49,29 @@ "es2015" ], "peerDependencies": { - "rollup": "^2.14.0", + "rollup": "^2.14.0||^3.0.0", "tslib": "*", "typescript": ">=3.7.0" }, "peerDependenciesMeta": { + "rollup": { + "optional": true + }, "tslib": { "optional": true } }, "dependencies": { - "@rollup/pluginutils": "^3.1.0", - "resolve": "^1.17.0" + "@rollup/pluginutils": "^4.2.1", + "resolve": "^1.22.1" }, "devDependencies": { "@rollup/plugin-buble": "^0.21.3", - "@rollup/plugin-commonjs": "^11.1.0", - "@rollup/plugin-typescript": "^5.0.2", - "@types/node": "^10.0.0", + "@rollup/plugin-commonjs": "^22.0.2", + "@types/node": "^14.18.30", "buble": "^0.20.0", "rollup": "^2.67.3", - "typescript": "^4.7.3" + "typescript": "^4.8.3" }, "types": "types/index.d.ts" } diff --git a/packages/typescript/rollup.config.js b/packages/typescript/rollup.config.js deleted file mode 100644 index f7744ffab..000000000 --- a/packages/typescript/rollup.config.js +++ /dev/null @@ -1,15 +0,0 @@ -import typescript from '@rollup/plugin-typescript'; - -import pkg from './package.json'; - -const external = Object.keys(pkg.dependencies).concat(['path', 'fs', 'typescript']); - -export default { - input: 'src/index.ts', - plugins: [typescript({ sourceMap: false })], - external, - output: [ - { format: 'cjs', file: pkg.main, exports: 'auto' }, - { format: 'esm', file: pkg.module } - ] -}; diff --git a/packages/typescript/rollup.config.mjs b/packages/typescript/rollup.config.mjs new file mode 100644 index 000000000..2a28aaaf6 --- /dev/null +++ b/packages/typescript/rollup.config.mjs @@ -0,0 +1,7 @@ +import { readFileSync } from 'fs'; + +import { createConfig } from '../../shared/rollup.config.mjs'; + +export default createConfig({ + pkg: JSON.parse(readFileSync(new URL('./package.json', import.meta.url), 'utf8')) +}); diff --git a/packages/typescript/src/customTransformers.ts b/packages/typescript/src/customTransformers.ts index cb494ab14..dff1df30f 100644 --- a/packages/typescript/src/customTransformers.ts +++ b/packages/typescript/src/customTransformers.ts @@ -1,6 +1,6 @@ import { BuilderProgram, CustomTransformers, Program, TypeChecker } from 'typescript'; -import { CustomTransformerFactories, TransformerStage, TransformerFactory } from '../types'; +import type { CustomTransformerFactories, TransformerStage, TransformerFactory } from '../types'; /** * Merges all received custom transformer definitions into a single CustomTransformers object diff --git a/packages/typescript/src/diagnostics/toWarning.ts b/packages/typescript/src/diagnostics/toWarning.ts index 4274e90ea..713ab68a5 100644 --- a/packages/typescript/src/diagnostics/toWarning.ts +++ b/packages/typescript/src/diagnostics/toWarning.ts @@ -1,4 +1,4 @@ -import { RollupLogProps } from 'rollup'; +import { RollupWarning } from 'rollup'; import type { Diagnostic, FormatDiagnosticsHost } from 'typescript'; /** @@ -13,7 +13,7 @@ export default function diagnosticToWarning( const message = ts.flattenDiagnosticMessageText(diagnostic.messageText, '\n'); // Build a Rollup warning object from the diagnostics object. - const warning: RollupLogProps = { + const warning: RollupWarning = { pluginCode, message: `@rollup/plugin-typescript ${pluginCode}: ${message}` }; diff --git a/packages/typescript/src/index.ts b/packages/typescript/src/index.ts index 18963a878..4aef44624 100644 --- a/packages/typescript/src/index.ts +++ b/packages/typescript/src/index.ts @@ -5,7 +5,7 @@ import { createFilter } from '@rollup/pluginutils'; import { Plugin, RollupOptions, SourceDescription } from 'rollup'; import type { Watch } from 'typescript'; -import { RollupTypescriptOptions } from '../types'; +import type { RollupTypescriptOptions } from '../types'; import createFormattingHost from './diagnostics/host'; import createModuleResolver from './moduleResolution'; diff --git a/packages/typescript/src/options/interfaces.ts b/packages/typescript/src/options/interfaces.ts index 618e49339..f395ee08a 100644 --- a/packages/typescript/src/options/interfaces.ts +++ b/packages/typescript/src/options/interfaces.ts @@ -1,8 +1,8 @@ import type { CompilerOptions } from 'typescript'; -import { PartialCompilerOptions } from '../../types'; +import type { PartialCompilerOptions } from '../../types'; -export { EnumCompilerOptions, JsonCompilerOptions } from '../../types'; +export type { EnumCompilerOptions, JsonCompilerOptions } from '../../types'; export { PartialCompilerOptions }; /** Typescript compiler options */ diff --git a/packages/typescript/src/options/plugin.ts b/packages/typescript/src/options/plugin.ts index 30952fdb9..f251160ab 100644 --- a/packages/typescript/src/options/plugin.ts +++ b/packages/typescript/src/options/plugin.ts @@ -1,6 +1,6 @@ import * as defaultTs from 'typescript'; -import { RollupTypescriptOptions, PartialCompilerOptions } from '../../types'; +import type { RollupTypescriptOptions, PartialCompilerOptions } from '../../types'; import { getTsLibPath } from '../tslib'; /** diff --git a/packages/typescript/src/options/tsconfig.ts b/packages/typescript/src/options/tsconfig.ts index b56d87311..ae8263d0a 100644 --- a/packages/typescript/src/options/tsconfig.ts +++ b/packages/typescript/src/options/tsconfig.ts @@ -15,7 +15,7 @@ import { WatchOptions } from 'typescript'; -import { RollupTypescriptOptions } from '../../types'; +import type { RollupTypescriptOptions } from '../../types'; import diagnosticToWarning from '../diagnostics/toWarning'; import { diff --git a/packages/typescript/src/watchProgram.ts b/packages/typescript/src/watchProgram.ts index 9d49ffef4..47b1606a8 100644 --- a/packages/typescript/src/watchProgram.ts +++ b/packages/typescript/src/watchProgram.ts @@ -10,7 +10,7 @@ import type { WriteFileCallback } from 'typescript'; -import { CustomTransformerFactories } from '../types'; +import type { CustomTransformerFactories } from '../types'; import { buildDiagnosticReporter } from './diagnostics/emit'; import { DiagnosticsHost } from './diagnostics/host'; diff --git a/packages/typescript/test/declarations.ts b/packages/typescript/test/declarations.ts index b5eaedbba..36ccdc85c 100644 --- a/packages/typescript/test/declarations.ts +++ b/packages/typescript/test/declarations.ts @@ -1,4 +1,5 @@ -import test, { ExecutionContext } from 'ava'; +import test from 'ava'; +import type { ExecutionContext } from 'ava'; import { rollup } from 'rollup'; import typescript from '..'; @@ -22,7 +23,7 @@ test.serial('supports creating declaration files', async (t) => { ], onwarn }); - const output = await getCode(bundle, { format: 'esm', dir: 'fixtures/basic/dist' }, true); + const output = await getCode(bundle, { format: 'es', dir: 'fixtures/basic/dist' }, true); const declaration = output[1].source as string; t.deepEqual( @@ -46,7 +47,7 @@ test.serial('supports creating declaration files in subfolder', async (t) => { ], onwarn }); - const output = await getCode(bundle, { format: 'esm', dir: 'fixtures/basic/dist' }, true); + const output = await getCode(bundle, { format: 'es', dir: 'fixtures/basic/dist' }, true); const declaration = output[1].source as string; t.deepEqual( @@ -70,7 +71,7 @@ test.serial('supports creating declarations with non-default rootDir', async (t) }); const output = await getCode( bundle, - { format: 'esm', dir: 'fixtures/declaration-root-dir/lib' }, + { format: 'es', dir: 'fixtures/declaration-root-dir/lib' }, true ); @@ -96,7 +97,7 @@ test.serial('supports creating declaration files for interface only source file' const output = await getCode( bundle, - { format: 'esm', dir: 'fixtures/export-interface-only/dist' }, + { format: 'es', dir: 'fixtures/export-interface-only/dist' }, true ); const declaration = output[1].source as string; @@ -128,7 +129,7 @@ test.serial('supports creating declaration files in declarationDir', async (t) = ], onwarn }); - const output = await getCode(bundle, { format: 'esm', dir: 'fixtures/basic/dist' }, true); + const output = await getCode(bundle, { format: 'es', dir: 'fixtures/basic/dist' }, true); const declaration = output[1].source as string; t.deepEqual( @@ -154,14 +155,14 @@ async function ensureOutDirWhenCreatingDeclarationFiles( onwarn }); const caughtError = await t.throwsAsync(() => - getCode(bundle, { format: 'esm', dir: 'fixtures/basic/dist' }, true) + getCode(bundle, { format: 'es', dir: 'fixtures/basic/dist' }, true) ); t.true( - caughtError.message.includes( + caughtError!.message.includes( `'outDir' or 'declarationDir' must be specified to generate declaration files` ), - `Unexpected error message: ${caughtError.message}` + `Unexpected error message: ${caughtError!.message}` ); } diff --git a/packages/typescript/test/fixtures/incremental-single/tsconfig.tsbuildinfo b/packages/typescript/test/fixtures/incremental-single/tsconfig.tsbuildinfo index 3d6174612..77f756f64 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.7.3/node_modules/typescript/lib/lib.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.es5.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.dom.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.scripthost.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../../node_modules/.pnpm/typescript@4.7.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","./main.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/globals.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/async_hooks.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/buffer.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/child_process.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/cluster.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/console.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/constants.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/crypto.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/dgram.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/dns.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/domain.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/events.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/fs.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/http.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/http2.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/https.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/inspector.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/module.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/net.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/os.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/path.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/perf_hooks.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/process.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/punycode.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/querystring.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/readline.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/repl.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/stream.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/string_decoder.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/timers.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/tls.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/trace_events.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/tty.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/url.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/util.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/v8.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/vm.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/worker_threads.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/zlib.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/ts3.6/base.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/assert.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/base.d.ts","../../../../../node_modules/.pnpm/@types+node@10.17.48/node_modules/@types/node/index.d.ts","../../../../../node_modules/.pnpm/@babel+types@7.12.1/node_modules/@babel/types/lib/index.d.ts","../../../../../node_modules/.pnpm/@types+babel__generator@7.6.2/node_modules/@types/babel__generator/index.d.ts","../../../../../node_modules/.pnpm/@types+babel__traverse@7.0.15/node_modules/@types/babel__traverse/index.d.ts","../../../../../node_modules/.pnpm/@babel+parser@7.12.3/node_modules/@babel/parser/typings/babel-parser.d.ts","../../../../../node_modules/.pnpm/@types+babel__template@7.0.3/node_modules/@types/babel__template/index.d.ts","../../../../../node_modules/.pnpm/@types+babel__core@7.1.10/node_modules/@types/babel__core/index.d.ts","../../../../../node_modules/.pnpm/magic-string@0.25.7/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.2/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@1.2.1/node_modules/@types/d3-dsv/index.d.ts","../../../../../node_modules/.pnpm/@types+eslint@7.2.4/node_modules/@types/eslint/helpers.d.ts","../../../../../node_modules/.pnpm/@types+json-schema@7.0.6/node_modules/@types/json-schema/index.d.ts","../../../../../node_modules/.pnpm/@types+estree@0.0.45/node_modules/@types/estree/index.d.ts","../../../../../node_modules/.pnpm/@types+eslint@7.2.4/node_modules/@types/eslint/index.d.ts","../../../../../node_modules/.pnpm/@types+minimatch@3.0.3/node_modules/@types/minimatch/index.d.ts","../../../../../node_modules/.pnpm/@types+glob@7.1.3/node_modules/@types/glob/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.0/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.2.1/node_modules/@types/picomatch/parse.d.ts","../../../../../node_modules/.pnpm/@types+picomatch@2.2.1/node_modules/@types/picomatch/constants.d.ts","../../../../../node_modules/.pnpm/@types+picomatch@2.2.1/node_modules/@types/picomatch/index.d.ts","../../../../../node_modules/.pnpm/@types+q@1.5.4/node_modules/@types/q/index.d.ts","../../../../../node_modules/.pnpm/@types+resolve@1.17.1/node_modules/@types/resolve/index.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/classes/semver.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/functions/parse.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/functions/valid.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/functions/clean.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/functions/inc.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/functions/diff.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/functions/major.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/functions/minor.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/functions/patch.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/functions/prerelease.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/functions/compare.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/functions/rcompare.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/functions/compare-loose.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/functions/compare-build.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/functions/sort.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/functions/rsort.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/functions/gt.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/functions/lt.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/functions/eq.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/functions/neq.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/functions/gte.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/functions/lte.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/functions/cmp.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/functions/coerce.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/classes/comparator.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/classes/range.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/functions/satisfies.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/ranges/max-satisfying.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/ranges/min-satisfying.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/ranges/to-comparators.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/ranges/min-version.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/ranges/valid.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/ranges/outside.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/ranges/gtr.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/ranges/ltr.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/ranges/intersects.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/ranges/simplify.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/ranges/subset.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/internals/identifiers.d.ts","../../../../../node_modules/.pnpm/@types+semver@7.3.7/node_modules/@types/semver/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.4/node_modules/@types/source-map-support/index.d.ts","../../../../../node_modules/.pnpm/@types+yargs-parser@20.2.1/node_modules/@types/yargs-parser/index.d.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"f5c28122bee592cfaf5c72ed7bcc47f453b79778ffa6e301f45d21a0970719d4","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06",{"version":"3f149f903dd20dfeb7c80e228b659f0e436532de772469980dbd00702cc05cc1","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","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":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","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":"cd483c056da900716879771893a3c9772b66c3c88f8943b4205aec738a94b1d0","affectsGlobalScope":true},{"version":"c37f8a49593a0030eecb51bbfa270e709bec9d79a6cc3bb851ef348d4e6b26f8","affectsGlobalScope":true},{"version":"dc13372d005136feb44d8fa670d0a80d674b3964fe29dc30e693c9836c997006","affectsGlobalScope":true},{"version":"829fcfff513ac68aae602034a6e0d2e30a2f4fa32881157ba6a3002bc949f685","affectsGlobalScope":true},"138476cfdccbb9e2c7e06602bc216af843a56c4f3469a79106bc660ba94bd66a","fe892fea1e75a442fffb4a604d7eeb451e858787a9f2f01c4e83bf12a3b5048d","d5c80b931928fbd06f967ce4bdca24fbb37523773ac2c7c87458a689154351fb","fcd718b2feb2820a9844536a1a2fbc77a3da90820e02894d40f879a789f46560","525c8fc510d9632d2a0a9de2d41c3ac1cdd79ff44d3b45c6d81cacabb683528d","ece75b9bfc916f9ccc4e8a9ddee1dda5c987804fbe3b60a01fc120fae731c2ce","ec0f794b64a4f5f5f364fe6e55b61fc13c827db39d97f5366890570eb9f4c238","a1dc9cfe8be39cbcef62692510b450ab35553ef39382715c88763d0c477704a9","05e732266b5a36789fd9eb846b1f45fec1b6e318b740e3f20fc22fd95f9ebf31","ae3487bdb9b50c1d8bbeb6b55c8b2b9aa79bbc46d7afbc3483169ad8750c4304","c53b63229a0b7e9d64347c4fc975dd52a9e9a81f9be099f5a21220e2a1276d28","1733741cf2adc5926ac58c66004268cdc3d34b2ff6250f5114db14253ea02ce1","40a80f579e92750f3e695b44a704f8d44d331a67d77623f2e57914da1369d68e","b6b09f944889a23f19eba6e0f112030e55160c5e1a225012ab2349c582ba5595","152af7c23ec219f632afa2d861abc65993f56cd39a4f3a4018515dbc05950a74","3a0bdc4c5b6f84a1abb5356d7a7fa1f96ac6c5b5646eec3ef2b33c1ed095e155","03394bf8deb8781b490ae9266a843fbdf00647947d79e25fcbf1d89a9e9c8a66","56a15cc211894d79aa44cbb46c276bfd3f10458a61bff2dec99114db8a7e71e3","1a5366b0d4d0153955fd85777c72d35979dabc0537649da6eade09007c0d080a","61c84c3b0eb6e60196d15ae5e21793a1d4241c547f0bdd0529ffae838d1a073c","272522db288a7e03f14ff930407b776357082efce20369ea42239a57af9c7f81","3a8848a9c307429b861402cc69bc472ffe0c05b86474fc158723169161e16389","3f6a1fd73c9dc3bd7f4b79bc075297ca6527904df69b0f2c2c94e4c4c7d9a32c","8969e0b4d22ca77ad011c8fc4a25ec5d515bdfae4ecbd22608ed0d5c38829c1e","81ef2751228318b1c7c6b35ccae2ea39ef275add30319e746bfd4658208a0519","0811662f95fabfc05b8f1cefcc46b351092cfc7d2a3e849475c51e2578c5c485","0cc45ab68b66bc63c9a0bc4f097c9f5b734c62190695ebd5b696dc3a4e2ecb3b","17e157df6125098a1a34eb4d201ee4ac03bbe97e471ab5627bb2c40fce555948","b40652bf8ce4a18133b31349086523b219724dca8df3448c1a0742528e7ad5b9","4bdb7b15b3f9a3ee0b856c7b991d0e522f8ce92f7b66ae8ac00e61d1269dd10a","978aecd2e6bc2ac094e9a35eda98ff8586713857b3655e7c98ca5ed8f7d50662","a185b8e0d7a4ae078a79339d63e98177813aac39256f69f788eaf5c360aa756f","c6b71a0585467900820167370738cfc256e9635471725a7ba1d24a3a262984e5","8bf10278b5c28698a73f800fde911bcc33d405a15f7bddab1c4ade637b69a822","e880a08fbb0d9ee2f733f9183f4d1bdb75bc9e0e64060a8a1fc30540791fcded","f1864a5689182a1f21b69642af5f6d78cbffc6315c3cfa3cc2874d15c762be9b","69fc4a10650eff3416ba5c2f7ce71744734928a7135ebe5a63c61d2d03ca3ec3","13918848c4e07d1094164112bd7fd151d61cbb949ceef340a2a4595cd609afb6","9af6a9de7bd818e68c4236f20027ff4b19387c2269a6952945d1a716c177cc4d","3492a5620a0fbba5440a103853048035eb7949bbad4257341c188e74e82c3aa7","e61a21e9418f279bc480394a94d1581b2dee73747adcbdef999b6737e34d721b","99904fb1a722345db92cce12df63dd0037081a4e1201519398a88e587659544a","3eb8ad25895d53cc6229dc83decbc338d649ed6f3d5b537c9966293b056b1f57","b25c5f2970d06c729f464c0aeaa64b1a5b5f1355aa93554bb5f9c199b8624b1e","ef91066d2057cca50511e3af2d4aa54e07913a15f9cee1748f256139318eb413","8678956904af215fe917b2df07b6c54f876fa64eb1f8a158e4ff38404cef3ff4","3e0a34f7207431d967dc32d593d1cda0c23975e9484bc8895b39d96ffca4a0d8","7df3163944694feeac63067632a8dc2e2dea1350119ec8b43df277af69198369","df66dd87e5338e59ca0550af424ba22c59a8f4b30b20a214b6ed250562b7c755","bf6148950ca5307411c2ae98561f3b845c8cd31c330e731a6822bf52ff757bf6","4a8b6680f577878255690971bbfe6ec951ece19a0c86a493e66a715762d04db2","cab425b5559edac18327eb2c3c0f47e7e9f71b667290b7689faafd28aac69eae","3cfb0cb51cc2c2e1b313d7c4df04dbf7e5bda0a133c6b309bf6af77cf614b971","f992cd6cc0bcbaa4e6c810468c90f2d8595f8c6c3cf050c806397d3de8585562","2733d9c68999f6fb4a8e853f4266b40b1e91ef7ae97a35d82014a732f9f3584b","74462625c7e9df5d67a9fcdf5985322e35c707e71d515e12026900f4883d3145",{"version":"f345b0888d003fd69cb32bad3a0aa04c615ccafc572019e4bd86a52bd5e49e46","affectsGlobalScope":true},"b2be568d8ce95fcb26eebd04c035d94825655fdf689bf67d799f5ff8cbbb1024","6a38e250306ceccbab257d11b846d5bd12491157d20901fa01afe4050c93c1b5","be337886c0b7b94a0cec462da9d6136abfda99d51b4cd67830351cd691285387","1d1e6bd176eee5970968423d7e215bfd66828b6db8d54d17afec05a831322633","393137c76bd922ba70a2f8bf1ade4f59a16171a02fb25918c168d48875b0cfb0","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","c9ad058b2cc9ce6dc2ed92960d6d009e8c04bef46d3f5312283debca6869f613","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","5584625db3efba4676489babcea1571f537559d80aa39da9aae4c5965657766a","c0ad01cd660e5b8478c46ba9eda9bb60057de0744b3436fab3ce1ab764109da9","39352f2e555338f98ec13e2f19fe1abc19dffc1e500462051f7a030e2f1394ad","f9a2dd6a6084665f093ed0e9664b8e673be2a45e342a59dd4e0e4e552e68a9ad","8a19491eba2108d5c333c249699f40aff05ad312c04a17504573b27d91f0aede","d9e55d93aa33fad61bd5c63800972d00ba8879ec5d29f6f3bce67d16d86abc33","2ac9c8332c5f8510b8bdd571f8271e0f39b0577714d5e95c1e79a12b2616f069","42c21aa963e7b86fa00801d96e88b36803188018d5ad91db2a9101bccd40b3ff","d31eb848cdebb4c55b4893b335a7c0cca95ad66dee13cbb7d0893810c0a9c301","77c1d91a129ba60b8c405f9f539e42df834afb174fe0785f89d92a2c7c16b77a","c544d81603149987796b24cca297c965db427b84b2580fb27e52fb37ddc1f470","906c751ef5822ec0dadcea2f0e9db64a33fb4ee926cc9f7efa38afe5d5371b2a","5387c049e9702f2d2d7ece1a74836a14b47fbebe9bbeb19f94c580a37c855351","c68391fb9efad5d99ff332c65b1606248c4e4a9f1dd9a087204242b56c7126d6","e9cf02252d3a0ced987d24845dcb1f11c1be5541f17e5daa44c6de2d18138d0c","e8b02b879754d85f48489294f99147aeccc352c760d95a6fe2b6e49cd400b2fe","9f6908ab3d8a86c68b86e38578afc7095114e66b2fc36a2a96e9252aac3998e0","0eedb2344442b143ddcd788f87096961cd8572b64f10b4afc3356aa0460171c6","9eb2875a1e4c583066af7d6194ea8162191b2756e5d87ccb3c562fdf74d06869","c68baff4d8ba346130e9753cefe2e487a16731bf17e05fdacc81e8c9a26aae9d","2cd15528d8bb5d0453aa339b4b52e0696e8b07e790c153831c642c3dea5ac8af","479d622e66283ffa9883fbc33e441f7fc928b2277ff30aacbec7b7761b4e9579","ade307876dc5ca267ca308d09e737b611505e015c535863f22420a11fffc1c54","f8cdefa3e0dee639eccbe9794b46f90291e5fd3989fcba60d2f08fde56179fb9","86c5a62f99aac7053976e317dbe9acb2eaf903aaf3d2e5bb1cafe5c2df7b37a8","2b300954ce01a8343866f737656e13243e86e5baef51bd0631b21dcef1f6e954","a2d409a9ffd872d6b9d78ead00baa116bbc73cfa959fce9a2f29d3227876b2a1","b288936f560cd71f4a6002953290de9ff8dfbfbf37f5a9391be5c83322324898","61178a781ef82e0ff54f9430397e71e8f365fc1e3725e0e5346f2de7b0d50dfa","6a6ccb37feb3aad32d9be026a3337db195979cd5727a616fc0f557e974101a54","6eef5113135a0f2bbac8259909a5bbb7666bcde022c28f4ab95145623cbe1f72","058b8dd97b7c67b6bf33e7bda7b1e247b019b675d4b6449d14ac002091a8b4f8","89c8a7b88c378663a8124664f2d9b8c2887e186b55aa066edf6d67177ca1aa04","5a30ba65ad753eb2ef65355dbb3011b28b192cb9df2ef0b5f595b51ca7faf353","5192f9a6469f849e0863616b668fde54bcd6704394b4bfbd115691865f66d761","f41d30972724714763a2698ae949fbc463afb203b5fa7c4ad7e4de0871129a17","0123340327efb174818f4b78bf6a9b12f8470754e6afac9e4d32a2ad27521f7b","9795e0a3a45d5b6f1a791ee54b7c8b58bc931e8900966cea2dff9c5bae56073b","5890be29879d02424b7654f40592915189034948f7a18c5ad121c006d4e92811","0ab49086f10c75a1cb3b18bffe799dae021774146d8a2d5a4bb42dda67b64f9b","81c77839e152b8f715ec67b0a8b910bcc2d6cf916794c3519f8798c40efd12ac","a868a534ba1c2ca9060b8a13b0ffbbbf78b4be7b0ff80d8c75b02773f7192c29","464843c00fb3dd4735b28255c5c9fe713f16b8e47a3db09ba1647687440f7aef","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","d0f6d36b2d86f934560c48d8bfdc7ab60c67cfb2ab6dc1916706aa68e83d6dc2","2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579","1384902f0cccc5a9f9c0d65d93c093f6b9f77c949bf823f511b617cb8bc20fb5","f7e133b20ee2669b6c0e5d7f0cd510868c57cd64b283e68c7f598e30ce9d76d2"],"options":{"emitDeclarationOnly":false,"importHelpers":true,"inlineSources":true,"module":99,"noEmitHelpers":true,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[77],[77,78,79,80,81],[77,80],[83],[45,47,67,76,85,86,87],[61,76],[91,92,93],[45,76,95],[45,76],[73,74],[45,52,61],[37,45,52],[61],[43,45,52],[45],[45,61,67],[45,52,61,67],[45,46,47,52,61,64,67],[45,47,64,67],[73,75],[43,45,61],[35],[45,61],[59,68,70],[41,43,52,61],[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],[52],[58],[101,102],[76],[47,61,76],[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],[146]],"referencedMap":[[80,1],[82,2],[78,1],[81,3],[79,1],[84,4],[88,5],[89,6],[94,7],[96,8],[85,9],[75,10],[37,11],[38,12],[41,13],[42,14],[44,15],[46,16],[47,17],[48,18],[49,19],[76,20],[50,15],[52,21],[55,22],[59,23],[60,24],[61,15],[64,25],[73,26],[66,27],[67,28],[71,23],[72,13],[103,29],[105,30],[87,31],[130,32],[131,33],[106,34],[109,34],[128,32],[129,32],[119,35],[118,35],[116,32],[111,32],[124,32],[122,32],[126,32],[110,32],[123,32],[127,32],[112,32],[113,32],[125,32],[107,32],[114,32],[115,32],[117,32],[121,32],[132,36],[120,32],[108,32],[145,37],[139,36],[141,38],[140,36],[133,36],[134,36],[136,36],[138,36],[142,38],[143,38],[135,38],[137,38],[147,39]],"exportedModulesMap":[[80,1],[82,2],[78,1],[81,3],[79,1],[84,4],[88,5],[89,6],[94,7],[96,8],[85,9],[75,10],[37,11],[38,12],[41,13],[42,14],[44,15],[46,16],[47,17],[48,18],[49,19],[76,20],[50,15],[52,21],[55,22],[59,23],[60,24],[61,15],[64,25],[73,26],[66,27],[67,28],[71,23],[72,13],[103,29],[105,30],[87,31],[130,32],[131,33],[106,34],[109,34],[128,32],[129,32],[119,35],[118,35],[116,32],[111,32],[124,32],[122,32],[126,32],[110,32],[123,32],[127,32],[112,32],[113,32],[125,32],[107,32],[114,32],[115,32],[117,32],[121,32],[132,36],[120,32],[108,32],[145,37],[139,36],[141,38],[140,36],[133,36],[134,36],[136,36],[138,36],[142,38],[143,38],[135,38],[137,38],[147,39]],"semanticDiagnosticsPerFile":[80,77,82,78,81,79,84,88,89,90,91,94,93,96,86,92,97,85,95,98,74,35,75,36,37,38,39,40,41,42,43,44,45,46,34,47,48,49,76,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,73,66,67,68,69,70,71,72,99,100,102,103,101,104,105,87,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,147,148,83,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.7.3"} \ No newline at end of file +{"program":{"fileNames":["../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.es5.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.dom.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.scripthost.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../../node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","./main.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/assert.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/globals.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/async_hooks.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/buffer.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/child_process.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/cluster.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/console.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/constants.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/crypto.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/dgram.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/dns.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/domain.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/events.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/fs.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/fs/promises.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/http.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/http2.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/https.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/inspector.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/module.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/net.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/os.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/path.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/perf_hooks.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/process.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/punycode.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/querystring.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/readline.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/repl.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/stream.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/string_decoder.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/timers.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/tls.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/trace_events.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/tty.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/url.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/util.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/v8.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/vm.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/wasi.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/worker_threads.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/zlib.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/globals.global.d.ts","../../../../../node_modules/.pnpm/@types+node@14.18.30/node_modules/@types/node/ts4.8/index.d.ts","../../../../../node_modules/.pnpm/@babel+types@7.19.0/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.1/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@1.2.1/node_modules/@types/d3-dsv/index.d.ts","../../../../../node_modules/.pnpm/@types+eslint@7.29.0/node_modules/@types/eslint/helpers.d.ts","../../../../../node_modules/.pnpm/@types+eslint@7.29.0/node_modules/@types/eslint/lib/rules/index.d.ts","../../../../../node_modules/.pnpm/@types+json-schema@7.0.11/node_modules/@types/json-schema/index.d.ts","../../../../../node_modules/.pnpm/@types+estree@1.0.0/node_modules/@types/estree/index.d.ts","../../../../../node_modules/.pnpm/@types+eslint@7.29.0/node_modules/@types/eslint/index.d.ts","../../../../../node_modules/.pnpm/@types+estree@0.0.39/node_modules/@types/estree/index.d.ts","../../../../../node_modules/.pnpm/@types+minimatch@5.1.2/node_modules/@types/minimatch/index.d.ts","../../../../../node_modules/.pnpm/@types+glob@7.2.0/node_modules/@types/glob/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+q@1.5.5/node_modules/@types/q/index.d.ts","../../../../../node_modules/.pnpm/@types+resolve@1.17.1/node_modules/@types/resolve/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/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","1606ea615c0a5ea9f5c1376a33e34c0e1112e8dee31a5b3b8a74ce781893aa6f","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","c561efdf5ba0b62619745d4761fe2d9756f23db972e039367d15922fed67fd2f","cc957354aa3c94c9961ebf46282cfde1e81d107fc5785a61f62c67f1dd3ac2eb","7ec238b220ea991b6643e24191b1f552a65956d5f6de4c6144e700b9985265d8","93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9","dae3d1adc67ac3dbd1cd471889301339ec439837b5df565982345be20c8fca9a","5426e62886b7be7806312d31a00e8f7dccd6fe63ba9bbefe99ee2eab29cc48a3","dd6a4b050f1016c0318291b42c98ab068e07e208b1ae8e4e27167c2b8007406f","bf6148950ca5307411c2ae98561f3b845c8cd31c330e731a6822bf52ff757bf6","fec943fdb3275eb6e006b35e04a8e2e99e9adf3f4b969ddf15315ac7575a93e4","cab425b5559edac18327eb2c3c0f47e7e9f71b667290b7689faafd28aac69eae","3cfb0cb51cc2c2e1b313d7c4df04dbf7e5bda0a133c6b309bf6af77cf614b971","f992cd6cc0bcbaa4e6c810468c90f2d8595f8c6c3cf050c806397d3de8585562","2733d9c68999f6fb4a8e853f4266b40b1e91ef7ae97a35d82014a732f9f3584b","74462625c7e9df5d67a9fcdf5985322e35c707e71d515e12026900f4883d3145",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"0133ebdd17a823ae56861948870cde4dac18dd8818ab641039c85bbb720429e0","f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","946bd1737d9412395a8f24414c70f18660b84a75a12b0b448e6eb1a2161d06dd","874d84ca5699231d5af2868fef01fc63f948bd83be928881479db48508f92ca0","89ccbe04e737ce613f5f04990271cfa84901446350b8551b0555ddf19319723b","963d59066dd6742da1918a6213a209bcc205b8ee53b1876ee2b4e6d80f97c85e","fd326577c62145816fe1acc306c734c2396487f76719d3785d4e825b34540b33","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","3e4001643b64a3a4722718c5a778ae73f3dd43487e39508ce2f9dd7cfb1d40b7","b90c23a457c16f77a282531a5caba5c911d2252eb097f3193a8ee2df6a3f21a2","8f9aa0f1f409380d4dbd5c9f5f2e4af828e123095891dd0efc5bb999f8d1a301","bdab62a006260d5fd3c623f0b635140bf48d7a8f87f0eeca5fb188b5ac66770f","c0dd6b46374a90bbb701cc4888a9d6b698a479a2acce11969c5583ba6127f5d5","62b931417104c7cb35d0725e1869f51d52d7b18462fd58f32f846a314a42ba10","8a19491eba2108d5c333c249699f40aff05ad312c04a17504573b27d91f0aede","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","2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579","ce99fd4b37ce2dbf9adfc06c1722271c926adb408b1f6413763ae9253d922823","d5c21c0fd9ecf84a785a6bd290931d7672132778cd6ef6e827ab7dc2c4426ac5"],"options":{"emitDeclarationOnly":false,"importHelpers":true,"inlineSources":true,"module":99,"noEmitHelpers":true,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[78],[78,79,80,81,82],[78,80],[84],[46,49,69,77,86,87,88],[63,77],[92,93,94,95],[96],[46,47,77,98],[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],[107],[104,105,106],[77],[49,63,77],[111,150],[111,135,150],[150],[111],[111,136,150],[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,145,146,147,148,149],[136,150],[151]],"referencedMap":[[80,1],[83,2],[79,1],[81,3],[82,1],[85,4],[89,5],[90,6],[96,7],[93,8],[99,9],[86,10],[34,11],[36,12],[37,13],[38,14],[39,15],[40,16],[41,17],[42,18],[43,19],[44,20],[45,21],[46,22],[47,23],[48,24],[49,25],[50,26],[51,27],[77,28],[52,29],[53,30],[54,31],[55,32],[56,33],[57,34],[58,35],[59,36],[60,37],[61,38],[62,39],[63,40],[64,41],[65,42],[66,43],[67,44],[68,45],[69,46],[70,47],[71,48],[72,49],[73,50],[74,51],[75,52],[108,53],[107,54],[110,55],[88,56],[135,57],[136,58],[111,59],[114,59],[133,57],[134,57],[124,57],[123,60],[121,57],[116,57],[129,57],[127,57],[131,57],[115,57],[128,57],[132,57],[117,57],[118,57],[130,57],[112,57],[119,57],[120,57],[122,57],[126,57],[137,61],[125,57],[113,57],[150,62],[144,61],[146,63],[145,61],[138,61],[139,61],[141,61],[143,61],[147,63],[148,63],[140,63],[142,63],[152,64]],"exportedModulesMap":[[80,1],[83,2],[79,1],[81,3],[82,1],[85,4],[89,5],[90,6],[96,7],[93,8],[99,9],[86,10],[34,11],[36,12],[37,13],[38,14],[39,15],[40,16],[41,17],[42,18],[43,19],[44,20],[45,21],[46,22],[47,23],[48,24],[49,25],[50,26],[51,27],[77,28],[52,29],[53,30],[54,31],[55,32],[56,33],[57,34],[58,35],[59,36],[60,37],[61,38],[62,39],[63,40],[64,41],[65,42],[66,43],[67,44],[68,45],[69,46],[70,47],[71,48],[72,49],[73,50],[74,51],[75,52],[108,53],[107,54],[110,55],[88,56],[135,57],[136,58],[111,59],[114,59],[133,57],[134,57],[124,57],[123,60],[121,57],[116,57],[129,57],[127,57],[131,57],[115,57],[128,57],[132,57],[117,57],[118,57],[130,57],[112,57],[119,57],[120,57],[122,57],[126,57],[137,61],[125,57],[113,57],[150,62],[144,61],[146,63],[145,61],[138,61],[139,61],[141,61],[143,61],[147,63],[148,63],[140,63],[142,63],[152,64]],"semanticDiagnosticsPerFile":[80,78,83,79,81,82,85,89,90,91,92,96,93,97,95,99,87,94,100,86,98,101,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,102,103,108,104,105,107,106,109,110,88,135,136,111,114,133,134,124,123,121,116,129,127,131,115,128,132,117,118,130,112,119,120,122,126,137,125,113,150,149,144,146,145,138,139,141,143,147,148,140,142,152,153,84,151,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.3"} \ No newline at end of file diff --git a/packages/typescript/test/snapshots/tslib.ts.snap b/packages/typescript/test/snapshots/tslib.ts.snap index 5ed88f24534b5b7b399498f6a74c385cdc55b295..f3d8c1dc2fd515e8e000af84745927b7d13eefb0 100644 GIT binary patch literal 590 zcmV-U0eEfVq4vmeb{_|Ib8jYHd zg*Kksgoi?M^hSp~6&P!uh}6dx{iky&1&Vi-u*#Y&f8Z`OpVRq@grqN|AEaNTIxw~m zl|88UowIHq8l?$PTJ3h5!A%AY2CdxrHdGnZ_n;P8sme>EKRoUa-)yTa8+9Rm zro0!Evh2zkJF=OPJh8})rIB7z2EVUosdcC%4;LFJ`;i*dQYVwc!ZVl&opjMZ=<($| zdX$;_EQ%?{C~h5>+NlVwTO9DbcHX(Q|`%u3OFu%F}yGD(4zwo8byeop_{8 zDS44i82-a%{fN#1$&t=T-`W2&S-XnK-Ip)kJ{t_*_eZ1S(Y9l3?R3pcm}w(lqj0$8 z)<{h@(aG9zGs~;N0`u5eW3n_@COF&#_V@<5u}&nPS(yO)4f c6v*YjIA7-K@`2|XHv@k37u`QRq$UIa023YS-3RzVcOs!qWK;1|P#ZMjwj^00000000Ax zQca5!K@jble95w!tSjhA8bPCyWX?O6U0I?8C96@d%4E7X)0@up*xlng2SHCB)Pu+U z0bWIafgtS3KOiW0)r;UC5Njq*B9Yy7;L+91tD35M&m)95q>vzvO?Bv-mPrdV( zJs{aPbO;$eZv{VJKK}aT!skzK&b`=&{Pk^#kP@loEI0$T>v-NmSi~#DKH@u~f`wMW zS%FGdYo%AAT7&>a)Mzva94AmEP|wJxphTdu0_8w4URdB7i=1dc)J8&35DvF2ntW#U}X+D~)E@~B>~ z6IdeP5LnIzo$bJj{a}of8rP;VH-Q$hbuBm6J+k{hr2vi+=P!pXQAB@6Jz7 z=U+b`oy||@C-@IM%pw^Tal;ectxRk zz~Ypmr5`+PsDv>#9C&HnHC{LGOZGGn7S7n}5PeNL66Vra(H$MTEzQQj6(Q?T5pTVm zT|}9sG~%!e*nS?JZzhbhd!h~6a+mJiX{2Bu;Blr@R~xchaFEdyJZUHL007a8-!A|F literal 450 zcmV;z0X_afRzVJEJHRk)AcnzklQTAOJv^oqWHzA5NZL9>=!-JR2hvW3K{Gh2^=A4XkX*yd$=T z^)}Y_olB;OrPpjW0apMK@Dt*s~b)OR$kp!s|ENOa0##} zn#wv>0c&ksO3jeVVDVy&10tY*D$s0 zQ>Sd$rT#oaj{ijE*i*Pp0$qq;Fc*+@W*AdR91Q48+?;)vF7?Q`5OoqbpVHJsN2$>x zl|`2XWi)xqsTwIMOQ|M(J#e zY|e>iN~JL4H(W5U7*bleOd)X@2MT`CP4~u2FC&#R8Apr5ld(mIzWd?Q>Wg$4uDsn5 s;40#Ve1kIA2xbtRv process.chdir(__dirname)); -const outputOptions = { format: 'esm' }; +const outputOptions = { format: 'es' }; test.serial('runs code through typescript', async (t) => { const bundle = await rollup({ @@ -67,7 +67,7 @@ test.serial('ensures outDir is located in Rollup output dir', async (t) => { }); const wrongDirError = await t.throwsAsync(() => - getCode(bundle, { format: 'esm', dir: 'fixtures/basic/dist' }, true) + getCode(bundle, { format: 'es', dir: 'fixtures/basic/dist' }, true) ); t.true( wrongDirError.message.includes( @@ -91,7 +91,7 @@ test.serial('ensures declarationDir is located in Rollup output dir', async (t) }); const wrongDirError = await t.throwsAsync(() => - getCode(bundle, { format: 'esm', dir: 'fixtures/basic/dist' }, true) + getCode(bundle, { format: 'es', dir: 'fixtures/basic/dist' }, true) ); t.true( wrongDirError.message.includes( @@ -149,7 +149,7 @@ test.serial('supports emitting types also for single file output', async (t) => } }); // generate a single output bundle, in which case, declaration files were not correctly emitted - const output = await getCode(bundle, { format: 'esm', file: 'dist/main.js' }, true); + const output = await getCode(bundle, { format: 'es', file: 'dist/main.js' }, true); t.deepEqual( output.map((out) => out.fileName), @@ -164,7 +164,7 @@ test.serial('relative paths in tsconfig.json are resolved relative to the file', plugins: [typescript({ tsconfig: 'fixtures/relative-dir/tsconfig.json' })], onwarn }); - const output = await getCode(bundle, { format: 'esm', dir: 'fixtures/relative-dir/dist' }, true); + const output = await getCode(bundle, { format: 'es', dir: 'fixtures/relative-dir/dist' }, true); t.deepEqual( output.map((out) => out.fileName), @@ -579,7 +579,7 @@ test.serial('should not emit null sourceContent', async (t) => { ], onwarn }); - const output = await getCode(bundle, { format: 'esm', sourcemap: true }, true); + const output = await getCode(bundle, { format: 'es', sourcemap: true }, true); const sourcemap = output[0].map; // eslint-disable-next-line no-undefined t.false(sourcemap.sourcesContent.includes(undefined)); @@ -631,11 +631,10 @@ test.serial('supports dynamic imports', async (t) => { const code = await getCode( await rollup({ input: 'fixtures/dynamic-imports/main.ts', - inlineDynamicImports: true, plugins: [typescript({ tsconfig: 'fixtures/dynamic-imports/tsconfig.json' })], onwarn }), - outputOptions + { ...outputOptions, inlineDynamicImports: true } ); t.true(code.includes("console.log('dynamic')")); }); @@ -683,7 +682,7 @@ test.serial('supports incremental build', async (t) => { ], onwarn }); - const output = await getCode(bundle, { format: 'esm', dir: './' }, true); + const output = await getCode(bundle, { format: 'es', dir: './' }, true); t.deepEqual( output.map((out) => out.fileName), @@ -699,7 +698,7 @@ test.serial('supports incremental rebuild', async (t) => { plugins: [typescript()], onwarn }); - const output = await getCode(bundle, { format: 'esm', dir: 'dist' }, true); + const output = await getCode(bundle, { format: 'es', dir: 'dist' }, true); t.deepEqual( output.map((out) => out.fileName), @@ -721,7 +720,7 @@ test.serial('supports incremental build for single file output', async (t) => { warnings.push(warning); } }); - const output = await getCode(bundle, { format: 'esm', file: 'main.js' }, true); + const output = await getCode(bundle, { format: 'es', file: 'main.js' }, true); t.deepEqual( output.map((out) => out.fileName), @@ -742,7 +741,7 @@ test.serial('does not output to filesystem when outputToFilesystem is false', as plugins: [typescript({ outputToFilesystem: false })], onwarn }); - const output = await getCode(bundle, { format: 'esm', file: 'main.js' }, true); + const output = await getCode(bundle, { format: 'es', file: 'main.js' }, true); t.deepEqual( output.map((out) => out.fileName), @@ -765,7 +764,7 @@ test.serial('warn about outputToFilesystem default', async (t) => { warnings.push(warning); } }); - const output = await getCode(bundle, { format: 'esm', file: 'main.js' }, true); + const output = await getCode(bundle, { format: 'es', file: 'main.js' }, true); t.deepEqual( output.map((out) => out.fileName), @@ -788,7 +787,7 @@ test.serial('supports consecutive incremental rebuilds', async (t) => { onwarn }); - const firstRun = await getCode(firstBundle, { format: 'esm', dir: 'dist' }, true); + const firstRun = await getCode(firstBundle, { format: 'es', dir: 'dist' }, true); t.deepEqual( firstRun.map((out) => out.fileName), ['main.js', '.tsbuildinfo'] @@ -799,7 +798,7 @@ test.serial('supports consecutive incremental rebuilds', async (t) => { plugins: [typescript()], onwarn }); - const secondRun = await getCode(secondBundle, { format: 'esm', dir: 'dist' }, true); + const secondRun = await getCode(secondBundle, { format: 'es', dir: 'dist' }, true); t.deepEqual( secondRun.map((out) => out.fileName), ['main.js', '.tsbuildinfo'] @@ -830,7 +829,7 @@ test.serial( onwarn }); - const firstRun = await getCode(firstBundle, { format: 'esm', dir: 'dist' }, true); + const firstRun = await getCode(firstBundle, { format: 'es', dir: 'dist' }, true); t.deepEqual( firstRun.map((out) => out.fileName), ['main.js', '.tsbuildinfo'] @@ -842,7 +841,7 @@ test.serial( plugins: [typescript()], onwarn }); - const secondRun = await getCode(secondBundle, { format: 'esm', dir: 'dist' }, true); + const secondRun = await getCode(secondBundle, { format: 'es', dir: 'dist' }, true); t.deepEqual( secondRun.map((out) => out.fileName), // .tsbuildinfo should not be emitted @@ -878,7 +877,7 @@ test.serial( onwarn }); - const firstRun = await getCode(firstBundle, { format: 'esm', dir: 'dist' }, true); + const firstRun = await getCode(firstBundle, { format: 'es', dir: 'dist' }, true); t.deepEqual( firstRun.map((out) => out.fileName), ['main.js'] @@ -892,7 +891,7 @@ test.serial( plugins: [typescript({ tsBuildInfoFile: './.tsbuildinfo' })], onwarn }); - const secondRun = await getCode(secondBundle, { format: 'esm', dir: 'dist' }, true); + const secondRun = await getCode(secondBundle, { format: 'es', dir: 'dist' }, true); t.deepEqual( secondRun.map((out) => out.fileName), ['main.js'] @@ -933,7 +932,7 @@ test.serial('warns if sourceMap is set in Typescript but not Rollup', async (t) warnings.push(warning); } }); - await getCode(bundle, { format: 'esm' }); + await getCode(bundle, { format: 'es' }); t.is(warnings.length, 1); t.true( @@ -951,7 +950,7 @@ test.serial('warns if sourceMap is set in Rollup but not Typescript', async (t) warnings.push(warning); } }); - await getCode(bundle, { format: 'esm', sourcemap: true }); + await getCode(bundle, { format: 'es', sourcemap: true }); t.is(warnings.length, 1); t.true( @@ -973,7 +972,7 @@ test.serial('normalizes resolved ids to avoid duplicate output on windows', asyn ] }); - const files = await getCode(bundle, { format: 'esm' }, true); + const files = await getCode(bundle, { format: 'es' }, true); t.is(files.length, 2); t.true(files[1].fileName.includes('two.js'), files[1].fileName); @@ -987,7 +986,7 @@ test.serial('does it support tsconfig.rootDir for filtering', async (t) => { plugins: [typescript({ tsconfig: 'tsconfig.json' })] }); - const files = await getCode(bundle, { format: 'esm' }, true); + const files = await getCode(bundle, { format: 'es' }, true); // Compiles with no errors t.is(files.length, 1); }); @@ -1010,7 +1009,7 @@ test.serial('does manually setting filterRoot resolve nested projects', async (t input: 'main.ts', plugins: [typescript({ tsconfig: 'tsconfig.json', filterRoot: '../../' })] }); - const files = await getCode(bundle, { format: 'esm' }, true); + const files = await getCode(bundle, { format: 'es' }, true); t.is(files.length, 1); }); @@ -1023,7 +1022,7 @@ test.serial('does not warn if sourceMap is set in Rollup and unset in Typescript warnings.push(warning); } }); - await getCode(bundle, { format: 'esm', sourcemap: true }); + await getCode(bundle, { format: 'es', sourcemap: true }); t.is(warnings.length, 0); }); @@ -1207,7 +1206,7 @@ test.serial('works when code is in src directory', async (t) => { output: [ { dir: 'fixtures/src-dir/dist', - format: 'esm' + format: 'es' } ], plugins: [ @@ -1217,7 +1216,7 @@ test.serial('works when code is in src directory', async (t) => { ], onwarn }); - const output = await getCode(bundle, { format: 'esm', dir: 'fixtures/src-dir/dist' }, true); + const output = await getCode(bundle, { format: 'es', dir: 'fixtures/src-dir/dist' }, true); t.deepEqual( output.map((out) => out.fileName), @@ -1263,7 +1262,7 @@ test.serial('noForceEmit option defers to tsconfig.json for emitDeclarationOnly' // generate a single output bundle, in which case, declaration files were not correctly emitted const output = await getCode( bundle, - { format: 'esm', file: 'fixtures/noForceEmit/emitDeclarationOnly/dist/main.js' }, + { format: 'es', file: 'fixtures/noForceEmit/emitDeclarationOnly/dist/main.js' }, true ); @@ -1293,7 +1292,7 @@ test.serial('noForceEmit option defers to tsconfig.json for noEmit', async (t) = // generate a single output bundle, in which case, declaration files were not correctly emitted const output = await getCode( bundle, - { format: 'esm', file: 'fixtures/noForceEmit/noEmit/dist/main.js' }, + { format: 'es', file: 'fixtures/noForceEmit/noEmit/dist/main.js' }, true ); diff --git a/packages/typescript/test/tslib.ts b/packages/typescript/test/tslib.ts index 1c4c5b7c0..aeb10ede1 100644 --- a/packages/typescript/test/tslib.ts +++ b/packages/typescript/test/tslib.ts @@ -5,7 +5,7 @@ import { rollup, RollupError } from 'rollup'; import typescript from '..'; -import { evaluateBundle, getCode, onwarn } from '../../../util/test'; +import { evaluateBundle, getCode, onwarn } from '../../../util/test.js'; test.beforeEach(() => process.chdir(__dirname)); @@ -93,11 +93,10 @@ test.serial('creates _tslib.js file when preserveModules is used', async (t) => const bundle = await rollup({ input: 'fixtures/preserve-modules/main.ts', plugins: [typescript({ tsconfig: 'fixtures/preserve-modules/tsconfig.json' })], - preserveModules: true, onwarn }); - const files = await getCode(bundle, { format: 'es' }, true); + const files = await getCode(bundle, { format: 'es', preserveModules: true }, true); t.true(files[0].fileName.includes('main.js'), files[0].fileName); t.true(files[1].fileName.includes('tslib.es6.js'), files[1].fileName); }); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f0cb40dad..701bc2993 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -504,22 +504,20 @@ importers: packages/typescript: specifiers: '@rollup/plugin-buble': ^0.21.3 - '@rollup/plugin-commonjs': ^11.1.0 - '@rollup/plugin-typescript': ^5.0.2 - '@rollup/pluginutils': ^3.1.0 - '@types/node': ^10.0.0 + '@rollup/plugin-commonjs': ^22.0.2 + '@rollup/pluginutils': ^4.2.1 + '@types/node': ^14.18.30 buble: ^0.20.0 - resolve: ^1.17.0 + resolve: ^1.22.1 rollup: ^2.67.3 - typescript: ^4.7.3 + typescript: ^4.8.3 dependencies: - '@rollup/pluginutils': 3.1.0_rollup@2.79.1 + '@rollup/pluginutils': 4.2.1 resolve: 1.22.1 devDependencies: '@rollup/plugin-buble': 0.21.3_rollup@2.79.1 - '@rollup/plugin-commonjs': 11.1.0_rollup@2.79.1 - '@rollup/plugin-typescript': 5.0.2_5q64ijqsuisqe52alrh6v6njki - '@types/node': 10.17.60 + '@rollup/plugin-commonjs': 22.0.2_rollup@2.79.1 + '@types/node': 14.18.30 buble: 0.20.0 rollup: 2.79.1 typescript: 4.8.3 @@ -2041,22 +2039,6 @@ packages: rollup: 2.79.1 dev: true - /@rollup/plugin-commonjs/11.1.0_rollup@2.79.1: - resolution: {integrity: sha512-Ycr12N3ZPN96Fw2STurD21jMqzKwL9QuFhms3SD7KKRK7oaXUsBU9Zt0jL/rOPHiPYisI21/rXGO3jr9BnLHUA==} - engines: {node: '>= 8.0.0'} - peerDependencies: - rollup: ^1.20.0||^2.0.0 - dependencies: - '@rollup/pluginutils': 3.1.0_rollup@2.79.1 - commondir: 1.0.1 - estree-walker: 1.0.1 - glob: 7.2.3 - is-reference: 1.2.1 - magic-string: 0.25.9 - resolve: 1.22.1 - rollup: 2.79.1 - dev: true - /@rollup/plugin-commonjs/14.0.0_rollup@2.79.1: resolution: {integrity: sha512-+PSmD9ePwTAeU106i9FRdc+Zb3XUWyW26mo5Atr2mk82hor8+nPwkztEjFo8/B1fJKfaQDg9aM2bzQkjhi7zOw==} engines: {node: '>= 8.0.0'} @@ -2460,10 +2442,6 @@ packages: resolution: {integrity: sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==} dev: true - /@types/node/10.17.60: - resolution: {integrity: sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==} - dev: true - /@types/node/14.0.26: resolution: {integrity: sha512-W+fpe5s91FBGE0pEa0lnqGLL4USgpLgs4nokw16SrBBco/gQxuua7KnArSEOd5iaMqbbSHV10vUDkJYJJqpXKA==} dev: false diff --git a/shared/rollup.config.mjs b/shared/rollup.config.mjs index 377390a95..3df34eb9b 100644 --- a/shared/rollup.config.mjs +++ b/shared/rollup.config.mjs @@ -23,14 +23,14 @@ export function createConfig({ pkg, external = [] }) { output: [ { format: 'cjs', - file: pkg.main, + file: pkg.exports.require, exports: 'named', footer: 'module.exports = Object.assign(exports.default, exports);', sourcemap: true }, { format: 'es', - file: pkg.module, + file: pkg.exports.import, plugins: [emitModulePackageFile()], sourcemap: true } diff --git a/tsconfig.base.json b/tsconfig.base.json index 63da44c4e..a198903e5 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -12,7 +12,7 @@ "pretty": true, "sourceMap": true, "strict": true, - "target": "es2017" + "target": "es2019" }, "exclude": ["dist", "node_modules", "test/types"] }