From aca4a9497b5d756576e9819ca9055a026b66a26a Mon Sep 17 00:00:00 2001 From: shellscape Date: Fri, 10 Jan 2020 21:50:46 -0500 Subject: [PATCH] chore(replace): update dependencies --- packages/replace/package.json | 10 +++++----- packages/replace/rollup.config.js | 7 +++++-- packages/replace/src/index.js | 2 +- pnpm-lock.yaml | 22 +++++++--------------- 4 files changed, 18 insertions(+), 23 deletions(-) diff --git a/packages/replace/package.json b/packages/replace/package.json index cf4cf964d..2fb00a6d1 100644 --- a/packages/replace/package.json +++ b/packages/replace/package.json @@ -46,16 +46,16 @@ "rollup": "^1.20.0" }, "dependencies": { - "magic-string": "^0.25.2", - "rollup-pluginutils": "^2.6.0" + "@rollup/pluginutils": "^3.0.4", + "magic-string": "^0.25.5" }, "devDependencies": { + "@rollup/plugin-buble": "^0.21.0", "del-cli": "^3.0.0", "locate-character": "^2.0.5", - "rollup": "^1.20.0", - "rollup-plugin-buble": "^0.19.6", + "rollup": "^1.27.14", "source-map": "^0.7.3", - "typescript": "^3.4.3" + "typescript": "^3.7.4" }, "ava": { "files": [ diff --git a/packages/replace/rollup.config.js b/packages/replace/rollup.config.js index cd2ffc594..5427c6bd8 100755 --- a/packages/replace/rollup.config.js +++ b/packages/replace/rollup.config.js @@ -1,4 +1,4 @@ -import buble from 'rollup-plugin-buble'; +import buble from '@rollup/plugin-buble'; import pkg from './package.json'; @@ -8,5 +8,8 @@ export default { input: 'src/index.js', plugins: [buble()], external, - output: [{ file: pkg.main, format: 'cjs' }, { file: pkg.module, format: 'es' }] + output: [ + { file: pkg.main, format: 'cjs' }, + { file: pkg.module, format: 'es' } + ] }; diff --git a/packages/replace/src/index.js b/packages/replace/src/index.js index 0d15403e9..e662a056c 100755 --- a/packages/replace/src/index.js +++ b/packages/replace/src/index.js @@ -1,5 +1,5 @@ import MagicString from 'magic-string'; -import { createFilter } from 'rollup-pluginutils'; +import { createFilter } from '@rollup/pluginutils'; function escape(str) { return str.replace(/[-[\]/{}()*+?.\\^$|]/g, '\\$&'); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d74930718..093bce30b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -301,24 +301,24 @@ importers: typescript: ^3.7.2 packages/replace: dependencies: + '@rollup/pluginutils': 3.0.4_rollup@1.27.14 magic-string: 0.25.5 - rollup-pluginutils: 2.8.2 devDependencies: + '@rollup/plugin-buble': 0.21.0_rollup@1.27.14 del-cli: 3.0.0 locate-character: 2.0.5 rollup: 1.27.14 - rollup-plugin-buble: 0.19.8 source-map: 0.7.3 typescript: 3.7.4 specifiers: + '@rollup/plugin-buble': ^0.21.0 + '@rollup/pluginutils': ^3.0.4 del-cli: ^3.0.0 locate-character: ^2.0.5 - magic-string: ^0.25.2 - rollup: ^1.20.0 - rollup-plugin-buble: ^0.19.6 - rollup-pluginutils: ^2.6.0 + magic-string: ^0.25.5 + rollup: ^1.27.14 source-map: ^0.7.3 - typescript: ^3.4.3 + typescript: ^3.7.4 packages/run: devDependencies: '@types/node': 12.12.22 @@ -6364,14 +6364,6 @@ packages: rollup: '>=0.60.0 <2' resolution: integrity: sha512-tKzWOCmIJD/6aKNz0H1GMM+lW1q9KyFubbWzGiOG540zxPPifnEAHTZwjo0g991Y+DyOZcLqBgqOdqazYE5fkw== - /rollup-plugin-buble/0.19.8: - dependencies: - buble: 0.19.8 - rollup-pluginutils: 2.8.2 - deprecated: This module has been deprecated and is no longer maintained. Please use @rollup/plugin-buble. - dev: true - resolution: - integrity: sha512-8J4zPk2DQdk3rxeZvxgzhHh/rm5nJkjwgcsUYisCQg1QbT5yagW+hehYEW7ZNns/NVbDCTv4JQ7h4fC8qKGOKw== /rollup-plugin-commonjs/10.1.0: dependencies: estree-walker: 0.6.1