diff --git a/package-lock.json b/package-lock.json index 9bf066bde44..626be7419ca 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3030,6 +3030,7 @@ }, "node_modules/@gar/promisify": { "version": "1.1.3", + "devOptional": true, "license": "MIT" }, "node_modules/@hapi/hoek": { @@ -5689,6 +5690,7 @@ }, "node_modules/@npmcli/fs": { "version": "1.1.1", + "devOptional": true, "license": "ISC", "dependencies": { "@gar/promisify": "^1.0.1", @@ -5727,6 +5729,7 @@ }, "node_modules/@npmcli/move-file": { "version": "1.1.2", + "devOptional": true, "license": "MIT", "dependencies": { "mkdirp": "^1.0.4", @@ -6903,6 +6906,7 @@ }, "node_modules/@types/minimist": { "version": "1.2.2", + "devOptional": true, "license": "MIT" }, "node_modules/@types/node": { @@ -6911,6 +6915,7 @@ }, "node_modules/@types/normalize-package-data": { "version": "2.4.1", + "devOptional": true, "license": "MIT" }, "node_modules/@types/parse-json": { @@ -7419,6 +7424,7 @@ }, "node_modules/abbrev": { "version": "1.1.1", + "devOptional": true, "license": "ISC" }, "node_modules/abcq": { @@ -7560,6 +7566,7 @@ }, "node_modules/agentkeepalive": { "version": "4.2.1", + "devOptional": true, "license": "MIT", "dependencies": { "debug": "^4.1.0", @@ -8371,6 +8378,7 @@ }, "node_modules/aproba": { "version": "2.0.0", + "devOptional": true, "license": "ISC" }, "node_modules/are-we-there-yet": { @@ -8535,6 +8543,7 @@ }, "node_modules/arrify": { "version": "1.0.1", + "devOptional": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -8546,6 +8555,7 @@ }, "node_modules/asn1": { "version": "0.2.6", + "devOptional": true, "license": "MIT", "dependencies": { "safer-buffer": "~2.1.0" @@ -8571,6 +8581,7 @@ }, "node_modules/assert-plus": { "version": "1.0.0", + "devOptional": true, "license": "MIT", "engines": { "node": ">=0.8" @@ -8594,6 +8605,8 @@ }, "node_modules/async-foreach": { "version": "0.1.3", + "optional": true, + "peer": true, "engines": { "node": "*" } @@ -8642,6 +8655,7 @@ }, "node_modules/aws-sign2": { "version": "0.7.0", + "devOptional": true, "license": "Apache-2.0", "engines": { "node": "*" @@ -8649,6 +8663,7 @@ }, "node_modules/aws4": { "version": "1.11.0", + "devOptional": true, "license": "MIT" }, "node_modules/axe-core": { @@ -9005,6 +9020,7 @@ }, "node_modules/bcrypt-pbkdf": { "version": "1.0.2", + "devOptional": true, "license": "BSD-3-Clause", "dependencies": { "tweetnacl": "^0.14.3" @@ -9559,6 +9575,7 @@ }, "node_modules/cacache": { "version": "15.3.0", + "devOptional": true, "license": "ISC", "dependencies": { "@npmcli/fs": "^1.0.0", @@ -9672,6 +9689,7 @@ }, "node_modules/camelcase-keys": { "version": "6.2.2", + "devOptional": true, "license": "MIT", "dependencies": { "camelcase": "^5.3.1", @@ -9687,6 +9705,7 @@ }, "node_modules/camelcase-keys/node_modules/camelcase": { "version": "5.3.1", + "devOptional": true, "license": "MIT", "engines": { "node": ">=6" @@ -9725,6 +9744,7 @@ }, "node_modules/caseless": { "version": "0.12.0", + "devOptional": true, "license": "Apache-2.0" }, "node_modules/ccount": { @@ -9855,6 +9875,7 @@ }, "node_modules/chownr": { "version": "2.0.0", + "devOptional": true, "license": "ISC", "engines": { "node": ">=10" @@ -10296,6 +10317,8 @@ "node_modules/color-support": { "version": "1.1.3", "license": "ISC", + "optional": true, + "peer": true, "bin": { "color-support": "bin.js" } @@ -10548,6 +10571,7 @@ }, "node_modules/console-control-strings": { "version": "1.1.0", + "devOptional": true, "license": "ISC" }, "node_modules/content-disposition": { @@ -12021,6 +12045,7 @@ }, "node_modules/dashdash": { "version": "1.14.1", + "devOptional": true, "license": "MIT", "dependencies": { "assert-plus": "^1.0.0" @@ -12074,6 +12099,7 @@ }, "node_modules/decamelize": { "version": "1.2.0", + "devOptional": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -12081,6 +12107,7 @@ }, "node_modules/decamelize-keys": { "version": "1.1.0", + "devOptional": true, "license": "MIT", "dependencies": { "decamelize": "^1.1.0", @@ -12092,6 +12119,7 @@ }, "node_modules/decamelize-keys/node_modules/map-obj": { "version": "1.0.1", + "devOptional": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -12217,6 +12245,7 @@ }, "node_modules/delegates": { "version": "1.0.0", + "devOptional": true, "license": "MIT" }, "node_modules/depd": { @@ -12543,6 +12572,7 @@ }, "node_modules/ecc-jsbn": { "version": "0.1.2", + "devOptional": true, "license": "MIT", "dependencies": { "jsbn": "~0.1.0", @@ -12683,6 +12713,7 @@ }, "node_modules/env-paths": { "version": "2.2.1", + "devOptional": true, "license": "MIT", "engines": { "node": ">=6" @@ -12700,6 +12731,7 @@ }, "node_modules/err-code": { "version": "2.0.3", + "devOptional": true, "license": "MIT" }, "node_modules/error-ex": { @@ -13905,6 +13937,7 @@ }, "node_modules/extsprintf": { "version": "1.3.0", + "devOptional": true, "engines": [ "node >=0.6.0" ], @@ -14274,6 +14307,7 @@ }, "node_modules/forever-agent": { "version": "0.6.1", + "devOptional": true, "license": "Apache-2.0", "engines": { "node": "*" @@ -14485,6 +14519,7 @@ }, "node_modules/fs-minipass": { "version": "2.1.0", + "devOptional": true, "license": "ISC", "dependencies": { "minipass": "^3.0.0" @@ -14650,6 +14685,8 @@ "node_modules/gaze": { "version": "1.1.3", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "globule": "^1.0.0" }, @@ -14761,6 +14798,8 @@ "node_modules/get-stdin": { "version": "4.0.1", "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">=0.10.0" } @@ -14791,6 +14830,7 @@ }, "node_modules/getpass": { "version": "0.1.7", + "devOptional": true, "license": "MIT", "dependencies": { "assert-plus": "^1.0.0" @@ -15404,6 +15444,8 @@ "node_modules/globule": { "version": "1.3.4", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "glob": "~7.1.1", "lodash": "^4.17.21", @@ -15416,6 +15458,8 @@ "node_modules/globule/node_modules/glob": { "version": "7.1.7", "license": "ISC", + "optional": true, + "peer": true, "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -15434,6 +15478,8 @@ "node_modules/globule/node_modules/minimatch": { "version": "3.0.8", "license": "ISC", + "optional": true, + "peer": true, "dependencies": { "brace-expansion": "^1.1.7" }, @@ -15565,6 +15611,7 @@ }, "node_modules/har-schema": { "version": "2.0.0", + "devOptional": true, "license": "ISC", "engines": { "node": ">=4" @@ -15572,6 +15619,7 @@ }, "node_modules/har-validator": { "version": "5.1.5", + "devOptional": true, "license": "MIT", "dependencies": { "ajv": "^6.12.3", @@ -15583,6 +15631,7 @@ }, "node_modules/hard-rejection": { "version": "2.1.0", + "devOptional": true, "license": "MIT", "engines": { "node": ">=6" @@ -15651,6 +15700,7 @@ }, "node_modules/has-unicode": { "version": "2.0.1", + "devOptional": true, "license": "ISC" }, "node_modules/has-yarn": { @@ -15983,6 +16033,7 @@ }, "node_modules/hosted-git-info": { "version": "4.1.0", + "devOptional": true, "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" @@ -16223,6 +16274,7 @@ }, "node_modules/http-signature": { "version": "1.2.0", + "devOptional": true, "license": "MIT", "dependencies": { "assert-plus": "^1.0.0", @@ -16254,6 +16306,7 @@ }, "node_modules/humanize-ms": { "version": "1.2.1", + "devOptional": true, "license": "MIT", "dependencies": { "ms": "^2.0.0" @@ -16522,6 +16575,7 @@ }, "node_modules/infer-owner": { "version": "1.0.4", + "devOptional": true, "license": "ISC" }, "node_modules/infima": { @@ -16723,6 +16777,7 @@ }, "node_modules/ip": { "version": "2.0.0", + "devOptional": true, "license": "MIT" }, "node_modules/ipaddr.js": { @@ -16966,6 +17021,7 @@ }, "node_modules/is-lambda": { "version": "1.0.1", + "devOptional": true, "license": "MIT" }, "node_modules/is-module": { @@ -17043,6 +17099,7 @@ }, "node_modules/is-plain-obj": { "version": "1.1.0", + "devOptional": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -17219,6 +17276,7 @@ }, "node_modules/isstream": { "version": "0.1.2", + "devOptional": true, "license": "MIT" }, "node_modules/istanbul-lib-coverage": { @@ -19564,7 +19622,9 @@ }, "node_modules/js-base64": { "version": "2.6.4", - "license": "BSD-3-Clause" + "license": "BSD-3-Clause", + "optional": true, + "peer": true }, "node_modules/js-sdsl": { "version": "4.1.4", @@ -19586,6 +19646,7 @@ }, "node_modules/jsbn": { "version": "0.1.1", + "devOptional": true, "license": "MIT" }, "node_modules/jsdom": { @@ -19673,6 +19734,7 @@ }, "node_modules/json-stringify-safe": { "version": "5.0.1", + "devOptional": true, "license": "ISC" }, "node_modules/json5": { @@ -19727,6 +19789,7 @@ }, "node_modules/jsprim": { "version": "1.4.2", + "devOptional": true, "license": "MIT", "dependencies": { "assert-plus": "1.0.0", @@ -20707,6 +20770,7 @@ }, "node_modules/make-fetch-happen": { "version": "9.1.0", + "devOptional": true, "license": "ISC", "dependencies": { "agentkeepalive": "^4.1.3", @@ -20739,6 +20803,7 @@ }, "node_modules/map-obj": { "version": "4.3.0", + "devOptional": true, "license": "MIT", "engines": { "node": ">=8" @@ -20874,6 +20939,7 @@ }, "node_modules/meow": { "version": "9.0.0", + "devOptional": true, "license": "MIT", "dependencies": { "@types/minimist": "^1.2.0", @@ -20898,6 +20964,7 @@ }, "node_modules/meow/node_modules/find-up": { "version": "4.1.0", + "devOptional": true, "license": "MIT", "dependencies": { "locate-path": "^5.0.0", @@ -20909,10 +20976,12 @@ }, "node_modules/meow/node_modules/hosted-git-info": { "version": "2.8.9", + "devOptional": true, "license": "ISC" }, "node_modules/meow/node_modules/locate-path": { "version": "5.0.0", + "devOptional": true, "license": "MIT", "dependencies": { "p-locate": "^4.1.0" @@ -20923,6 +20992,7 @@ }, "node_modules/meow/node_modules/p-limit": { "version": "2.3.0", + "devOptional": true, "license": "MIT", "dependencies": { "p-try": "^2.0.0" @@ -20936,6 +21006,7 @@ }, "node_modules/meow/node_modules/p-locate": { "version": "4.1.0", + "devOptional": true, "license": "MIT", "dependencies": { "p-limit": "^2.2.0" @@ -20946,6 +21017,7 @@ }, "node_modules/meow/node_modules/read-pkg": { "version": "5.2.0", + "devOptional": true, "license": "MIT", "dependencies": { "@types/normalize-package-data": "^2.4.0", @@ -20959,6 +21031,7 @@ }, "node_modules/meow/node_modules/read-pkg-up": { "version": "7.0.1", + "devOptional": true, "license": "MIT", "dependencies": { "find-up": "^4.1.0", @@ -20974,6 +21047,7 @@ }, "node_modules/meow/node_modules/read-pkg-up/node_modules/type-fest": { "version": "0.8.1", + "devOptional": true, "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=8" @@ -20981,6 +21055,7 @@ }, "node_modules/meow/node_modules/read-pkg/node_modules/normalize-package-data": { "version": "2.5.0", + "devOptional": true, "license": "BSD-2-Clause", "dependencies": { "hosted-git-info": "^2.1.4", @@ -20991,6 +21066,7 @@ }, "node_modules/meow/node_modules/read-pkg/node_modules/type-fest": { "version": "0.6.0", + "devOptional": true, "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=8" @@ -20998,6 +21074,7 @@ }, "node_modules/meow/node_modules/semver": { "version": "5.7.1", + "devOptional": true, "license": "ISC", "bin": { "semver": "bin/semver" @@ -21005,6 +21082,7 @@ }, "node_modules/meow/node_modules/type-fest": { "version": "0.18.1", + "devOptional": true, "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" @@ -21108,6 +21186,7 @@ }, "node_modules/min-indent": { "version": "1.0.1", + "devOptional": true, "license": "MIT", "engines": { "node": ">=4" @@ -21213,6 +21292,7 @@ }, "node_modules/minimist-options": { "version": "4.1.0", + "devOptional": true, "license": "MIT", "dependencies": { "arrify": "^1.0.1", @@ -21225,6 +21305,7 @@ }, "node_modules/minipass": { "version": "3.3.4", + "devOptional": true, "license": "ISC", "dependencies": { "yallist": "^4.0.0" @@ -21235,6 +21316,7 @@ }, "node_modules/minipass-collect": { "version": "1.0.2", + "devOptional": true, "license": "ISC", "dependencies": { "minipass": "^3.0.0" @@ -21245,6 +21327,7 @@ }, "node_modules/minipass-fetch": { "version": "1.4.1", + "devOptional": true, "license": "MIT", "dependencies": { "minipass": "^3.1.0", @@ -21260,6 +21343,7 @@ }, "node_modules/minipass-flush": { "version": "1.0.5", + "devOptional": true, "license": "ISC", "dependencies": { "minipass": "^3.0.0" @@ -21279,6 +21363,7 @@ }, "node_modules/minipass-pipeline": { "version": "1.2.4", + "devOptional": true, "license": "ISC", "dependencies": { "minipass": "^3.0.0" @@ -21289,6 +21374,7 @@ }, "node_modules/minipass-sized": { "version": "1.0.3", + "devOptional": true, "license": "ISC", "dependencies": { "minipass": "^3.0.0" @@ -21299,6 +21385,7 @@ }, "node_modules/minizlib": { "version": "2.1.2", + "devOptional": true, "license": "MIT", "dependencies": { "minipass": "^3.0.0", @@ -21409,7 +21496,9 @@ }, "node_modules/nan": { "version": "2.16.0", - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/nanoid": { "version": "3.3.4", @@ -21559,6 +21648,8 @@ "node_modules/node-gyp": { "version": "8.4.1", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "env-paths": "^2.2.0", "glob": "^7.1.4", @@ -21581,6 +21672,8 @@ "node_modules/node-gyp/node_modules/are-we-there-yet": { "version": "3.0.1", "license": "ISC", + "optional": true, + "peer": true, "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -21591,11 +21684,15 @@ }, "node_modules/node-gyp/node_modules/emoji-regex": { "version": "8.0.0", - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/node-gyp/node_modules/gauge": { "version": "4.0.4", "license": "ISC", + "optional": true, + "peer": true, "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -21613,6 +21710,8 @@ "node_modules/node-gyp/node_modules/is-fullwidth-code-point": { "version": "3.0.0", "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">=8" } @@ -21620,6 +21719,8 @@ "node_modules/node-gyp/node_modules/npmlog": { "version": "6.0.2", "license": "ISC", + "optional": true, + "peer": true, "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -21633,6 +21734,8 @@ "node_modules/node-gyp/node_modules/readable-stream": { "version": "3.6.0", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -21658,11 +21761,15 @@ "url": "https://feross.org/support" } ], - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/node-gyp/node_modules/string_decoder": { "version": "1.3.0", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "safe-buffer": "~5.2.0" } @@ -21670,6 +21777,8 @@ "node_modules/node-gyp/node_modules/string-width": { "version": "4.2.3", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -21691,6 +21800,8 @@ "version": "7.0.3", "hasInstallScript": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "async-foreach": "^0.1.3", "chalk": "^4.1.2", @@ -21718,6 +21829,8 @@ "node_modules/node-sass/node_modules/ansi-styles": { "version": "4.3.0", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "color-convert": "^2.0.1" }, @@ -21731,6 +21844,8 @@ "node_modules/node-sass/node_modules/are-we-there-yet": { "version": "2.0.0", "license": "ISC", + "optional": true, + "peer": true, "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -21742,6 +21857,8 @@ "node_modules/node-sass/node_modules/chalk": { "version": "4.1.2", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -21756,6 +21873,8 @@ "node_modules/node-sass/node_modules/color-convert": { "version": "2.0.1", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "color-name": "~1.1.4" }, @@ -21765,15 +21884,21 @@ }, "node_modules/node-sass/node_modules/color-name": { "version": "1.1.4", - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/node-sass/node_modules/emoji-regex": { "version": "8.0.0", - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/node-sass/node_modules/gauge": { "version": "3.0.2", "license": "ISC", + "optional": true, + "peer": true, "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.2", @@ -21792,6 +21917,8 @@ "node_modules/node-sass/node_modules/has-flag": { "version": "4.0.0", "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">=8" } @@ -21799,6 +21926,8 @@ "node_modules/node-sass/node_modules/is-fullwidth-code-point": { "version": "3.0.0", "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">=8" } @@ -21806,6 +21935,8 @@ "node_modules/node-sass/node_modules/npmlog": { "version": "5.0.1", "license": "ISC", + "optional": true, + "peer": true, "dependencies": { "are-we-there-yet": "^2.0.0", "console-control-strings": "^1.1.0", @@ -21816,6 +21947,8 @@ "node_modules/node-sass/node_modules/readable-stream": { "version": "3.6.0", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -21841,11 +21974,15 @@ "url": "https://feross.org/support" } ], - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/node-sass/node_modules/string_decoder": { "version": "1.3.0", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "safe-buffer": "~5.2.0" } @@ -21853,6 +21990,8 @@ "node_modules/node-sass/node_modules/string-width": { "version": "4.2.3", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -21865,6 +22004,8 @@ "node_modules/node-sass/node_modules/supports-color": { "version": "7.2.0", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "has-flag": "^4.0.0" }, @@ -21874,6 +22015,7 @@ }, "node_modules/nopt": { "version": "5.0.0", + "devOptional": true, "license": "ISC", "dependencies": { "abbrev": "1" @@ -21887,6 +22029,7 @@ }, "node_modules/normalize-package-data": { "version": "3.0.3", + "devOptional": true, "license": "BSD-2-Clause", "dependencies": { "hosted-git-info": "^4.0.1", @@ -22273,6 +22416,7 @@ }, "node_modules/oauth-sign": { "version": "0.9.0", + "devOptional": true, "license": "Apache-2.0", "engines": { "node": "*" @@ -24391,6 +24535,7 @@ }, "node_modules/promise-inflight": { "version": "1.0.1", + "devOptional": true, "license": "ISC" }, "node_modules/promise-polyfill": { @@ -24400,6 +24545,7 @@ }, "node_modules/promise-retry": { "version": "2.0.1", + "devOptional": true, "license": "MIT", "dependencies": { "err-code": "^2.0.2", @@ -24731,6 +24877,7 @@ }, "node_modules/quick-lru": { "version": "4.0.1", + "devOptional": true, "license": "MIT", "engines": { "node": ">=8" @@ -25369,6 +25516,7 @@ }, "node_modules/redent": { "version": "3.0.0", + "devOptional": true, "license": "MIT", "dependencies": { "indent-string": "^4.0.0", @@ -25850,6 +25998,7 @@ }, "node_modules/request": { "version": "2.88.2", + "devOptional": true, "license": "Apache-2.0", "dependencies": { "aws-sign2": "~0.7.0", @@ -25879,6 +26028,7 @@ }, "node_modules/request/node_modules/form-data": { "version": "2.3.3", + "devOptional": true, "license": "MIT", "dependencies": { "asynckit": "^0.4.0", @@ -25891,6 +26041,7 @@ }, "node_modules/request/node_modules/punycode": { "version": "2.1.1", + "devOptional": true, "license": "MIT", "engines": { "node": ">=6" @@ -25898,6 +26049,7 @@ }, "node_modules/request/node_modules/qs": { "version": "6.5.3", + "devOptional": true, "license": "BSD-3-Clause", "engines": { "node": ">=0.6" @@ -25905,6 +26057,7 @@ }, "node_modules/request/node_modules/tough-cookie": { "version": "2.5.0", + "devOptional": true, "license": "BSD-3-Clause", "dependencies": { "psl": "^1.1.28", @@ -26110,6 +26263,7 @@ }, "node_modules/retry": { "version": "0.12.0", + "devOptional": true, "license": "MIT", "engines": { "node": ">= 4" @@ -26302,6 +26456,8 @@ "node_modules/sass-graph": { "version": "4.0.1", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "glob": "^7.0.0", "lodash": "^4.17.11", @@ -26317,11 +26473,15 @@ }, "node_modules/sass-graph/node_modules/emoji-regex": { "version": "8.0.0", - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/sass-graph/node_modules/is-fullwidth-code-point": { "version": "3.0.0", "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">=8" } @@ -26329,6 +26489,8 @@ "node_modules/sass-graph/node_modules/string-width": { "version": "4.2.3", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -26341,6 +26503,8 @@ "node_modules/sass-graph/node_modules/yargs": { "version": "17.5.1", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "cliui": "^7.0.2", "escalade": "^3.1.1", @@ -26357,6 +26521,8 @@ "node_modules/sass-graph/node_modules/yargs-parser": { "version": "21.1.1", "license": "ISC", + "optional": true, + "peer": true, "engines": { "node": ">=12" } @@ -26438,6 +26604,8 @@ "node_modules/scss-tokenizer": { "version": "0.4.3", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "js-base64": "^2.4.9", "source-map": "^0.7.3" @@ -26446,6 +26614,8 @@ "node_modules/scss-tokenizer/node_modules/source-map": { "version": "0.7.4", "license": "BSD-3-Clause", + "optional": true, + "peer": true, "engines": { "node": ">= 8" } @@ -26694,6 +26864,7 @@ }, "node_modules/set-blocking": { "version": "2.0.0", + "devOptional": true, "license": "ISC" }, "node_modules/setimmediate": { @@ -26891,6 +27062,7 @@ }, "node_modules/smart-buffer": { "version": "4.2.0", + "devOptional": true, "license": "MIT", "engines": { "node": ">= 6.0.0", @@ -26915,6 +27087,7 @@ }, "node_modules/socks": { "version": "2.7.0", + "devOptional": true, "license": "MIT", "dependencies": { "ip": "^2.0.0", @@ -26927,6 +27100,7 @@ }, "node_modules/socks-proxy-agent": { "version": "6.2.1", + "devOptional": true, "license": "MIT", "dependencies": { "agent-base": "^6.0.2", @@ -27093,6 +27267,7 @@ }, "node_modules/spdx-correct": { "version": "3.1.1", + "devOptional": true, "license": "Apache-2.0", "dependencies": { "spdx-expression-parse": "^3.0.0", @@ -27101,10 +27276,12 @@ }, "node_modules/spdx-exceptions": { "version": "2.3.0", + "devOptional": true, "license": "CC-BY-3.0" }, "node_modules/spdx-expression-parse": { "version": "3.0.1", + "devOptional": true, "license": "MIT", "dependencies": { "spdx-exceptions": "^2.1.0", @@ -27113,6 +27290,7 @@ }, "node_modules/spdx-license-ids": { "version": "3.0.12", + "devOptional": true, "license": "CC0-1.0" }, "node_modules/spdy": { @@ -27304,6 +27482,7 @@ }, "node_modules/sshpk": { "version": "1.17.0", + "devOptional": true, "license": "MIT", "dependencies": { "asn1": "~0.2.3", @@ -27327,6 +27506,7 @@ }, "node_modules/ssri": { "version": "8.0.1", + "devOptional": true, "license": "ISC", "dependencies": { "minipass": "^3.1.1" @@ -27382,17 +27562,23 @@ "node_modules/stdout-stream": { "version": "1.4.1", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "readable-stream": "^2.0.1" } }, "node_modules/stdout-stream/node_modules/isarray": { "version": "1.0.0", - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/stdout-stream/node_modules/readable-stream": { "version": "2.3.7", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -27406,6 +27592,8 @@ "node_modules/stdout-stream/node_modules/string_decoder": { "version": "1.1.1", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "safe-buffer": "~5.1.0" } @@ -27599,6 +27787,7 @@ }, "node_modules/strip-indent": { "version": "3.0.0", + "devOptional": true, "license": "MIT", "dependencies": { "min-indent": "^1.0.0" @@ -28491,6 +28680,7 @@ }, "node_modules/tar": { "version": "6.1.11", + "devOptional": true, "license": "ISC", "dependencies": { "chownr": "^2.0.0", @@ -29168,6 +29358,7 @@ }, "node_modules/trim-newlines": { "version": "3.0.1", + "devOptional": true, "license": "MIT", "engines": { "node": ">=8" @@ -29192,6 +29383,8 @@ "node_modules/true-case-path": { "version": "1.0.3", "license": "Apache-2.0", + "optional": true, + "peer": true, "dependencies": { "glob": "^7.1.2" } @@ -29250,6 +29443,7 @@ }, "node_modules/tunnel-agent": { "version": "0.6.0", + "devOptional": true, "license": "Apache-2.0", "dependencies": { "safe-buffer": "^5.0.1" @@ -29260,6 +29454,7 @@ }, "node_modules/tweetnacl": { "version": "0.14.5", + "devOptional": true, "license": "Unlicense" }, "node_modules/type-check": { @@ -29571,6 +29766,7 @@ }, "node_modules/unique-filename": { "version": "1.1.1", + "devOptional": true, "license": "ISC", "dependencies": { "unique-slug": "^2.0.0" @@ -29578,6 +29774,7 @@ }, "node_modules/unique-slug": { "version": "2.0.2", + "devOptional": true, "license": "ISC", "dependencies": { "imurmurhash": "^0.1.4" @@ -30101,6 +30298,7 @@ }, "node_modules/uuid": { "version": "3.4.0", + "devOptional": true, "license": "MIT", "bin": { "uuid": "bin/uuid" @@ -30127,6 +30325,7 @@ }, "node_modules/validate-npm-package-license": { "version": "3.0.4", + "devOptional": true, "license": "Apache-2.0", "dependencies": { "spdx-correct": "^3.0.0", @@ -30153,6 +30352,7 @@ }, "node_modules/verror": { "version": "1.10.0", + "devOptional": true, "engines": [ "node >=0.6.0" ], @@ -30165,6 +30365,7 @@ }, "node_modules/verror/node_modules/core-util-is": { "version": "1.0.2", + "devOptional": true, "license": "MIT" }, "node_modules/vfile": { @@ -30973,6 +31174,7 @@ }, "node_modules/wide-align": { "version": "1.1.5", + "devOptional": true, "license": "ISC", "dependencies": { "string-width": "^1.0.2 || 2 || 3 || 4" @@ -30980,10 +31182,12 @@ }, "node_modules/wide-align/node_modules/emoji-regex": { "version": "8.0.0", + "devOptional": true, "license": "MIT" }, "node_modules/wide-align/node_modules/is-fullwidth-code-point": { "version": "3.0.0", + "devOptional": true, "license": "MIT", "engines": { "node": ">=8" @@ -30991,6 +31195,7 @@ }, "node_modules/wide-align/node_modules/string-width": { "version": "4.2.3", + "devOptional": true, "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", @@ -32103,7 +32308,6 @@ "lodash": "^4.17.20", "mini-css-extract-plugin": "^2.4.5", "mkdirp": "^1.0.4", - "node-sass": "^7.0.1", "postcss": "^8.4.4", "postcss-flexbugs-fixes": "^5.0.2", "postcss-loader": "^6.2.1", diff --git a/packages/react-scripts/backpack-addons/README.md b/packages/react-scripts/backpack-addons/README.md index 687496f0314..b57a59e94ef 100644 --- a/packages/react-scripts/backpack-addons/README.md +++ b/packages/react-scripts/backpack-addons/README.md @@ -15,7 +15,6 @@ Our react scripts fork includes a number of custom configuration items in order | **enableAutomaticChunking** | Opts into automatic chunking of vender, common and app code.
When enabled the **splitChunks** plugin creates vender and common chunks which are split and when provided uses the `venderChunkRegex` to specify what is in each chunk.
When enabled **runtimeChunk** plugin creates a separate runtime chunk for projects to enable long term caching. | **false** | | **vendorsChunkRegex** | Regex for picking what goes into the vendors chunk. Requires enableAutomaticChunking to be enabled.
See [cacheGroups](https://webpack.js.org/plugins/split-chunks-plugin/#splitchunkscachegroups) docs for further details. | | | **splitChunksConfig** | Object, mapping to the [structure in the webpack docs](https://webpack.js.org/plugins/split-chunks-plugin/#optimizationsplitchunks).
Applied only if `enableAutomaticChunking` is false, ignores `vendorsChunkRegex` if defined. | | -| **sassFunctions** | This function encodes svg content into `base64` when there is a `bpk-icon` in the.scss file. | | ## How to add new feature diff --git a/packages/react-scripts/backpack-addons/sassFunctions.js b/packages/react-scripts/backpack-addons/sassFunctions.js deleted file mode 100644 index b0b7a42be2b..00000000000 --- a/packages/react-scripts/backpack-addons/sassFunctions.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; -const sass = require('node-sass'); - -module.exports = { - sassOptions: { - functions: { - 'encodebase64($string)': str => { - const buffer = Buffer.from(str.getValue()); - - return sass.types.String(buffer.toString('base64')); - }, - }, - }, -}; diff --git a/packages/react-scripts/config/webpack.config.js b/packages/react-scripts/config/webpack.config.js index c4e941e6e5b..c8d647497fb 100644 --- a/packages/react-scripts/config/webpack.config.js +++ b/packages/react-scripts/config/webpack.config.js @@ -119,11 +119,7 @@ module.exports = function (webpackEnv) { const shouldUseReactRefresh = env.raw.FAST_REFRESH; // common function to get style loaders - const getStyleLoaders = ( - cssOptions, - preProcessor, - preProcessorOptions = {} - ) => { + const getStyleLoaders = (cssOptions, preProcessor) => { const loaders = [ isEnvDevelopment && require.resolve('style-loader'), isEnvProduction && { @@ -196,10 +192,7 @@ module.exports = function (webpackEnv) { { loader: require.resolve(preProcessor), options: { - ...preProcessorOptions, // #backpack-addons sassFunctions - ...{ - sourceMap: true, - }, + sourceMap: true, }, } ); @@ -655,8 +648,7 @@ module.exports = function (webpackEnv) { mode: 'icss', }, }, - 'sass-loader', - require('../backpack-addons/sassFunctions') // #backpack-addons sassFunctions + 'sass-loader' ), // Don't consider CSS imports dead code even if the // containing package claims to have no side effects. @@ -682,8 +674,7 @@ module.exports = function (webpackEnv) { require('../backpack-addons/cssModules').getCSSModuleLocalIdent(), // #backpack-addons cssModulesEnabled }, }, - 'sass-loader', - require('../backpack-addons/sassFunctions') // #backpack-addons sassFunctions + 'sass-loader' ), }, // "file" loader makes sure those assets get served by WebpackDevServer. diff --git a/packages/react-scripts/config/webpack.config.ssr.js b/packages/react-scripts/config/webpack.config.ssr.js index 324669ee1c8..60683c64938 100644 --- a/packages/react-scripts/config/webpack.config.ssr.js +++ b/packages/react-scripts/config/webpack.config.ssr.js @@ -126,11 +126,7 @@ module.exports = function (webpackEnv) { const shouldUseReactRefresh = env.raw.FAST_REFRESH; // common function to get style loaders - const getStyleLoaders = ( - cssOptions, - preProcessor, - preProcessorOptions = {} - ) => { + const getStyleLoaders = (cssOptions, preProcessor) => { const loaders = [ // isEnvDevelopment && require.resolve('style-loader'), // isEnvProduction && { @@ -206,10 +202,7 @@ module.exports = function (webpackEnv) { { loader: require.resolve(preProcessor), options: { - ...preProcessorOptions, // #backpack-addons sassFunctions - ...{ - sourceMap: true, - }, + sourceMap: true, }, }, ].filter(Boolean) @@ -669,8 +662,7 @@ module.exports = function (webpackEnv) { mode: 'icss', }, }, - 'sass-loader', - require('../backpack-addons/sassFunctions') // #backpack-addons sassFunctions + 'sass-loader' ), // Don't consider CSS imports dead code even if the // containing package claims to have no side effects. @@ -697,8 +689,7 @@ module.exports = function (webpackEnv) { require('../backpack-addons/cssModules').getCSSModuleLocalIdent(), // #backpack-addons cssModulesEnabled }, }, - 'sass-loader', - require('../backpack-addons/sassFunctions') // #backpack-addons sassFunctions + 'sass-loader' ), }, // "file" loader makes sure those assets get served by WebpackDevServer. diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json index 7308e953bde..0deca2a6723 100644 --- a/packages/react-scripts/package.json +++ b/packages/react-scripts/package.json @@ -58,7 +58,6 @@ "lodash": "^4.17.20", "mini-css-extract-plugin": "^2.4.5", "mkdirp": "^1.0.4", - "node-sass": "^7.0.1", "postcss": "^8.4.4", "postcss-flexbugs-fixes": "^5.0.2", "postcss-loader": "^6.2.1",