diff --git a/package.json b/package.json index d536d79..871fbea 100644 --- a/package.json +++ b/package.json @@ -31,9 +31,6 @@ "build": "madrun build", "minify": "madrun minify" }, - "dependencies": { - "@putout/plugin-nodejs": "^12.0.0" - }, "keywords": [ "putout", "minify", @@ -50,7 +47,7 @@ "@putout/plugin-apply-shorthand-properties": "^5.1.0", "@putout/plugin-apply-template-literals": "^3.0.0", "@putout/plugin-conditions": "^5.0.0", - "@putout/plugin-convert-arguments-to-rest": "^3.0.0", + "@putout/plugin-convert-arguments-to-rest": "^3.1.0", "@putout/plugin-convert-to-arrow-function": "^4.0.0", "@putout/plugin-declare": "^4.0.0", "@putout/plugin-for-of": "^6.0.0", diff --git a/test/fixture/convert-arguments-to-rest-fix.js b/test/fixture/convert-arguments-to-rest-fix.js index 26fb083..e3b0cb8 100644 --- a/test/fixture/convert-arguments-to-rest-fix.js +++ b/test/fixture/convert-arguments-to-rest-fix.js @@ -1 +1 @@ -(function(){'use strict';function a(...args){for(let i=0;i { test('@putout/minify: convert-arguments-to-rest', (t) => { t.minify('convert-arguments-to-rest', { - expected: [1, 2], + expected: [1, 2, 3], }); t.end(); });