diff --git a/package.json b/package.json index 987bc64c..e7241707 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "test": "ava" }, "dependencies": { - "expression-expander": "^6.1.2", + "expression-expander": "^7.0.0", "pratt-parser": "^7.0.9" }, "devDependencies": { diff --git a/rollup.config.js b/rollup.config.js index eaea0205..036bf1ec 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,26 +1,25 @@ import json from "rollup-plugin-json"; -import resolve from 'rollup-plugin-node-resolve'; -import commonjs from 'rollup-plugin-commonjs'; -import executable from 'rollup-plugin-executable'; -import cleanup from 'rollup-plugin-cleanup'; -import pkg from './package.json'; +import resolve from "rollup-plugin-node-resolve"; +import commonjs from "rollup-plugin-commonjs"; +import executable from "rollup-plugin-executable"; +import cleanup from "rollup-plugin-cleanup"; +import pkg from "./package.json"; export default { output: { file: pkg.main, - format: 'cjs', + format: "cjs", interop: false }, plugins: [resolve(), commonjs(), cleanup()], external: [ - 'os', - 'util', - 'child_process', - 'path', - 'fs', - 'crypto', - 'expression-expander', - 'pratt-parser' + "os", + "util", + "child_process", + "path", + "fs", + "crypto", + "pratt-parser" ], input: pkg.module };