Skip to content

Commit

Permalink
chore(replace): update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
shellscape committed Jan 13, 2020
1 parent e1d317b commit aca4a94
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 23 deletions.
10 changes: 5 additions & 5 deletions packages/replace/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
7 changes: 5 additions & 2 deletions packages/replace/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import buble from 'rollup-plugin-buble';
import buble from '@rollup/plugin-buble';

import pkg from './package.json';

Expand All @@ -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' }
]
};
2 changes: 1 addition & 1 deletion packages/replace/src/index.js
Original file line number Diff line number Diff line change
@@ -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, '\\$&');
Expand Down
22 changes: 7 additions & 15 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit aca4a94

Please sign in to comment.