Update to Webpack 5

This commit is contained in:
Fedor Indutny 2021-04-07 12:59:58 -07:00 committed by Josh Perez
parent d599032cef
commit c609389aaf
4 changed files with 1610 additions and 382 deletions

View File

@ -43,7 +43,7 @@
"dev": "run-p --print-label dev:*",
"dev:grunt": "yarn grunt dev",
"dev:transpile": "yarn run transpile --watch --preserveWatchOutput",
"dev:webpack": "cross-env NODE_ENV=development webpack-dev-server --hot",
"dev:webpack": "cross-env NODE_ENV=development webpack serve --mode development",
"dev:typed-scss": "yarn build:typed-scss -w",
"dev:storybook": "cross-env SIGNAL_ENV=storybook start-storybook -p 6006 -s ./",
"storybook:axe": "build-storybook && axe-storybook",
@ -182,7 +182,6 @@
"@types/google-libphonenumber": "7.4.14",
"@types/got": "9.4.1",
"@types/history": "4.7.2",
"@types/html-webpack-plugin": "3.2.1",
"@types/jquery": "3.5.0",
"@types/js-yaml": "3.12.0",
"@types/linkify-it": "2.1.0",
@ -215,8 +214,7 @@
"@types/storybook__react": "4.0.2",
"@types/underscore": "1.10.3",
"@types/uuid": "3.4.4",
"@types/webpack": "4.39.0",
"@types/webpack-dev-server": "3.1.7",
"@types/webpack-dev-server": "3.11.3",
"@types/websocket": "1.0.0",
"@typescript-eslint/eslint-plugin": "4.8.1",
"@typescript-eslint/parser": "4.8.1",
@ -249,7 +247,7 @@
"grunt-exec": "3.0.0",
"grunt-gitinfo": "0.1.7",
"grunt-sass": "3.0.1",
"html-webpack-plugin": "3.2.0",
"html-webpack-plugin": "5.3.1",
"jsdoc": "3.6.2",
"mocha": "4.1.0",
"mocha-testcheck": "1.0.0-rc.0",
@ -271,9 +269,9 @@
"ts-node": "8.3.0",
"typed-scss-modules": "0.0.11",
"typescript": "4.1.3",
"webpack": "4.39.2",
"webpack-cli": "3.3.7",
"webpack-dev-server": "3.8.0"
"webpack": "5.30.0",
"webpack-cli": "4.6.0",
"webpack-dev-server": "3.11.2"
},
"resolutions": {
"@storybook/react/@storybook/core/node-fetch": "2.6.1"

View File

@ -1852,6 +1852,70 @@
"reasonCategory": "falseMatch",
"updated": "2021-04-06T04:01:59.934Z"
},
{
"rule": "jQuery-append(",
"path": "node_modules/@discoveryjs/json-ext/dist/json-ext.js",
"line": " function append(array, elements) {",
"lineNumber": 480,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-append(",
"path": "node_modules/@discoveryjs/json-ext/dist/json-ext.js",
"line": " append(this.valueStack.value, JSON.parse('[' + fragment + ']'));",
"lineNumber": 588,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-append(",
"path": "node_modules/@discoveryjs/json-ext/dist/json-ext.js",
"line": " append(this.valueStack.value, JSON.parse('[' + fragment + ']'));",
"lineNumber": 618,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-append(",
"path": "node_modules/@discoveryjs/json-ext/dist/json-ext.js",
"line": " append(this.valueStack.value, JSON.parse(fragment));",
"lineNumber": 652,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-append(",
"path": "node_modules/@discoveryjs/json-ext/src/parse-chunked.js",
"line": "function append(array, elements) {",
"lineNumber": 22,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-append(",
"path": "node_modules/@discoveryjs/json-ext/src/parse-chunked.js",
"line": " append(this.valueStack.value, JSON.parse('[' + fragment + ']'));",
"lineNumber": 130,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-append(",
"path": "node_modules/@discoveryjs/json-ext/src/parse-chunked.js",
"line": " append(this.valueStack.value, JSON.parse('[' + fragment + ']'));",
"lineNumber": 160,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-append(",
"path": "node_modules/@discoveryjs/json-ext/src/parse-chunked.js",
"line": " append(this.valueStack.value, JSON.parse(fragment));",
"lineNumber": 194,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/@electron/get/node_modules/@sindresorhus/is/dist/index.js",
@ -2673,10 +2737,10 @@
{
"rule": "jQuery-wrap(",
"path": "node_modules/cliui/index.js",
"line": " if (_this.wrap) wrapped = wrap(col.text, _this._negatePadding(col), { hard: true }).split('\\n')",
"lineNumber": 216,
"line": " if (_this.wrap) wrapped = wrap(col.text, _this._negatePadding(col), {hard: true}).split('\\n')",
"lineNumber": 212,
"reasonCategory": "falseMatch",
"updated": "2020-09-04T18:54:59.993Z"
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-load(",
@ -2702,6 +2766,214 @@
"reasonCategory": "falseMatch",
"updated": "2019-12-11T01:10:06.091Z"
},
{
"rule": "jQuery-insertBefore(",
"path": "node_modules/corejs-upgrade-webpack-plugin/node_modules/@webassemblyjs/ast/esm/node-path.js",
"line": "function insertBefore(context, newNode) {",
"lineNumber": 26,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-insertAfter(",
"path": "node_modules/corejs-upgrade-webpack-plugin/node_modules/@webassemblyjs/ast/esm/node-path.js",
"line": "function insertAfter(context, newNode) {",
"lineNumber": 30,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-before(",
"path": "node_modules/corejs-upgrade-webpack-plugin/node_modules/@webassemblyjs/ast/esm/traverse.js",
"line": " before(type, path);",
"lineNumber": 77,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-after(",
"path": "node_modules/corejs-upgrade-webpack-plugin/node_modules/@webassemblyjs/ast/esm/traverse.js",
"line": " after(type, path);",
"lineNumber": 79,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-before(",
"path": "node_modules/corejs-upgrade-webpack-plugin/node_modules/@webassemblyjs/ast/esm/traverse.js",
"line": " before(unionType, path);",
"lineNumber": 90,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-after(",
"path": "node_modules/corejs-upgrade-webpack-plugin/node_modules/@webassemblyjs/ast/esm/traverse.js",
"line": " after(unionType, path);",
"lineNumber": 92,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-insertBefore(",
"path": "node_modules/corejs-upgrade-webpack-plugin/node_modules/@webassemblyjs/ast/lib/node-path.js",
"line": "function insertBefore(context, newNode) {",
"lineNumber": 33,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-insertAfter(",
"path": "node_modules/corejs-upgrade-webpack-plugin/node_modules/@webassemblyjs/ast/lib/node-path.js",
"line": "function insertAfter(context, newNode) {",
"lineNumber": 37,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-before(",
"path": "node_modules/corejs-upgrade-webpack-plugin/node_modules/@webassemblyjs/ast/lib/traverse.js",
"line": " before(type, path);",
"lineNumber": 86,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-after(",
"path": "node_modules/corejs-upgrade-webpack-plugin/node_modules/@webassemblyjs/ast/lib/traverse.js",
"line": " after(type, path);",
"lineNumber": 88,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-before(",
"path": "node_modules/corejs-upgrade-webpack-plugin/node_modules/@webassemblyjs/ast/lib/traverse.js",
"line": " before(unionType, path);",
"lineNumber": 99,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-after(",
"path": "node_modules/corejs-upgrade-webpack-plugin/node_modules/@webassemblyjs/ast/lib/traverse.js",
"line": " after(unionType, path);",
"lineNumber": 101,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-before(",
"path": "node_modules/corejs-upgrade-webpack-plugin/node_modules/@webassemblyjs/wasm-edit/esm/index.js",
"line": " function before(type, path) {",
"lineNumber": 73,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-after(",
"path": "node_modules/corejs-upgrade-webpack-plugin/node_modules/@webassemblyjs/wasm-edit/esm/index.js",
"line": " function after(type, path) {",
"lineNumber": 77,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-before(",
"path": "node_modules/corejs-upgrade-webpack-plugin/node_modules/@webassemblyjs/wasm-edit/lib/index.js",
"line": " function before(type, path) {",
"lineNumber": 90,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-after(",
"path": "node_modules/corejs-upgrade-webpack-plugin/node_modules/@webassemblyjs/wasm-edit/lib/index.js",
"line": " function after(type, path) {",
"lineNumber": 94,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-$(",
"path": "node_modules/corejs-upgrade-webpack-plugin/node_modules/acorn/dist/acorn.js",
"line": " // $$('#table-binary-unicode-properties > figure > table > tbody > tr > td:nth-child(1) code').map(el => el.innerText)",
"lineNumber": 3119,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "eval",
"path": "node_modules/corejs-upgrade-webpack-plugin/node_modules/eslint-scope/lib/index.js",
"line": " * @param {boolean} [providedOptions.ignoreEval=false]- whether to check 'eval()' calls",
"lineNumber": 121,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "eval",
"path": "node_modules/corejs-upgrade-webpack-plugin/node_modules/eslint-scope/lib/scope.js",
"line": " * Moreover, if 'eval()' is used in a scope, it might introduce new",
"lineNumber": 182,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "eval",
"path": "node_modules/corejs-upgrade-webpack-plugin/node_modules/eslint-scope/lib/scope.js",
"line": " * Whether this is a scope that contains an 'eval()' invocation.",
"lineNumber": 236,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "eval",
"path": "node_modules/corejs-upgrade-webpack-plugin/node_modules/webpack/lib/EvalDevToolModuleTemplatePlugin.js",
"line": "\t\t\t\t\t`eval(${JSON.stringify(content + footer)});`",
"lineNumber": 48,
"reasonCategory": "usageTrusted",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "eval",
"path": "node_modules/corejs-upgrade-webpack-plugin/node_modules/webpack/lib/EvalSourceMapDevToolModuleTemplatePlugin.js",
"line": "\t\t\t\t\t`eval(${JSON.stringify(content + footer)});`",
"lineNumber": 98,
"reasonCategory": "usageTrusted",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-$(",
"path": "node_modules/corejs-upgrade-webpack-plugin/node_modules/webpack/lib/HotModuleReplacement.runtime.js",
"line": "\t\t\treturn $require$(request);",
"lineNumber": 44,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-$(",
"path": "node_modules/corejs-upgrade-webpack-plugin/node_modules/webpack/lib/HotModuleReplacement.runtime.js",
"line": "\t\t\t\t$require$(moduleId);",
"lineNumber": 603,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-$(",
"path": "node_modules/corejs-upgrade-webpack-plugin/node_modules/webpack/lib/Template.js",
"line": "const PATH_NAME_NORMALIZE_REPLACE_REGEX = /[^a-zA-Z0-9_!§$()=\\-^°]+/g;",
"lineNumber": 22,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "eval",
"path": "node_modules/corejs-upgrade-webpack-plugin/node_modules/webpack/lib/optimize/ModuleConcatenationPlugin.js",
"line": "\t\t\t\t\t\tparser.state.module.buildMeta.moduleConcatenationBailout = \"eval()\";",
"lineNumber": 31,
"reasonCategory": "usageTrusted",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-prepend(",
"path": "node_modules/css/node_modules/source-map/lib/source-map/source-node.js",
@ -3106,6 +3378,13 @@
"updated": "2020-08-26T00:10:28.628Z",
"reasonDetail": "isn't jquery"
},
{
"rule": "jQuery-$(",
"path": "node_modules/envinfo/dist/envinfo.js",
"lineNumber": 1,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "thenify-multiArgs",
"path": "node_modules/es6-promisify/dist/promisify.js",
@ -5633,6 +5912,176 @@
"reasonCategory": "falseMatch",
"updated": "2019-12-11T01:10:06.091Z"
},
{
"rule": "jQuery-wrap(",
"path": "node_modules/html-minifier-terser/node_modules/commander/index.js",
"line": " desc.push(' ' + pad(arg.name, width) + ' ' + wrap(argsDescription[arg.name], descriptionWidth, width + 4));",
"lineNumber": 1390,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-wrap(",
"path": "node_modules/html-minifier-terser/node_modules/commander/index.js",
"line": "function wrap(str, width, indent) {",
"lineNumber": 1524,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-wrap(",
"path": "node_modules/html-minifier-terser/node_modules/commander/index.js",
"line": " return wrap(str, width, indent);",
"lineNumber": 1554,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-prepend(",
"path": "node_modules/html-minifier-terser/node_modules/source-map-support/browser-source-map-support.js",
"lineNumber": 90,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "eval",
"path": "node_modules/html-minifier-terser/node_modules/source-map-support/source-map-support.js",
"line": " // Most eval() calls are in this format",
"lineNumber": 234,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "eval",
"path": "node_modules/html-minifier-terser/node_modules/source-map-support/source-map-support.js",
"line": " // Parse nested eval() calls using recursion",
"lineNumber": 246,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "eval",
"path": "node_modules/html-minifier-terser/node_modules/source-map-support/source-map-support.js",
"line": " // passed to eval() ending in \"//# sourceURL=...\" will return the source file",
"lineNumber": 344,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "eval",
"path": "node_modules/html-minifier-terser/node_modules/source-map-support/source-map-support.js",
"line": " // Code called using eval() needs special handling",
"lineNumber": 373,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/html-minifier-terser/node_modules/terser/dist/bundle.min.js",
"lineNumber": 1,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "DOM-outerHTML",
"path": "node_modules/html-minifier-terser/node_modules/terser/dist/bundle.min.js",
"lineNumber": 1,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-$(",
"path": "node_modules/html-minifier-terser/node_modules/terser/dist/bundle.min.js",
"lineNumber": 1,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-after(",
"path": "node_modules/html-minifier-terser/node_modules/terser/dist/bundle.min.js",
"lineNumber": 1,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-before(",
"path": "node_modules/html-minifier-terser/node_modules/terser/dist/bundle.min.js",
"lineNumber": 1,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/html-minifier-terser/node_modules/terser/tools/domprops.js",
"line": " \"innerHTML\",",
"lineNumber": 3422,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "DOM-outerHTML",
"path": "node_modules/html-minifier-terser/node_modules/terser/tools/domprops.js",
"line": " \"outerHTML\",",
"lineNumber": 4353,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-wrapAll(",
"path": "node_modules/html-minifier/node_modules/clean-css/lib/optimizer/wrap-for-optimizing.js",
"line": "function wrapAll(properties, includeVariable, skipProperties) {",
"lineNumber": 20,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-wrap(",
"path": "node_modules/html-minifier/node_modules/clean-css/lib/writer/simple.js",
"line": " wrap(serializeContext, value);",
"lineNumber": 9,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-wrap(",
"path": "node_modules/html-minifier/node_modules/clean-css/lib/writer/simple.js",
"line": "function wrap(serializeContext, value) {",
"lineNumber": 14,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-wrap(",
"path": "node_modules/html-minifier/node_modules/clean-css/lib/writer/source-maps.js",
"line": " wrap(serializeContext, value);",
"lineNumber": 18,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-wrap(",
"path": "node_modules/html-minifier/node_modules/clean-css/lib/writer/source-maps.js",
"line": "function wrap(serializeContext, value) {",
"lineNumber": 23,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-before(",
"path": "node_modules/html-minifier/node_modules/uglify-js/lib/transform.js",
"line": " if (tw.before) x = tw.before(this, descend, in_list);",
"lineNumber": 173,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-after(",
"path": "node_modules/html-minifier/node_modules/uglify-js/lib/transform.js",
"line": " y = tw.after(x, in_list);",
"lineNumber": 178,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/http-proxy-agent/node_modules/debug/src/browser.js",
@ -9703,6 +10152,14 @@
"reasonCategory": "falseMatch",
"updated": "2018-09-19T18:06:35.446Z"
},
{
"rule": "eval",
"path": "node_modules/loader-runner/lib/loadLoader.js",
"line": "\t\t\tvar modulePromise = eval(\"import(\" + JSON.stringify(loaderUrl.toString()) + \")\");",
"lineNumber": 9,
"reasonCategory": "usageTrusted",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-after(",
"path": "node_modules/lodash-es/after.js",
@ -9984,14 +10441,6 @@
"reasonCategory": "falseMatch",
"updated": "2020-04-30T22:35:27.860Z"
},
{
"rule": "jQuery-wrap(",
"path": "node_modules/nconf/node_modules/cliui/index.js",
"line": " if (_this.wrap) wrapped = wrap(col.text, _this._negatePadding(col), {hard: true}).split('\\n')",
"lineNumber": 212,
"reasonCategory": "falseMatch",
"updated": "2020-09-04T18:54:59.993Z"
},
{
"rule": "jQuery-wrap(",
"path": "node_modules/nconf/node_modules/yargs/index.js",
@ -14743,6 +15192,38 @@
"updated": "2020-10-13T18:36:57.012Z",
"reasonDetail": "necessary for react-quill"
},
{
"rule": "jQuery-load(",
"path": "node_modules/rechoir/node_modules/resolve/lib/async.js",
"line": " load(exts, x, loadAsFilePackage);",
"lineNumber": 174,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/rechoir/node_modules/resolve/lib/async.js",
"line": " function load(exts, x, loadPackage) {",
"lineNumber": 176,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/rechoir/node_modules/resolve/lib/async.js",
"line": " if (r) return load(",
"lineNumber": 191,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/rechoir/node_modules/resolve/lib/async.js",
"line": " load(exts.slice(1), x, pkg);",
"lineNumber": 202,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-$(",
"path": "node_modules/redux/node_modules/js-tokens/index.js",
@ -15314,6 +15795,214 @@
"reasonCategory": "falseMatch",
"updated": "2020-04-30T22:35:27.860Z"
},
{
"rule": "jQuery-insertBefore(",
"path": "node_modules/terser-webpack-plugin/node_modules/@webassemblyjs/ast/esm/node-path.js",
"line": "function insertBefore(context, newNode) {",
"lineNumber": 26,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-insertAfter(",
"path": "node_modules/terser-webpack-plugin/node_modules/@webassemblyjs/ast/esm/node-path.js",
"line": "function insertAfter(context, newNode) {",
"lineNumber": 30,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-before(",
"path": "node_modules/terser-webpack-plugin/node_modules/@webassemblyjs/ast/esm/traverse.js",
"line": " before(type, path);",
"lineNumber": 77,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-after(",
"path": "node_modules/terser-webpack-plugin/node_modules/@webassemblyjs/ast/esm/traverse.js",
"line": " after(type, path);",
"lineNumber": 79,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-before(",
"path": "node_modules/terser-webpack-plugin/node_modules/@webassemblyjs/ast/esm/traverse.js",
"line": " before(unionType, path);",
"lineNumber": 90,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-after(",
"path": "node_modules/terser-webpack-plugin/node_modules/@webassemblyjs/ast/esm/traverse.js",
"line": " after(unionType, path);",
"lineNumber": 92,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-insertBefore(",
"path": "node_modules/terser-webpack-plugin/node_modules/@webassemblyjs/ast/lib/node-path.js",
"line": "function insertBefore(context, newNode) {",
"lineNumber": 33,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-insertAfter(",
"path": "node_modules/terser-webpack-plugin/node_modules/@webassemblyjs/ast/lib/node-path.js",
"line": "function insertAfter(context, newNode) {",
"lineNumber": 37,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-before(",
"path": "node_modules/terser-webpack-plugin/node_modules/@webassemblyjs/ast/lib/traverse.js",
"line": " before(type, path);",
"lineNumber": 86,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-after(",
"path": "node_modules/terser-webpack-plugin/node_modules/@webassemblyjs/ast/lib/traverse.js",
"line": " after(type, path);",
"lineNumber": 88,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-before(",
"path": "node_modules/terser-webpack-plugin/node_modules/@webassemblyjs/ast/lib/traverse.js",
"line": " before(unionType, path);",
"lineNumber": 99,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-after(",
"path": "node_modules/terser-webpack-plugin/node_modules/@webassemblyjs/ast/lib/traverse.js",
"line": " after(unionType, path);",
"lineNumber": 101,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-before(",
"path": "node_modules/terser-webpack-plugin/node_modules/@webassemblyjs/wasm-edit/esm/index.js",
"line": " function before(type, path) {",
"lineNumber": 73,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-after(",
"path": "node_modules/terser-webpack-plugin/node_modules/@webassemblyjs/wasm-edit/esm/index.js",
"line": " function after(type, path) {",
"lineNumber": 77,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-before(",
"path": "node_modules/terser-webpack-plugin/node_modules/@webassemblyjs/wasm-edit/lib/index.js",
"line": " function before(type, path) {",
"lineNumber": 90,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-after(",
"path": "node_modules/terser-webpack-plugin/node_modules/@webassemblyjs/wasm-edit/lib/index.js",
"line": " function after(type, path) {",
"lineNumber": 94,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-$(",
"path": "node_modules/terser-webpack-plugin/node_modules/acorn/dist/acorn.js",
"line": " // $$('#table-binary-unicode-properties > figure > table > tbody > tr > td:nth-child(1) code').map(el => el.innerText)",
"lineNumber": 3119,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "eval",
"path": "node_modules/terser-webpack-plugin/node_modules/eslint-scope/lib/index.js",
"line": " * @param {boolean} [providedOptions.ignoreEval=false]- whether to check 'eval()' calls",
"lineNumber": 121,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "eval",
"path": "node_modules/terser-webpack-plugin/node_modules/eslint-scope/lib/scope.js",
"line": " * Moreover, if 'eval()' is used in a scope, it might introduce new",
"lineNumber": 182,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "eval",
"path": "node_modules/terser-webpack-plugin/node_modules/eslint-scope/lib/scope.js",
"line": " * Whether this is a scope that contains an 'eval()' invocation.",
"lineNumber": 236,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "eval",
"path": "node_modules/terser-webpack-plugin/node_modules/webpack/lib/EvalDevToolModuleTemplatePlugin.js",
"line": "\t\t\t\t\t`eval(${JSON.stringify(content + footer)});`",
"lineNumber": 48,
"reasonCategory": "usageTrusted",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "eval",
"path": "node_modules/terser-webpack-plugin/node_modules/webpack/lib/EvalSourceMapDevToolModuleTemplatePlugin.js",
"line": "\t\t\t\t\t`eval(${JSON.stringify(content + footer)});`",
"lineNumber": 98,
"reasonCategory": "usageTrusted",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-$(",
"path": "node_modules/terser-webpack-plugin/node_modules/webpack/lib/HotModuleReplacement.runtime.js",
"line": "\t\t\treturn $require$(request);",
"lineNumber": 44,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-$(",
"path": "node_modules/terser-webpack-plugin/node_modules/webpack/lib/HotModuleReplacement.runtime.js",
"line": "\t\t\t\t$require$(moduleId);",
"lineNumber": 603,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-$(",
"path": "node_modules/terser-webpack-plugin/node_modules/webpack/lib/Template.js",
"line": "const PATH_NAME_NORMALIZE_REPLACE_REGEX = /[^a-zA-Z0-9_!§$()=\\-^°]+/g;",
"lineNumber": 22,
"reasonCategory": "falseMatch",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "eval",
"path": "node_modules/terser-webpack-plugin/node_modules/webpack/lib/optimize/ModuleConcatenationPlugin.js",
"line": "\t\t\t\t\t\tparser.state.module.buildMeta.moduleConcatenationBailout = \"eval()\";",
"lineNumber": 31,
"reasonCategory": "usageTrusted",
"updated": "2021-04-05T20:48:36.065Z"
},
{
"rule": "jQuery-before(",
"path": "node_modules/test-exclude/node_modules/braces/index.js",
@ -16713,4 +17402,4 @@
"updated": "2021-01-08T15:46:32.143Z",
"reasonDetail": "Doesn't manipulate the DOM. This is just a function."
}
]
]

View File

@ -3,7 +3,7 @@
import { resolve } from 'path';
// eslint-disable-next-line import/no-extraneous-dependencies
import { Configuration, EnvironmentPlugin } from 'webpack';
import { Configuration, EnvironmentPlugin, ProvidePlugin } from 'webpack';
import HtmlWebpackPlugin = require('html-webpack-plugin');
const context = __dirname;
@ -43,23 +43,23 @@ const stickerCreatorConfig: Configuration = {
rules: [
{
test: /\.tsx?$/,
loader: 'babel-loader',
use: [{ loader: 'babel-loader' }],
},
{
test: /\.css$/,
loaders: ['style-loader', 'css-loader'],
use: [{ loader: 'style-loader' }, { loader: 'css-loader' }],
},
{
test: /\.scss$/,
loaders: [
'style-loader',
'css-loader?modules=true&localsConvention=camelCaseOnly',
'sass-loader',
use: [
{ loader: 'style-loader' },
{ loader: 'css-loader?modules=true&localsConvention=camelCaseOnly' },
{ loader: 'sass-loader' },
],
},
{
test: /\.woff2?$/,
loader: 'file-loader',
use: [{ loader: 'file-loader' }],
},
],
},
@ -68,6 +68,7 @@ const stickerCreatorConfig: Configuration = {
alias: {},
},
plugins: [
new ProvidePlugin({ Buffer: ['buffer', 'Buffer'] }),
new EnvironmentPlugin(['NODE_ENV']),
new HtmlWebpackPlugin({
title: 'Signal Sticker Creator',

1248
yarn.lock

File diff suppressed because it is too large Load Diff