diff --git a/package-lock.json b/package-lock.json index 92a47160619..2091249b59a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8025,7 +8025,8 @@ "ansi-regex": { "version": "2.1.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "aproba": { "version": "1.2.0", @@ -8046,12 +8047,14 @@ "balanced-match": { "version": "1.0.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, "dev": true, + "optional": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -8066,17 +8069,20 @@ "code-point-at": { "version": "1.1.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "concat-map": { "version": "0.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "console-control-strings": { "version": "1.1.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "core-util-is": { "version": "1.0.2", @@ -8193,7 +8199,8 @@ "inherits": { "version": "2.0.3", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "ini": { "version": "1.3.5", @@ -8205,6 +8212,7 @@ "version": "1.0.0", "bundled": true, "dev": true, + "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -8219,6 +8227,7 @@ "version": "3.0.4", "bundled": true, "dev": true, + "optional": true, "requires": { "brace-expansion": "^1.1.7" } @@ -8226,12 +8235,14 @@ "minimist": { "version": "0.0.8", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "minipass": { "version": "2.3.5", "bundled": true, "dev": true, + "optional": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -8250,6 +8261,7 @@ "version": "0.5.1", "bundled": true, "dev": true, + "optional": true, "requires": { "minimist": "0.0.8" } @@ -8330,7 +8342,8 @@ "number-is-nan": { "version": "1.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "object-assign": { "version": "4.1.1", @@ -8342,6 +8355,7 @@ "version": "1.4.0", "bundled": true, "dev": true, + "optional": true, "requires": { "wrappy": "1" } @@ -8427,7 +8441,8 @@ "safe-buffer": { "version": "5.1.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "safer-buffer": { "version": "2.1.2", @@ -8463,6 +8478,7 @@ "version": "1.0.2", "bundled": true, "dev": true, + "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -8482,6 +8498,7 @@ "version": "3.0.1", "bundled": true, "dev": true, + "optional": true, "requires": { "ansi-regex": "^2.0.0" } @@ -8525,12 +8542,14 @@ "wrappy": { "version": "1.0.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "yallist": { "version": "3.0.3", "bundled": true, - "dev": true + "dev": true, + "optional": true } } }, diff --git a/test/binCases/config-location/find-recursively/packages/foo/find-recursively.test.js b/test/binCases/config-location/find-recursively/packages/foo/find-recursively.test.js index ffad5efc1e0..8c4e7a3b14b 100644 --- a/test/binCases/config-location/find-recursively/packages/foo/find-recursively.test.js +++ b/test/binCases/config-location/find-recursively/packages/foo/find-recursively.test.js @@ -9,7 +9,7 @@ test("find-recursively", () => { "--output-chunk-filename", "[id].chunk.js", "--target", - "async-node", + "async-node" ]); expect(code).toBe(0); expect(stdout).toEqual(expect.anything()); diff --git a/test/binCases/config-location/not-found/not-found.test.js b/test/binCases/config-location/not-found/not-found.test.js index 08d880839fa..3937cb7bb68 100644 --- a/test/binCases/config-location/not-found/not-found.test.js +++ b/test/binCases/config-location/not-found/not-found.test.js @@ -11,7 +11,7 @@ test("not-found", () => { "--target", "async-node", "--mode", - "production", + "production" ]); expect(code).toBe(0); expect(stdout).toContain("./src/index.js"); diff --git a/test/binCases/config-location/set-explicitly/set-explicitly.test.js b/test/binCases/config-location/set-explicitly/set-explicitly.test.js index 3c7e0f15521..930c8af1198 100644 --- a/test/binCases/config-location/set-explicitly/set-explicitly.test.js +++ b/test/binCases/config-location/set-explicitly/set-explicitly.test.js @@ -13,7 +13,7 @@ test("set-explicitly", () => { "--output-chunk-filename", "[id].chunk.js", "--target", - "async-node", + "async-node" ]); expect(code).toBe(0); expect(stdout).toEqual(expect.anything()); diff --git a/test/binCases/config-location/set-implicitly/set-implicitly.test.js b/test/binCases/config-location/set-implicitly/set-implicitly.test.js index db34f853778..1e172fa1838 100644 --- a/test/binCases/config-location/set-implicitly/set-implicitly.test.js +++ b/test/binCases/config-location/set-implicitly/set-implicitly.test.js @@ -9,7 +9,7 @@ test("set-implicitly", () => { "--output-chunk-filename", "[id].chunk.js", "--target", - "async-node", + "async-node" ]); expect(code).toBe(0); expect(stdout).toEqual(expect.anything()); diff --git a/test/binCases/config-location/webpack-babel-config/webpack-babel-config.test.js b/test/binCases/config-location/webpack-babel-config/webpack-babel-config.test.js index 397105b6407..ac47018dd6d 100644 --- a/test/binCases/config-location/webpack-babel-config/webpack-babel-config.test.js +++ b/test/binCases/config-location/webpack-babel-config/webpack-babel-config.test.js @@ -3,13 +3,7 @@ const { run } = require("../../../testUtils"); test("webpack-babel-config", () => { - const { stdout, stderr } = run(__dirname, [ - "--target", - "async-node", - "-r", - "esm", - "@babel/register" - ]); + const { stdout, stderr } = run(__dirname, ["--target", "async-node", "-r", "esm", "@babel/register"]); expect(stdout).toContain("es6.js"); expect(stderr).toHaveLength(0); }); diff --git a/test/binCases/config-location/webpackfile-config/packages/foo/webpackfile-config.test.js b/test/binCases/config-location/webpackfile-config/packages/foo/webpackfile-config.test.js index 099948820cc..aacdb3a0784 100644 --- a/test/binCases/config-location/webpackfile-config/packages/foo/webpackfile-config.test.js +++ b/test/binCases/config-location/webpackfile-config/packages/foo/webpackfile-config.test.js @@ -9,7 +9,7 @@ test("find-recursively", () => { "--output-chunk-filename", "[id].chunk.js", "--target", - "async-node", + "async-node" ]); expect(code).toBe(0); expect(stdout).toEqual(expect.anything()); diff --git a/test/binCases/config-type/array/webpack.config.js b/test/binCases/config-type/array/webpack.config.js index 1d20d09c796..8be9e9017fd 100644 --- a/test/binCases/config-type/array/webpack.config.js +++ b/test/binCases/config-type/array/webpack.config.js @@ -12,4 +12,3 @@ module.exports = [ } } ]; - diff --git a/test/binCases/config-type/invalid-array/webpack.config.js b/test/binCases/config-type/invalid-array/webpack.config.js index 02b8aeeaa75..95762018a7b 100644 --- a/test/binCases/config-type/invalid-array/webpack.config.js +++ b/test/binCases/config-type/invalid-array/webpack.config.js @@ -13,4 +13,3 @@ module.exports = [ } } ]; - diff --git a/test/binCases/config-type/invalid-type/webpack.config.js b/test/binCases/config-type/invalid-type/webpack.config.js index 2823b797697..554366b1445 100644 --- a/test/binCases/config-type/invalid-type/webpack.config.js +++ b/test/binCases/config-type/invalid-type/webpack.config.js @@ -1,2 +1 @@ module.exports = 100; - diff --git a/test/binCases/entry/display-entrypoints/webpack.config.js b/test/binCases/entry/display-entrypoints/webpack.config.js index 7ae59c51e2c..a5c12a44666 100644 --- a/test/binCases/entry/display-entrypoints/webpack.config.js +++ b/test/binCases/entry/display-entrypoints/webpack.config.js @@ -1,5 +1,5 @@ var path = require("path"); module.exports = { - entry: path.resolve(__dirname, "./index"), + entry: path.resolve(__dirname, "./index") }; diff --git a/test/binCases/stats/single-config/single-config.test.js b/test/binCases/stats/single-config/single-config.test.js index e8f50126247..b8807be6635 100644 --- a/test/binCases/stats/single-config/single-config.test.js +++ b/test/binCases/stats/single-config/single-config.test.js @@ -1,6 +1,6 @@ "use strict"; -jest.setTimeout(10E6); +jest.setTimeout(10e6); /* eslint-disable node/no-unsupported-features */ /* eslint-disable node/no-unsupported-features/es-syntax */ diff --git a/test/binCases/watch/info-verbosity-off/info-verbosity-off.test.js b/test/binCases/watch/info-verbosity-off/info-verbosity-off.test.js index bb416f354bd..6e511198793 100644 --- a/test/binCases/watch/info-verbosity-off/info-verbosity-off.test.js +++ b/test/binCases/watch/info-verbosity-off/info-verbosity-off.test.js @@ -1,11 +1,17 @@ "use strict"; -jest.setTimeout(10E6); +jest.setTimeout(10e6); /* eslint-disable node/no-unsupported-features */ /* eslint-disable node/no-unsupported-features/es-syntax */ const fs = require("fs"); const path = require("path"); -const { extractSummary, extractHash, appendDataIfFileExists, runAndGetWatchProc, copyFile } = require("../../../testUtils"); +const { + extractSummary, + extractHash, + appendDataIfFileExists, + runAndGetWatchProc, + copyFile +} = require("../../../testUtils"); const fileToChange = "index.js"; const fileToChangePath = path.resolve(__dirname, fileToChange); diff --git a/test/binCases/watch/info-verbosity-verbose/info-verbosity-verbose.test.js b/test/binCases/watch/info-verbosity-verbose/info-verbosity-verbose.test.js index 5b6b3972189..ca6d0255e63 100644 --- a/test/binCases/watch/info-verbosity-verbose/info-verbosity-verbose.test.js +++ b/test/binCases/watch/info-verbosity-verbose/info-verbosity-verbose.test.js @@ -1,11 +1,17 @@ "use strict"; -jest.setTimeout(10E6); +jest.setTimeout(10e6); /* eslint-disable node/no-unsupported-features */ /* eslint-disable node/no-unsupported-features/es-syntax */ const fs = require("fs"); const path = require("path"); -const { extractSummary, extractHash, appendDataIfFileExists, runAndGetWatchProc, copyFile } = require("../../../testUtils"); +const { + extractSummary, + extractHash, + appendDataIfFileExists, + runAndGetWatchProc, + copyFile +} = require("../../../testUtils"); const fileToChange = "index.js"; const fileToChangePath = path.resolve(__dirname, fileToChange); @@ -107,6 +113,5 @@ test.skip("info-verbosity-verbose", done => { default: break; } - }); }); diff --git a/test/binCases/watch/multi-config-watch-opt/multi-config-watch-opt.test.js b/test/binCases/watch/multi-config-watch-opt/multi-config-watch-opt.test.js index a89fb1b53e8..b13265f88df 100644 --- a/test/binCases/watch/multi-config-watch-opt/multi-config-watch-opt.test.js +++ b/test/binCases/watch/multi-config-watch-opt/multi-config-watch-opt.test.js @@ -1,11 +1,17 @@ "use strict"; -jest.setTimeout(10E6); +jest.setTimeout(10e6); /* eslint-disable node/no-unsupported-features */ /* eslint-disable node/no-unsupported-features/es-syntax */ const fs = require("fs"); const path = require("path"); -const { extractSummary, extractHash, appendDataIfFileExists, runAndGetWatchProc, copyFile } = require("../../../testUtils"); +const { + extractSummary, + extractHash, + appendDataIfFileExists, + runAndGetWatchProc, + copyFile +} = require("../../../testUtils"); const fileToChange = "index.js"; const fileToChangePath = path.resolve(__dirname, fileToChange); @@ -86,4 +92,3 @@ test.skip("multi-config-watch-opt", done => { expect(error.toString()).toContain("webpack is watching the files"); }); }); - diff --git a/test/binCases/watch/multi-config/multi-config.test.js b/test/binCases/watch/multi-config/multi-config.test.js index 7738b81472d..4a9f58ce0e8 100644 --- a/test/binCases/watch/multi-config/multi-config.test.js +++ b/test/binCases/watch/multi-config/multi-config.test.js @@ -1,11 +1,17 @@ "use strict"; -jest.setTimeout(10E6); +jest.setTimeout(10e6); /* eslint-disable node/no-unsupported-features */ /* eslint-disable node/no-unsupported-features/es-syntax */ const fs = require("fs"); const path = require("path"); -const { extractSummary, extractHash, appendDataIfFileExists, runAndGetWatchProc, copyFile } = require("../../../testUtils"); +const { + extractSummary, + extractHash, + appendDataIfFileExists, + runAndGetWatchProc, + copyFile +} = require("../../../testUtils"); const fileToChange = "index.js"; const fileToChangePath = path.resolve(__dirname, fileToChange); diff --git a/test/binCases/watch/single-config-watch-opt/single-config-watch-opt.test.js b/test/binCases/watch/single-config-watch-opt/single-config-watch-opt.test.js index 47c512c47ce..28b55be0b5e 100644 --- a/test/binCases/watch/single-config-watch-opt/single-config-watch-opt.test.js +++ b/test/binCases/watch/single-config-watch-opt/single-config-watch-opt.test.js @@ -1,11 +1,17 @@ "use strict"; -jest.setTimeout(10E6); +jest.setTimeout(10e6); /* eslint-disable node/no-unsupported-features */ /* eslint-disable node/no-unsupported-features/es-syntax */ const fs = require("fs"); const path = require("path"); -const { extractSummary, extractHash, appendDataIfFileExists, runAndGetWatchProc, copyFile } = require("../../../testUtils"); +const { + extractSummary, + extractHash, + appendDataIfFileExists, + runAndGetWatchProc, + copyFile +} = require("../../../testUtils"); const fileToChange = "index.js"; const fileToChangePath = path.resolve(__dirname, fileToChange); @@ -86,4 +92,3 @@ test.skip("single-config-watch-opt", done => { expect(error.toString()).toContain("webpack is watching the files"); }); }); - diff --git a/test/binCases/watch/single-config/single-config.test.js b/test/binCases/watch/single-config/single-config.test.js index 1865cd130a9..415f0900582 100644 --- a/test/binCases/watch/single-config/single-config.test.js +++ b/test/binCases/watch/single-config/single-config.test.js @@ -1,11 +1,17 @@ "use strict"; -jest.setTimeout(10E6); +jest.setTimeout(10e6); /* eslint-disable node/no-unsupported-features */ /* eslint-disable node/no-unsupported-features/es-syntax */ const fs = require("fs"); const path = require("path"); -const { extractSummary, extractHash, appendDataIfFileExists, runAndGetWatchProc, copyFile } = require("../../../testUtils"); +const { + extractSummary, + extractHash, + appendDataIfFileExists, + runAndGetWatchProc, + copyFile +} = require("../../../testUtils"); const fileToChange = "index.js"; const fileToChangePath = path.resolve(__dirname, fileToChange);