From 00cdfede2b15742f4cdfbc55c05c1613fc4a82e8 Mon Sep 17 00:00:00 2001 From: Tiger Oakes Date: Fri, 28 Feb 2020 09:41:33 -0800 Subject: [PATCH] chore(repo): Move all .d.ts files to types folder & lint (#221) --- packages/buble/package.json | 11 ++-- packages/buble/test/types.ts | 10 ++-- packages/buble/{ => types}/index.d.ts | 7 ++- packages/commonjs/package.json | 4 +- packages/commonjs/test/types.ts | 34 +++++------ packages/commonjs/types/index.d.ts | 83 +++++++++++++------------- packages/data-uri/package.json | 2 +- packages/json/index.d.ts | 40 ------------- packages/json/package.json | 11 ++-- packages/json/test/types.ts | 38 ++++++------ packages/json/types/index.d.ts | 41 +++++++++++++ packages/node-resolve/package.json | 4 +- packages/node-resolve/types/index.d.ts | 4 +- packages/replace/index.d.ts | 35 ----------- packages/replace/package.json | 11 ++-- packages/replace/test/types.ts | 7 ++- packages/replace/types/index.d.ts | 36 +++++++++++ packages/run/index.d.ts | 8 --- packages/run/package.json | 6 +- packages/run/types/index.d.ts | 9 +++ pnpm-lock.yaml | 10 ++-- 21 files changed, 210 insertions(+), 201 deletions(-) rename packages/buble/{ => types}/index.d.ts (78%) delete mode 100755 packages/json/index.d.ts create mode 100755 packages/json/types/index.d.ts delete mode 100755 packages/replace/index.d.ts create mode 100755 packages/replace/types/index.d.ts delete mode 100644 packages/run/index.d.ts create mode 100644 packages/run/types/index.d.ts diff --git a/packages/buble/package.json b/packages/buble/package.json index 95b3ae568..63ba85d2a 100644 --- a/packages/buble/package.json +++ b/packages/buble/package.json @@ -19,19 +19,19 @@ "ci:test": "pnpm run test -- --verbose && pnpm run test:ts", "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package", "lint:docs": "prettier --single-quote --write README.md", - "lint:js": "eslint --fix --cache src test", + "lint:js": "eslint --fix --cache src test types --ext .js,.ts", "lint:package": "prettier --write package.json --plugin=prettier-plugin-package", "prebuild": "del-cli dist", "prepare": "pnpm run build", "prepublishOnly": "pnpm run lint && pnpm run test && pnpm run test:ts", "pretest": "pnpm run build", "test": "ava", - "test:ts": "tsc index.d.ts test/types.ts --noEmit" + "test:ts": "tsc types/index.d.ts test/types.ts --noEmit" }, "files": [ "dist", - "index.d.ts", "src", + "types", "README.md" ], "keywords": [ @@ -46,7 +46,7 @@ "rollup": "^1.20.0" }, "dependencies": { - "@rollup/pluginutils": "^3.0.4", + "@rollup/pluginutils": "^3.0.8", "@types/buble": "^0.19.2", "buble": "^0.19.8" }, @@ -64,5 +64,6 @@ "!**/types.ts" ] }, - "module": "dist/rollup-plugin-buble.es.js" + "module": "dist/rollup-plugin-buble.es.js", + "types": "types/index.d.ts" } diff --git a/packages/buble/test/types.ts b/packages/buble/test/types.ts index c436bfcdd..189187867 100755 --- a/packages/buble/test/types.ts +++ b/packages/buble/test/types.ts @@ -1,8 +1,8 @@ -// @ts-check -import buble, { RollupBubleOptions } from '..'; +import { RollupOptions } from 'rollup'; -/** @type {import("rollup").RollupOptions} */ -const config = { +import buble from '..'; + +const config: RollupOptions = { input: 'main.js', output: { file: 'bundle.js', @@ -13,7 +13,7 @@ const config = { exclude: 'node_modules/**', include: 'config.js', transforms: { modules: true }, - objectAssign: true, + objectAssign: true }) ] }; diff --git a/packages/buble/index.d.ts b/packages/buble/types/index.d.ts similarity index 78% rename from packages/buble/index.d.ts rename to packages/buble/types/index.d.ts index d55c562c3..b9ceb887a 100755 --- a/packages/buble/index.d.ts +++ b/packages/buble/types/index.d.ts @@ -1,16 +1,17 @@ -import { Plugin } from 'rollup'; +import { FilterPattern } from '@rollup/pluginutils'; import { TransformOptions } from 'buble'; +import { Plugin } from 'rollup'; export interface RollupBubleOptions extends TransformOptions { /** * A minimatch pattern, or array of patterns, of files that should be * processed by this plugin (if omitted, all files are included by default) */ - include?: string | RegExp | ReadonlyArray | null; + include?: FilterPattern; /** * Files that should be excluded, if `include` is otherwise too permissive. */ - exclude?: string | RegExp | ReadonlyArray | null; + exclude?: FilterPattern; } /** diff --git a/packages/commonjs/package.json b/packages/commonjs/package.json index 47806b1bc..88787046d 100644 --- a/packages/commonjs/package.json +++ b/packages/commonjs/package.json @@ -22,7 +22,7 @@ "ci:test": "pnpm run test -- --verbose && pnpm run test:ts", "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package", "lint:docs": "prettier --single-quote --write README.md", - "lint:js": "eslint --fix --cache src test", + "lint:js": "eslint --fix --cache src test types --ext .js,.ts", "lint:package": "prettier --write package.json --plugin=prettier-plugin-package", "prebuild": "del-cli dist", "prepare": "pnpm run build", @@ -49,7 +49,7 @@ "rollup": "^1.20.0" }, "dependencies": { - "@rollup/pluginutils": "^3.0.0", + "@rollup/pluginutils": "^3.0.8", "estree-walker": "^1.0.1", "is-reference": "^1.1.2", "magic-string": "^0.25.2", diff --git a/packages/commonjs/test/types.ts b/packages/commonjs/test/types.ts index 3dca2593b..a6e99e207 100644 --- a/packages/commonjs/test/types.ts +++ b/packages/commonjs/test/types.ts @@ -1,22 +1,22 @@ import commonjs from '../types'; -const config: import("rollup").RollupOptions = { - input: 'main.js', - output: { - file: 'bundle.js', - format: 'iife' - }, - plugins: [ - commonjs({ - include: 'node_modules/**', - exclude: [ 'node_modules/foo/**', 'node_modules/bar/**', /node_modules/ ], - extensions: [ '.js', '.coffee' ], - ignoreGlobal: false, - sourceMap: false, - namedExports: { './module.js': ['foo', 'bar' ] }, - ignore: [ 'conditional-runtime-dependency' ] - }) - ] +const config: import('rollup').RollupOptions = { + input: 'main.js', + output: { + file: 'bundle.js', + format: 'iife' + }, + plugins: [ + commonjs({ + include: 'node_modules/**', + exclude: ['node_modules/foo/**', 'node_modules/bar/**', /node_modules/], + extensions: ['.js', '.coffee'], + ignoreGlobal: false, + sourceMap: false, + namedExports: { './module.js': ['foo', 'bar'] }, + ignore: ['conditional-runtime-dependency'] + }) + ] }; export default config; diff --git a/packages/commonjs/types/index.d.ts b/packages/commonjs/types/index.d.ts index 90530c87f..f57388fe1 100644 --- a/packages/commonjs/types/index.d.ts +++ b/packages/commonjs/types/index.d.ts @@ -1,47 +1,48 @@ +import { FilterPattern } from '@rollup/pluginutils'; import { Plugin } from 'rollup'; interface RollupCommonJSOptions { - /** - * non-CommonJS modules will be ignored, but you can also - * specifically include/exclude files - * @default undefined - */ - include?: string | RegExp | ReadonlyArray, - /** - * non-CommonJS modules will be ignored, but you can also - * specifically include/exclude files - * @default undefined - */ - exclude?: string | RegExp | ReadonlyArray, - /** - * search for files other than .js files (must already - * be transpiled by a previous plugin!) - * @default [ '.js' ] - */ - extensions?: ReadonlyArray, - /** - * if true then uses of `global` won't be dealt with by this plugin - * @default false - */ - ignoreGlobal?: boolean, - /** - * if false then skip sourceMap generation for CommonJS modules - * @default true - */ - sourceMap?: boolean, - /** - * explicitly specify unresolvable named exports - * ([see below for more details](https://github.com/rollup/plugins/tree/master/packages/commonjs#named-exports)) - * @default undefined - */ - namedExports?: { [package: string]: ReadonlyArray }, - /** - * sometimes you have to leave require statements - * unconverted. Pass an array containing the IDs - * or a `id => boolean` function. Only use this - * option if you know what you're doing! - */ - ignore?: ReadonlyArray boolean)>, + /** + * non-CommonJS modules will be ignored, but you can also + * specifically include/exclude files + * @default undefined + */ + include?: FilterPattern; + /** + * non-CommonJS modules will be ignored, but you can also + * specifically include/exclude files + * @default undefined + */ + exclude?: FilterPattern; + /** + * search for files other than .js files (must already + * be transpiled by a previous plugin!) + * @default [ '.js' ] + */ + extensions?: ReadonlyArray; + /** + * if true then uses of `global` won't be dealt with by this plugin + * @default false + */ + ignoreGlobal?: boolean; + /** + * if false then skip sourceMap generation for CommonJS modules + * @default true + */ + sourceMap?: boolean; + /** + * explicitly specify unresolvable named exports + * ([see below for more details](https://github.com/rollup/plugins/tree/master/packages/commonjs#named-exports)) + * @default undefined + */ + namedExports?: { [package: string]: ReadonlyArray }; + /** + * sometimes you have to leave require statements + * unconverted. Pass an array containing the IDs + * or a `id => boolean` function. Only use this + * option if you know what you're doing! + */ + ignore?: ReadonlyArray boolean)>; } /** diff --git a/packages/data-uri/package.json b/packages/data-uri/package.json index 9f7d47bc0..a5741dca3 100644 --- a/packages/data-uri/package.json +++ b/packages/data-uri/package.json @@ -22,7 +22,7 @@ "ci:test": "pnpm run test -- --verbose", "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package", "lint:docs": "prettier --single-quote --write README.md", - "lint:js": "eslint --fix --cache src test --ext .js,.ts", + "lint:js": "eslint --fix --cache src test types --ext .js,.ts", "lint:package": "prettier --write package.json --plugin=prettier-plugin-package", "prebuild": "del-cli dist", "prepublishOnly": "pnpm run lint && pnpm run build", diff --git a/packages/json/index.d.ts b/packages/json/index.d.ts deleted file mode 100755 index 03811cbee..000000000 --- a/packages/json/index.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { Plugin } from 'rollup'; - -export interface RollupJsonOptions { - /** - * All JSON files will be parsed by default, - * but you can also specifically include files - */ - include?: string | RegExp | ReadonlyArray | null; - /** - * All JSON files will be parsed by default, - * but you can also specifically exclude files - */ - exclude?: string | RegExp | ReadonlyArray | null; - /** - * For tree-shaking, properties will be declared as variables, using - * either `var` or `const`. - * @default false - */ - preferConst?: boolean; - /** - * Specify indentation for the generated default export - * @default '\t' - */ - indent?: string; - /** - * Ignores indent and generates the smallest code - * @default false - */ - compact?: boolean; - /** - * Generate a named export for every property of the JSON object - * @default true - */ - namedExports?: boolean; -} - -/** - * Convert .json files to ES6 modules - */ -export default function json(options?: RollupJsonOptions): Plugin; diff --git a/packages/json/package.json b/packages/json/package.json index 14df5c5ca..8ee97e5e5 100755 --- a/packages/json/package.json +++ b/packages/json/package.json @@ -19,18 +19,18 @@ "ci:test": "pnpm run test -- --verbose && pnpm run test:ts", "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package", "lint:docs": "prettier --single-quote --write README.md", - "lint:js": "eslint --fix --cache src test", + "lint:js": "eslint --fix --cache src test types --ext .js,.ts", "lint:package": "prettier --write package.json --plugin=prettier-plugin-package", "prebuild": "del-cli dist", "prepare": "pnpm run build", "prepublishOnly": "pnpm run lint && pnpm run test", "pretest": "pnpm run build", "test": "ava", - "test:ts": "tsc index.d.ts test/types.ts --noEmit" + "test:ts": "tsc types/index.d.ts test/types.ts --noEmit" }, "files": [ "dist", - "index.d.ts", + "types", "README.md", "LICENSE" ], @@ -46,7 +46,7 @@ "rollup": "^1.20.0" }, "dependencies": { - "@rollup/pluginutils": "^3.0.4" + "@rollup/pluginutils": "^3.0.8" }, "devDependencies": { "@rollup/plugin-buble": "^0.21.0", @@ -61,5 +61,6 @@ "!**/types.ts" ] }, - "module": "dist/index.es.js" + "module": "dist/index.es.js", + "types": "types/index.d.ts" } diff --git a/packages/json/test/types.ts b/packages/json/test/types.ts index 773185afc..1f8cc3cec 100755 --- a/packages/json/test/types.ts +++ b/packages/json/test/types.ts @@ -1,23 +1,23 @@ -// @ts-check -import json, { RollupJsonOptions } from '..'; +import { RollupOptions } from 'rollup'; -/** @type {import("rollup").RollupOptions} */ -const config = { - input: 'main.js', - output: { - file: 'bundle.js', - format: 'iife' - }, - plugins: [ - json({ - include: 'node_modules/**', - exclude: ['node_modules/foo/**', 'node_modules/bar/**'], - preferConst: true, - indent: ' ', - compact: true, - namedExports: true - }) - ] +import json from '..'; + +const config: RollupOptions = { + input: 'main.js', + output: { + file: 'bundle.js', + format: 'iife' + }, + plugins: [ + json({ + include: 'node_modules/**', + exclude: ['node_modules/foo/**', 'node_modules/bar/**'], + preferConst: true, + indent: ' ', + compact: true, + namedExports: true + }) + ] }; export default config; diff --git a/packages/json/types/index.d.ts b/packages/json/types/index.d.ts new file mode 100755 index 000000000..e25b88fa6 --- /dev/null +++ b/packages/json/types/index.d.ts @@ -0,0 +1,41 @@ +import { FilterPattern } from '@rollup/pluginutils'; +import { Plugin } from 'rollup'; + +export interface RollupJsonOptions { + /** + * All JSON files will be parsed by default, + * but you can also specifically include files + */ + include?: FilterPattern; + /** + * All JSON files will be parsed by default, + * but you can also specifically exclude files + */ + exclude?: FilterPattern; + /** + * For tree-shaking, properties will be declared as variables, using + * either `var` or `const`. + * @default false + */ + preferConst?: boolean; + /** + * Specify indentation for the generated default export + * @default '\t' + */ + indent?: string; + /** + * Ignores indent and generates the smallest code + * @default false + */ + compact?: boolean; + /** + * Generate a named export for every property of the JSON object + * @default true + */ + namedExports?: boolean; +} + +/** + * Convert .json files to ES6 modules + */ +export default function json(options?: RollupJsonOptions): Plugin; diff --git a/packages/node-resolve/package.json b/packages/node-resolve/package.json index 1241513d6..1421a228d 100755 --- a/packages/node-resolve/package.json +++ b/packages/node-resolve/package.json @@ -22,7 +22,7 @@ "ci:test": "pnpm run test -- --verbose && pnpm run test:ts", "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package", "lint:docs": "prettier --single-quote --write README.md", - "lint:js": "eslint --fix --cache src test", + "lint:js": "eslint --fix --cache src test types --ext .js,.ts", "lint:package": "prettier --write package.json --plugin=prettier-plugin-package", "prebuild": "del-cli dist", "prepare": "pnpm run build", @@ -48,7 +48,7 @@ "rollup": "^1.20.0" }, "dependencies": { - "@rollup/pluginutils": "^3.0.6", + "@rollup/pluginutils": "^3.0.8", "@types/resolve": "0.0.8", "builtin-modules": "^3.1.0", "is-module": "^1.0.0", diff --git a/packages/node-resolve/types/index.d.ts b/packages/node-resolve/types/index.d.ts index 4b4f7a819..2ef6b59c9 100755 --- a/packages/node-resolve/types/index.d.ts +++ b/packages/node-resolve/types/index.d.ts @@ -28,7 +28,7 @@ export interface Options { * Specifies the extensions of files that the plugin will operate on. * @default [ '.mjs', '.js', '.json', '.node' ] */ - extensions?: ReadonlyArray; + extensions?: readonly string[]; /** * Locks the module search within specified path (e.g. chroot). Modules defined @@ -42,7 +42,7 @@ export interface Options { * bundle entry point. * @default ['module', 'main'] */ - mainFields?: ReadonlyArray; + mainFields?: readonly string[]; /** * If `true`, inspect resolved files to assert that they are ES2015 modules. diff --git a/packages/replace/index.d.ts b/packages/replace/index.d.ts deleted file mode 100755 index 080a3ac43..000000000 --- a/packages/replace/index.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { Plugin } from 'rollup'; - -type Replacement = string | ((id: string) => string); - -export interface RollupReplaceOptions { - /** - * A minimatch pattern, or array of patterns, of files that should be - * processed by this plugin (if omitted, all files are included by default) - */ - include?: string | RegExp | ReadonlyArray | null; - /** - * Files that should be excluded, if `include` is otherwise too permissive. - */ - exclude?: string | RegExp | ReadonlyArray | null; - /** - * To replace every occurrence of `<@foo@>` instead of every occurrence - * of `foo`, supply delimiters - */ - delimiters?: [string, string]; - /** - * You can separate values to replace from other options. - */ - values?: { [str: string]: Replacement }; - - /** - * All other options are treated as `string: replacement` replacers, - * or `string: (id) => replacement` functions. - */ - [str: string]: Replacement | RollupReplaceOptions['include'] | RollupReplaceOptions['values']; -} - -/** - * Replace strings in files while bundling them. - */ -export default function replace(options?: RollupReplaceOptions): Plugin; diff --git a/packages/replace/package.json b/packages/replace/package.json index be48f73df..3fa85982d 100644 --- a/packages/replace/package.json +++ b/packages/replace/package.json @@ -19,19 +19,19 @@ "ci:test": "pnpm run test -- --verbose && pnpm run test:ts", "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package", "lint:docs": "prettier --single-quote --write README.md", - "lint:js": "eslint --fix --cache src test", + "lint:js": "eslint --fix --cache src test types --ext .js,.ts", "lint:package": "prettier --write package.json --plugin=prettier-plugin-package", "prebuild": "del-cli dist", "prepare": "pnpm run build", "prepublishOnly": "pnpm run lint && pnpm run test", "pretest": "pnpm run build", "test": "ava", - "test:ts": "tsc index.d.ts test/types.ts --noEmit" + "test:ts": "tsc types/index.d.ts test/types.ts --noEmit" }, "files": [ "dist", - "index.d.ts", "src", + "types", "README.md" ], "keywords": [ @@ -46,7 +46,7 @@ "rollup": "^1.20.0" }, "dependencies": { - "@rollup/pluginutils": "^3.0.4", + "@rollup/pluginutils": "^3.0.8", "magic-string": "^0.25.5" }, "devDependencies": { @@ -65,5 +65,6 @@ "!**/types.ts" ] }, - "module": "dist/rollup-plugin-replace.es.js" + "module": "dist/rollup-plugin-replace.es.js", + "types": "types/index.d.ts" } diff --git a/packages/replace/test/types.ts b/packages/replace/test/types.ts index 244540886..20f55160e 100755 --- a/packages/replace/test/types.ts +++ b/packages/replace/test/types.ts @@ -1,10 +1,11 @@ // @ts-check import { dirname } from 'path'; -import replace, { RollupReplaceOptions } from '..'; +import { RollupOptions } from 'rollup'; -/** @type {import("rollup").RollupOptions} */ -const config = { +import replace from '..'; + +const config: RollupOptions = { input: 'main.js', output: { file: 'bundle.js', diff --git a/packages/replace/types/index.d.ts b/packages/replace/types/index.d.ts new file mode 100755 index 000000000..642a8c10f --- /dev/null +++ b/packages/replace/types/index.d.ts @@ -0,0 +1,36 @@ +import { FilterPattern } from '@rollup/pluginutils'; +import { Plugin } from 'rollup'; + +type Replacement = string | ((id: string) => string); + +export interface RollupReplaceOptions { + /** + * All other options are treated as `string: replacement` replacers, + * or `string: (id) => replacement` functions. + */ + [str: string]: Replacement | RollupReplaceOptions['include'] | RollupReplaceOptions['values']; + + /** + * A minimatch pattern, or array of patterns, of files that should be + * processed by this plugin (if omitted, all files are included by default) + */ + include?: FilterPattern; + /** + * Files that should be excluded, if `include` is otherwise too permissive. + */ + exclude?: FilterPattern; + /** + * To replace every occurrence of `<@foo@>` instead of every occurrence + * of `foo`, supply delimiters + */ + delimiters?: [string, string]; + /** + * You can separate values to replace from other options. + */ + values?: { [str: string]: Replacement }; +} + +/** + * Replace strings in files while bundling them. + */ +export default function replace(options?: RollupReplaceOptions): Plugin; diff --git a/packages/run/index.d.ts b/packages/run/index.d.ts deleted file mode 100644 index 4eec7c40a..000000000 --- a/packages/run/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { ForkOptions } from 'child_process' -import { Plugin } from 'rollup' - -/** - * Run your bundles in Node once they're built - * @param options These are passed through to `child_process.fork(..)` - */ -export default function run(options?: ForkOptions): Plugin diff --git a/packages/run/package.json b/packages/run/package.json index ef13fa87d..da85c6cde 100644 --- a/packages/run/package.json +++ b/packages/run/package.json @@ -18,14 +18,14 @@ "ci:test": "pnpm run test -- --verbose", "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package", "lint:docs": "prettier --single-quote --write README.md", - "lint:js": "eslint --fix --cache lib test", + "lint:js": "eslint --fix --cache lib test types --ext .js,.ts", "lint:package": "prettier --write package.json --plugin=prettier-plugin-package", "prepublishOnly": "pnpm run lint && pnpm run test", "test": "ava" }, "files": [ - "index.d.ts", - "lib" + "lib", + "types" ], "keywords": [ "rollup", diff --git a/packages/run/types/index.d.ts b/packages/run/types/index.d.ts new file mode 100644 index 000000000..ab2290047 --- /dev/null +++ b/packages/run/types/index.d.ts @@ -0,0 +1,9 @@ +import { ForkOptions } from 'child_process'; + +import { Plugin } from 'rollup'; + +/** + * Run your bundles in Node once they're built + * @param options These are passed through to `child_process.fork(..)` + */ +export default function run(options?: ForkOptions): Plugin; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7126eee14..713f2534b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -93,7 +93,7 @@ importers: source-map: 0.7.3 typescript: 3.7.5 specifiers: - '@rollup/pluginutils': ^3.0.4 + '@rollup/pluginutils': ^3.0.8 '@types/buble': ^0.19.2 buble: ^0.19.8 del-cli: ^3.0.0 @@ -129,7 +129,7 @@ importers: '@babel/register': ^7.7.7 '@rollup/plugin-json': ^4.0.1 '@rollup/plugin-node-resolve': ^7.0.0 - '@rollup/pluginutils': ^3.0.0 + '@rollup/pluginutils': ^3.0.8 acorn: ^7.1.0 estree-walker: ^1.0.1 is-reference: ^1.1.2 @@ -220,7 +220,7 @@ importers: specifiers: '@rollup/plugin-buble': ^0.21.0 '@rollup/plugin-node-resolve': ^7.0.0 - '@rollup/pluginutils': ^3.0.4 + '@rollup/pluginutils': ^3.0.8 source-map-support: ^0.5.16 packages/legacy: devDependencies: @@ -266,7 +266,7 @@ importers: '@babel/core': ^7.8.3 '@babel/preset-env': ^7.8.3 '@rollup/plugin-json': ^4.0.1 - '@rollup/pluginutils': ^3.0.6 + '@rollup/pluginutils': ^3.0.8 '@types/resolve': 0.0.8 builtin-modules: ^3.1.0 es5-ext: ^0.10.53 @@ -314,7 +314,7 @@ importers: typescript: 3.7.5 specifiers: '@rollup/plugin-buble': ^0.21.0 - '@rollup/pluginutils': ^3.0.4 + '@rollup/pluginutils': ^3.0.8 del-cli: ^3.0.0 locate-character: ^2.0.5 magic-string: ^0.25.5