Skip to content

Commit

Permalink
chore(inject): update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
shellscape committed Jan 11, 2020
1 parent 1913e7f commit 73d8ae7
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 23 deletions.
12 changes: 6 additions & 6 deletions packages/inject/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,17 @@
"rollup": "^1.20.0"
},
"dependencies": {
"estree-walker": "^0.9.0",
"magic-string": "^0.25.2",
"rollup-pluginutils": "^2.6.0"
"@rollup/pluginutils": "^3.0.4",
"estree-walker": "1.0.1",
"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
13 changes: 8 additions & 5 deletions packages/inject/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
import buble from "rollup-plugin-buble";
import buble from '@rollup/plugin-buble';

import pkg from "./package.json";
import pkg from './package.json';

const external = Object.keys(pkg.dependencies).concat("path");
const external = Object.keys(pkg.dependencies).concat('path');

export default {
input: "src/index.js",
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/inject/src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { sep } from 'path';

import { attachScopes, createFilter, makeLegalIdentifier } from 'rollup-pluginutils';
import { attachScopes, createFilter, makeLegalIdentifier } from '@rollup/pluginutils';
import { walk } from 'estree-walker';

import MagicString from 'magic-string';
Expand Down
22 changes: 11 additions & 11 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 73d8ae7

Please sign in to comment.