From c88ec9225e0b3703f8fea3d81610c4e0857c74fd Mon Sep 17 00:00:00 2001 From: Colum Ferry Date: Tue, 20 Sep 2022 01:26:45 +0100 Subject: [PATCH 01/39] docs(configuration): move `name` option to correct place (#6407) * docs(configuration): move `name` option to correct place The `name` option was listed under the `output` object which is incorrect. Move it to top-level configuration object. * docs(configuration): place `name` option at the top of config object * docs(configuration): fix spacing * docs(configuration): fix whitespace Co-authored-by: Sam Chen Co-authored-by: Sam Chen --- src/content/configuration/index.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/configuration/index.mdx b/src/content/configuration/index.mdx index da67f77e5dc6..5660d2b46ff4 100644 --- a/src/content/configuration/index.mdx +++ b/src/content/configuration/index.mdx @@ -18,6 +18,7 @@ contributors: - bigdawggi - anshumanv - textbook + - coly010 --- Out of the box, webpack won't require you to use a configuration file. However, it will assume the entry point of your project is `src/index.js` and will output the result in `dist/main.js` minified and optimized for production. @@ -56,6 +57,7 @@ W> Notice that many array configurations allow to reference the default value vi const path = require('path'); module.exports = { + name: "my-config", // name of the configuration, shown in output mode: "production", // "production" | "development" | "none" @@ -178,8 +180,6 @@ module.exports = { }, uniqueName: "my-application", // (defaults to package.json "name") // unique name for this build to avoid conflicts with other builds in the same HTML - name: "my-config", - // name of the configuration, shown in output /* Advanced output configuration (click to show) */ From a82ed1b187754e3b3c0b27e4f0e4afdefb1d90ae Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 20 Sep 2022 08:37:17 +0800 Subject: [PATCH 02/39] build(deps-dev): bump webpack-dev-server from 4.11.0 to 4.11.1 (#6409) Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.11.0 to 4.11.1. - [Release notes](https://github.com/webpack/webpack-dev-server/releases) - [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.11.0...v4.11.1) --- updated-dependencies: - dependency-name: webpack-dev-server dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index e04c7bed9e23..61ab799392b0 100644 --- a/package.json +++ b/package.json @@ -139,7 +139,7 @@ "webpack": "^5.74.0", "webpack-bundle-analyzer": "^4.6.1", "webpack-cli": "^4.10.0", - "webpack-dev-server": "^4.11.0", + "webpack-dev-server": "^4.11.1", "webpack-merge": "^5.8.0", "workbox-webpack-plugin": "^6.5.4", "yarn-deduplicate": "^6.0.0" diff --git a/yarn.lock b/yarn.lock index c625997f2cba..858fbf72b909 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10530,10 +10530,10 @@ select@^1.1.2: resolved "https://registry.yarnpkg.com/select/-/select-1.1.2.tgz#0e7350acdec80b1108528786ec1d4418d11b396d" integrity sha1-DnNQrN7ICxEIUoeG7B1EGNEbOW0= -selfsigned@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/selfsigned/-/selfsigned-2.0.1.tgz#8b2df7fa56bf014d19b6007655fff209c0ef0a56" - integrity sha512-LmME957M1zOsUhG+67rAjKfiWFox3SBxE/yymatMZsAx+oMrJ0YQ8AToOnyCm7xbeg2ep37IHLxdu0o2MavQOQ== +selfsigned@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/selfsigned/-/selfsigned-2.1.1.tgz#18a7613d714c0cd3385c48af0075abf3f266af61" + integrity sha512-GSL3aowiF7wa/WtSFwnUrludWFoNhftq8bUkH9pkzjpN2XSPOAYEgg6e0sS9s0rZwgJzJiQRPU18A6clnoW5wQ== dependencies: node-forge "^1" @@ -12198,10 +12198,10 @@ webpack-dev-middleware@^5.3.1: range-parser "^1.2.1" schema-utils "^4.0.0" -webpack-dev-server@^4.11.0: - version "4.11.0" - resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-4.11.0.tgz#290ee594765cd8260adfe83b2d18115ea04484e7" - integrity sha512-L5S4Q2zT57SK7tazgzjMiSMBdsw+rGYIX27MgPgx7LDhWO0lViPrHKoLS7jo5In06PWYAhlYu3PbyoC6yAThbw== +webpack-dev-server@^4.11.1: + version "4.11.1" + resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-4.11.1.tgz#ae07f0d71ca0438cf88446f09029b92ce81380b5" + integrity sha512-lILVz9tAUy1zGFwieuaQtYiadImb5M3d+H+L1zDYalYoDl0cksAB1UNyuE5MMWJrG6zR1tXkCP2fitl7yoUJiw== dependencies: "@types/bonjour" "^3.5.9" "@types/connect-history-api-fallback" "^1.3.5" @@ -12226,7 +12226,7 @@ webpack-dev-server@^4.11.0: p-retry "^4.5.0" rimraf "^3.0.2" schema-utils "^4.0.0" - selfsigned "^2.0.1" + selfsigned "^2.1.1" serve-index "^1.9.1" sockjs "^0.3.24" spdy "^4.0.2" From 3b68bd69a6aa489c5f5b96ab24a1761a9354b157 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 20 Sep 2022 22:13:48 +0800 Subject: [PATCH 03/39] build(deps-dev): bump eslint-plugin-mdx from 2.0.4 to 2.0.5 (#6410) Bumps [eslint-plugin-mdx](https://github.com/mdx-js/eslint-mdx) from 2.0.4 to 2.0.5. - [Release notes](https://github.com/mdx-js/eslint-mdx/releases) - [Changelog](https://github.com/mdx-js/eslint-mdx/blob/master/CHANGELOG.md) - [Commits](https://github.com/mdx-js/eslint-mdx/compare/v2.0.4...v2.0.5) --- updated-dependencies: - dependency-name: eslint-plugin-mdx dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 61ab799392b0..19ef52652f80 100644 --- a/package.json +++ b/package.json @@ -92,7 +92,7 @@ "eslint": "^8.23.1", "eslint-config-prettier": "^8.5.0", "eslint-plugin-cypress": "^2.12.1", - "eslint-plugin-mdx": "^2.0.4", + "eslint-plugin-mdx": "^2.0.5", "eslint-plugin-react": "^7.31.8", "eslint-plugin-react-hooks": "^4.6.0", "front-matter": "^4.0.2", diff --git a/yarn.lock b/yarn.lock index 858fbf72b909..05cf7444b826 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4896,10 +4896,10 @@ eslint-config-prettier@^8.5.0: resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz#5a81680ec934beca02c7b1a61cf8ca34b66feab1" integrity sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q== -eslint-mdx@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/eslint-mdx/-/eslint-mdx-2.0.4.tgz#f3c7dfebf852e960ecc0d2f44de8fd3c9599f8eb" - integrity sha512-SEgeWByCKYNRSqV+FtxHIcBadW7xCDtfZVACEZgFN1woGuPbr1XQicUMHO5pE0LSSQfWNHXTXP9MCMBkRRVS4A== +eslint-mdx@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/eslint-mdx/-/eslint-mdx-2.0.5.tgz#f26ae220192dd368b1c1ee670282cc28c50c244a" + integrity sha512-1ZzcJwJNfladtuK+uuG/MdC0idc1e3d1vCI2STOq/pLcJBGuao2biWh90vEh2M93zDiNoHJGUIU7UAxupiiHFw== dependencies: acorn "^8.8.0" acorn-jsx "^5.3.2" @@ -4930,12 +4930,12 @@ eslint-plugin-markdown@^3.0.0: dependencies: mdast-util-from-markdown "^0.8.5" -eslint-plugin-mdx@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/eslint-plugin-mdx/-/eslint-plugin-mdx-2.0.4.tgz#ae5226c6340f46b007198921d3c6872196f1e153" - integrity sha512-dDxtpaQl4EFAj8pZKa3Wk5s6QH2wz22Ba25j4OtW40zkB2Bb/Su/8xWoikF61bZoL99Y3aUV24eUTS39n0PJLQ== +eslint-plugin-mdx@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/eslint-plugin-mdx/-/eslint-plugin-mdx-2.0.5.tgz#7717a6e2f5c8f28530b1ef7a612f55430fb4726e" + integrity sha512-j2xN97jSlc5IoH94rJTHqYMztl46+hHzyC8Zqjx+OI1Rvv33isyf8xSSBHN6f0z8IJmgPgGsb/fH90JbvKplXg== dependencies: - eslint-mdx "^2.0.4" + eslint-mdx "^2.0.5" eslint-plugin-markdown "^3.0.0" remark-mdx "^2.1.3" remark-parse "^10.0.1" From 7c2cc4e93c5e982547a3638dc18e2e3ab8136975 Mon Sep 17 00:00:00 2001 From: Sam Chen Date: Wed, 21 Sep 2022 08:00:17 +0800 Subject: [PATCH 04/39] docs(guides): add emit section for asset modules (#6411) --- src/content/guides/asset-modules.mdx | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/content/guides/asset-modules.mdx b/src/content/guides/asset-modules.mdx index ede35935412d..0b47ba63a3d2 100644 --- a/src/content/guides/asset-modules.mdx +++ b/src/content/guides/asset-modules.mdx @@ -472,3 +472,24 @@ module: { ] }, ``` + +## Disable emitting assets + +For use cases like Server side rendering, you might want to disable emitting assets, which is feasible with [`emit`](/configuration/module/#rulegeneratoremit) option under `Rule.generator`: + +```js +module.exports = { + // … + module: { + rules: [ + { + test: /\.png$/i, + type: 'asset/resource', + generator: { + emit: false, + }, + }, + ], + }, +}; +``` From a061579e8da56d16c155f8b5ba4ed308596d8e68 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 21 Sep 2022 08:57:55 +0800 Subject: [PATCH 05/39] build(deps-dev): bump lightningcss from 1.15.1 to 1.16.0 (#6412) Bumps [lightningcss](https://github.com/parcel-bundler/lightningcss) from 1.15.1 to 1.16.0. - [Release notes](https://github.com/parcel-bundler/lightningcss/releases) - [Commits](https://github.com/parcel-bundler/lightningcss/compare/v1.15.1...v1.16.0) --- updated-dependencies: - dependency-name: lightningcss dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 104 +++++++++++++++++++++++++-------------------------- 2 files changed, 53 insertions(+), 53 deletions(-) diff --git a/package.json b/package.json index 19ef52652f80..a2fa63a77f2a 100644 --- a/package.json +++ b/package.json @@ -102,7 +102,7 @@ "husky": "^8.0.1", "hyperlink": "^5.0.4", "jest": "^29.0.3", - "lightningcss": "^1.15.1", + "lightningcss": "^1.16.0", "lint-staged": "^13.0.3", "lodash": "^4.17.21", "markdownlint": "^0.26.2", diff --git a/yarn.lock b/yarn.lock index 05cf7444b826..94dcdc14f781 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7369,61 +7369,61 @@ levn@~0.3.0: prelude-ls "~1.1.2" type-check "~0.3.2" -lightningcss-darwin-arm64@1.15.1: - version "1.15.1" - resolved "https://registry.yarnpkg.com/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.15.1.tgz#9b15f7d65898cae9ceae11d5c7ef6ea64edcce16" - integrity sha512-4bqe9OCWzj8gPgwzpDK7TPopIoKx9CQMPVN83/+T5LVLkh9sSS0ltZLjAFI399GIkC6idl6rguUQ5qPeq4yxsQ== - -lightningcss-darwin-x64@1.15.1: - version "1.15.1" - resolved "https://registry.yarnpkg.com/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.15.1.tgz#897cd5eb116fe50c7608c3936fbc8277b5e26498" - integrity sha512-1W7kt2Nd0lPFkZ5VzieJfs/ePVADysM3FS33HcUUzktE52vWL2B6S4ntWibHj6Ccg/lDH5o6GiLcCYwpOPLHug== - -lightningcss-linux-arm-gnueabihf@1.15.1: - version "1.15.1" - resolved "https://registry.yarnpkg.com/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.15.1.tgz#2d14a9115769bf63cbeb2e0676ba4fb3b69bec2c" - integrity sha512-8FijfM4HGJPCQPB9nAaTjdOE2PGQYE66t1wvV+SR915dEePn4yyRdCBJitlas5B6aTAE2AMwEuEl1i/pVDmkGw== - -lightningcss-linux-arm64-gnu@1.15.1: - version "1.15.1" - resolved "https://registry.yarnpkg.com/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.15.1.tgz#2a674bf9b1aef16a39ae49a3dc7d132a0904206e" - integrity sha512-ZhCv3MlApRTIwszlNQ2t7FST7qK+M1iP6apTvOetPwDlzOMZ5dcH0a1453JPm4CwOSzHZ8079gnb5EqtU4+pjg== - -lightningcss-linux-arm64-musl@1.15.1: - version "1.15.1" - resolved "https://registry.yarnpkg.com/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.15.1.tgz#13bb83b88cc9663377596f26311faa8c664aa4eb" - integrity sha512-cGhslFivvMLSIsesZbEaUurXRJMGUftHukiY5DjWtXkA2iIqqV7TyK3j6ZJPy76hlRKsjU/WO8CrabAvr6kmsw== - -lightningcss-linux-x64-gnu@1.15.1: - version "1.15.1" - resolved "https://registry.yarnpkg.com/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.15.1.tgz#890d163801c634b2e2f35807093ccc0bc906170c" - integrity sha512-uVfUgRUjq7laAR9A027oqGPcq72Y/hPVEEqb9agWzNqYvZyT0VAqNxp9g2ncL//gOD1vTwQntcwDhrI5VE2PCw== - -lightningcss-linux-x64-musl@1.15.1: - version "1.15.1" - resolved "https://registry.yarnpkg.com/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.15.1.tgz#ff4c88600e1f3839e7b68b1ab526788caa06db90" - integrity sha512-n2cRPHxL57N+YMsBodF9HogieOicmlQVUCFM+RF0FOzayA8LdypacNWI3EDzbERWfkBAWtx2eLvV50DOJrkQdg== - -lightningcss-win32-x64-msvc@1.15.1: - version "1.15.1" - resolved "https://registry.yarnpkg.com/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.15.1.tgz#a7336edcbbacd604de342eefa92183089e3215f2" - integrity sha512-wHGJZnCmHU14cL3mmVNZm1yDz55m8EKxwPhACZTq+/QOvLMeIXQ4qLvNzdvtVL5KESPwz4hjYsYsSNCtpcTfOA== - -lightningcss@^1.15.1: - version "1.15.1" - resolved "https://registry.yarnpkg.com/lightningcss/-/lightningcss-1.15.1.tgz#a951a0ef651a0d026de4f3ec03bd2a6feae25da4" - integrity sha512-d4fqKl8sqpdM27OsseAbKKxhD2otiu6stS7yWlm/DA7wOQAIDKMu/dke54cEN8ED19v9H2pEzMPGTsRfnq3Rdg== +lightningcss-darwin-arm64@1.16.0: + version "1.16.0" + resolved "https://registry.yarnpkg.com/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.16.0.tgz#f3318a2e64ca160610977675ee1a7e611f4a3617" + integrity sha512-gIhz6eZFwsC4oVMjBGQ3QWDdLQY7vcXFyM/x91PilgHqu63B9uBa10EZA75YoTEkbKhoz0uDCqyHh/EoF1GrkQ== + +lightningcss-darwin-x64@1.16.0: + version "1.16.0" + resolved "https://registry.yarnpkg.com/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.16.0.tgz#46361b701b572ce9ec29730624000b439c2184bb" + integrity sha512-kLPi+OEpDj3UGY6DC8TfjbcULJDKMP+TVKSlrEkNGn8t1YRzi2g4oy7UVTSB5AnSbT0CusUItzdVjHQ49EdoNA== + +lightningcss-linux-arm-gnueabihf@1.16.0: + version "1.16.0" + resolved "https://registry.yarnpkg.com/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.16.0.tgz#5da29f465dd44d98434b00b424cc4b445ea49eff" + integrity sha512-oSwEbvXUPr//H/ainBRJXTxHerlheee/KgkTTmAQWiVnt8HV+bRohTBWWPBy5ZArgiGLwj7ogv45istgljPN2Q== + +lightningcss-linux-arm64-gnu@1.16.0: + version "1.16.0" + resolved "https://registry.yarnpkg.com/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.16.0.tgz#21d139f5201c9b8bb3972c24116a5bcbb7e2c3b5" + integrity sha512-Drq9BSVIvmV9zsDJbCZWCulMvKMQWFIlYXPCKV/iwRj+ZAJ1BRngma0cNHB6uW7Wac8Jg04CJN5IA4ELE3J+cQ== + +lightningcss-linux-arm64-musl@1.16.0: + version "1.16.0" + resolved "https://registry.yarnpkg.com/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.16.0.tgz#d06936e0570fb51d58cc18ef2fb8858aeecd1979" + integrity sha512-1QXWStnTEo4RFQf0mfGhRyNUeEHilCZ0NA97XgwKwrYr/M7sYKU/1HWY00dPxFJ6GITR2pfJGo9xi3ScSSBxbA== + +lightningcss-linux-x64-gnu@1.16.0: + version "1.16.0" + resolved "https://registry.yarnpkg.com/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.16.0.tgz#fd9881cd839cac4676a01b713b06b0b178743f87" + integrity sha512-gD2eQYD5OFs1p83R0TcMCEc5HRyJES4lR4THmclv7khm3dc9vc+2VT0kFBPxO1L2AwlZuvXaaMan7X1Ul7uSfA== + +lightningcss-linux-x64-musl@1.16.0: + version "1.16.0" + resolved "https://registry.yarnpkg.com/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.16.0.tgz#697d87448e0f6445b6fc3cf8529d89709f3bfacc" + integrity sha512-HJsKeYxloEvg2WCQhtYPqzZUliLu9JBJNeI5y9cPQeDR/7ayGGLbVhJaotPtzJkElOFL/SaXsS+FRuH4w+yafg== + +lightningcss-win32-x64-msvc@1.16.0: + version "1.16.0" + resolved "https://registry.yarnpkg.com/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.16.0.tgz#e4a09c12a48534121ecd03ef0be8dadbbbbb63b6" + integrity sha512-h4ayyAlOMLUHV9NdofcIu79aEjmly93adVxcg5wDJpkvMiwDTufEN30M8G4gGcjo1JE5jFjAcyQcRpXYkYcemA== + +lightningcss@^1.16.0: + version "1.16.0" + resolved "https://registry.yarnpkg.com/lightningcss/-/lightningcss-1.16.0.tgz#4c8e4ef8133d54488d1482a115d3758259191c52" + integrity sha512-5+ZS9h+xeADcJTF2oRCT3yNZBlDYyOgQSdrWNBCqsIwm8ucKbF061OBVv/WHP4Zk8FToNhwFklk/hMuOngqsIg== dependencies: detect-libc "^1.0.3" optionalDependencies: - lightningcss-darwin-arm64 "1.15.1" - lightningcss-darwin-x64 "1.15.1" - lightningcss-linux-arm-gnueabihf "1.15.1" - lightningcss-linux-arm64-gnu "1.15.1" - lightningcss-linux-arm64-musl "1.15.1" - lightningcss-linux-x64-gnu "1.15.1" - lightningcss-linux-x64-musl "1.15.1" - lightningcss-win32-x64-msvc "1.15.1" + lightningcss-darwin-arm64 "1.16.0" + lightningcss-darwin-x64 "1.16.0" + lightningcss-linux-arm-gnueabihf "1.16.0" + lightningcss-linux-arm64-gnu "1.16.0" + lightningcss-linux-arm64-musl "1.16.0" + lightningcss-linux-x64-gnu "1.16.0" + lightningcss-linux-x64-musl "1.16.0" + lightningcss-win32-x64-msvc "1.16.0" lilconfig@2.0.5: version "2.0.5" From 1d4385900b8a99dd219636b509026c943a0880a3 Mon Sep 17 00:00:00 2001 From: Sam Chen Date: Wed, 21 Sep 2022 21:36:16 +0800 Subject: [PATCH 06/39] docs(api): improve logging api (#6413) --- src/content/api/logging.mdx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/content/api/logging.mdx b/src/content/api/logging.mdx index c5c346e772a4..34e5df7f1bd9 100644 --- a/src/content/api/logging.mdx +++ b/src/content/api/logging.mdx @@ -58,6 +58,13 @@ module.exports = function (source) { }; ``` +As you can see from the above `my-webpack-plugin.js` example, there're two types of logging methods, + +1. `compilation.getLogger` +2. `compiler.getInfrastructureLogger` + +It's advised to use `compilation.getLogger` when plugin/logging is related to the compilation, and they will be stored within the stats. For logging that happens outside the compilation cycle, use `compiler.getInfrastructureLogger` instead. + ## Logger methods - `logger.error(...)`: for error messages From 9060a927841cf11722369b1bb74e0d2c3a3b346a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 22 Sep 2022 12:44:43 +0800 Subject: [PATCH 07/39] build(deps-dev): bump autoprefixer from 10.4.11 to 10.4.12 (#6414) Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.11 to 10.4.12. - [Release notes](https://github.com/postcss/autoprefixer/releases) - [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/autoprefixer/compare/10.4.11...10.4.12) --- updated-dependencies: - dependency-name: autoprefixer dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 50 +++++++++++++++++++++++++------------------------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/package.json b/package.json index a2fa63a77f2a..4357985c9c68 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ "@octokit/rest": "^19.0.4", "@pmmmwh/react-refresh-webpack-plugin": "next", "@svgr/webpack": "^6.3.1", - "autoprefixer": "^10.4.11", + "autoprefixer": "^10.4.12", "babel-loader": "^8.2.5", "copy-webpack-plugin": "^11.0.0", "css-loader": "^6.7.1", diff --git a/yarn.lock b/yarn.lock index 94dcdc14f781..84cf91a6dd18 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3166,13 +3166,13 @@ at-least-node@^1.0.0: resolved "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2" integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== -autoprefixer@^10.4.11: - version "10.4.11" - resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.11.tgz#835136aff1d9cd43640151e0d2dba00f8eac7c1c" - integrity sha512-5lHp6DgRodxlBLSkzHOTcufWFflH1ewfy2hvFQyjrblBFlP/0Yh4O/Wrg4ow8WRlN3AAUFFLAQwX8hTptzqVHg== +autoprefixer@^10.4.12: + version "10.4.12" + resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.12.tgz#183f30bf0b0722af54ee5ef257f7d4320bb33129" + integrity sha512-WrCGV9/b97Pa+jtwf5UGaRjgQIg7OK3D06GnoYoZNcG1Xb8Gt3EfuKjlhh9i/VtT16g6PYjZ69jdJ2g8FxSC4Q== dependencies: - browserslist "^4.21.3" - caniuse-lite "^1.0.30001399" + browserslist "^4.21.4" + caniuse-lite "^1.0.30001407" fraction.js "^4.2.0" normalize-range "^0.1.2" picocolors "^1.0.0" @@ -3456,15 +3456,15 @@ browser-process-hrtime@^1.0.0: resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626" integrity sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow== -browserslist@^4.0.0, browserslist@^4.14.5, browserslist@^4.16.6, browserslist@^4.20.3, browserslist@^4.21.3: - version "4.21.3" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.3.tgz#5df277694eb3c48bc5c4b05af3e8b7e09c5a6d1a" - integrity sha512-898rgRXLAyRkM1GryrrBHGkqA5hlpkV5MhtZwg9QXeiyLUYs2k00Un05aX5l2/yJIOObYKOpS2JNo8nJDE7fWQ== +browserslist@^4.0.0, browserslist@^4.14.5, browserslist@^4.16.6, browserslist@^4.20.3, browserslist@^4.21.3, browserslist@^4.21.4: + version "4.21.4" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.4.tgz#e7496bbc67b9e39dd0f98565feccdcb0d4ff6987" + integrity sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw== dependencies: - caniuse-lite "^1.0.30001370" - electron-to-chromium "^1.4.202" + caniuse-lite "^1.0.30001400" + electron-to-chromium "^1.4.251" node-releases "^2.0.6" - update-browserslist-db "^1.0.5" + update-browserslist-db "^1.0.9" bser@2.1.1: version "2.1.1" @@ -3570,10 +3570,10 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001370, caniuse-lite@^1.0.30001399: - version "1.0.30001399" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001399.tgz#1bf994ca375d7f33f8d01ce03b7d5139e8587873" - integrity sha512-4vQ90tMKS+FkvuVWS5/QY1+d805ODxZiKFzsU8o/RsVJz49ZSRR8EjykLJbqhzdPgadbX6wB538wOzle3JniRA== +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001400, caniuse-lite@^1.0.30001407: + version "1.0.30001409" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001409.tgz#6135da9dcab34cd9761d9cdb12a68e6740c5e96e" + integrity sha512-V0mnJ5dwarmhYv8/MzhJ//aW68UpvnQBXv8lJ2QUsvn2pHcmAuNtu8hQEDz37XnA1iE+lRR9CIfGWWpgJ5QedQ== caseless@~0.12.0: version "0.12.0" @@ -4688,10 +4688,10 @@ ejs@^3.1.6: dependencies: jake "^10.8.5" -electron-to-chromium@^1.4.202: - version "1.4.206" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.206.tgz#580ff85b54d7ec0c05f20b1e37ea0becdd7b0ee4" - integrity sha512-h+Fadt1gIaQ06JaIiyqPsBjJ08fV5Q7md+V8bUvQW/9OvXfL2LRICTz2EcnnCP7QzrFTS6/27MRV6Bl9Yn97zA== +electron-to-chromium@^1.4.251: + version "1.4.256" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.256.tgz#c735032f412505e8e0482f147a8ff10cfca45bf4" + integrity sha512-x+JnqyluoJv8I0U9gVe+Sk2st8vF0CzMt78SXxuoWCooLLY2k5VerIBdpvG7ql6GKI4dzNnPjmqgDJ76EdaAKw== emittery@^0.10.2: version "0.10.2" @@ -11924,10 +11924,10 @@ upath@^1.2.0: resolved "https://registry.yarnpkg.com/upath/-/upath-1.2.0.tgz#8f66dbcd55a883acdae4408af8b035a5044c1894" integrity sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg== -update-browserslist-db@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.5.tgz#be06a5eedd62f107b7c19eb5bcefb194411abf38" - integrity sha512-dteFFpCyvuDdr9S/ff1ISkKt/9YZxKjI9WlRR99c180GaztJtRa/fn18FdxGVKVsnPY7/a/FDN68mcvUmP4U7Q== +update-browserslist-db@^1.0.9: + version "1.0.9" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.9.tgz#2924d3927367a38d5c555413a7ce138fc95fcb18" + integrity sha512-/xsqn21EGVdXI3EXSum1Yckj3ZVZugqyOZQ/CxYPBD/R+ko9NSUScf8tFF4dOKY+2pvSSJA/S+5B8s4Zr4kyvg== dependencies: escalade "^3.1.1" picocolors "^1.0.0" From 0ccd06c7ae1db476663cedf69047722fc9f87c32 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 23 Sep 2022 09:27:50 +0800 Subject: [PATCH 08/39] build(deps-dev): bump sass from 1.54.9 to 1.55.0 (#6416) Bumps [sass](https://github.com/sass/dart-sass) from 1.54.9 to 1.55.0. - [Release notes](https://github.com/sass/dart-sass/releases) - [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md) - [Commits](https://github.com/sass/dart-sass/compare/1.54.9...1.55.0) --- updated-dependencies: - dependency-name: sass dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 4357985c9c68..6ee82208317c 100644 --- a/package.json +++ b/package.json @@ -127,7 +127,7 @@ "remark-html": "^15.0.1", "remark-refractor": "montogeek/remark-refractor", "rimraf": "^3.0.2", - "sass": "^1.54.9", + "sass": "^1.55.0", "sass-loader": "^13.0.2", "sirv-cli": "^2.0.2", "sitemap-static": "^0.4.2", diff --git a/yarn.lock b/yarn.lock index 84cf91a6dd18..d6011ba6d275 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10446,10 +10446,10 @@ sass-loader@^13.0.2: klona "^2.0.4" neo-async "^2.6.2" -sass@^1.54.9: - version "1.54.9" - resolved "https://registry.yarnpkg.com/sass/-/sass-1.54.9.tgz#b05f14ed572869218d1a76961de60cd647221762" - integrity sha512-xb1hjASzEH+0L0WI9oFjqhRi51t/gagWnxLiwUNMltA0Ab6jIDkAacgKiGYKM9Jhy109osM7woEEai6SXeJo5Q== +sass@^1.55.0: + version "1.55.0" + resolved "https://registry.yarnpkg.com/sass/-/sass-1.55.0.tgz#0c4d3c293cfe8f8a2e8d3b666e1cf1bff8065d1c" + integrity sha512-Pk+PMy7OGLs9WaxZGJMn7S96dvlyVBwwtToX895WmCpAOr5YiJYEUJfiJidMuKb613z2xNWcXCHEuOvjZbqC6A== dependencies: chokidar ">=3.0.0 <4.0.0" immutable "^4.0.0" From 97e2ef2d6dc051ac4253b759dfa9d657c80d3661 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 23 Sep 2022 09:38:34 +0800 Subject: [PATCH 09/39] build(deps): bump react-router-dom from 6.4.0 to 6.4.1 (#6417) Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.4.0 to 6.4.1. - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.4.1/packages/react-router-dom) --- updated-dependencies: - dependency-name: react-router-dom dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 29 +++++++++++++++-------------- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index 6ee82208317c..3786d8616c2d 100644 --- a/package.json +++ b/package.json @@ -151,7 +151,7 @@ "react": "^17.0.2", "react-dom": "^17.0.2", "react-helmet-async": "^1.3.0", - "react-router-dom": "^6.4.0", + "react-router-dom": "^6.4.1", "react-spring": "^9.5.4", "react-tiny-popover": "5", "react-use": "^17.4.0", diff --git a/yarn.lock b/yarn.lock index d6011ba6d275..26958b7e9586 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2126,10 +2126,10 @@ "@react-spring/shared" "~9.5.4" "@react-spring/types" "~9.5.4" -"@remix-run/router@1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@remix-run/router/-/router-1.0.0.tgz#a2189335a5f6428aa904ccc291988567018b6e01" - integrity sha512-SCR1cxRSMNKjaVYptCzBApPDqGwa3FGdjVHc+rOToocNPHQdIYLZBfv/3f+KvYuXDkUGVIW9IAzmPNZDRL1I4A== +"@remix-run/router@1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@remix-run/router/-/router-1.0.1.tgz#88d7ac31811ab0cef14aaaeae2a0474923b278bc" + integrity sha512-eBV5rvW4dRFOU1eajN7FmYxjAIVz/mRHgUE9En9mBn6m3mulK3WTR5C3iQhL9MZ14rWAq+xOlEaCkDiW0/heOg== "@rollup/plugin-babel@^5.2.0": version "5.2.2" @@ -9846,19 +9846,20 @@ react-refresh@^0.14.0: resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.14.0.tgz#4e02825378a5f227079554d4284889354e5f553e" integrity sha512-wViHqhAd8OHeLS/IRMJjTSDHF3U9eWi62F/MledQGPdJGDhodXJ9PBLNGr6WWL7qlH12Mt3TyTpbS+hGXMjCzQ== -react-router-dom@^6.4.0: - version "6.4.0" - resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-6.4.0.tgz#a7d7c394c9e730b045cdd4f5d6c2d1ccb9e26947" - integrity sha512-4Aw1xmXKeleYYQ3x0Lcl2undHR6yMjXZjd9DKZd53SGOYqirrUThyUb0wwAX5VZAyvSuzjNJmZlJ3rR9+/vzqg== +react-router-dom@^6.4.1: + version "6.4.1" + resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-6.4.1.tgz#99c9b7c4967890701c888517475aa5d54d25760e" + integrity sha512-MY7NJCrGNVJtGp8ODMOBHu20UaIkmwD2V3YsAOUQoCXFk7Ppdwf55RdcGyrSj+ycSL9Uiwrb3gTLYSnzcRoXww== dependencies: - react-router "6.4.0" + "@remix-run/router" "1.0.1" + react-router "6.4.1" -react-router@6.4.0: - version "6.4.0" - resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.4.0.tgz#68449c23dc893fc7a57db068c19987be1de72edb" - integrity sha512-B+5bEXFlgR1XUdHYR6P94g299SjrfCBMmEDJNcFbpAyRH1j1748yt9NdDhW3++nw1lk3zQJ6aOO66zUx3KlTZg== +react-router@6.4.1: + version "6.4.1" + resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.4.1.tgz#dd9cc4dfa264751d143a4b6c9d4faa60ab3ce26c" + integrity sha512-OJASKp5AykDWFewgWUim1vlLr7yfD4vO/h+bSgcP/ix8Md+LMHuAjovA74MQfsfhQJGGN1nHRhwS5qQQbbBt3A== dependencies: - "@remix-run/router" "1.0.0" + "@remix-run/router" "1.0.1" react-spring@^9.5.4: version "9.5.4" From 10fd714341e530b6cecd7f1e41b2935e5a899aaa Mon Sep 17 00:00:00 2001 From: Sam Chen Date: Fri, 23 Sep 2022 18:44:45 +0800 Subject: [PATCH 10/39] CI: running e2e tests with Chrome (#6415) * upgrade cypress * use chrome for e2e test * run in chrome --- .github/workflows/testing.yml | 1 + package.json | 4 ++-- yarn.lock | 18 +++++++++--------- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 60cf0ee24652..75cdb9529f49 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -116,6 +116,7 @@ jobs: - name: Cypress run uses: cypress-io/github-action@v4 with: + browser: chrome config-file: cypress.config.js build: yarn build start: yarn serve-dist diff --git a/package.json b/package.json index 3786d8616c2d..8334e747a36d 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "printable": "node ./src/scripts/concatenate-docs.mjs", "jest": "NODE_OPTIONS=--experimental-vm-modules jest --config=jest.config.mjs", "cypress:open": "cypress open", - "cypress:run": "cypress run", + "cypress:run": "cypress run --browser chrome", "prettier": "prettier --write '**/*.{js,json,jsx,css,scss,md,mdx}'", "prepare": "husky install && rimraf ./node_modules/.cache/webpack && yarn-deduplicate --strategy fewer" }, @@ -85,7 +85,7 @@ "copy-webpack-plugin": "^11.0.0", "css-loader": "^6.7.1", "css-minimizer-webpack-plugin": "^4.1.0", - "cypress": "^10.7.0", + "cypress": "^10.8.0", "directory-tree": "^3.3.1", "directory-tree-webpack-plugin": "^1.0.3", "duplexer": "^0.1.1", diff --git a/yarn.lock b/yarn.lock index 26958b7e9586..7007027c8cca 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4263,10 +4263,10 @@ csstype@^3.0.6: resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.0.6.tgz#865d0b5833d7d8d40f4e5b8a6d76aea3de4725ef" integrity sha512-+ZAmfyWMT7TiIlzdqJgjMb7S4f1beorDbWbsocyK4RaiqA5RTX3K14bnBWmmA9QEM0gRdsjyyrEmcyga8Zsxmw== -cypress@^10.7.0: - version "10.7.0" - resolved "https://registry.yarnpkg.com/cypress/-/cypress-10.7.0.tgz#2d37f8b9751c6de33ee48639cb7e67a2ce593231" - integrity sha512-gTFvjrUoBnqPPOu9Vl5SBHuFlzx/Wxg/ZXIz2H4lzoOLFelKeF7mbwYUOzgzgF0oieU2WhJAestQdkgwJMMTvQ== +cypress@^10.8.0: + version "10.8.0" + resolved "https://registry.yarnpkg.com/cypress/-/cypress-10.8.0.tgz#12a681f2642b6f13d636bab65d5b71abdb1497a5" + integrity sha512-QVse0dnLm018hgti2enKMVZR9qbIO488YGX06nH5j3Dg1isL38DwrBtyrax02CANU6y8F4EJUuyW6HJKw1jsFA== dependencies: "@cypress/request" "^2.88.10" "@cypress/xvfb" "^1.2.4" @@ -4287,7 +4287,7 @@ cypress@^10.7.0: dayjs "^1.10.4" debug "^4.3.2" enquirer "^2.3.6" - eventemitter2 "^6.4.3" + eventemitter2 "6.4.7" execa "4.1.0" executable "^4.1.1" extract-zip "2.0.1" @@ -5145,10 +5145,10 @@ eval@^0.1.0, eval@^0.1.5: dependencies: require-like ">= 0.1.1" -eventemitter2@^6.4.3: - version "6.4.4" - resolved "https://registry.yarnpkg.com/eventemitter2/-/eventemitter2-6.4.4.tgz#aa96e8275c4dbeb017a5d0e03780c65612a1202b" - integrity sha512-HLU3NDY6wARrLCEwyGKRBvuWYyvW6mHYv72SJJAH3iJN3a6eVUvkjFkcxah1bcTgGVBBrFdIopBJPhCQFMLyXw== +eventemitter2@6.4.7: + version "6.4.7" + resolved "https://registry.yarnpkg.com/eventemitter2/-/eventemitter2-6.4.7.tgz#a7f6c4d7abf28a14c1ef3442f21cb306a054271d" + integrity sha512-tYUSVOGeQPKt/eC1ABfhHy5Xd96N3oIijJvN3O9+TsC28T5V9yX9oEfEK5faP0EFSNVOG97qtAS68GBrQB2hDg== eventemitter3@^4.0.0: version "4.0.7" From bde990a7603dba2eb4d0e04e9c67dea8f5702e0a Mon Sep 17 00:00:00 2001 From: Sam Chen Date: Mon, 26 Sep 2022 20:17:49 +0800 Subject: [PATCH 11/39] docs(configuration): mention default watchOptions.poll value (#6419) --- src/content/configuration/watch.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/content/configuration/watch.mdx b/src/content/configuration/watch.mdx index 1ce35c77ae4b..556b4b72c260 100644 --- a/src/content/configuration/watch.mdx +++ b/src/content/configuration/watch.mdx @@ -11,6 +11,7 @@ contributors: - Neob91 - Loonride - snitin315 + - chenxsan --- Webpack can watch files and recompile whenever they change. This page explains how to enable this and a couple of tweaks you can make if watching does not work properly for you. @@ -128,7 +129,7 @@ T> If you use `require.context`, webpack will watch your entire directory. You w `boolean = false` `number` -Turn on [polling]() by passing `true`, or specifying a poll interval in milliseconds: +Turn on [polling]() by passing `true` which would set the default poll interval to [`5007`](https://github.com/webpack/watchpack/blob/a54bcdb95759558ca5a9fc2819c4d71b771c162f/lib/DirectoryWatcher.js#L79), or specifying a poll interval in milliseconds: **webpack.config.js** From bbdd8bba70b858aca1a560dc00329b83cbbabdc2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Sep 2022 08:48:39 +0800 Subject: [PATCH 12/39] build(deps-dev): bump eslint from 8.23.1 to 8.24.0 (#6420) Bumps [eslint](https://github.com/eslint/eslint) from 8.23.1 to 8.24.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v8.23.1...v8.24.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 8334e747a36d..71021e3f13d9 100644 --- a/package.json +++ b/package.json @@ -89,7 +89,7 @@ "directory-tree": "^3.3.1", "directory-tree-webpack-plugin": "^1.0.3", "duplexer": "^0.1.1", - "eslint": "^8.23.1", + "eslint": "^8.24.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-cypress": "^2.12.1", "eslint-plugin-mdx": "^2.0.5", diff --git a/yarn.lock b/yarn.lock index 7007027c8cca..3a19dc761e9c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1245,10 +1245,10 @@ dependencies: "@hapi/hoek" "^8.3.0" -"@humanwhocodes/config-array@^0.10.4": - version "0.10.4" - resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.10.4.tgz#01e7366e57d2ad104feea63e72248f22015c520c" - integrity sha512-mXAIHxZT3Vcpg83opl1wGlVZ9xydbfZO3r5YfRSH6Gpp2J/PfdBP0wbDa2sO6/qRbcalpoevVyW6A/fI6LfeMw== +"@humanwhocodes/config-array@^0.10.5": + version "0.10.5" + resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.10.5.tgz#bb679745224745fff1e9a41961c1d45a49f81c04" + integrity sha512-XVVDtp+dVvRxMoxSiSfasYaG02VEe1qH5cKgMQJWhol6HwzbcqoCMJi8dAGoYAO57jhUyhI6cWuRiTcRaDaYug== dependencies: "@humanwhocodes/object-schema" "^1.2.1" debug "^4.1.1" @@ -5002,13 +5002,13 @@ eslint-visitor-keys@^3.3.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz#f6480fa6b1f30efe2d1968aa8ac745b862469826" integrity sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA== -eslint@^8.23.1: - version "8.23.1" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.23.1.tgz#cfd7b3f7fdd07db8d16b4ac0516a29c8d8dca5dc" - integrity sha512-w7C1IXCc6fNqjpuYd0yPlcTKKmHlHHktRkzmBPZ+7cvNBQuiNjx0xaMTjAJGCafJhQkrFJooREv0CtrVzmHwqg== +eslint@^8.24.0: + version "8.24.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.24.0.tgz#489516c927a5da11b3979dbfb2679394523383c8" + integrity sha512-dWFaPhGhTAiPcCgm3f6LI2MBWbogMnTJzFBbhXVRQDJPkr9pGZvVjlVfXd+vyDcWPA2Ic9L2AXPIQM0+vk/cSQ== dependencies: "@eslint/eslintrc" "^1.3.2" - "@humanwhocodes/config-array" "^0.10.4" + "@humanwhocodes/config-array" "^0.10.5" "@humanwhocodes/gitignore-to-minimatch" "^1.0.2" "@humanwhocodes/module-importer" "^1.0.1" ajv "^6.10.0" From f10a9900ec04cf1272210f92a74027761b08fa22 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Sep 2022 12:52:29 +0800 Subject: [PATCH 13/39] build(deps): bump react-spring from 9.5.4 to 9.5.5 (#6421) Bumps [react-spring](https://github.com/pmndrs/react-spring) from 9.5.4 to 9.5.5. - [Release notes](https://github.com/pmndrs/react-spring/releases) - [Commits](https://github.com/pmndrs/react-spring/compare/v9.5.4...v9.5.5) --- updated-dependencies: - dependency-name: react-spring dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 192 +++++++++++++++++++++++++-------------------------- 2 files changed, 97 insertions(+), 97 deletions(-) diff --git a/package.json b/package.json index 71021e3f13d9..d49e843a2670 100644 --- a/package.json +++ b/package.json @@ -152,7 +152,7 @@ "react-dom": "^17.0.2", "react-helmet-async": "^1.3.0", "react-router-dom": "^6.4.1", - "react-spring": "^9.5.4", + "react-spring": "^9.5.5", "react-tiny-popover": "5", "react-use": "^17.4.0", "react-visibility-sensor": "^5.0.2", diff --git a/yarn.lock b/yarn.lock index 3a19dc761e9c..a9a3488fc45f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2040,91 +2040,91 @@ resolved "https://registry.yarnpkg.com/@polka/url/-/url-1.0.0-next.21.tgz#5de5a2385a35309427f6011992b544514d559aa1" integrity sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g== -"@react-spring/animated@~9.5.4": - version "9.5.4" - resolved "https://registry.yarnpkg.com/@react-spring/animated/-/animated-9.5.4.tgz#4fb2114c5b68243fc451d9af33f5dadd5b3b1c42" - integrity sha512-gYd+xWwcNxEGA9EdORz/xsGsuQmz46FCu7OLIGOZK00fiSkjEM8yTwBQ9i8SUslRAdxTW+POL5OctDpCA6A7xw== - dependencies: - "@react-spring/shared" "~9.5.4" - "@react-spring/types" "~9.5.4" - -"@react-spring/core@~9.5.4": - version "9.5.4" - resolved "https://registry.yarnpkg.com/@react-spring/core/-/core-9.5.4.tgz#3bfdaf40ff34cd2659c1d11c88dd0e3575701920" - integrity sha512-ZQxS5+5i6dVWL8mnRbrUMdkT7TfWhdIYYe2ze3my2SNAKC14JjxHxeknX57ywRyudskR1Z9CQjiC8aXX6QBl7w== - dependencies: - "@react-spring/animated" "~9.5.4" - "@react-spring/rafz" "~9.5.4" - "@react-spring/shared" "~9.5.4" - "@react-spring/types" "~9.5.4" - -"@react-spring/konva@~9.5.4": - version "9.5.4" - resolved "https://registry.yarnpkg.com/@react-spring/konva/-/konva-9.5.4.tgz#f9e8213cd3dc6fb025b1b61996c77e146a321236" - integrity sha512-2myKIYXdApmdXDmvYcv/d85xHb7pLHKDJvE5fT+7qWYgCTtz9euUIaWWTkAbL0Sq9k55AB6RKT04p+xmu2PXGw== - dependencies: - "@react-spring/animated" "~9.5.4" - "@react-spring/core" "~9.5.4" - "@react-spring/shared" "~9.5.4" - "@react-spring/types" "~9.5.4" - -"@react-spring/native@~9.5.4": - version "9.5.4" - resolved "https://registry.yarnpkg.com/@react-spring/native/-/native-9.5.4.tgz#ab221df8124bc8d7e4427ffcb7310e065ef52df2" - integrity sha512-EVjAA++fBKW3RX++XJHUs5BYYd91kavjpYoHh75v8xV9td6GCgFBUw9P8zAeU1Hfe1ze4VWPcXgkhLX/g2e4ag== - dependencies: - "@react-spring/animated" "~9.5.4" - "@react-spring/core" "~9.5.4" - "@react-spring/shared" "~9.5.4" - "@react-spring/types" "~9.5.4" - -"@react-spring/rafz@~9.5.4": - version "9.5.4" - resolved "https://registry.yarnpkg.com/@react-spring/rafz/-/rafz-9.5.4.tgz#a2a036cb3e948c4f2a4be4d59e53857550c03db7" - integrity sha512-Tmev2j7sq2FW3ISUClnNS0PhkCsBfPPpkHVMxz8mkIKzMGXWskd0GblOoPVJiWvhbccaX/NYd+ykJqJ1gY0v9g== - -"@react-spring/shared@~9.5.4": - version "9.5.4" - resolved "https://registry.yarnpkg.com/@react-spring/shared/-/shared-9.5.4.tgz#0ae556047274997b87979df7ac27c29c58f590b3" - integrity sha512-22IYmNOzDRP9e5BaQk6T/P2aRxne9uTzGDYuBQCbJpChZypB98xWBMKlVTKdSRG7K4v+F97KFPAKBQzS/k7p5Q== - dependencies: - "@react-spring/rafz" "~9.5.4" - "@react-spring/types" "~9.5.4" - -"@react-spring/three@~9.5.4": - version "9.5.4" - resolved "https://registry.yarnpkg.com/@react-spring/three/-/three-9.5.4.tgz#8b461d60a05f205468ff19674e8e29509ba14521" - integrity sha512-grbkmBKuKyTdhDsGiSbFoKMhknJa2BwKo6sfbWjyypTpoJLXQAvW2GXmSgbcis1vLp19VrWy7zRqTJS5CZgkhQ== - dependencies: - "@react-spring/animated" "~9.5.4" - "@react-spring/core" "~9.5.4" - "@react-spring/shared" "~9.5.4" - "@react-spring/types" "~9.5.4" - -"@react-spring/types@~9.5.4": - version "9.5.4" - resolved "https://registry.yarnpkg.com/@react-spring/types/-/types-9.5.4.tgz#6d26df992a32ea5532a1e7b732f5485857116b00" - integrity sha512-dzcGxqL1kPKociXK+pcq5ley77cWDWiphfv8OREv8dAZS1dKDTJq1zVy7ZD5ocyMtKMZw/7AcOdIJ1H80Dp56g== - -"@react-spring/web@~9.5.4": - version "9.5.4" - resolved "https://registry.yarnpkg.com/@react-spring/web/-/web-9.5.4.tgz#ea46780761deb4c5a42dcc9745c2a121f8229a66" - integrity sha512-HoypE3kL/ZUBB81hThE1hB9jYBgJmfeluEOPYoI/wGHyF1q8O0AYpWClvdAbiK3FTESHYZi2m60jwitF7VYUlQ== - dependencies: - "@react-spring/animated" "~9.5.4" - "@react-spring/core" "~9.5.4" - "@react-spring/shared" "~9.5.4" - "@react-spring/types" "~9.5.4" - -"@react-spring/zdog@~9.5.4": - version "9.5.4" - resolved "https://registry.yarnpkg.com/@react-spring/zdog/-/zdog-9.5.4.tgz#078592e7a473cc01493e7f0d8712df96b93f1a72" - integrity sha512-4B0LxvoSrJKy3cEGLzwpeyGKXASJQAdlBB1BLj4l7RsbKfGAXR40VLuwhJVLYiYgUjJ9vur1i33R2qrTzJkrZA== - dependencies: - "@react-spring/animated" "~9.5.4" - "@react-spring/core" "~9.5.4" - "@react-spring/shared" "~9.5.4" - "@react-spring/types" "~9.5.4" +"@react-spring/animated@~9.5.5": + version "9.5.5" + resolved "https://registry.yarnpkg.com/@react-spring/animated/-/animated-9.5.5.tgz#d3bfd0f62ed13a337463a55d2c93bb23c15bbf3e" + integrity sha512-glzViz7syQ3CE6BQOwAyr75cgh0qsihm5lkaf24I0DfU63cMm/3+br299UEYkuaHNmfDfM414uktiPlZCNJbQA== + dependencies: + "@react-spring/shared" "~9.5.5" + "@react-spring/types" "~9.5.5" + +"@react-spring/core@~9.5.5": + version "9.5.5" + resolved "https://registry.yarnpkg.com/@react-spring/core/-/core-9.5.5.tgz#1d8a4c64630ee26b2295361e1eedfd716a85b4ae" + integrity sha512-shaJYb3iX18Au6gkk8ahaF0qx0LpS0Yd+ajb4asBaAQf6WPGuEdJsbsNSgei1/O13JyEATsJl20lkjeslJPMYA== + dependencies: + "@react-spring/animated" "~9.5.5" + "@react-spring/rafz" "~9.5.5" + "@react-spring/shared" "~9.5.5" + "@react-spring/types" "~9.5.5" + +"@react-spring/konva@~9.5.5": + version "9.5.5" + resolved "https://registry.yarnpkg.com/@react-spring/konva/-/konva-9.5.5.tgz#ddbb30cfa268219d69552aa71188832ca8ab4905" + integrity sha512-0CNh+1vCIjNUklTFwMvxg+H83Jo2OWykBrdEA28ccmnpZgkQ8Kq5xyvaPFLzcDKV67OXHnaWiCYKpRbhLy2wng== + dependencies: + "@react-spring/animated" "~9.5.5" + "@react-spring/core" "~9.5.5" + "@react-spring/shared" "~9.5.5" + "@react-spring/types" "~9.5.5" + +"@react-spring/native@~9.5.5": + version "9.5.5" + resolved "https://registry.yarnpkg.com/@react-spring/native/-/native-9.5.5.tgz#4ecc420c7b4c3fefeebd55d852640d36c29ec9c8" + integrity sha512-kauqmyJ8u7aVy2bBs22vl1SdB2i5uYIL4rP53k1KDWrFSqJh4j3efWkbTt9uzR5cMXuNVbkNo9OYVFUcQBz50A== + dependencies: + "@react-spring/animated" "~9.5.5" + "@react-spring/core" "~9.5.5" + "@react-spring/shared" "~9.5.5" + "@react-spring/types" "~9.5.5" + +"@react-spring/rafz@~9.5.5": + version "9.5.5" + resolved "https://registry.yarnpkg.com/@react-spring/rafz/-/rafz-9.5.5.tgz#62a49c5e294104b79db2a8afdf4f3a274c7f44ca" + integrity sha512-F/CLwB0d10jL6My5vgzRQxCNY2RNyDJZedRBK7FsngdCmzoq3V4OqqNc/9voJb9qRC2wd55oGXUeXv2eIaFmsw== + +"@react-spring/shared@~9.5.5": + version "9.5.5" + resolved "https://registry.yarnpkg.com/@react-spring/shared/-/shared-9.5.5.tgz#9be0b391d546e3e184a24ecbaf40acbaeab7fc73" + integrity sha512-YwW70Pa/YXPOwTutExHZmMQSHcNC90kJOnNR4G4mCDNV99hE98jWkIPDOsgqbYx3amIglcFPiYKMaQuGdr8dyQ== + dependencies: + "@react-spring/rafz" "~9.5.5" + "@react-spring/types" "~9.5.5" + +"@react-spring/three@~9.5.5": + version "9.5.5" + resolved "https://registry.yarnpkg.com/@react-spring/three/-/three-9.5.5.tgz#c6fbee977007d1980406db20a28ac3f5dc2ce153" + integrity sha512-9kTIaSceqFIl5EIrdwM7Z53o5I+9BGNVzbp4oZZYMao+GMAWOosnlQdDG5GeqNsIqfW9fZCEquGqagfKAxftcA== + dependencies: + "@react-spring/animated" "~9.5.5" + "@react-spring/core" "~9.5.5" + "@react-spring/shared" "~9.5.5" + "@react-spring/types" "~9.5.5" + +"@react-spring/types@~9.5.5": + version "9.5.5" + resolved "https://registry.yarnpkg.com/@react-spring/types/-/types-9.5.5.tgz#c8e94f1b9232ca7cb9d860ea67762ec401b1de14" + integrity sha512-7I/qY8H7Enwasxr4jU6WmtNK+RZ4Z/XvSlDvjXFVe7ii1x0MoSlkw6pD7xuac8qrHQRm9BTcbZNyeeKApYsvCg== + +"@react-spring/web@~9.5.5": + version "9.5.5" + resolved "https://registry.yarnpkg.com/@react-spring/web/-/web-9.5.5.tgz#d416abc591aaed930401f0c98a991a8c5b90c382" + integrity sha512-+moT8aDX/ho/XAhU+HRY9m0LVV9y9CK6NjSRaI+30Re150pB3iEip6QfnF4qnhSCQ5drpMF0XRXHgOTY/xbtFw== + dependencies: + "@react-spring/animated" "~9.5.5" + "@react-spring/core" "~9.5.5" + "@react-spring/shared" "~9.5.5" + "@react-spring/types" "~9.5.5" + +"@react-spring/zdog@~9.5.5": + version "9.5.5" + resolved "https://registry.yarnpkg.com/@react-spring/zdog/-/zdog-9.5.5.tgz#916dba337637d1151c3c2bc829b5105d15adacb5" + integrity sha512-LZgjo2kLlGmUqfE2fdVnvLXz+4eYyQARRvB9KQ4PTEynaETTG89Xgn9YxLrh1p57DzH7gEmTGDZ5hEw3pWqu8g== + dependencies: + "@react-spring/animated" "~9.5.5" + "@react-spring/core" "~9.5.5" + "@react-spring/shared" "~9.5.5" + "@react-spring/types" "~9.5.5" "@remix-run/router@1.0.1": version "1.0.1" @@ -9861,17 +9861,17 @@ react-router@6.4.1: dependencies: "@remix-run/router" "1.0.1" -react-spring@^9.5.4: - version "9.5.4" - resolved "https://registry.yarnpkg.com/react-spring/-/react-spring-9.5.4.tgz#4c67e33650292b79bceef611e4f0d36e74d08202" - integrity sha512-CelndH5CfAhiitqc2BbJ4b7DBou5M8qX2NMnc3vBHJIhp1Dp7KMA5nGCEtj9M9xOtCIpbPwB5XWbjttCDXOL4g== - dependencies: - "@react-spring/core" "~9.5.4" - "@react-spring/konva" "~9.5.4" - "@react-spring/native" "~9.5.4" - "@react-spring/three" "~9.5.4" - "@react-spring/web" "~9.5.4" - "@react-spring/zdog" "~9.5.4" +react-spring@^9.5.5: + version "9.5.5" + resolved "https://registry.yarnpkg.com/react-spring/-/react-spring-9.5.5.tgz#314009a65efc04d0ef157d3d60590dbb9de65f3c" + integrity sha512-vMGVd2yjgxWcRCzoLn9AD1d24+WpunHBRg5DoehcRdiBocaOH6qgle0xN9C5LPplXfv4yIpS5QWGN5MKrWxSZg== + dependencies: + "@react-spring/core" "~9.5.5" + "@react-spring/konva" "~9.5.5" + "@react-spring/native" "~9.5.5" + "@react-spring/three" "~9.5.5" + "@react-spring/web" "~9.5.5" + "@react-spring/zdog" "~9.5.5" react-textarea-autosize@^5.2.1: version "5.2.1" From af245f8848930f2575e5a828db7517f605485b86 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Sep 2022 08:35:30 +0800 Subject: [PATCH 14/39] build(deps-dev): bump cypress from 10.8.0 to 10.9.0 (#6423) Bumps [cypress](https://github.com/cypress-io/cypress) from 10.8.0 to 10.9.0. - [Release notes](https://github.com/cypress-io/cypress/releases) - [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md) - [Commits](https://github.com/cypress-io/cypress/compare/v10.8.0...v10.9.0) --- updated-dependencies: - dependency-name: cypress dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index d49e843a2670..7988fbfcfba5 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,7 @@ "copy-webpack-plugin": "^11.0.0", "css-loader": "^6.7.1", "css-minimizer-webpack-plugin": "^4.1.0", - "cypress": "^10.8.0", + "cypress": "^10.9.0", "directory-tree": "^3.3.1", "directory-tree-webpack-plugin": "^1.0.3", "duplexer": "^0.1.1", diff --git a/yarn.lock b/yarn.lock index a9a3488fc45f..81c278a6b9e7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4263,10 +4263,10 @@ csstype@^3.0.6: resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.0.6.tgz#865d0b5833d7d8d40f4e5b8a6d76aea3de4725ef" integrity sha512-+ZAmfyWMT7TiIlzdqJgjMb7S4f1beorDbWbsocyK4RaiqA5RTX3K14bnBWmmA9QEM0gRdsjyyrEmcyga8Zsxmw== -cypress@^10.8.0: - version "10.8.0" - resolved "https://registry.yarnpkg.com/cypress/-/cypress-10.8.0.tgz#12a681f2642b6f13d636bab65d5b71abdb1497a5" - integrity sha512-QVse0dnLm018hgti2enKMVZR9qbIO488YGX06nH5j3Dg1isL38DwrBtyrax02CANU6y8F4EJUuyW6HJKw1jsFA== +cypress@^10.9.0: + version "10.9.0" + resolved "https://registry.yarnpkg.com/cypress/-/cypress-10.9.0.tgz#273a61a6304766f9d6423e5ac8d4a9a11ed8b485" + integrity sha512-MjIWrRpc+bQM9U4kSSdATZWZ2hUqHGFEQTF7dfeZRa4MnalMtc88FIE49USWP2ZVtfy5WPBcgfBX+YorFqGElA== dependencies: "@cypress/request" "^2.88.10" "@cypress/xvfb" "^1.2.4" From 9d46f0e0a389d36af124abc0bba2e0a22dbbb121 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Sep 2022 08:26:22 +0530 Subject: [PATCH 15/39] build(deps-dev): bump @babel/preset-env from 7.19.1 to 7.19.3 (#6424) Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.19.1 to 7.19.3. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.19.3/packages/babel-preset-env) --- updated-dependencies: - dependency-name: "@babel/preset-env" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 47 ++++++++++++++++++++++++++--------------------- 2 files changed, 27 insertions(+), 22 deletions(-) diff --git a/package.json b/package.json index 7988fbfcfba5..4ae126935cc9 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "@babel/core": "^7.19.1", "@babel/eslint-parser": "^7.19.1", "@babel/plugin-proposal-class-properties": "^7.17.12", - "@babel/preset-env": "^7.19.1", + "@babel/preset-env": "^7.19.3", "@babel/preset-react": "^7.18.6", "@mdx-js/loader": "^2.0.0-next.9", "@octokit/auth-action": "^2.0.1", diff --git a/yarn.lock b/yarn.lock index 81c278a6b9e7..2b9da6dd204e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -148,10 +148,10 @@ dependencies: "@babel/highlight" "^7.18.6" -"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.18.8", "@babel/compat-data@^7.19.1": - version "7.19.1" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.19.1.tgz#72d647b4ff6a4f82878d184613353af1dd0290f9" - integrity sha512-72a9ghR0gnESIa7jBN53U32FOVCEoztyIlKaNoU05zRhEecduGK9L9c3ww7Mp06JiR+0ls0GBPFJQwwtjn9ksg== +"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.18.8", "@babel/compat-data@^7.19.3": + version "7.19.3" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.19.3.tgz#707b939793f867f5a73b2666e6d9a3396eb03151" + integrity sha512-prBHMK4JYYK+wDjJF1q99KK4JLL+egWS4nmNqdlMUgCExMZ+iZW0hGhyC3VEbsPjvaN0TBhW//VIFwBrk8sEiw== "@babel/core@^7.11.1", "@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.18.5", "@babel/core@^7.19.1": version "7.19.1" @@ -207,12 +207,12 @@ "@babel/helper-explode-assignable-expression" "^7.18.6" "@babel/types" "^7.18.6" -"@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.18.9", "@babel/helper-compilation-targets@^7.19.0", "@babel/helper-compilation-targets@^7.19.1": - version "7.19.1" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.19.1.tgz#7f630911d83b408b76fe584831c98e5395d7a17c" - integrity sha512-LlLkkqhCMyz2lkQPvJNdIYU7O5YjWRgC2R4omjCTpZd8u8KMQzZvX4qce+/BluN1rcQiV7BoGUpmQ0LeHerbhg== +"@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.18.9", "@babel/helper-compilation-targets@^7.19.0", "@babel/helper-compilation-targets@^7.19.1", "@babel/helper-compilation-targets@^7.19.3": + version "7.19.3" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.19.3.tgz#a10a04588125675d7c7ae299af86fa1b2ee038ca" + integrity sha512-65ESqLGyGmLvgR0mst5AdW1FkNlj9rQsCKduzEoEPhBCDFGXvz2jW6bXFG6i0/MrV2s7hhXjjb2yAzcPuQlLwg== dependencies: - "@babel/compat-data" "^7.19.1" + "@babel/compat-data" "^7.19.3" "@babel/helper-validator-option" "^7.18.6" browserslist "^4.21.3" semver "^6.3.0" @@ -369,6 +369,11 @@ resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.18.6.tgz#9c97e30d31b2b8c72a1d08984f2ca9b574d7a076" integrity sha512-MmetCkz9ej86nJQV+sFCxoGGrUbU3q02kgLciwkrt9QqEB7cP39oKEY0PakknEO0Gu20SskMRi+AYZ3b1TpN9g== +"@babel/helper-validator-identifier@^7.19.1": + version "7.19.1" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" + integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== + "@babel/helper-validator-option@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz#bf0d2b5a509b1f336099e4ff36e1a63aa5db4db8" @@ -987,13 +992,13 @@ "@babel/helper-create-regexp-features-plugin" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/preset-env@^7.11.0", "@babel/preset-env@^7.18.2", "@babel/preset-env@^7.19.1": - version "7.19.1" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.19.1.tgz#9f04c916f9c0205a48ebe5cc1be7768eb1983f67" - integrity sha512-c8B2c6D16Lp+Nt6HcD+nHl0VbPKVnNPTpszahuxJJnurfMtKeZ80A+qUv48Y7wqvS+dTFuLuaM9oYxyNHbCLWA== +"@babel/preset-env@^7.11.0", "@babel/preset-env@^7.18.2", "@babel/preset-env@^7.19.3": + version "7.19.3" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.19.3.tgz#52cd19abaecb3f176a4ff9cc5e15b7bf06bec754" + integrity sha512-ziye1OTc9dGFOAXSWKUqQblYHNlBOaDl8wzqf2iKXJAltYiR3hKHUKmkt+S9PppW7RQpq4fFCrwwpIDj/f5P4w== dependencies: - "@babel/compat-data" "^7.19.1" - "@babel/helper-compilation-targets" "^7.19.1" + "@babel/compat-data" "^7.19.3" + "@babel/helper-compilation-targets" "^7.19.3" "@babel/helper-plugin-utils" "^7.19.0" "@babel/helper-validator-option" "^7.18.6" "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.18.6" @@ -1061,7 +1066,7 @@ "@babel/plugin-transform-unicode-escapes" "^7.18.10" "@babel/plugin-transform-unicode-regex" "^7.18.6" "@babel/preset-modules" "^0.1.5" - "@babel/types" "^7.19.0" + "@babel/types" "^7.19.3" babel-plugin-polyfill-corejs2 "^0.3.3" babel-plugin-polyfill-corejs3 "^0.6.0" babel-plugin-polyfill-regenerator "^0.4.1" @@ -1132,13 +1137,13 @@ debug "^4.1.0" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.18.10", "@babel/types@^7.18.4", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.19.0", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4": - version "7.19.0" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.19.0.tgz#75f21d73d73dc0351f3368d28db73465f4814600" - integrity sha512-YuGopBq3ke25BVSiS6fgF49Ul9gH1x70Bcr6bqRLjWCkcX8Hre1/5+z+IiWOIerRMSSEfGZVB9z9kyq7wVs9YA== +"@babel/types@^7.0.0", "@babel/types@^7.18.10", "@babel/types@^7.18.4", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.19.0", "@babel/types@^7.19.3", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4": + version "7.19.3" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.19.3.tgz#fc420e6bbe54880bce6779ffaf315f5e43ec9624" + integrity sha512-hGCaQzIY22DJlDh9CH7NOxgKkFjBk0Cw9xDO1Xmh2151ti7wiGfQ3LauXzL4HP1fmFlTX6XjpRETTpUcv7wQLw== dependencies: "@babel/helper-string-parser" "^7.18.10" - "@babel/helper-validator-identifier" "^7.18.6" + "@babel/helper-validator-identifier" "^7.19.1" to-fast-properties "^2.0.0" "@bcoe/v8-coverage@^0.2.3": From f71118f2fa3fd15a61a40ec0ca6da59e29ee89ee Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Sep 2022 08:42:24 +0530 Subject: [PATCH 16/39] build(deps-dev): bump @babel/core from 7.19.1 to 7.19.3 (#6425) Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.19.1 to 7.19.3. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.19.3/packages/babel-core) --- updated-dependencies: - dependency-name: "@babel/core" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 52 ++++++++++++++++++++++++++-------------------------- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/package.json b/package.json index 4ae126935cc9..5801ea8f19c6 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ ] }, "devDependencies": { - "@babel/core": "^7.19.1", + "@babel/core": "^7.19.3", "@babel/eslint-parser": "^7.19.1", "@babel/plugin-proposal-class-properties": "^7.17.12", "@babel/preset-env": "^7.19.3", diff --git a/yarn.lock b/yarn.lock index 2b9da6dd204e..8bc8d9b5a7bc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -153,21 +153,21 @@ resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.19.3.tgz#707b939793f867f5a73b2666e6d9a3396eb03151" integrity sha512-prBHMK4JYYK+wDjJF1q99KK4JLL+egWS4nmNqdlMUgCExMZ+iZW0hGhyC3VEbsPjvaN0TBhW//VIFwBrk8sEiw== -"@babel/core@^7.11.1", "@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.18.5", "@babel/core@^7.19.1": - version "7.19.1" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.19.1.tgz#c8fa615c5e88e272564ace3d42fbc8b17bfeb22b" - integrity sha512-1H8VgqXme4UXCRv7/Wa1bq7RVymKOzC7znjyFM8KiEzwFqcKUKYNoQef4GhdklgNvoBXyW4gYhuBNCM5o1zImw== +"@babel/core@^7.11.1", "@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.18.5", "@babel/core@^7.19.3": + version "7.19.3" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.19.3.tgz#2519f62a51458f43b682d61583c3810e7dcee64c" + integrity sha512-WneDJxdsjEvyKtXKsaBGbDeiyOjR5vYq4HcShxnIbG0qixpoHjI3MqeZM9NDvsojNCEBItQE4juOo/bU6e72gQ== dependencies: "@ampproject/remapping" "^2.1.0" "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.19.0" - "@babel/helper-compilation-targets" "^7.19.1" + "@babel/generator" "^7.19.3" + "@babel/helper-compilation-targets" "^7.19.3" "@babel/helper-module-transforms" "^7.19.0" "@babel/helpers" "^7.19.0" - "@babel/parser" "^7.19.1" + "@babel/parser" "^7.19.3" "@babel/template" "^7.18.10" - "@babel/traverse" "^7.19.1" - "@babel/types" "^7.19.0" + "@babel/traverse" "^7.19.3" + "@babel/types" "^7.19.3" convert-source-map "^1.7.0" debug "^4.1.0" gensync "^1.0.0-beta.2" @@ -183,12 +183,12 @@ eslint-visitor-keys "^2.1.0" semver "^6.3.0" -"@babel/generator@^7.19.0", "@babel/generator@^7.7.2": - version "7.19.0" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.19.0.tgz#785596c06425e59334df2ccee63ab166b738419a" - integrity sha512-S1ahxf1gZ2dpoiFgA+ohK9DIpz50bJ0CWs7Zlzb54Z4sG8qmdIrGrVqmy1sAtTVRb+9CU6U8VqT9L0Zj7hxHVg== +"@babel/generator@^7.19.3", "@babel/generator@^7.7.2": + version "7.19.3" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.19.3.tgz#d7f4d1300485b4547cb6f94b27d10d237b42bf59" + integrity sha512-fqVZnmp1ncvZU757UzDheKZpfPgatqY59XtW2/j/18H7u76akb8xqvjw82f+i2UKd/ksYsSick/BCLQUUtJ/qQ== dependencies: - "@babel/types" "^7.19.0" + "@babel/types" "^7.19.3" "@jridgewell/gen-mapping" "^0.3.2" jsesc "^2.5.1" @@ -207,7 +207,7 @@ "@babel/helper-explode-assignable-expression" "^7.18.6" "@babel/types" "^7.18.6" -"@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.18.9", "@babel/helper-compilation-targets@^7.19.0", "@babel/helper-compilation-targets@^7.19.1", "@babel/helper-compilation-targets@^7.19.3": +"@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.18.9", "@babel/helper-compilation-targets@^7.19.0", "@babel/helper-compilation-targets@^7.19.3": version "7.19.3" resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.19.3.tgz#a10a04588125675d7c7ae299af86fa1b2ee038ca" integrity sha512-65ESqLGyGmLvgR0mst5AdW1FkNlj9rQsCKduzEoEPhBCDFGXvz2jW6bXFG6i0/MrV2s7hhXjjb2yAzcPuQlLwg== @@ -407,10 +407,10 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.18.10", "@babel/parser@^7.19.1": - version "7.19.1" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.19.1.tgz#6f6d6c2e621aad19a92544cc217ed13f1aac5b4c" - integrity sha512-h7RCSorm1DdTVGJf3P2Mhj3kdnkmF/EiysUkzS2TdgAYqyjFdMQJbVuXOBej2SBJaXan/lIVtT6KkGbyyq753A== +"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.18.10", "@babel/parser@^7.19.3": + version "7.19.3" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.19.3.tgz#8dd36d17c53ff347f9e55c328710321b49479a9a" + integrity sha512-pJ9xOlNWHiy9+FuFP09DEAFbAn4JskgRsVcc169w2xRBC3FRGuQEwjeIMMND9L2zc0iEhO/tGv4Zq+km+hxNpQ== "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.18.6": version "7.18.6" @@ -1121,19 +1121,19 @@ "@babel/parser" "^7.18.10" "@babel/types" "^7.18.10" -"@babel/traverse@^7.18.10", "@babel/traverse@^7.18.9", "@babel/traverse@^7.19.0", "@babel/traverse@^7.19.1", "@babel/traverse@^7.7.2": - version "7.19.1" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.19.1.tgz#0fafe100a8c2a603b4718b1d9bf2568d1d193347" - integrity sha512-0j/ZfZMxKukDaag2PtOPDbwuELqIar6lLskVPPJDjXMXjfLb1Obo/1yjxIGqqAJrmfaTIY3z2wFLAQ7qSkLsuA== +"@babel/traverse@^7.18.10", "@babel/traverse@^7.18.9", "@babel/traverse@^7.19.0", "@babel/traverse@^7.19.3", "@babel/traverse@^7.7.2": + version "7.19.3" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.19.3.tgz#3a3c5348d4988ba60884e8494b0592b2f15a04b4" + integrity sha512-qh5yf6149zhq2sgIXmwjnsvmnNQC2iw70UFjp4olxucKrWd/dvlUsBI88VSLUsnMNF7/vnOiA+nk1+yLoCqROQ== dependencies: "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.19.0" + "@babel/generator" "^7.19.3" "@babel/helper-environment-visitor" "^7.18.9" "@babel/helper-function-name" "^7.19.0" "@babel/helper-hoist-variables" "^7.18.6" "@babel/helper-split-export-declaration" "^7.18.6" - "@babel/parser" "^7.19.1" - "@babel/types" "^7.19.0" + "@babel/parser" "^7.19.3" + "@babel/types" "^7.19.3" debug "^4.1.0" globals "^11.1.0" From 99724ef685a94c975994076b09c5c5c4b951d5e2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 1 Oct 2022 12:07:33 +0800 Subject: [PATCH 17/39] build(deps-dev): bump css-minimizer-webpack-plugin from 4.1.0 to 4.2.0 (#6427) Bumps [css-minimizer-webpack-plugin](https://github.com/webpack-contrib/css-minimizer-webpack-plugin) from 4.1.0 to 4.2.0. - [Release notes](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/releases) - [Changelog](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/compare/v4.1.0...v4.2.0) --- updated-dependencies: - dependency-name: css-minimizer-webpack-plugin dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 5801ea8f19c6..3e9ccb02a248 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ "babel-loader": "^8.2.5", "copy-webpack-plugin": "^11.0.0", "css-loader": "^6.7.1", - "css-minimizer-webpack-plugin": "^4.1.0", + "css-minimizer-webpack-plugin": "^4.2.0", "cypress": "^10.9.0", "directory-tree": "^3.3.1", "directory-tree-webpack-plugin": "^1.0.3", diff --git a/yarn.lock b/yarn.lock index 8bc8d9b5a7bc..a88114df49b2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4134,13 +4134,13 @@ css-loader@^6.7.1: postcss-value-parser "^4.2.0" semver "^7.3.5" -css-minimizer-webpack-plugin@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/css-minimizer-webpack-plugin/-/css-minimizer-webpack-plugin-4.1.0.tgz#2ab9f7d8148c48f5d498604025e6e62cf9528855" - integrity sha512-Zd+yz4nta4GXi3pMqF6skO8kjzuCUbr62z8SLMGZZtxWxTGTLopOiabPGNDEyjHCRhnhdA1EfHmqLa2Oekjtng== +css-minimizer-webpack-plugin@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/css-minimizer-webpack-plugin/-/css-minimizer-webpack-plugin-4.2.0.tgz#99b453efcbc4c13d80327d94767f5aa41ee509e7" + integrity sha512-9FKGMGafKmYEbHoPh78nrrvumS5yU1rhptqdC2RfTH78MohjxpGMTW2tvdY/iYbD2sLnhzZMKTQ4n9Ja48kxZQ== dependencies: cssnano "^5.1.8" - jest-worker "^27.5.1" + jest-worker "^29.0.3" postcss "^8.4.13" schema-utils "^4.0.0" serialize-javascript "^6.0.0" @@ -7102,7 +7102,7 @@ jest-worker@^26.2.1: merge-stream "^2.0.0" supports-color "^7.0.0" -jest-worker@^27.0.2, jest-worker@^27.5.1: +jest-worker@^27.0.2: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.5.1.tgz#8d146f0900e8973b106b6f73cc1e9a8cb86f8db0" integrity sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg== From e7299468f0ec017f8a8aa36886dfd8f25f1ddb08 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 1 Oct 2022 12:19:09 +0800 Subject: [PATCH 18/39] build(deps-dev): bump jest from 29.0.3 to 29.1.2 (#6428) Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 29.0.3 to 29.1.2. - [Release notes](https://github.com/facebook/jest/releases) - [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/jest/commits/v29.1.2/packages/jest) --- updated-dependencies: - dependency-name: jest dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 587 ++++++++++++++++++++++++++------------------------- 2 files changed, 300 insertions(+), 289 deletions(-) diff --git a/package.json b/package.json index 3e9ccb02a248..d9b10811f60f 100644 --- a/package.json +++ b/package.json @@ -101,7 +101,7 @@ "http-server": "^14.1.1", "husky": "^8.0.1", "hyperlink": "^5.0.4", - "jest": "^29.0.3", + "jest": "^29.1.2", "lightningcss": "^1.16.0", "lint-staged": "^13.0.3", "lodash": "^4.17.21", diff --git a/yarn.lock b/yarn.lock index a88114df49b2..f17c696ee44f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1290,28 +1290,28 @@ resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.2.tgz#26520bf09abe4a5644cd5414e37125a8954241dd" integrity sha512-tsAQNx32a8CoFhjhijUIhI4kccIAgmGhy8LZMZgGfmXcpMbPRUqn5LWmgRttILi6yeGmBJd2xsPkFMs0PzgPCw== -"@jest/console@^29.0.3": - version "29.0.3" - resolved "https://registry.yarnpkg.com/@jest/console/-/console-29.0.3.tgz#a222ab87e399317a89db88a58eaec289519e807a" - integrity sha512-cGg0r+klVHSYnfE977S9wmpuQ9L+iYuYgL+5bPXiUlUynLLYunRxswEmhBzvrSKGof5AKiHuTTmUKAqRcDY9dg== +"@jest/console@^29.1.2": + version "29.1.2" + resolved "https://registry.yarnpkg.com/@jest/console/-/console-29.1.2.tgz#0ae975a70004696f8320490fcaa1a4152f7b62e4" + integrity sha512-ujEBCcYs82BTmRxqfHMQggSlkUZP63AE5YEaTPj7eFyJOzukkTorstOUC7L6nE3w5SYadGVAnTsQ/ZjTGL0qYQ== dependencies: - "@jest/types" "^29.0.3" + "@jest/types" "^29.1.2" "@types/node" "*" chalk "^4.0.0" - jest-message-util "^29.0.3" - jest-util "^29.0.3" + jest-message-util "^29.1.2" + jest-util "^29.1.2" slash "^3.0.0" -"@jest/core@^29.0.3": - version "29.0.3" - resolved "https://registry.yarnpkg.com/@jest/core/-/core-29.0.3.tgz#ba22a9cbd0c7ba36e04292e2093c547bf53ec1fd" - integrity sha512-1d0hLbOrM1qQE3eP3DtakeMbKTcXiXP3afWxqz103xPyddS2NhnNghS7MaXx1dcDt4/6p4nlhmeILo2ofgi8cQ== - dependencies: - "@jest/console" "^29.0.3" - "@jest/reporters" "^29.0.3" - "@jest/test-result" "^29.0.3" - "@jest/transform" "^29.0.3" - "@jest/types" "^29.0.3" +"@jest/core@^29.1.2": + version "29.1.2" + resolved "https://registry.yarnpkg.com/@jest/core/-/core-29.1.2.tgz#e5ce7a71e7da45156a96fb5eeed11d18b67bd112" + integrity sha512-sCO2Va1gikvQU2ynDN8V4+6wB7iVrD2CvT0zaRst4rglf56yLly0NQ9nuRRAWFeimRf+tCdFsb1Vk1N9LrrMPA== + dependencies: + "@jest/console" "^29.1.2" + "@jest/reporters" "^29.1.2" + "@jest/test-result" "^29.1.2" + "@jest/transform" "^29.1.2" + "@jest/types" "^29.1.2" "@types/node" "*" ansi-escapes "^4.2.1" chalk "^4.0.0" @@ -1319,80 +1319,80 @@ exit "^0.1.2" graceful-fs "^4.2.9" jest-changed-files "^29.0.0" - jest-config "^29.0.3" - jest-haste-map "^29.0.3" - jest-message-util "^29.0.3" + jest-config "^29.1.2" + jest-haste-map "^29.1.2" + jest-message-util "^29.1.2" jest-regex-util "^29.0.0" - jest-resolve "^29.0.3" - jest-resolve-dependencies "^29.0.3" - jest-runner "^29.0.3" - jest-runtime "^29.0.3" - jest-snapshot "^29.0.3" - jest-util "^29.0.3" - jest-validate "^29.0.3" - jest-watcher "^29.0.3" + jest-resolve "^29.1.2" + jest-resolve-dependencies "^29.1.2" + jest-runner "^29.1.2" + jest-runtime "^29.1.2" + jest-snapshot "^29.1.2" + jest-util "^29.1.2" + jest-validate "^29.1.2" + jest-watcher "^29.1.2" micromatch "^4.0.4" - pretty-format "^29.0.3" + pretty-format "^29.1.2" slash "^3.0.0" strip-ansi "^6.0.0" -"@jest/environment@^29.0.3": - version "29.0.3" - resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-29.0.3.tgz#7745ec30a954e828e8cc6df6a13280d3b51d8f35" - integrity sha512-iKl272NKxYNQNqXMQandAIwjhQaGw5uJfGXduu8dS9llHi8jV2ChWrtOAVPnMbaaoDhnI3wgUGNDvZgHeEJQCA== +"@jest/environment@^29.1.2": + version "29.1.2" + resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-29.1.2.tgz#bb51a43fce9f960ba9a48f0b5b556f30618ebc0a" + integrity sha512-rG7xZ2UeOfvOVzoLIJ0ZmvPl4tBEQ2n73CZJSlzUjPw4or1oSWC0s0Rk0ZX+pIBJ04aVr6hLWFn1DFtrnf8MhQ== dependencies: - "@jest/fake-timers" "^29.0.3" - "@jest/types" "^29.0.3" + "@jest/fake-timers" "^29.1.2" + "@jest/types" "^29.1.2" "@types/node" "*" - jest-mock "^29.0.3" + jest-mock "^29.1.2" -"@jest/expect-utils@^29.0.3": - version "29.0.3" - resolved "https://registry.yarnpkg.com/@jest/expect-utils/-/expect-utils-29.0.3.tgz#f5bb86f5565bf2dacfca31ccbd887684936045b2" - integrity sha512-i1xUkau7K/63MpdwiRqaxgZOjxYs4f0WMTGJnYwUKubsNRZSeQbLorS7+I4uXVF9KQ5r61BUPAUMZ7Lf66l64Q== +"@jest/expect-utils@^29.1.2": + version "29.1.2" + resolved "https://registry.yarnpkg.com/@jest/expect-utils/-/expect-utils-29.1.2.tgz#66dbb514d38f7d21456bc774419c9ae5cca3f88d" + integrity sha512-4a48bhKfGj/KAH39u0ppzNTABXQ8QPccWAFUFobWBaEMSMp+sB31Z2fK/l47c4a/Mu1po2ffmfAIPxXbVTXdtg== dependencies: jest-get-type "^29.0.0" -"@jest/expect@^29.0.3": - version "29.0.3" - resolved "https://registry.yarnpkg.com/@jest/expect/-/expect-29.0.3.tgz#9dc7c46354eeb7a348d73881fba6402f5fdb2c30" - integrity sha512-6W7K+fsI23FQ01H/BWccPyDZFrnU9QlzDcKOjrNVU5L8yUORFAJJIpmyxWPW70+X624KUNqzZwPThPMX28aXEQ== +"@jest/expect@^29.1.2": + version "29.1.2" + resolved "https://registry.yarnpkg.com/@jest/expect/-/expect-29.1.2.tgz#334a86395f621f1ab63ad95b06a588b9114d7b7a" + integrity sha512-FXw/UmaZsyfRyvZw3M6POgSNqwmuOXJuzdNiMWW9LCYo0GRoRDhg+R5iq5higmRTHQY7hx32+j7WHwinRmoILQ== dependencies: - expect "^29.0.3" - jest-snapshot "^29.0.3" + expect "^29.1.2" + jest-snapshot "^29.1.2" -"@jest/fake-timers@^29.0.3": - version "29.0.3" - resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-29.0.3.tgz#ad5432639b715d45a86a75c47fd75019bc36b22c" - integrity sha512-tmbUIo03x0TdtcZCESQ0oQSakPCpo7+s6+9mU19dd71MptkP4zCwoeZqna23//pgbhtT1Wq02VmA9Z9cNtvtCQ== +"@jest/fake-timers@^29.1.2": + version "29.1.2" + resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-29.1.2.tgz#f157cdf23b4da48ce46cb00fea28ed1b57fc271a" + integrity sha512-GppaEqS+QQYegedxVMpCe2xCXxxeYwQ7RsNx55zc8f+1q1qevkZGKequfTASI7ejmg9WwI+SJCrHe9X11bLL9Q== dependencies: - "@jest/types" "^29.0.3" + "@jest/types" "^29.1.2" "@sinonjs/fake-timers" "^9.1.2" "@types/node" "*" - jest-message-util "^29.0.3" - jest-mock "^29.0.3" - jest-util "^29.0.3" + jest-message-util "^29.1.2" + jest-mock "^29.1.2" + jest-util "^29.1.2" -"@jest/globals@^29.0.3": - version "29.0.3" - resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-29.0.3.tgz#681950c430fdc13ff9aa89b2d8d572ac0e4a1bf5" - integrity sha512-YqGHT65rFY2siPIHHFjuCGUsbzRjdqkwbat+Of6DmYRg5shIXXrLdZoVE/+TJ9O1dsKsFmYhU58JvIbZRU1Z9w== +"@jest/globals@^29.1.2": + version "29.1.2" + resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-29.1.2.tgz#826ede84bc280ae7f789cb72d325c48cd048b9d3" + integrity sha512-uMgfERpJYoQmykAd0ffyMq8wignN4SvLUG6orJQRe9WAlTRc9cdpCaE/29qurXixYJVZWUqIBXhSk8v5xN1V9g== dependencies: - "@jest/environment" "^29.0.3" - "@jest/expect" "^29.0.3" - "@jest/types" "^29.0.3" - jest-mock "^29.0.3" + "@jest/environment" "^29.1.2" + "@jest/expect" "^29.1.2" + "@jest/types" "^29.1.2" + jest-mock "^29.1.2" -"@jest/reporters@^29.0.3": - version "29.0.3" - resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-29.0.3.tgz#735f110e08b44b38729d8dbbb74063bdf5aba8a5" - integrity sha512-3+QU3d4aiyOWfmk1obDerie4XNCaD5Xo1IlKNde2yGEi02WQD+ZQD0i5Hgqm1e73sMV7kw6pMlCnprtEwEVwxw== +"@jest/reporters@^29.1.2": + version "29.1.2" + resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-29.1.2.tgz#5520898ed0a4ecf69d8b671e1dc8465d0acdfa6e" + integrity sha512-X4fiwwyxy9mnfpxL0g9DD0KcTmEIqP0jUdnc2cfa9riHy+I6Gwwp5vOZiwyg0vZxfSDxrOlK9S4+340W4d+DAA== dependencies: "@bcoe/v8-coverage" "^0.2.3" - "@jest/console" "^29.0.3" - "@jest/test-result" "^29.0.3" - "@jest/transform" "^29.0.3" - "@jest/types" "^29.0.3" + "@jest/console" "^29.1.2" + "@jest/test-result" "^29.1.2" + "@jest/transform" "^29.1.2" + "@jest/types" "^29.1.2" "@jridgewell/trace-mapping" "^0.3.15" "@types/node" "*" chalk "^4.0.0" @@ -1405,9 +1405,9 @@ istanbul-lib-report "^3.0.0" istanbul-lib-source-maps "^4.0.0" istanbul-reports "^3.1.3" - jest-message-util "^29.0.3" - jest-util "^29.0.3" - jest-worker "^29.0.3" + jest-message-util "^29.1.2" + jest-util "^29.1.2" + jest-worker "^29.1.2" slash "^3.0.0" string-length "^4.0.1" strip-ansi "^6.0.0" @@ -1430,51 +1430,51 @@ callsites "^3.0.0" graceful-fs "^4.2.9" -"@jest/test-result@^29.0.3": - version "29.0.3" - resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-29.0.3.tgz#b03d8ef4c58be84cd5d5d3b24d4b4c8cabbf2746" - integrity sha512-vViVnQjCgTmbhDKEonKJPtcFe9G/CJO4/Np4XwYJah+lF2oI7KKeRp8t1dFvv44wN2NdbDb/qC6pi++Vpp0Dlg== +"@jest/test-result@^29.1.2": + version "29.1.2" + resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-29.1.2.tgz#6a8d006eb2b31ce0287d1fc10d12b8ff8504f3c8" + integrity sha512-jjYYjjumCJjH9hHCoMhA8PCl1OxNeGgAoZ7yuGYILRJX9NjgzTN0pCT5qAoYR4jfOP8htIByvAlz9vfNSSBoVg== dependencies: - "@jest/console" "^29.0.3" - "@jest/types" "^29.0.3" + "@jest/console" "^29.1.2" + "@jest/types" "^29.1.2" "@types/istanbul-lib-coverage" "^2.0.0" collect-v8-coverage "^1.0.0" -"@jest/test-sequencer@^29.0.3": - version "29.0.3" - resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-29.0.3.tgz#0681061ad21fb8e293b49c4fdf7e631ca79240ba" - integrity sha512-Hf4+xYSWZdxTNnhDykr8JBs0yBN/nxOXyUQWfotBUqqy0LF9vzcFB0jm/EDNZCx587znLWTIgxcokW7WeZMobQ== +"@jest/test-sequencer@^29.1.2": + version "29.1.2" + resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-29.1.2.tgz#10bfd89c08bfdba382eb05cc79c1d23a01238a93" + integrity sha512-fU6dsUqqm8sA+cd85BmeF7Gu9DsXVWFdGn9taxM6xN1cKdcP/ivSgXh5QucFRFz1oZxKv3/9DYYbq0ULly3P/Q== dependencies: - "@jest/test-result" "^29.0.3" + "@jest/test-result" "^29.1.2" graceful-fs "^4.2.9" - jest-haste-map "^29.0.3" + jest-haste-map "^29.1.2" slash "^3.0.0" -"@jest/transform@^29.0.3": - version "29.0.3" - resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-29.0.3.tgz#9eb1fed2072a0354f190569807d1250572fb0970" - integrity sha512-C5ihFTRYaGDbi/xbRQRdbo5ddGtI4VSpmL6AIcZxdhwLbXMa7PcXxxqyI91vGOFHnn5aVM3WYnYKCHEqmLVGzg== +"@jest/transform@^29.1.2": + version "29.1.2" + resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-29.1.2.tgz#20f814696e04f090421f6d505c14bbfe0157062a" + integrity sha512-2uaUuVHTitmkx1tHF+eBjb4p7UuzBG7SXIaA/hNIkaMP6K+gXYGxP38ZcrofzqN0HeZ7A90oqsOa97WU7WZkSw== dependencies: "@babel/core" "^7.11.6" - "@jest/types" "^29.0.3" + "@jest/types" "^29.1.2" "@jridgewell/trace-mapping" "^0.3.15" babel-plugin-istanbul "^6.1.1" chalk "^4.0.0" convert-source-map "^1.4.0" fast-json-stable-stringify "^2.1.0" graceful-fs "^4.2.9" - jest-haste-map "^29.0.3" + jest-haste-map "^29.1.2" jest-regex-util "^29.0.0" - jest-util "^29.0.3" + jest-util "^29.1.2" micromatch "^4.0.4" pirates "^4.0.4" slash "^3.0.0" write-file-atomic "^4.0.1" -"@jest/types@^29.0.3": - version "29.0.3" - resolved "https://registry.yarnpkg.com/@jest/types/-/types-29.0.3.tgz#0be78fdddb1a35aeb2041074e55b860561c8ef63" - integrity sha512-coBJmOQvurXjN1Hh5PzF7cmsod0zLIOXpP8KD161mqNlroMhLcwpODiEzi7ZsRl5Z/AIuxpeNm8DCl43F4kz8A== +"@jest/types@^29.1.2": + version "29.1.2" + resolved "https://registry.yarnpkg.com/@jest/types/-/types-29.1.2.tgz#7442d32b16bcd7592d9614173078b8c334ec730a" + integrity sha512-DcXGtoTykQB5jiwCmVr8H4vdg2OJhQex3qPkG+ISyDO7xQXbt/4R6dowcRyPemRnkH7JoHvZuxPBdlq+9JxFCg== dependencies: "@jest/schemas" "^29.0.0" "@types/istanbul-lib-coverage" "^2.0.0" @@ -3200,12 +3200,12 @@ babel-extract-comments@^1.0.0: dependencies: babylon "^6.18.0" -babel-jest@^29.0.3: - version "29.0.3" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-29.0.3.tgz#64e156a47a77588db6a669a88dedff27ed6e260f" - integrity sha512-ApPyHSOhS/sVzwUOQIWJmdvDhBsMG01HX9z7ogtkp1TToHGGUWFlnXJUIzCgKPSfiYLn3ibipCYzsKSURHEwLg== +babel-jest@^29.1.2: + version "29.1.2" + resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-29.1.2.tgz#540d3241925c55240fb0c742e3ffc5f33a501978" + integrity sha512-IuG+F3HTHryJb7gacC7SQ59A9kO56BctUsT67uJHp1mMCHUOMXpDwOHWGifWqdWVknN2WNkCVQELPjXx0aLJ9Q== dependencies: - "@jest/transform" "^29.0.3" + "@jest/transform" "^29.1.2" "@types/babel__core" "^7.1.14" babel-plugin-istanbul "^6.1.1" babel-preset-jest "^29.0.2" @@ -5232,16 +5232,16 @@ exit@^0.1.2: resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" integrity sha1-BjJjj42HfMghB9MKD/8aF8uhzQw= -expect@^29.0.3: - version "29.0.3" - resolved "https://registry.yarnpkg.com/expect/-/expect-29.0.3.tgz#6be65ddb945202f143c4e07c083f4f39f3bd326f" - integrity sha512-t8l5DTws3212VbmPL+tBFXhjRHLmctHB0oQbL8eUc6S7NzZtYUhycrFO9mkxA0ZUC6FAWdNi7JchJSkODtcu1Q== +expect@^29.1.2: + version "29.1.2" + resolved "https://registry.yarnpkg.com/expect/-/expect-29.1.2.tgz#82f8f28d7d408c7c68da3a386a490ee683e1eced" + integrity sha512-AuAGn1uxva5YBbBlXb+2JPxJRuemZsmlGcapPXWNSBNsQtAULfjioREGBWuI0EOvYUKjDnrCy8PW5Zlr1md5mw== dependencies: - "@jest/expect-utils" "^29.0.3" + "@jest/expect-utils" "^29.1.2" jest-get-type "^29.0.0" - jest-matcher-utils "^29.0.3" - jest-message-util "^29.0.3" - jest-util "^29.0.3" + jest-matcher-utils "^29.1.2" + jest-message-util "^29.1.2" + jest-util "^29.1.2" express@^4.17.3: version "4.18.1" @@ -6761,86 +6761,86 @@ jest-changed-files@^29.0.0: execa "^5.0.0" p-limit "^3.1.0" -jest-circus@^29.0.3: - version "29.0.3" - resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-29.0.3.tgz#90faebc90295291cfc636b27dbd82e3bfb9e7a48" - integrity sha512-QeGzagC6Hw5pP+df1+aoF8+FBSgkPmraC1UdkeunWh0jmrp7wC0Hr6umdUAOELBQmxtKAOMNC3KAdjmCds92Zg== +jest-circus@^29.1.2: + version "29.1.2" + resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-29.1.2.tgz#4551068e432f169a53167fe1aef420cf51c8a735" + integrity sha512-ajQOdxY6mT9GtnfJRZBRYS7toNIJayiiyjDyoZcnvPRUPwJ58JX0ci0PKAKUo2C1RyzlHw0jabjLGKksO42JGA== dependencies: - "@jest/environment" "^29.0.3" - "@jest/expect" "^29.0.3" - "@jest/test-result" "^29.0.3" - "@jest/types" "^29.0.3" + "@jest/environment" "^29.1.2" + "@jest/expect" "^29.1.2" + "@jest/test-result" "^29.1.2" + "@jest/types" "^29.1.2" "@types/node" "*" chalk "^4.0.0" co "^4.6.0" dedent "^0.7.0" is-generator-fn "^2.0.0" - jest-each "^29.0.3" - jest-matcher-utils "^29.0.3" - jest-message-util "^29.0.3" - jest-runtime "^29.0.3" - jest-snapshot "^29.0.3" - jest-util "^29.0.3" + jest-each "^29.1.2" + jest-matcher-utils "^29.1.2" + jest-message-util "^29.1.2" + jest-runtime "^29.1.2" + jest-snapshot "^29.1.2" + jest-util "^29.1.2" p-limit "^3.1.0" - pretty-format "^29.0.3" + pretty-format "^29.1.2" slash "^3.0.0" stack-utils "^2.0.3" -jest-cli@^29.0.3: - version "29.0.3" - resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-29.0.3.tgz#fd8f0ef363a7a3d9c53ef62e0651f18eeffa77b9" - integrity sha512-aUy9Gd/Kut1z80eBzG10jAn6BgS3BoBbXyv+uXEqBJ8wnnuZ5RpNfARoskSrTIy1GY4a8f32YGuCMwibtkl9CQ== +jest-cli@^29.1.2: + version "29.1.2" + resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-29.1.2.tgz#423b9c5d3ea20a50b1354b8bf3f2a20e72110e89" + integrity sha512-vsvBfQ7oS2o4MJdAH+4u9z76Vw5Q8WBQF5MchDbkylNknZdrPTX1Ix7YRJyTlOWqRaS7ue/cEAn+E4V1MWyMzw== dependencies: - "@jest/core" "^29.0.3" - "@jest/test-result" "^29.0.3" - "@jest/types" "^29.0.3" + "@jest/core" "^29.1.2" + "@jest/test-result" "^29.1.2" + "@jest/types" "^29.1.2" chalk "^4.0.0" exit "^0.1.2" graceful-fs "^4.2.9" import-local "^3.0.2" - jest-config "^29.0.3" - jest-util "^29.0.3" - jest-validate "^29.0.3" + jest-config "^29.1.2" + jest-util "^29.1.2" + jest-validate "^29.1.2" prompts "^2.0.1" yargs "^17.3.1" -jest-config@^29.0.3: - version "29.0.3" - resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-29.0.3.tgz#c2e52a8f5adbd18de79f99532d8332a19e232f13" - integrity sha512-U5qkc82HHVYe3fNu2CRXLN4g761Na26rWKf7CjM8LlZB3In1jadEkZdMwsE37rd9RSPV0NfYaCjHdk/gu3v+Ew== +jest-config@^29.1.2: + version "29.1.2" + resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-29.1.2.tgz#7d004345ca4c09f5d8f802355f54494e90842f4d" + integrity sha512-EC3Zi86HJUOz+2YWQcJYQXlf0zuBhJoeyxLM6vb6qJsVmpP7KcCP1JnyF0iaqTaXdBP8Rlwsvs7hnKWQWWLwwA== dependencies: "@babel/core" "^7.11.6" - "@jest/test-sequencer" "^29.0.3" - "@jest/types" "^29.0.3" - babel-jest "^29.0.3" + "@jest/test-sequencer" "^29.1.2" + "@jest/types" "^29.1.2" + babel-jest "^29.1.2" chalk "^4.0.0" ci-info "^3.2.0" deepmerge "^4.2.2" glob "^7.1.3" graceful-fs "^4.2.9" - jest-circus "^29.0.3" - jest-environment-node "^29.0.3" + jest-circus "^29.1.2" + jest-environment-node "^29.1.2" jest-get-type "^29.0.0" jest-regex-util "^29.0.0" - jest-resolve "^29.0.3" - jest-runner "^29.0.3" - jest-util "^29.0.3" - jest-validate "^29.0.3" + jest-resolve "^29.1.2" + jest-runner "^29.1.2" + jest-util "^29.1.2" + jest-validate "^29.1.2" micromatch "^4.0.4" parse-json "^5.2.0" - pretty-format "^29.0.3" + pretty-format "^29.1.2" slash "^3.0.0" strip-json-comments "^3.1.1" -jest-diff@^29.0.3: - version "29.0.3" - resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-29.0.3.tgz#41cc02409ad1458ae1bf7684129a3da2856341ac" - integrity sha512-+X/AIF5G/vX9fWK+Db9bi9BQas7M9oBME7egU7psbn4jlszLFCu0dW63UgeE6cs/GANq4fLaT+8sGHQQ0eCUfg== +jest-diff@^29.1.2: + version "29.1.2" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-29.1.2.tgz#bb7aaf5353227d6f4f96c5e7e8713ce576a607dc" + integrity sha512-4GQts0aUopVvecIT4IwD/7xsBaMhKTYoM4/njE/aVw9wpw+pIUVp8Vab/KnSzSilr84GnLBkaP3JLDnQYCKqVQ== dependencies: chalk "^4.0.0" diff-sequences "^29.0.0" jest-get-type "^29.0.0" - pretty-format "^29.0.3" + pretty-format "^29.1.2" jest-docblock@^29.0.0: version "29.0.0" @@ -6849,93 +6849,94 @@ jest-docblock@^29.0.0: dependencies: detect-newline "^3.0.0" -jest-each@^29.0.3: - version "29.0.3" - resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-29.0.3.tgz#7ef3157580b15a609d7ef663dd4fc9b07f4e1299" - integrity sha512-wILhZfESURHHBNvPMJ0lZlYZrvOQJxAo3wNHi+ycr90V7M+uGR9Gh4+4a/BmaZF0XTyZsk4OiYEf3GJN7Ltqzg== +jest-each@^29.1.2: + version "29.1.2" + resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-29.1.2.tgz#d4c8532c07a846e79f194f7007ce7cb1987d1cd0" + integrity sha512-AmTQp9b2etNeEwMyr4jc0Ql/LIX/dhbgP21gHAizya2X6rUspHn2gysMXaj6iwWuOJ2sYRgP8c1P4cXswgvS1A== dependencies: - "@jest/types" "^29.0.3" + "@jest/types" "^29.1.2" chalk "^4.0.0" jest-get-type "^29.0.0" - jest-util "^29.0.3" - pretty-format "^29.0.3" + jest-util "^29.1.2" + pretty-format "^29.1.2" -jest-environment-node@^29.0.3: - version "29.0.3" - resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-29.0.3.tgz#293804b1e0fa5f0e354dacbe510655caa478a3b2" - integrity sha512-cdZqRCnmIlTXC+9vtvmfiY/40Cj6s2T0czXuq1whvQdmpzAnj4sbqVYuZ4zFHk766xTTJ+Ij3uUqkk8KCfXoyg== +jest-environment-node@^29.1.2: + version "29.1.2" + resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-29.1.2.tgz#005e05cc6ea4b9b5ba55906ab1ce53c82f6907a7" + integrity sha512-C59yVbdpY8682u6k/lh8SUMDJPbOyCHOTgLVVi1USWFxtNV+J8fyIwzkg+RJIVI30EKhKiAGNxYaFr3z6eyNhQ== dependencies: - "@jest/environment" "^29.0.3" - "@jest/fake-timers" "^29.0.3" - "@jest/types" "^29.0.3" + "@jest/environment" "^29.1.2" + "@jest/fake-timers" "^29.1.2" + "@jest/types" "^29.1.2" "@types/node" "*" - jest-mock "^29.0.3" - jest-util "^29.0.3" + jest-mock "^29.1.2" + jest-util "^29.1.2" jest-get-type@^29.0.0: version "29.0.0" resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-29.0.0.tgz#843f6c50a1b778f7325df1129a0fd7aa713aef80" integrity sha512-83X19z/HuLKYXYHskZlBAShO7UfLFXu/vWajw9ZNJASN32li8yHMaVGAQqxFW1RCFOkB7cubaL6FaJVQqqJLSw== -jest-haste-map@^29.0.3: - version "29.0.3" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-29.0.3.tgz#d7f3f7180f558d760eacc5184aac5a67f20ef939" - integrity sha512-uMqR99+GuBHo0RjRhOE4iA6LmsxEwRdgiIAQgMU/wdT2XebsLDz5obIwLZm/Psj+GwSEQhw9AfAVKGYbh2G55A== +jest-haste-map@^29.1.2: + version "29.1.2" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-29.1.2.tgz#93f3634aa921b6b654e7c94137b24e02e7ca6ac9" + integrity sha512-xSjbY8/BF11Jh3hGSPfYTa/qBFrm3TPM7WU8pU93m2gqzORVLkHFWvuZmFsTEBPRKndfewXhMOuzJNHyJIZGsw== dependencies: - "@jest/types" "^29.0.3" + "@jest/types" "^29.1.2" "@types/graceful-fs" "^4.1.3" "@types/node" "*" anymatch "^3.0.3" fb-watchman "^2.0.0" graceful-fs "^4.2.9" jest-regex-util "^29.0.0" - jest-util "^29.0.3" - jest-worker "^29.0.3" + jest-util "^29.1.2" + jest-worker "^29.1.2" micromatch "^4.0.4" walker "^1.0.8" optionalDependencies: fsevents "^2.3.2" -jest-leak-detector@^29.0.3: - version "29.0.3" - resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-29.0.3.tgz#e85cf3391106a7a250850b6766b508bfe9c7bc6f" - integrity sha512-YfW/G63dAuiuQ3QmQlh8hnqLDe25WFY3eQhuc/Ev1AGmkw5zREblTh7TCSKLoheyggu6G9gxO2hY8p9o6xbaRQ== +jest-leak-detector@^29.1.2: + version "29.1.2" + resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-29.1.2.tgz#4c846db14c58219430ccbc4f01a1ec52ebee4fc2" + integrity sha512-TG5gAZJpgmZtjb6oWxBLf2N6CfQ73iwCe6cofu/Uqv9iiAm6g502CAnGtxQaTfpHECBdVEMRBhomSXeLnoKjiQ== dependencies: jest-get-type "^29.0.0" - pretty-format "^29.0.3" + pretty-format "^29.1.2" -jest-matcher-utils@^29.0.3: - version "29.0.3" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-29.0.3.tgz#b8305fd3f9e27cdbc210b21fc7dbba92d4e54560" - integrity sha512-RsR1+cZ6p1hDV4GSCQTg+9qjeotQCgkaleIKLK7dm+U4V/H2bWedU3RAtLm8+mANzZ7eDV33dMar4pejd7047w== +jest-matcher-utils@^29.1.2: + version "29.1.2" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-29.1.2.tgz#e68c4bcc0266e70aa1a5c13fb7b8cd4695e318a1" + integrity sha512-MV5XrD3qYSW2zZSHRRceFzqJ39B2z11Qv0KPyZYxnzDHFeYZGJlgGi0SW+IXSJfOewgJp/Km/7lpcFT+cgZypw== dependencies: chalk "^4.0.0" - jest-diff "^29.0.3" + jest-diff "^29.1.2" jest-get-type "^29.0.0" - pretty-format "^29.0.3" + pretty-format "^29.1.2" -jest-message-util@^29.0.3: - version "29.0.3" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-29.0.3.tgz#f0254e1ffad21890c78355726202cc91d0a40ea8" - integrity sha512-7T8JiUTtDfppojosORAflABfLsLKMLkBHSWkjNQrjIltGoDzNGn7wEPOSfjqYAGTYME65esQzMJxGDjuLBKdOg== +jest-message-util@^29.1.2: + version "29.1.2" + resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-29.1.2.tgz#c21a33c25f9dc1ebfcd0f921d89438847a09a501" + integrity sha512-9oJ2Os+Qh6IlxLpmvshVbGUiSkZVc2FK+uGOm6tghafnB2RyjKAxMZhtxThRMxfX1J1SOMhTn9oK3/MutRWQJQ== dependencies: "@babel/code-frame" "^7.12.13" - "@jest/types" "^29.0.3" + "@jest/types" "^29.1.2" "@types/stack-utils" "^2.0.0" chalk "^4.0.0" graceful-fs "^4.2.9" micromatch "^4.0.4" - pretty-format "^29.0.3" + pretty-format "^29.1.2" slash "^3.0.0" stack-utils "^2.0.3" -jest-mock@^29.0.3: - version "29.0.3" - resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-29.0.3.tgz#4f0093f6a9cb2ffdb9c44a07a3912f0c098c8de9" - integrity sha512-ort9pYowltbcrCVR43wdlqfAiFJXBx8l4uJDsD8U72LgBcetvEp+Qxj1W9ZYgMRoeAo+ov5cnAGF2B6+Oth+ww== +jest-mock@^29.1.2: + version "29.1.2" + resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-29.1.2.tgz#de47807edbb9d4abf8423f1d8d308d670105678c" + integrity sha512-PFDAdjjWbjPUtQPkQufvniXIS3N9Tv7tbibePEjIIprzjgo0qQlyUiVMrT4vL8FaSJo1QXifQUOuPH3HQC/aMA== dependencies: - "@jest/types" "^29.0.3" + "@jest/types" "^29.1.2" "@types/node" "*" + jest-util "^29.1.2" jest-pnp-resolver@^1.2.2: version "1.2.2" @@ -6947,88 +6948,88 @@ jest-regex-util@^29.0.0: resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-29.0.0.tgz#b442987f688289df8eb6c16fa8df488b4cd007de" integrity sha512-BV7VW7Sy0fInHWN93MMPtlClweYv2qrSCwfeFWmpribGZtQPWNvRSq9XOVgOEjU1iBGRKXUZil0o2AH7Iy9Lug== -jest-resolve-dependencies@^29.0.3: - version "29.0.3" - resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-29.0.3.tgz#f23a54295efc6374b86b198cf8efed5606d6b762" - integrity sha512-KzuBnXqNvbuCdoJpv8EanbIGObk7vUBNt/PwQPPx2aMhlv/jaXpUJsqWYRpP/0a50faMBY7WFFP8S3/CCzwfDw== +jest-resolve-dependencies@^29.1.2: + version "29.1.2" + resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-29.1.2.tgz#a6919e58a0c7465582cb8ec2d745b4e64ae8647f" + integrity sha512-44yYi+yHqNmH3OoWZvPgmeeiwKxhKV/0CfrzaKLSkZG9gT973PX8i+m8j6pDrTYhhHoiKfF3YUFg/6AeuHw4HQ== dependencies: jest-regex-util "^29.0.0" - jest-snapshot "^29.0.3" + jest-snapshot "^29.1.2" -jest-resolve@^29.0.3: - version "29.0.3" - resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-29.0.3.tgz#329a3431e3b9eb6629a2cd483e9bed95b26827b9" - integrity sha512-toVkia85Y/BPAjJasTC9zIPY6MmVXQPtrCk8SmiheC4MwVFE/CMFlOtMN6jrwPMC6TtNh8+sTMllasFeu1wMPg== +jest-resolve@^29.1.2: + version "29.1.2" + resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-29.1.2.tgz#9dd8c2fc83e59ee7d676b14bd45a5f89e877741d" + integrity sha512-7fcOr+k7UYSVRJYhSmJHIid3AnDBcLQX3VmT9OSbPWsWz1MfT7bcoerMhADKGvKCoMpOHUQaDHtQoNp/P9JMGg== dependencies: chalk "^4.0.0" graceful-fs "^4.2.9" - jest-haste-map "^29.0.3" + jest-haste-map "^29.1.2" jest-pnp-resolver "^1.2.2" - jest-util "^29.0.3" - jest-validate "^29.0.3" + jest-util "^29.1.2" + jest-validate "^29.1.2" resolve "^1.20.0" resolve.exports "^1.1.0" slash "^3.0.0" -jest-runner@^29.0.3: - version "29.0.3" - resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-29.0.3.tgz#2e47fe1e8777aea9b8970f37e8f83630b508fb87" - integrity sha512-Usu6VlTOZlCZoNuh3b2Tv/yzDpKqtiNAetG9t3kJuHfUyVMNW7ipCCJOUojzKkjPoaN7Bl1f7Buu6PE0sGpQxw== - dependencies: - "@jest/console" "^29.0.3" - "@jest/environment" "^29.0.3" - "@jest/test-result" "^29.0.3" - "@jest/transform" "^29.0.3" - "@jest/types" "^29.0.3" +jest-runner@^29.1.2: + version "29.1.2" + resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-29.1.2.tgz#f18b2b86101341e047de8c2f51a5fdc4e97d053a" + integrity sha512-yy3LEWw8KuBCmg7sCGDIqKwJlULBuNIQa2eFSVgVASWdXbMYZ9H/X0tnXt70XFoGf92W2sOQDOIFAA6f2BG04Q== + dependencies: + "@jest/console" "^29.1.2" + "@jest/environment" "^29.1.2" + "@jest/test-result" "^29.1.2" + "@jest/transform" "^29.1.2" + "@jest/types" "^29.1.2" "@types/node" "*" chalk "^4.0.0" emittery "^0.10.2" graceful-fs "^4.2.9" jest-docblock "^29.0.0" - jest-environment-node "^29.0.3" - jest-haste-map "^29.0.3" - jest-leak-detector "^29.0.3" - jest-message-util "^29.0.3" - jest-resolve "^29.0.3" - jest-runtime "^29.0.3" - jest-util "^29.0.3" - jest-watcher "^29.0.3" - jest-worker "^29.0.3" + jest-environment-node "^29.1.2" + jest-haste-map "^29.1.2" + jest-leak-detector "^29.1.2" + jest-message-util "^29.1.2" + jest-resolve "^29.1.2" + jest-runtime "^29.1.2" + jest-util "^29.1.2" + jest-watcher "^29.1.2" + jest-worker "^29.1.2" p-limit "^3.1.0" source-map-support "0.5.13" -jest-runtime@^29.0.3: - version "29.0.3" - resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-29.0.3.tgz#5a823ec5902257519556a4e5a71a868e8fd788aa" - integrity sha512-12gZXRQ7ozEeEHKTY45a+YLqzNDR/x4c//X6AqwKwKJPpWM8FY4vwn4VQJOcLRS3Nd1fWwgP7LU4SoynhuUMHQ== +jest-runtime@^29.1.2: + version "29.1.2" + resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-29.1.2.tgz#dbcd57103d61115479108d5864bdcd661d9c6783" + integrity sha512-jr8VJLIf+cYc+8hbrpt412n5jX3tiXmpPSYTGnwcvNemY+EOuLNiYnHJ3Kp25rkaAcTWOEI4ZdOIQcwYcXIAZw== dependencies: - "@jest/environment" "^29.0.3" - "@jest/fake-timers" "^29.0.3" - "@jest/globals" "^29.0.3" + "@jest/environment" "^29.1.2" + "@jest/fake-timers" "^29.1.2" + "@jest/globals" "^29.1.2" "@jest/source-map" "^29.0.0" - "@jest/test-result" "^29.0.3" - "@jest/transform" "^29.0.3" - "@jest/types" "^29.0.3" + "@jest/test-result" "^29.1.2" + "@jest/transform" "^29.1.2" + "@jest/types" "^29.1.2" "@types/node" "*" chalk "^4.0.0" cjs-module-lexer "^1.0.0" collect-v8-coverage "^1.0.0" glob "^7.1.3" graceful-fs "^4.2.9" - jest-haste-map "^29.0.3" - jest-message-util "^29.0.3" - jest-mock "^29.0.3" + jest-haste-map "^29.1.2" + jest-message-util "^29.1.2" + jest-mock "^29.1.2" jest-regex-util "^29.0.0" - jest-resolve "^29.0.3" - jest-snapshot "^29.0.3" - jest-util "^29.0.3" + jest-resolve "^29.1.2" + jest-snapshot "^29.1.2" + jest-util "^29.1.2" slash "^3.0.0" strip-bom "^4.0.0" -jest-snapshot@^29.0.3: - version "29.0.3" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-29.0.3.tgz#0a024706986a915a6eefae74d7343069d2fc8eef" - integrity sha512-52q6JChm04U3deq+mkQ7R/7uy7YyfVIrebMi6ZkBoDJ85yEjm/sJwdr1P0LOIEHmpyLlXrxy3QP0Zf5J2kj0ew== +jest-snapshot@^29.1.2: + version "29.1.2" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-29.1.2.tgz#7dd277e88c45f2d2ff5888de1612e63c7ceb575b" + integrity sha512-rYFomGpVMdBlfwTYxkUp3sjD6usptvZcONFYNqVlaz4EpHPnDvlWjvmOQ9OCSNKqYZqLM2aS3wq01tWujLg7gg== dependencies: "@babel/core" "^7.11.6" "@babel/generator" "^7.7.2" @@ -7036,61 +7037,61 @@ jest-snapshot@^29.0.3: "@babel/plugin-syntax-typescript" "^7.7.2" "@babel/traverse" "^7.7.2" "@babel/types" "^7.3.3" - "@jest/expect-utils" "^29.0.3" - "@jest/transform" "^29.0.3" - "@jest/types" "^29.0.3" + "@jest/expect-utils" "^29.1.2" + "@jest/transform" "^29.1.2" + "@jest/types" "^29.1.2" "@types/babel__traverse" "^7.0.6" "@types/prettier" "^2.1.5" babel-preset-current-node-syntax "^1.0.0" chalk "^4.0.0" - expect "^29.0.3" + expect "^29.1.2" graceful-fs "^4.2.9" - jest-diff "^29.0.3" + jest-diff "^29.1.2" jest-get-type "^29.0.0" - jest-haste-map "^29.0.3" - jest-matcher-utils "^29.0.3" - jest-message-util "^29.0.3" - jest-util "^29.0.3" + jest-haste-map "^29.1.2" + jest-matcher-utils "^29.1.2" + jest-message-util "^29.1.2" + jest-util "^29.1.2" natural-compare "^1.4.0" - pretty-format "^29.0.3" + pretty-format "^29.1.2" semver "^7.3.5" -jest-util@^29.0.3: - version "29.0.3" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-29.0.3.tgz#06d1d77f9a1bea380f121897d78695902959fbc0" - integrity sha512-Q0xaG3YRG8QiTC4R6fHjHQPaPpz9pJBEi0AeOE4mQh/FuWOijFjGXMMOfQEaU9i3z76cNR7FobZZUQnL6IyfdQ== +jest-util@^29.1.2: + version "29.1.2" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-29.1.2.tgz#ac5798e93cb6a6703084e194cfa0898d66126df1" + integrity sha512-vPCk9F353i0Ymx3WQq3+a4lZ07NXu9Ca8wya6o4Fe4/aO1e1awMMprZ3woPFpKwghEOW+UXgd15vVotuNN9ONQ== dependencies: - "@jest/types" "^29.0.3" + "@jest/types" "^29.1.2" "@types/node" "*" chalk "^4.0.0" ci-info "^3.2.0" graceful-fs "^4.2.9" picomatch "^2.2.3" -jest-validate@^29.0.3: - version "29.0.3" - resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-29.0.3.tgz#f9521581d7344685428afa0a4d110e9c519aeeb6" - integrity sha512-OebiqqT6lK8cbMPtrSoS3aZP4juID762lZvpf1u+smZnwTEBCBInan0GAIIhv36MxGaJvmq5uJm7dl5gVt+Zrw== +jest-validate@^29.1.2: + version "29.1.2" + resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-29.1.2.tgz#83a728b8f6354da2e52346878c8bc7383516ca51" + integrity sha512-k71pOslNlV8fVyI+mEySy2pq9KdXdgZtm7NHrBX8LghJayc3wWZH0Yr0mtYNGaCU4F1OLPXRkwZR0dBm/ClshA== dependencies: - "@jest/types" "^29.0.3" + "@jest/types" "^29.1.2" camelcase "^6.2.0" chalk "^4.0.0" jest-get-type "^29.0.0" leven "^3.1.0" - pretty-format "^29.0.3" + pretty-format "^29.1.2" -jest-watcher@^29.0.3: - version "29.0.3" - resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-29.0.3.tgz#8e220d1cc4f8029875e82015d084cab20f33d57f" - integrity sha512-tQX9lU91A+9tyUQKUMp0Ns8xAcdhC9fo73eqA3LFxP2bSgiF49TNcc+vf3qgGYYK9qRjFpXW9+4RgF/mbxyOOw== +jest-watcher@^29.1.2: + version "29.1.2" + resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-29.1.2.tgz#de21439b7d889e2fcf62cc2a4779ef1a3f1f3c62" + integrity sha512-6JUIUKVdAvcxC6bM8/dMgqY2N4lbT+jZVsxh0hCJRbwkIEnbr/aPjMQ28fNDI5lB51Klh00MWZZeVf27KBUj5w== dependencies: - "@jest/test-result" "^29.0.3" - "@jest/types" "^29.0.3" + "@jest/test-result" "^29.1.2" + "@jest/types" "^29.1.2" "@types/node" "*" ansi-escapes "^4.2.1" chalk "^4.0.0" emittery "^0.10.2" - jest-util "^29.0.3" + jest-util "^29.1.2" string-length "^4.0.1" jest-worker@^26.2.1: @@ -7120,15 +7121,25 @@ jest-worker@^29.0.3: merge-stream "^2.0.0" supports-color "^8.0.0" -jest@^29.0.3: - version "29.0.3" - resolved "https://registry.yarnpkg.com/jest/-/jest-29.0.3.tgz#5227a0596d30791b2649eea347e4aa97f734944d" - integrity sha512-ElgUtJBLgXM1E8L6K1RW1T96R897YY/3lRYqq9uVcPWtP2AAl/nQ16IYDh/FzQOOQ12VEuLdcPU83mbhG2C3PQ== +jest-worker@^29.1.2: + version "29.1.2" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-29.1.2.tgz#a68302af61bce82b42a9a57285ca7499d29b2afc" + integrity sha512-AdTZJxKjTSPHbXT/AIOjQVmoFx0LHFcVabWu0sxI7PAy7rFf8c0upyvgBKgguVXdM4vY74JdwkyD4hSmpTW8jA== dependencies: - "@jest/core" "^29.0.3" - "@jest/types" "^29.0.3" + "@types/node" "*" + jest-util "^29.1.2" + merge-stream "^2.0.0" + supports-color "^8.0.0" + +jest@^29.1.2: + version "29.1.2" + resolved "https://registry.yarnpkg.com/jest/-/jest-29.1.2.tgz#f821a1695ffd6cd0efc3b59d2dfcc70a98582499" + integrity sha512-5wEIPpCezgORnqf+rCaYD1SK+mNN7NsstWzIsuvsnrhR/hSxXWd82oI7DkrbJ+XTD28/eG8SmxdGvukrGGK6Tw== + dependencies: + "@jest/core" "^29.1.2" + "@jest/types" "^29.1.2" import-local "^3.0.2" - jest-cli "^29.0.3" + jest-cli "^29.1.2" jimp@0.16.1: version "0.16.1" @@ -9676,10 +9687,10 @@ pretty-error@^4.0.0: lodash "^4.17.20" renderkid "^3.0.0" -pretty-format@^29.0.3: - version "29.0.3" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.0.3.tgz#23d5f8cabc9cbf209a77d49409d093d61166a811" - integrity sha512-cHudsvQr1K5vNVLbvYF/nv3Qy/F/BcEKxGuIeMiVMRHxPOO1RxXooP8g/ZrwAp7Dx+KdMZoOc7NxLHhMrP2f9Q== +pretty-format@^29.1.2: + version "29.1.2" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.1.2.tgz#b1f6b75be7d699be1a051f5da36e8ae9e76a8e6a" + integrity sha512-CGJ6VVGXVRP2o2Dorl4mAwwvDWT25luIsYhkyVQW32E4nL+TgW939J7LlKT/npq5Cpq6j3s+sy+13yk7xYpBmg== dependencies: "@jest/schemas" "^29.0.0" ansi-styles "^5.0.0" From d862d15bfbdf1e087a251fe10f4292bd686a7e89 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 1 Oct 2022 12:22:59 +0800 Subject: [PATCH 19/39] build(deps-dev): bump postcss from 8.4.16 to 8.4.17 (#6429) Bumps [postcss](https://github.com/postcss/postcss) from 8.4.16 to 8.4.17. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.4.16...8.4.17) --- updated-dependencies: - dependency-name: postcss dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index d9b10811f60f..06405a5ca318 100644 --- a/package.json +++ b/package.json @@ -113,7 +113,7 @@ "modularscale-sass": "^3.0.3", "node-fetch": "^3.2.10", "npm-run-all": "^4.1.1", - "postcss": "^8.4.16", + "postcss": "^8.4.17", "postcss-loader": "^7.0.1", "prettier": "^2.7.1", "react-refresh": "^0.14.0", diff --git a/yarn.lock b/yarn.lock index f17c696ee44f..7c0d5465e641 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9650,10 +9650,10 @@ postcss@^5.0.8, postcss@^5.2.4: source-map "^0.5.6" supports-color "^3.2.3" -postcss@^8.3.10, postcss@^8.4.13, postcss@^8.4.14, postcss@^8.4.16, postcss@^8.4.7: - version "8.4.16" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.16.tgz#33a1d675fac39941f5f445db0de4db2b6e01d43c" - integrity sha512-ipHE1XBvKzm5xI7hiHCZJCSugxvsdq2mPnsq5+UF+VHCjiBvtDrlxJfMBToWaP9D5XlgNmcFGqoHmUn0EYEaRQ== +postcss@^8.3.10, postcss@^8.4.13, postcss@^8.4.14, postcss@^8.4.17, postcss@^8.4.7: + version "8.4.17" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.17.tgz#f87863ec7cd353f81f7ab2dec5d67d861bbb1be5" + integrity sha512-UNxNOLQydcOFi41yHNMcKRZ39NeXlr8AxGuZJsdub8vIb12fHzcq37DTU/QtbI6WLxNg2gF9Z+8qtRwTj1UI1Q== dependencies: nanoid "^3.3.4" picocolors "^1.0.0" From 7a820ae74c04b43c96fb54b60fc708e4dcfc8fea Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 4 Oct 2022 14:42:31 +0800 Subject: [PATCH 20/39] build(deps-dev): bump @svgr/webpack from 6.3.1 to 6.4.0 (#6431) Bumps [@svgr/webpack](https://github.com/gregberge/svgr) from 6.3.1 to 6.4.0. - [Release notes](https://github.com/gregberge/svgr/releases) - [Changelog](https://github.com/gregberge/svgr/blob/main/CHANGELOG.md) - [Commits](https://github.com/gregberge/svgr/compare/v6.3.1...v6.4.0) --- updated-dependencies: - dependency-name: "@svgr/webpack" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 51 ++++++++++++++++++++++++++------------------------- 2 files changed, 27 insertions(+), 26 deletions(-) diff --git a/package.json b/package.json index 06405a5ca318..1bbc5c9e7f76 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "@octokit/auth-action": "^2.0.1", "@octokit/rest": "^19.0.4", "@pmmmwh/react-refresh-webpack-plugin": "next", - "@svgr/webpack": "^6.3.1", + "@svgr/webpack": "^6.4.0", "autoprefixer": "^10.4.12", "babel-loader": "^8.2.5", "copy-webpack-plugin": "^11.0.0", diff --git a/yarn.lock b/yarn.lock index 7c0d5465e641..0392c0419e98 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2242,10 +2242,10 @@ resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-transform-svg-component/-/babel-plugin-transform-svg-component-6.3.1.tgz#21a285dbffdce9567c437ebf0d081bf9210807e6" integrity sha512-cZ8Tr6ZAWNUFfDeCKn/pGi976iWSkS8ijmEYKosP+6ktdZ7lW9HVLHojyusPw3w0j8PI4VBeWAXAmi/2G7owxw== -"@svgr/babel-preset@^6.3.1": - version "6.3.1" - resolved "https://registry.yarnpkg.com/@svgr/babel-preset/-/babel-preset-6.3.1.tgz#8bd1ead79637d395e9362b01dd37cfd59702e152" - integrity sha512-tQtWtzuMMQ3opH7je+MpwfuRA1Hf3cKdSgTtAYwOBDfmhabP7rcTfBi3E7V3MuwJNy/Y02/7/RutvwS1W4Qv9g== +"@svgr/babel-preset@^6.4.0": + version "6.4.0" + resolved "https://registry.yarnpkg.com/@svgr/babel-preset/-/babel-preset-6.4.0.tgz#b85bd1c64d03fcb3f930169541de4cf9ff4eaed9" + integrity sha512-Ytuh7N282fv2Cy1JePf6HZ29/G5Hb8mQAjx4iykPjvfFl9NK6o5lZavmewgjOGT8kNPtwgvheuOQn4CifHRUhQ== dependencies: "@svgr/babel-plugin-add-jsx-attribute" "^6.3.1" "@svgr/babel-plugin-remove-jsx-attribute" "^6.3.1" @@ -2256,31 +2256,32 @@ "@svgr/babel-plugin-transform-react-native-svg" "^6.3.1" "@svgr/babel-plugin-transform-svg-component" "^6.3.1" -"@svgr/core@^6.3.1": - version "6.3.1" - resolved "https://registry.yarnpkg.com/@svgr/core/-/core-6.3.1.tgz#752adf49d8d5473b15d76ca741961de093f715bd" - integrity sha512-Sm3/7OdXbQreemf9aO25keerZSbnKMpGEfmH90EyYpj1e8wMD4TuwJIb3THDSgRMWk1kYJfSRulELBy4gVgZUA== +"@svgr/core@^6.4.0": + version "6.4.0" + resolved "https://registry.yarnpkg.com/@svgr/core/-/core-6.4.0.tgz#95878c7b23962febc14735885bdb9f35ee2735e5" + integrity sha512-wU9uyF6BUnwAqG7fDOowmDQzmbvovj1uq/iETfMK9xwQNaT+e7yN7SmDDcETXC72dnOrMcRuEWw0JEvpJha+yg== dependencies: - "@svgr/plugin-jsx" "^6.3.1" + "@svgr/babel-preset" "^6.4.0" + "@svgr/plugin-jsx" "^6.4.0" camelcase "^6.2.0" cosmiconfig "^7.0.1" -"@svgr/hast-util-to-babel-ast@^6.3.1": - version "6.3.1" - resolved "https://registry.yarnpkg.com/@svgr/hast-util-to-babel-ast/-/hast-util-to-babel-ast-6.3.1.tgz#59614e24d2a4a28010e02089213b3448d905769d" - integrity sha512-NgyCbiTQIwe3wHe/VWOUjyxmpUmsrBjdoIxKpXt3Nqc3TN30BpJG22OxBvVzsAh9jqep0w0/h8Ywvdk3D9niNQ== +"@svgr/hast-util-to-babel-ast@^6.4.0": + version "6.4.0" + resolved "https://registry.yarnpkg.com/@svgr/hast-util-to-babel-ast/-/hast-util-to-babel-ast-6.4.0.tgz#864032f02fdc7fc9c7cd62480417cc54341cb9bd" + integrity sha512-PjcU8jCneKXJnrREycsgfgQ/bzR1ogSKC5MBeUu2wmEoJIjzXX7X14DDktUjU9bkBy26yMDiVHn46Nl82P3WEg== dependencies: "@babel/types" "^7.18.4" entities "^4.3.0" -"@svgr/plugin-jsx@^6.3.1": - version "6.3.1" - resolved "https://registry.yarnpkg.com/@svgr/plugin-jsx/-/plugin-jsx-6.3.1.tgz#de7b2de824296b836d6b874d498377896e367f50" - integrity sha512-r9+0mYG3hD4nNtUgsTXWGYJomv/bNd7kC16zvsM70I/bGeoCi/3lhTmYqeN6ChWX317OtQCSZZbH4wq9WwoXbw== +"@svgr/plugin-jsx@^6.4.0": + version "6.4.0" + resolved "https://registry.yarnpkg.com/@svgr/plugin-jsx/-/plugin-jsx-6.4.0.tgz#f756b7d71fd535801e042cd5d5038eebd318582d" + integrity sha512-gu6E7v8qRAtCxbymI1et3G7athogvKvzsJkSWiHVZsuVZbyx5O2b7+DIkKvAGh2RvEzgSvfGf8QD1BaHal2vBw== dependencies: "@babel/core" "^7.18.5" - "@svgr/babel-preset" "^6.3.1" - "@svgr/hast-util-to-babel-ast" "^6.3.1" + "@svgr/babel-preset" "^6.4.0" + "@svgr/hast-util-to-babel-ast" "^6.4.0" svg-parser "^2.0.4" "@svgr/plugin-svgo@^6.3.1": @@ -2292,18 +2293,18 @@ deepmerge "^4.2.2" svgo "^2.8.0" -"@svgr/webpack@^6.3.1": - version "6.3.1" - resolved "https://registry.yarnpkg.com/@svgr/webpack/-/webpack-6.3.1.tgz#001d03236ebb03bf47c0a4b92d5423e05095ebe6" - integrity sha512-eODxwIUShLxSMaRjzJtrj9wg89D75JLczvWg9SaB5W+OtVTkiC1vdGd8+t+pf5fTlBOy4RRXAq7x1E3DUl3D0A== +"@svgr/webpack@^6.4.0": + version "6.4.0" + resolved "https://registry.yarnpkg.com/@svgr/webpack/-/webpack-6.4.0.tgz#6db74282ecd753c4a279c9c595a511e43aa89570" + integrity sha512-ejt2JdVX6k0XzUjVObMcTzTgsaCadEVCHBvOt3J0Vcp3eFirf0nqsjQCUD+ogFep25+ICDMZa1nLlotbXxKDXw== dependencies: "@babel/core" "^7.18.5" "@babel/plugin-transform-react-constant-elements" "^7.17.12" "@babel/preset-env" "^7.18.2" "@babel/preset-react" "^7.17.12" "@babel/preset-typescript" "^7.17.12" - "@svgr/core" "^6.3.1" - "@svgr/plugin-jsx" "^6.3.1" + "@svgr/core" "^6.4.0" + "@svgr/plugin-jsx" "^6.4.0" "@svgr/plugin-svgo" "^6.3.1" "@tootallnate/once@1": From 6e78169cff3832b76460c2e4bcaacc3d9cb457fb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 7 Oct 2022 11:07:15 +0800 Subject: [PATCH 21/39] build(deps): bump react-router-dom from 6.4.1 to 6.4.2 (#6432) Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.4.1 to 6.4.2. - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.4.2/packages/react-router-dom) --- updated-dependencies: - dependency-name: react-router-dom dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 30 +++++++++++++++--------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index 1bbc5c9e7f76..2f55ee0c2bf8 100644 --- a/package.json +++ b/package.json @@ -151,7 +151,7 @@ "react": "^17.0.2", "react-dom": "^17.0.2", "react-helmet-async": "^1.3.0", - "react-router-dom": "^6.4.1", + "react-router-dom": "^6.4.2", "react-spring": "^9.5.5", "react-tiny-popover": "5", "react-use": "^17.4.0", diff --git a/yarn.lock b/yarn.lock index 0392c0419e98..a649e99370be 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2131,10 +2131,10 @@ "@react-spring/shared" "~9.5.5" "@react-spring/types" "~9.5.5" -"@remix-run/router@1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@remix-run/router/-/router-1.0.1.tgz#88d7ac31811ab0cef14aaaeae2a0474923b278bc" - integrity sha512-eBV5rvW4dRFOU1eajN7FmYxjAIVz/mRHgUE9En9mBn6m3mulK3WTR5C3iQhL9MZ14rWAq+xOlEaCkDiW0/heOg== +"@remix-run/router@1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@remix-run/router/-/router-1.0.2.tgz#1c17eadb2fa77f80a796ad5ea9bf108e6993ef06" + integrity sha512-GRSOFhJzjGN+d4sKHTMSvNeUPoZiDHWmRnXfzaxrqe7dE/Nzlc8BiMSJdLDESZlndM7jIUrZ/F4yWqVYlI0rwQ== "@rollup/plugin-babel@^5.2.0": version "5.2.2" @@ -9863,20 +9863,20 @@ react-refresh@^0.14.0: resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.14.0.tgz#4e02825378a5f227079554d4284889354e5f553e" integrity sha512-wViHqhAd8OHeLS/IRMJjTSDHF3U9eWi62F/MledQGPdJGDhodXJ9PBLNGr6WWL7qlH12Mt3TyTpbS+hGXMjCzQ== -react-router-dom@^6.4.1: - version "6.4.1" - resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-6.4.1.tgz#99c9b7c4967890701c888517475aa5d54d25760e" - integrity sha512-MY7NJCrGNVJtGp8ODMOBHu20UaIkmwD2V3YsAOUQoCXFk7Ppdwf55RdcGyrSj+ycSL9Uiwrb3gTLYSnzcRoXww== +react-router-dom@^6.4.2: + version "6.4.2" + resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-6.4.2.tgz#115b37d501d6d8ac870683694978c51c43e6c0d2" + integrity sha512-yM1kjoTkpfjgczPrcyWrp+OuQMyB1WleICiiGfstnQYo/S8hPEEnVjr/RdmlH6yKK4Tnj1UGXFSa7uwAtmDoLQ== dependencies: - "@remix-run/router" "1.0.1" - react-router "6.4.1" + "@remix-run/router" "1.0.2" + react-router "6.4.2" -react-router@6.4.1: - version "6.4.1" - resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.4.1.tgz#dd9cc4dfa264751d143a4b6c9d4faa60ab3ce26c" - integrity sha512-OJASKp5AykDWFewgWUim1vlLr7yfD4vO/h+bSgcP/ix8Md+LMHuAjovA74MQfsfhQJGGN1nHRhwS5qQQbbBt3A== +react-router@6.4.2: + version "6.4.2" + resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.4.2.tgz#300628ee9ed81b8ef1597b5cb98b474efe9779b8" + integrity sha512-Rb0BAX9KHhVzT1OKhMvCDMw776aTYM0DtkxqUBP8dNBom3mPXlfNs76JNGK8wKJ1IZEY1+WGj+cvZxHVk/GiKw== dependencies: - "@remix-run/router" "1.0.1" + "@remix-run/router" "1.0.2" react-spring@^9.5.5: version "9.5.5" From 39f5e66582331e4b289cdca7c4b051b25deb7829 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 7 Oct 2022 21:33:02 +0800 Subject: [PATCH 22/39] build(deps-dev): bump css-minimizer-webpack-plugin from 4.2.0 to 4.2.1 (#6434) Bumps [css-minimizer-webpack-plugin](https://github.com/webpack-contrib/css-minimizer-webpack-plugin) from 4.2.0 to 4.2.1. - [Release notes](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/releases) - [Changelog](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/compare/v4.2.0...v4.2.1) --- updated-dependencies: - dependency-name: css-minimizer-webpack-plugin dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 23 +++++++---------------- 2 files changed, 8 insertions(+), 17 deletions(-) diff --git a/package.json b/package.json index 2f55ee0c2bf8..55a14d0acf25 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ "babel-loader": "^8.2.5", "copy-webpack-plugin": "^11.0.0", "css-loader": "^6.7.1", - "css-minimizer-webpack-plugin": "^4.2.0", + "css-minimizer-webpack-plugin": "^4.2.1", "cypress": "^10.9.0", "directory-tree": "^3.3.1", "directory-tree-webpack-plugin": "^1.0.3", diff --git a/yarn.lock b/yarn.lock index a649e99370be..3ca30b7f5108 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4135,14 +4135,14 @@ css-loader@^6.7.1: postcss-value-parser "^4.2.0" semver "^7.3.5" -css-minimizer-webpack-plugin@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/css-minimizer-webpack-plugin/-/css-minimizer-webpack-plugin-4.2.0.tgz#99b453efcbc4c13d80327d94767f5aa41ee509e7" - integrity sha512-9FKGMGafKmYEbHoPh78nrrvumS5yU1rhptqdC2RfTH78MohjxpGMTW2tvdY/iYbD2sLnhzZMKTQ4n9Ja48kxZQ== +css-minimizer-webpack-plugin@^4.2.1: + version "4.2.1" + resolved "https://registry.yarnpkg.com/css-minimizer-webpack-plugin/-/css-minimizer-webpack-plugin-4.2.1.tgz#ed5631d8d266b4e2d1389c502a746a93453423e8" + integrity sha512-ub12STsk3uXfHFTn9dtkI9nebvUKQ9rB0pn/6WNMRV77nqAOlOOJrrvsP8S8jngcnu+8ll3/9/xa7RCUNBVdOA== dependencies: cssnano "^5.1.8" - jest-worker "^29.0.3" - postcss "^8.4.13" + jest-worker "^29.1.2" + postcss "^8.4.17" schema-utils "^4.0.0" serialize-javascript "^6.0.0" source-map "^0.6.1" @@ -7113,15 +7113,6 @@ jest-worker@^27.0.2: merge-stream "^2.0.0" supports-color "^8.0.0" -jest-worker@^29.0.3: - version "29.0.3" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-29.0.3.tgz#c2ba0aa7e41eec9eb0be8e8a322ae6518df72647" - integrity sha512-Tl/YWUugQOjoTYwjKdfJWkSOfhufJHO5LhXTSZC3TRoQKO+fuXnZAdoXXBlpLXKGODBL3OvdUasfDD4PcMe6ng== - dependencies: - "@types/node" "*" - merge-stream "^2.0.0" - supports-color "^8.0.0" - jest-worker@^29.1.2: version "29.1.2" resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-29.1.2.tgz#a68302af61bce82b42a9a57285ca7499d29b2afc" @@ -9651,7 +9642,7 @@ postcss@^5.0.8, postcss@^5.2.4: source-map "^0.5.6" supports-color "^3.2.3" -postcss@^8.3.10, postcss@^8.4.13, postcss@^8.4.14, postcss@^8.4.17, postcss@^8.4.7: +postcss@^8.3.10, postcss@^8.4.14, postcss@^8.4.17, postcss@^8.4.7: version "8.4.17" resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.17.tgz#f87863ec7cd353f81f7ab2dec5d67d861bbb1be5" integrity sha512-UNxNOLQydcOFi41yHNMcKRZ39NeXlr8AxGuZJsdub8vIb12fHzcq37DTU/QtbI6WLxNg2gF9Z+8qtRwTj1UI1Q== From d6a42c50f7b53e3678f25a92d0a4e9fa0c1893a6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 8 Oct 2022 09:46:25 +0800 Subject: [PATCH 23/39] build(deps-dev): bump sass-loader from 13.0.2 to 13.1.0 (#6435) Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 13.0.2 to 13.1.0. - [Release notes](https://github.com/webpack-contrib/sass-loader/releases) - [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/sass-loader/compare/v13.0.2...v13.1.0) --- updated-dependencies: - dependency-name: sass-loader dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 55a14d0acf25..47fdffee9925 100644 --- a/package.json +++ b/package.json @@ -128,7 +128,7 @@ "remark-refractor": "montogeek/remark-refractor", "rimraf": "^3.0.2", "sass": "^1.55.0", - "sass-loader": "^13.0.2", + "sass-loader": "^13.1.0", "sirv-cli": "^2.0.2", "sitemap-static": "^0.4.2", "static-site-generator-webpack-plugin": "^3.4.1", diff --git a/yarn.lock b/yarn.lock index 3ca30b7f5108..e7c39bfff7a7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10447,10 +10447,10 @@ safe-buffer@5.2.1: resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== -sass-loader@^13.0.2: - version "13.0.2" - resolved "https://registry.yarnpkg.com/sass-loader/-/sass-loader-13.0.2.tgz#e81a909048e06520e9f2ff25113a801065adb3fe" - integrity sha512-BbiqbVmbfJaWVeOOAu2o7DhYWtcNmTfvroVgFXa6k2hHheMxNAeDHLNoDy/Q5aoaVlz0LH+MbMktKwm9vN/j8Q== +sass-loader@^13.1.0: + version "13.1.0" + resolved "https://registry.yarnpkg.com/sass-loader/-/sass-loader-13.1.0.tgz#e5b9acf14199a9bc6eaed7a0b8b23951c2cebf6f" + integrity sha512-tZS1RJQ2n2+QNyf3CCAo1H562WjL/5AM6Gi8YcPVVoNxQX8d19mx8E+8fRrMWsyc93ZL6Q8vZDSM0FHVTJaVnQ== dependencies: klona "^2.0.4" neo-async "^2.6.2" From e604104057693841767f66e4266f41caef5fc883 Mon Sep 17 00:00:00 2001 From: Sam Chen Date: Sun, 9 Oct 2022 08:42:32 +0800 Subject: [PATCH 24/39] docs(guides): mention limitation of Worker api (#6436) --- src/content/guides/web-workers.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/content/guides/web-workers.mdx b/src/content/guides/web-workers.mdx index 71843a79ac40..f6a7e64dc164 100644 --- a/src/content/guides/web-workers.mdx +++ b/src/content/guides/web-workers.mdx @@ -15,6 +15,8 @@ new Worker(new URL('./worker.js', import.meta.url)); The syntax was chosen to allow running code without bundler, it is also available in native ECMAScript modules in the browser. +Note that while the [`Worker` API](https://developer.mozilla.org/en-US/docs/Web/API/Worker/Worker) suggests that `Worker` constructor would accept a string representing the URL of the script, in webpack 5 you can only use `URL` instead. + ## Example **src/index.js** From df2ab787d5f7406a789b4cdb4d1db1f593567fc8 Mon Sep 17 00:00:00 2001 From: Sam Chen Date: Sun, 9 Oct 2022 21:26:30 +0800 Subject: [PATCH 25/39] fix background color for inline code under dark mode (#6438) --- src/styles/dark.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/styles/dark.scss b/src/styles/dark.scss index 84a3c2474a36..4c4dd98ab374 100644 --- a/src/styles/dark.scss +++ b/src/styles/dark.scss @@ -17,6 +17,7 @@ body { code, tt { text-shadow: none; + background-color: transparentize(getColor(fiord), 0.55); } blockquote { border-left-color: #343434; @@ -53,6 +54,9 @@ body { } pre { background-color: #131b1f; + code { + background: transparent; + } } a code { color: #69a8ee; From 3dab627d3372b7c042241aa6f6ca75b79ef0ac00 Mon Sep 17 00:00:00 2001 From: Sam Chen Date: Mon, 10 Oct 2022 18:37:58 +0800 Subject: [PATCH 26/39] CI: cancel previous runs for pull requests (#6437) * CI: cancel previous runs * Revert "CI: cancel previous runs" This reverts commit 9faeca23a885f4d4af46877a826194ce2ff60e68. * support forked pull requests --- .github/workflows/cancel.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/cancel.yml diff --git a/.github/workflows/cancel.yml b/.github/workflows/cancel.yml new file mode 100644 index 000000000000..9f6944b9edce --- /dev/null +++ b/.github/workflows/cancel.yml @@ -0,0 +1,13 @@ +name: Cancel +on: + workflow_run: + workflows: ["Ensure PR"] + types: + - requested +jobs: + cancel: + runs-on: ubuntu-latest + steps: + - uses: styfle/cancel-workflow-action + with: + workflow_id: ${{ github.event.workflow.id }} From 08470791d1c6aaf0239f3997c6d8986d98cccf7c Mon Sep 17 00:00:00 2001 From: Sam Chen Date: Mon, 10 Oct 2022 18:58:31 +0800 Subject: [PATCH 27/39] CI: pin cancel workflow action version (#6440) --- .github/workflows/cancel.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cancel.yml b/.github/workflows/cancel.yml index 9f6944b9edce..3b932a1a3713 100644 --- a/.github/workflows/cancel.yml +++ b/.github/workflows/cancel.yml @@ -8,6 +8,6 @@ jobs: cancel: runs-on: ubuntu-latest steps: - - uses: styfle/cancel-workflow-action + - uses: styfle/cancel-workflow-action@0.10.1 with: workflow_id: ${{ github.event.workflow.id }} From 3124f6c70adeb43010d9b2c24c29c2a8247be39a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 11 Oct 2022 08:51:48 +0800 Subject: [PATCH 28/39] build(deps-dev): bump @pmmmwh/react-refresh-webpack-plugin (#6442) Bumps [@pmmmwh/react-refresh-webpack-plugin](https://github.com/pmmmwh/react-refresh-webpack-plugin) from 0.5.7 to 0.5.8. - [Release notes](https://github.com/pmmmwh/react-refresh-webpack-plugin/releases) - [Changelog](https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/CHANGELOG.md) - [Commits](https://github.com/pmmmwh/react-refresh-webpack-plugin/compare/v0.5.7...v0.5.8) --- updated-dependencies: - dependency-name: "@pmmmwh/react-refresh-webpack-plugin" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- yarn.lock | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/yarn.lock b/yarn.lock index e7c39bfff7a7..2180cc9496ef 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2026,13 +2026,13 @@ tslib "^2.4.0" "@pmmmwh/react-refresh-webpack-plugin@next": - version "0.5.7" - resolved "https://registry.yarnpkg.com/@pmmmwh/react-refresh-webpack-plugin/-/react-refresh-webpack-plugin-0.5.7.tgz#58f8217ba70069cc6a73f5d7e05e85b458c150e2" - integrity sha512-bcKCAzF0DV2IIROp9ZHkRJa6O4jy7NlnHdWL3GmcUxYWNjLXkK5kfELELwEfSP5hXPfVL/qOGMAROuMQb9GG8Q== + version "0.5.8" + resolved "https://registry.yarnpkg.com/@pmmmwh/react-refresh-webpack-plugin/-/react-refresh-webpack-plugin-0.5.8.tgz#da3383761e2c0c440610819f3204769022a38d12" + integrity sha512-wxXRwf+IQ6zvHSJZ+5T2RQNEsq+kx4jKRXfFvdt3nBIUzJUAvXEFsUeoaohDe/Kr84MTjGwcuIUPNcstNJORsA== dependencies: ansi-html-community "^0.0.8" common-path-prefix "^3.0.0" - core-js-pure "^3.8.1" + core-js-pure "^3.23.3" error-stack-parser "^2.0.6" find-up "^5.0.0" html-entities "^2.1.0" @@ -4032,10 +4032,10 @@ core-js-compat@^3.25.1: dependencies: browserslist "^4.21.3" -core-js-pure@^3.8.1: - version "3.12.1" - resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.12.1.tgz#934da8b9b7221e2a2443dc71dfa5bd77a7ea00b8" - integrity sha512-1cch+qads4JnDSWsvc7d6nzlKAippwjUlf6vykkTLW53VSV+NkE6muGBToAjEA8pG90cSfcud3JgVmW2ds5TaQ== +core-js-pure@^3.23.3: + version "3.25.5" + resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.25.5.tgz#79716ba54240c6aa9ceba6eee08cf79471ba184d" + integrity sha512-oml3M22pHM+igfWHDfdLVq2ShWmjM2V4L+dQEBs0DWVIqEm9WHCwGAlZ6BmyBQGy5sFrJmcx+856D9lVKyGWYg== core-js@^2.4.0: version "2.6.12" From e902e27bb94b6659a7a6486fe3a39d3f5b8a0aad Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 11 Oct 2022 06:31:06 +0530 Subject: [PATCH 29/39] build(deps-dev): bump @babel/preset-env from 7.19.3 to 7.19.4 (#6445) Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.19.3 to 7.19.4. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.19.4/packages/babel-preset-env) --- updated-dependencies: - dependency-name: "@babel/preset-env" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 78 ++++++++++++++++++++++++++-------------------------- 2 files changed, 40 insertions(+), 40 deletions(-) diff --git a/package.json b/package.json index 47fdffee9925..193c8571aee1 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "@babel/core": "^7.19.3", "@babel/eslint-parser": "^7.19.1", "@babel/plugin-proposal-class-properties": "^7.17.12", - "@babel/preset-env": "^7.19.3", + "@babel/preset-env": "^7.19.4", "@babel/preset-react": "^7.18.6", "@mdx-js/loader": "^2.0.0-next.9", "@octokit/auth-action": "^2.0.1", diff --git a/yarn.lock b/yarn.lock index 2180cc9496ef..f22d5b5dca9d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -148,10 +148,10 @@ dependencies: "@babel/highlight" "^7.18.6" -"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.18.8", "@babel/compat-data@^7.19.3": - version "7.19.3" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.19.3.tgz#707b939793f867f5a73b2666e6d9a3396eb03151" - integrity sha512-prBHMK4JYYK+wDjJF1q99KK4JLL+egWS4nmNqdlMUgCExMZ+iZW0hGhyC3VEbsPjvaN0TBhW//VIFwBrk8sEiw== +"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.19.3", "@babel/compat-data@^7.19.4": + version "7.19.4" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.19.4.tgz#95c86de137bf0317f3a570e1b6e996b427299747" + integrity sha512-CHIGpJcUQ5lU9KrPHTjBMhVwQG6CQjxfg36fGXl3qk/Gik1WwWachaXFuo0uCWJT/mStOKtcbFJCaVLihC1CMw== "@babel/core@^7.11.1", "@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.18.5", "@babel/core@^7.19.3": version "7.19.3" @@ -359,10 +359,10 @@ dependencies: "@babel/types" "^7.18.6" -"@babel/helper-string-parser@^7.18.10": - version "7.18.10" - resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.18.10.tgz#181f22d28ebe1b3857fa575f5c290b1aaf659b56" - integrity sha512-XtIfWmeNY3i4t7t4D2t02q50HvqHybPqW2ki1kosnvWCwuCMeo81Jf0gwr85jy/neUdg5XDdeFE/80DXiO+njw== +"@babel/helper-string-parser@^7.19.4": + version "7.19.4" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" + integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== "@babel/helper-validator-identifier@^7.18.6": version "7.18.6" @@ -503,14 +503,14 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-numeric-separator" "^7.10.4" -"@babel/plugin-proposal-object-rest-spread@^7.18.9": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.9.tgz#f9434f6beb2c8cae9dfcf97d2a5941bbbf9ad4e7" - integrity sha512-kDDHQ5rflIeY5xl69CEqGEZ0KY369ehsCIEbTGb4siHG5BE9sga/T0r0OUwyZNLMmZE79E1kbsqAjwFCW4ds6Q== +"@babel/plugin-proposal-object-rest-spread@^7.19.4": + version "7.19.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.19.4.tgz#a8fc86e8180ff57290c91a75d83fe658189b642d" + integrity sha512-wHmj6LDxVDnL+3WhXteUBaoM1aVILZODAUjg11kHqG4cOlfgMQGxw6aCgvrXrmaJR3Bn14oZhImyCPZzRpC93Q== dependencies: - "@babel/compat-data" "^7.18.8" - "@babel/helper-compilation-targets" "^7.18.9" - "@babel/helper-plugin-utils" "^7.18.9" + "@babel/compat-data" "^7.19.4" + "@babel/helper-compilation-targets" "^7.19.3" + "@babel/helper-plugin-utils" "^7.19.0" "@babel/plugin-syntax-object-rest-spread" "^7.8.3" "@babel/plugin-transform-parameters" "^7.18.8" @@ -713,12 +713,12 @@ dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-block-scoping@^7.18.9": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.18.9.tgz#f9b7e018ac3f373c81452d6ada8bd5a18928926d" - integrity sha512-5sDIJRV1KtQVEbt/EIBwGy4T01uYIo4KRB3VUqzkhrAIOGx7AoctL9+Ux88btY0zXdDyPJ9mW+bg+v+XEkGmtw== +"@babel/plugin-transform-block-scoping@^7.19.4": + version "7.19.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.19.4.tgz#315d70f68ce64426db379a3d830e7ac30be02e9b" + integrity sha512-934S2VLLlt2hRJwPf4MczaOr4hYF0z+VKPwqTNxyKX7NthTiPfhuKFWQZHXRM0vh/wo/VyXB3s4bZUNA08l+tQ== dependencies: - "@babel/helper-plugin-utils" "^7.18.9" + "@babel/helper-plugin-utils" "^7.19.0" "@babel/plugin-transform-classes@^7.19.0": version "7.19.0" @@ -742,12 +742,12 @@ dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-destructuring@^7.18.13": - version "7.18.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.18.13.tgz#9e03bc4a94475d62b7f4114938e6c5c33372cbf5" - integrity sha512-TodpQ29XekIsex2A+YJPj5ax2plkGa8YYY6mFjCohk/IG9IY42Rtuj1FuDeemfg2ipxIFLzPeA83SIBnlhSIow== +"@babel/plugin-transform-destructuring@^7.19.4": + version "7.19.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.19.4.tgz#46890722687b9b89e1369ad0bd8dc6c5a3b4319d" + integrity sha512-t0j0Hgidqf0aM86dF8U+vXYReUgJnlv4bZLsyoPnwZNrGY+7/38o8YjaELrvHeVfTZao15kjR0PVv0nju2iduA== dependencies: - "@babel/helper-plugin-utils" "^7.18.9" + "@babel/helper-plugin-utils" "^7.19.0" "@babel/plugin-transform-dotall-regex@^7.18.6", "@babel/plugin-transform-dotall-regex@^7.4.4": version "7.18.6" @@ -992,12 +992,12 @@ "@babel/helper-create-regexp-features-plugin" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/preset-env@^7.11.0", "@babel/preset-env@^7.18.2", "@babel/preset-env@^7.19.3": - version "7.19.3" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.19.3.tgz#52cd19abaecb3f176a4ff9cc5e15b7bf06bec754" - integrity sha512-ziye1OTc9dGFOAXSWKUqQblYHNlBOaDl8wzqf2iKXJAltYiR3hKHUKmkt+S9PppW7RQpq4fFCrwwpIDj/f5P4w== +"@babel/preset-env@^7.11.0", "@babel/preset-env@^7.18.2", "@babel/preset-env@^7.19.4": + version "7.19.4" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.19.4.tgz#4c91ce2e1f994f717efb4237891c3ad2d808c94b" + integrity sha512-5QVOTXUdqTCjQuh2GGtdd7YEhoRXBMVGROAtsBeLGIbIz3obCBIfRMT1I3ZKkMgNzwkyCkftDXSSkHxnfVf4qg== dependencies: - "@babel/compat-data" "^7.19.3" + "@babel/compat-data" "^7.19.4" "@babel/helper-compilation-targets" "^7.19.3" "@babel/helper-plugin-utils" "^7.19.0" "@babel/helper-validator-option" "^7.18.6" @@ -1012,7 +1012,7 @@ "@babel/plugin-proposal-logical-assignment-operators" "^7.18.9" "@babel/plugin-proposal-nullish-coalescing-operator" "^7.18.6" "@babel/plugin-proposal-numeric-separator" "^7.18.6" - "@babel/plugin-proposal-object-rest-spread" "^7.18.9" + "@babel/plugin-proposal-object-rest-spread" "^7.19.4" "@babel/plugin-proposal-optional-catch-binding" "^7.18.6" "@babel/plugin-proposal-optional-chaining" "^7.18.9" "@babel/plugin-proposal-private-methods" "^7.18.6" @@ -1036,10 +1036,10 @@ "@babel/plugin-transform-arrow-functions" "^7.18.6" "@babel/plugin-transform-async-to-generator" "^7.18.6" "@babel/plugin-transform-block-scoped-functions" "^7.18.6" - "@babel/plugin-transform-block-scoping" "^7.18.9" + "@babel/plugin-transform-block-scoping" "^7.19.4" "@babel/plugin-transform-classes" "^7.19.0" "@babel/plugin-transform-computed-properties" "^7.18.9" - "@babel/plugin-transform-destructuring" "^7.18.13" + "@babel/plugin-transform-destructuring" "^7.19.4" "@babel/plugin-transform-dotall-regex" "^7.18.6" "@babel/plugin-transform-duplicate-keys" "^7.18.9" "@babel/plugin-transform-exponentiation-operator" "^7.18.6" @@ -1066,7 +1066,7 @@ "@babel/plugin-transform-unicode-escapes" "^7.18.10" "@babel/plugin-transform-unicode-regex" "^7.18.6" "@babel/preset-modules" "^0.1.5" - "@babel/types" "^7.19.3" + "@babel/types" "^7.19.4" babel-plugin-polyfill-corejs2 "^0.3.3" babel-plugin-polyfill-corejs3 "^0.6.0" babel-plugin-polyfill-regenerator "^0.4.1" @@ -1137,12 +1137,12 @@ debug "^4.1.0" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.18.10", "@babel/types@^7.18.4", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.19.0", "@babel/types@^7.19.3", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4": - version "7.19.3" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.19.3.tgz#fc420e6bbe54880bce6779ffaf315f5e43ec9624" - integrity sha512-hGCaQzIY22DJlDh9CH7NOxgKkFjBk0Cw9xDO1Xmh2151ti7wiGfQ3LauXzL4HP1fmFlTX6XjpRETTpUcv7wQLw== +"@babel/types@^7.0.0", "@babel/types@^7.18.10", "@babel/types@^7.18.4", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.19.0", "@babel/types@^7.19.3", "@babel/types@^7.19.4", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4": + version "7.19.4" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.19.4.tgz#0dd5c91c573a202d600490a35b33246fed8a41c7" + integrity sha512-M5LK7nAeS6+9j7hAq+b3fQs+pNfUtTGq+yFFfHnauFA8zQtLRfmuipmsKDKKLuyG+wC8ABW43A153YNawNTEtw== dependencies: - "@babel/helper-string-parser" "^7.18.10" + "@babel/helper-string-parser" "^7.19.4" "@babel/helper-validator-identifier" "^7.19.1" to-fast-properties "^2.0.0" From e627888669c883ee580c190e299d784a4ef47714 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 11 Oct 2022 13:13:38 +0800 Subject: [PATCH 30/39] build(deps-dev): bump eslint-plugin-react from 7.31.8 to 7.31.9 (#6443) Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.31.8 to 7.31.9. - [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases) - [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md) - [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.31.8...v7.31.9) --- updated-dependencies: - dependency-name: eslint-plugin-react dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 193c8571aee1..099c5f095389 100644 --- a/package.json +++ b/package.json @@ -93,7 +93,7 @@ "eslint-config-prettier": "^8.5.0", "eslint-plugin-cypress": "^2.12.1", "eslint-plugin-mdx": "^2.0.5", - "eslint-plugin-react": "^7.31.8", + "eslint-plugin-react": "^7.31.9", "eslint-plugin-react-hooks": "^4.6.0", "front-matter": "^4.0.2", "github-slugger": "^1.4.0", diff --git a/yarn.lock b/yarn.lock index f22d5b5dca9d..918a92546127 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4955,10 +4955,10 @@ eslint-plugin-react-hooks@^4.6.0: resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz#4c3e697ad95b77e93f8646aaa1630c1ba607edd3" integrity sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g== -eslint-plugin-react@^7.31.8: - version "7.31.8" - resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.31.8.tgz#3a4f80c10be1bcbc8197be9e8b641b2a3ef219bf" - integrity sha512-5lBTZmgQmARLLSYiwI71tiGVTLUuqXantZM6vlSY39OaDSV0M7+32K5DnLkmFrwTe+Ksz0ffuLUC91RUviVZfw== +eslint-plugin-react@^7.31.9: + version "7.31.9" + resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.31.9.tgz#7474ad4e21db368f61d17e1f2e78d43dbbdd50b2" + integrity sha512-vrVJwusIw4L99lyfXjtCw8HWdloajsiYslMavogrBe2Gl8gr95TJsJnOMRasN4b4N24I3XuJf6aAV6MhyGmjqw== dependencies: array-includes "^3.1.5" array.prototype.flatmap "^1.3.0" From 1028ce0e8d19d69c4abc4c8ade0d7bf486ea6238 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 11 Oct 2022 13:25:48 +0800 Subject: [PATCH 31/39] build(deps-dev): bump eslint from 8.24.0 to 8.25.0 (#6444) Bumps [eslint](https://github.com/eslint/eslint) from 8.24.0 to 8.25.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v8.24.0...v8.25.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 24 +++++++++--------------- 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index 099c5f095389..9867f454451b 100644 --- a/package.json +++ b/package.json @@ -89,7 +89,7 @@ "directory-tree": "^3.3.1", "directory-tree-webpack-plugin": "^1.0.3", "duplexer": "^0.1.1", - "eslint": "^8.24.0", + "eslint": "^8.25.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-cypress": "^2.12.1", "eslint-plugin-mdx": "^2.0.5", diff --git a/yarn.lock b/yarn.lock index 918a92546127..61cfbdb964d0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1203,10 +1203,10 @@ "@docsearch/css" "3.0.0-alpha.50" algoliasearch "^4.0.0" -"@eslint/eslintrc@^1.3.2": - version "1.3.2" - resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.3.2.tgz#58b69582f3b7271d8fa67fe5251767a5b38ea356" - integrity sha512-AXYd23w1S/bv3fTs3Lz0vjiYemS08jWkI3hYyS9I1ry+0f+Yjs1wm+sU0BS8qDOPrBIkp4qHYC16I8uVtpLajQ== +"@eslint/eslintrc@^1.3.3": + version "1.3.3" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.3.3.tgz#2b044ab39fdfa75b4688184f9e573ce3c5b0ff95" + integrity sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg== dependencies: ajv "^6.12.4" debug "^4.3.2" @@ -1259,11 +1259,6 @@ debug "^4.1.1" minimatch "^3.0.4" -"@humanwhocodes/gitignore-to-minimatch@^1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@humanwhocodes/gitignore-to-minimatch/-/gitignore-to-minimatch-1.0.2.tgz#316b0a63b91c10e53f242efb4ace5c3b34e8728d" - integrity sha512-rSqmMJDdLFUsyxR6FMtD00nfQKKLFb1kv+qBbOVKqErvloEIJLo5bDTJTQNTYgeyp78JsA7u/NPi5jT1GR/MuA== - "@humanwhocodes/module-importer@^1.0.1": version "1.0.1" resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c" @@ -5008,14 +5003,13 @@ eslint-visitor-keys@^3.3.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz#f6480fa6b1f30efe2d1968aa8ac745b862469826" integrity sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA== -eslint@^8.24.0: - version "8.24.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.24.0.tgz#489516c927a5da11b3979dbfb2679394523383c8" - integrity sha512-dWFaPhGhTAiPcCgm3f6LI2MBWbogMnTJzFBbhXVRQDJPkr9pGZvVjlVfXd+vyDcWPA2Ic9L2AXPIQM0+vk/cSQ== +eslint@^8.25.0: + version "8.25.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.25.0.tgz#00eb962f50962165d0c4ee3327708315eaa8058b" + integrity sha512-DVlJOZ4Pn50zcKW5bYH7GQK/9MsoQG2d5eDH0ebEkE8PbgzTTmtt/VTH9GGJ4BfeZCpBLqFfvsjX35UacUL83A== dependencies: - "@eslint/eslintrc" "^1.3.2" + "@eslint/eslintrc" "^1.3.3" "@humanwhocodes/config-array" "^0.10.5" - "@humanwhocodes/gitignore-to-minimatch" "^1.0.2" "@humanwhocodes/module-importer" "^1.0.1" ajv "^6.10.0" chalk "^4.0.0" From 98f254cd5829db3895672cb248044369ddc07294 Mon Sep 17 00:00:00 2001 From: Sam Chen Date: Tue, 11 Oct 2022 18:40:25 +0800 Subject: [PATCH 32/39] docs(configuration): update configuration page (#6441) * docs(configuration): update configuration page * update heading * Update src/content/configuration/index.mdx Co-authored-by: Strek Co-authored-by: Strek --- src/content/configuration/index.mdx | 1153 +-------------------------- 1 file changed, 36 insertions(+), 1117 deletions(-) diff --git a/src/content/configuration/index.mdx b/src/content/configuration/index.mdx index 5660d2b46ff4..b9a81a214ce0 100644 --- a/src/content/configuration/index.mdx +++ b/src/content/configuration/index.mdx @@ -19,6 +19,7 @@ contributors: - anshumanv - textbook - coly010 + - chenxsan --- Out of the box, webpack won't require you to use a configuration file. However, it will assume the entry point of your project is `src/index.js` and will output the result in `dist/main.js` minified and optimized for production. @@ -43,1130 +44,48 @@ If for some reason you want to use a different configuration file depending on c } ``` -## Options - -Click on the name of each option in the configuration code below to jump to the detailed documentation. Also note that the items with arrows can be expanded to show more examples and, in some cases, more advanced configurations. - -W> Notice that throughout the configuration we use Node's built-in [path module](https://nodejs.org/api/path.html) and prefix it with the [\_\_dirname](https://nodejs.org/docs/latest/api/globals.html#globals_dirname) global. This prevents file path issues between operating systems and allows relative paths to work as expected. See [this section](https://nodejs.org/api/path.html#path_windows_vs_posix) for more info on POSIX vs. Windows paths. - -W> Notice that many array configurations allow to reference the default value via `"..."`. - -**webpack.config.js** - -```js-with-links-details -const path = require('path'); - -module.exports = { - name: "my-config", // name of the configuration, shown in output - - - mode: "production", // "production" | "development" | "none" - - mode: "production", // enable many optimizations for production builds - mode: "development", // enabled useful tools for development - mode: "none", // no defaults - - // Chosen mode tells webpack to use its built-in optimizations accordingly. - - - entry: "./app/entry", // string | object | array - - entry: ["./app/entry1", "./app/entry2"], - entry: { - a: "./app/entry-a", - b: ["./app/entry-b1", "./app/entry-b2"] - }, - entry: { - a: { - import: "./app/entry-a", - library: { type: "commonjs-module" }, - dependOn: ["vendors"], - filename: "entries/a.js", - runtime: "dashboard", - chunkLoading: "jsonp", - wasmLoading: "fetch-streaming" - }, - vendors: ["react", "react-dom"] - } - - // defaults to ./src - // Here the application starts executing - // and webpack starts bundling - - - output: { - - - // options related to how webpack emits results - - - path: path.resolve(__dirname, "dist"), // string (default) - - - // the target directory for all output files - // must be an absolute path (use the Node.js path module) - - - filename: "[name].js", // string (default) - - filename: "[contenthash].js", // for long term caching - - // the filename template for entry chunks - - - publicPath: "/assets/", // string - - publicPath: "auto", // determined automatically from script tag (default) - publicPath: "", // relative to HTML file - publicPath: "/", // relative to server root - publicPath: "https://cdn.example.com/", // absolute URL - - // the url to the output directory resolved relative to the HTML page - - - library: { // There is also an old syntax for this available (click to show) - - // Old syntax: - library: "MyLibrary", // string, - libraryTarget: "umd", // = library.type - auxiliaryComment: "comment", // = library.auxiliaryComment - libraryExport: "default", // = library.export - - - - type: "umd", // universal module definition - - type: "umd2", // universal module definition (but optional externals will use globals) - type: "commonjs-module", // exported with module.exports - type: "commonjs2", // old name for "commonjs-module" - type: "commonjs", // exported as properties to exports - type: "amd", // defined with AMD define() method - type: "amd-require", // defined with AMD require() method (can't have exports) - type: "system", // exported to System.js - type: "this", // property set on this - type: "var", // variable defined in root scope (default) - type: "assign", // blind assignment - type: "global", // property set to global object as specified in output.globalObject - type: "window", // property set to window object - type: "self", // property set to self object - type: "jsonp", // jsonp wrapper - type: "module", // EcmaScript Module (not implemented yet) - - // the type of the exported library - - - name: "MyLibrary", // string | string[] - - name: ["MyCompany", "MyLibrary"], // Some types support creating nested objects - name: undefined, // Some types support unnamed library (default) - - // the name of the exported library - - - - /* Advanced output.library configuration (click to show) */ - - export: "default", // string | string[] - export: undefined, // expose the whole namespace object resp. module.exports value (default) - export: "named", // expose named exports - export: ["named", "property"], // expose nested properties - // the export of the entry module that should be exposed - auxiliaryComment: "comment", - auxiliaryComment: { amd: "comment", commonjs: "comment", commonjs2: "comment", root: "comment" }, - // Add a comment in the UMD wrapper - umdNamedDefine: false, - // Use a named define() for the AMD part of the UMD wrapper - - }, - uniqueName: "my-application", // (defaults to package.json "name") - // unique name for this build to avoid conflicts with other builds in the same HTML - - - /* Advanced output configuration (click to show) */ - - chunkFilename: "[name].js", - chunkFilename: "[id].js", - chunkFilename: "[contenthash].js", // for long term caching - // the filename template for additional chunks - assetModuleFilename: "[hash][ext][query]", // string - // the filename template for asset modules - webassemblyModuleFilename: "[hash].module.wasm", // string - // the filename template for wasm modules - sourceMapFilename: "[file].map", // string - sourceMapFilename: "sourcemaps/[file].map", // string - // the filename template of the source map location - devtoolModuleFilenameTemplate: "webpack:///[resource-path]", // string - // the name template for modules in a devtool - devtoolFallbackModuleFilenameTemplate: "webpack:///[resource-path]?[hash]", // string - // the name template for modules in a devtool (used for conflicts) - crossOriginLoading: "use-credentials", // enum - crossOriginLoading: "anonymous", - crossOriginLoading: false, - // specifies how cross origin request are issued by the runtime - trustedTypes: false, // boolean (default) | string | object - // Trusted Types support - importFunctionName: "import", // string (default) - // expression that is called when using import() - // can be replaced to use polyfills - importMetaName: "import.meta", // string (default) - // expression that is used when using import.meta - // can be replaced to use polyfills - - - - /* Expert output configuration 1 (on own risk) */ - - pathinfo: true, // boolean - // include useful path info about modules, exports, requests, etc. into the generated code - charset: true, // string - // add charset attribute to injected script tags - chunkLoadTimeout: 120000, // number (default) - // timeout for loading chunks - compareBeforeEmit: true, // boolean (default) - // compare the generated asset with the asset on disk before writing to disk - strictModuleExceptionHandling: true, // boolean - // handle errors in module evaluation correctly, but for a performance cost - devtoolNamespace: "MyLibrary", // string - // prefix in the source names for devtools - // defaults to output.uniqueName - environment: { - // Properties about the environment - arrowFunction: true, - bigIntLiteral: true, - const: true, - destructuring: true, - dynamicImport: true, - forOf: true, - module: true - }, - globalObject: "self", // string (default), - // expression that points to the global object - iife: true, // boolean (default) - // wrap the bundle in a IIFE for isolation - module: false, // boolean (default) - // generate a module type javascript file instead of a classic script - scriptType: "module" - // adds a type attribute to injected script tags - - - - /* Expert output configuration 2 (on own risk) */ - - chunkLoading: "jsonp" // "jsonp" | "import-scripts" | "require" | "async-node" | false - // method of loading chunks - chunkLoadingGlobal: "myWebpackJsonp", // string - // name of the global variable used to load chunks - enabledChunkLoadingTypes: ["jsonp"], // string[] - // the chunk loading methods that are available - enabledLibraryTypes: ["var"], // string[] - // the library types that are available - enabledWasmLoadingTypes: ["var"], // string[] - // the wasm loading methods that are available - chunkFormat: "array-push", - chunkFormat: "commonjs", - chunkFormat: false, - // the format of chunks - hotUpdateMainFilename: "[fullhash].hot-update.json", // string - // filename template for HMR manifest - hotUpdateChunkFilename: "[id].[fullhash].hot-update.js", // string - // filename template for HMR chunks - hotUpdateGlobal: "hmrUpdateFunction", // string - // the name of the global variable used to load hot update chunks - sourcePrefix: "\t", // string - // prefix module sources in bundle for better readability - // but breaks multi-line template strings - hashFunction: "md4", // string (default) - // hash function used in general - hashDigest: "hex", // string (default) - // hash digest type used - hashDigestLength: 20, // number (default) - // length of hashes - hashSalt: "salt", // string | Buffer - // an additional hash salt to fix hash related issues or change the hash in general - - }, - module: { - // configuration regarding modules - rules: [ - // rules for modules (configure loaders, parser options, etc.) - { - // Conditions: - test: /\.jsx?$/, - include: [ - path.resolve(__dirname, "app") - ], - exclude: [ - path.resolve(__dirname, "app/demo-files") - ], - // these are matching conditions, each accepting a regular expression or string - // test and include have the same behavior, both must be matched - // exclude must not be matched (takes preferrence over test and include) - // Best practices: - // - Use RegExp only in test and for filename matching - // - Use arrays of absolute paths in include and exclude to match the full path - // - Try to avoid exclude and prefer include - // Each condition can also receive an object with "and", "or" or "not" properties - // which are an array of conditions. - issuer: /\.css$/, - issuer: path.resolve(__dirname, "app"), - issuer: { and: [ /\.css$/, path.resolve(__dirname, "app") ] }, - issuer: { or: [ /\.css$/, path.resolve(__dirname, "app") ] }, - issuer: { not: [ /\.css$/ ] }, - issuer: [ /\.css$/, path.resolve(__dirname, "app") ], // like "or" - // conditions for the issuer (the origin of the import) - - - /* Advanced conditions (click to show) */ - - resource: /\.css$/, - // matches the resource of the module, behaves equal to "test" and "include" - compiler: /html-webpack-plugin/, - // matches the name of the child compilation - dependency: "esm", // import-style dependencies - dependency: "commonjs", // require-style dependencies - dependency: "amd", // AMD-style dependency - dependency: "wasm", // WebAssembly imports section - dependency: "url", // new URL(), url() and similar - dependency: "worker", // new Worker() and similar - dependency: "loader", // this.loadModule in loaders - // matches the type of dependency - descriptionData: { type: "module" }, - // matches information from the package.json - mimetype: "text/javascript", - // matches the mimetype in DataUris - realResource: /\.css$/, - // matches the resource but ignores when resource was been renamed - resourceFragment: "#blah", - // matches the fragment part of the resource request - resourceQuery: "?blah" - // matches the query part of the resource request - - - // Actions: - loader: "babel-loader", - // the loader which should be applied, it'll be resolved relative to the context - options: { - presets: ["es2015"] - }, - // options for the loader - use: [ - // apply multiple loaders and options instead - "htmllint-loader", - { - loader: "html-loader", - options: { - // ... - } - } - ], - - - type: "javascript/auto", - - type: "javascript/auto", // JS with all features - type: "javascript/esm", // JS enforced to strict ESM - type: "javascript/dynamic", // JS enforced to non-ESM - type: "json", // JSON data - type: "webassembly/async", // WebAssembly as async module - type: "webassembly/sync", // WebAssembly as sync module - - // specifies the module type - - - /* Advanced actions (click to show) */ - - enforce: "pre", - enforce: "post", - // flags to apply these rules, even if they are overridden - generator: { /* ... */ }, - // Options for the generator (depends on module type) - parser: { /* ... */ }, - // Options for the parser (depends on module type) - resolve: { /* ... */ }, - // Resolve options (same as "resolve" in configuration) - sideEffects: false, // boolean - // Overrides "sideEffects" from package.json - - }, - { - oneOf: [ - // ... (rules) - ] - // only use one of these nested rules - }, - { - // ... (conditions) - rules: [ - // ... (rules) - ] - // use all of these nested rules (combine with conditions to be useful) - }, - ], - - - /* Advanced module configuration (click to show) */ - - noParse: [ - /special-library\.js$/ - ], - // do not parse this module - unknownContextRequest: ".", - unknownContextRecursive: true, - unknownContextRegExp: /^\.\/.*$/, - unknownContextCritical: true, - exprContextRequest: ".", - exprContextRegExp: /^\.\/.*$/, - exprContextRecursive: true, - exprContextCritical: true, - wrappedContextRegExp: /.*/, - wrappedContextRecursive: true, - wrappedContextCritical: false, - // specifies default behavior for dynamic requests - - }, - resolve: { - // options for resolving module requests - // (does not apply to resolving of loaders) - - - modules: [ - "node_modules", - path.resolve(__dirname, "app") - ], - - modules: [ "node_modules" ], - // A filename (non-absolute) means this folder is looked up - // in all parent directories - modules: [ path.resolve(__dirname, "app") ], - // An absolute path means exactly this folder - - // directories where to look for modules (in order) - extensions: [".js", ".json", ".jsx", ".css"], - // extensions that are used - alias: { - // a list of module name aliases - // aliases are imported relative to the current context - "module": "new-module", - // alias "module" -> "new-module" and "module/path/file" -> "new-module/path/file" - "only-module$": "new-module", - // alias "only-module" -> "new-module", but not "only-module/path/file" -> "new-module/path/file" - "module": path.resolve(__dirname, "app/third/module.js"), - // alias "module" -> "./app/third/module.js" and "module/file" results in error - "module": path.resolve(__dirname, "app/third"), - // alias "module" -> "./app/third" and "module/file" -> "./app/third/file" - [path.resolve(__dirname, "app/module.js")]: path.resolve(__dirname, "app/alternative-module.js"), - // alias "./app/module.js" -> "./app/alternative-module.js" - }, - - - /* Alternative alias syntax (click to show) */ - - alias: [ - { - name: "module", - // the old request - alias: "new-module", - // the new request - onlyModule: true - // if true only "module" is aliased - // if false "module/inner/path" is also aliased - } - ], - - - - /* Advanced resolve configuration (click to show) */ - - conditionNames: ["myCompanyCondition", "..."], - // conditions used for the "exports" and "imports" field in description file - roots: [path.resolve(__dirname, "app/root")], - // locations where to resolve server-relative requests (starting with "/") - // This behavior is only applied when the request doesn't resolve as absolute path - fallback: { "events": path.resolve(__dirname, "events.js") }, - // Similar to alias, but only applied when the normal resolving fails - mainFields: ["main"], - // properties that are read from description file - // when a folder is requested - restrictions: [ /\.js$/, path.resolve(__dirname, "app") ], - // To successful resolve the result must match these criteria - cache: true, // boolean - // enable safe caching of resolving - // this is safe as it tracks and validates all resolving dependencies - unsafeCache: true, - unsafeCache: {}, - // enables unsafe caching for resolved requests - // this is unsafe as there is no validation - // but performance improvement is really big - plugins: [ - // ... - ], - // additional plugins applied to the resolver - - - - /* Expert resolve configuration (click to show) */ - - symlinks: true, // (default) - // follow symlinks to new location - descriptionFiles: ["package.json"], // (default) - // files that are read for package description - aliasFields: ["browser"], - // properties that are read from description file - // to alias requests in this package - exportsFields: ["exports"], // (default) - // fields in description file that are used for external module request - importsFields: ["imports"], // (default) - // fields in description file that are used for internal request - mainFiles: ["index"], - // files that are used when resolving in a directory and no mainField applies - fullySpecified: true, // boolean - // Input request is already full specified (it includes filename and extension) - // Module requests are still resolved as usual - preferRelative: true, // boolean - // Try to resolve module requests also a relative request - enforceExtension: false, - // if true request must not include an extension - // if false request may already include an extension - cachePredicate: ({ path, request }) => true, - // predicate function which selects requests for caching - cacheWithContext: false, // (default) - // include context information in cache key - // This must be set to true when custom plugins resolve depending on - // those information - useSyncFileSystemCalls: false, // (default) - // use sync fs calls instead of async fs calls - byDependency: { commonjs: { extensions: [".js", "..."] } }, - // change resolving depending on issuer dependency - - }, - performance: { - - - hints: "warning", // enum - - hints: "error", // emit errors for perf hints - hints: false, // turn off perf hints - - maxAssetSize: 200000, // int (in bytes), - maxEntrypointSize: 400000, // int (in bytes) - assetFilter: function(assetFilename) { - // Function predicate that provides asset filenames - return assetFilename.endsWith('.css') || assetFilename.endsWith('.js'); - } - }, - - - devtool: "source-map", // enum - - devtool: "inline-source-map", // inlines SourceMap into original file - devtool: "hidden-source-map", // SourceMap without reference in original file - devtool: "eval-source-map", // inlines SourceMap per module - devtool: "cheap-source-map", // cheap-variant of SourceMap without module mappings - devtool: "cheap-module-source-map", // cheap-variant of SourceMap with module mappings - devtool: "eval-cheap-module-source-map", // like above but per module - devtool: "eval", // no SourceMap, but named modules. Fastest at the expense of detail. - devtool: false, // no SourceMap - - // enhance debugging by adding meta info for the browser devtools - // source-map most detailed at the expense of build speed. - context: __dirname, // string (absolute path!) - // the home directory for webpack - // the entry and module.rules.loader option - // is resolved relative to this directory - - - target: "web", // enum - - target: "browserslist", // use browserslist - target: "browserslist:modern", // use browserslist "modern" preset - target: "browserslist:Chrome >= 43", // use browserslist query - target: `browserslist:${path.resolve(__dirname, "browserslist.json")}`, - target: `browserslist:${path.resolve(__dirname, "browserslist.json")}:modern`, - target: "webworker", // WebWorker - target: "node", // Node.js via require - target: "node10.13", // Node.js via require - target: "async-node10.13", // Node.js via fs and vm - target: "nwjs0.43", // nw.js - target: "electron11.0-main", // electron, main process - target: "electron11-renderer", // electron, renderer process - target: "electron-preload", // electron, preload script - target: ["web", "es5"], // combining targets - target: ["web", "es2020"], - target: false, // custom target, via plugin - - // the environment in which the bundle should run - // changes chunk loading behavior, available external modules - // and generated code style - - - externals: ["react", /^@angular/], - - externals: "react", // string (exact match) - externals: /^[a-z\-]+($|\/)/, // Regex - externals: { // object - angular: "this angular", // this["angular"] - react: { // UMD - commonjs: "react", - commonjs2: "react", - amd: "react", - root: "React" - } - }, - externals: ({ context, request }, callback) => { /* ... */ callback(null, "commonjs " + request); } - - // Don't follow/bundle these modules, but request them at runtime from the environment - - - externalsType: "var", // (defaults to output.library.type) - - externalsType: "this", // this["EXTERNAL"] - externalsType: "window", // window["EXTERNAL"] - externalsType: "self", // self["EXTERNAL"] - externalsType: "global", // property from output.globalObject - externalsType: "commonjs", // require("EXTERNAL") - externalsType: "amd", // define(["EXTERNAL"], ...), only with AMD library - externalsType: "umd", // only with UMD library - externalsType: "system", // only with System.js library - externalsType: "jsonp", // only with jsonp library - externalsType: "import", // import("EXTERNAL") - externalsType: "module", // import X from "EXTERNAL" - externalsType: "var", // EXTERNAL (name is an expression) - externalsType: "promise", // await EXTERNAL (name is an expression giving a Promise) - - // Type of externals, when not specified inline in externals - - - externalsPresets: { /* ... */ }, - - externalsPresets: { - electron: true, - electronMain: true, - electronPreload: true, - electronRenderer: true, - node: true, - nwjs: true, - web: true, - webAsync: true, - } - - // presets of externals - - - ignoreWarnings: [/warning/], - - ignoreWarnings: [ - /warning/, - { - file: /asset/, - module: /module/, - message: /warning/, - }, - (warning, compilation) => true - ], - - - - stats: "errors-only", - - stats: "verbose", // nearly all information - stats: "detailed", // much information - stats: "minimal", // summarized information - stats: "errors-warnings", // only errors and warnings - stats: "errors-only", // only errors - stats: "summary", // only one line summary - stats: "none", // none at all - - stats: { - // lets you precisely control what bundle information gets displayed - - - preset: "errors-only", - - preset: "verbose", // nearly all information - preset: "detailed", // much information - preset: "minimal", // summarized information - preset: "errors-warnings", // only errors and warnings - preset: "errors-only", // only errors - preset: "summary", // only one line summary - preset: "none", // none at all - - // A stats preset - - - - /* Advanced global settings (click to show) */ - - all: false, - // switch all flags on or off - colors: true, - // switch colors on and off - context: __dirname, - // all paths will be relative to this directory - ids: true, - // include module and chunk ids in the output - - - env: true, - // include value of --env in the output - outputPath: true, - // include absolute output path in the output - publicPath: true, - // include public path in the output - - assets: true, - // show list of assets in output - - - /* Advanced assets settings (click to show) */ - - assetsSort: "size", - // sorting of assets - assetsSpace: 50, - // number of asset lines to display - cachedAssets: false, - // show assets that are caching in output - excludeAssets: /\.png$/, - // hide some assets - groupAssetsByPath: true, - // group assets by their path in the output directory - groupAssetsByExtension: true, - // group assets by their extension - groupAssetsByEmitStatus: true, - // group assets depending if they are cached, emitted or compared - groupAssetsByChunk: true, - // group assets by how they relate to chunks - groupAssetsByInfo: true, - // group assets by meta information like immutable, development, etc. - relatedAssets: true, - // show assets that are related to other assets, like SourceMaps, compressed version, etc. - performance: true, - // show performance hints next to assets and modules - - - entrypoints: true, - // show entrypoints list - chunkGroups: true, - // show named chunk group list - - - /* Advanced chunk group settings (click to show) */ - - chunkGroupAuxiliary: true, - // show auxiliary assets for entrypoints/chunk groups - chunkGroupChildren - // show child chunk groups for entrypoints/chunk groups - chunkGroupMaxAssets: 5, - // collapse chunk group assets lists when this limit has been reached - - - chunks: true, - // show list of chunks in output - - - /* Advanced chunk group settings (click to show) */ - - chunksSort: "size", - // sort chunks list - chunkModules: true, - // show modules contained in each chunk - chunkOrigins: true, - // show the origin of a chunk (why was this chunk created) - chunkRelations: true, - // show relations to other chunks (parents, children, siblings) - dependentModules: true, - // show modules that are dependencies of other modules in that chunk - - - modules: true, - // show list of modules in output - - - /* Advanced module settings (click to show) */ - - modulesSpace: 50, - // number of modules lines to display - nestedModules: true, - // show nested modules (when concatenated) - cachedModules: true, - // show modules that were cached - orphanModules: true, - // show modules that are not referenced in optimized graph anymore - excludeModules: /\.css$/, - // hide some modules - reasons: true, - // show the reasons why modules are included - source: true, - // include the Source Code of modules (only in JSON) - - - - /* Expert module settings (click to show) */ - - modulesSort: "size", - // sort modules list - groupModulesByPath: true, - // group modules by their resource path - groupModulesByExtension: true - // group modules by their extension - groupModulesByAttributes: true - // group modules by attributes like if the have errors/warnings/assets - // or are optional - groupModulesByCacheStatus: true, - // group modules depending if they are built, code was generated or if - // they are cacheable in general - depth: true, - // show depth in the module graph of modules - moduleAssets: true, - // show assets emitted by modules in module list - runtimeModules: true, - // show runtime modules in the modules list - - - - - /* Advanced optimization settings (click to show) */ - - providedExports: true, - // show exports provided by modules - usedExports: true, - // show which exports are used by modules - optimizationBailout: true, - // show information why optimizations bailed out for modules - - - children: true, - // show stats for child compilations - - logging: true, - // show logging in output - loggingDebug: /webpack/, - // show debug type logging for some loggers - loggingTrace: true, - // show stack traces for warnings and errors in logging output - - warnings: true, - // show warnings - - errors: true, - // show errors - errorDetails: true, - // show details for errors - errorStack: true, - // show internal stack trace for errors - moduleTrace: true, - // show module trace for errors - // (why was causing module referenced) - - builtAt: true, - // show timestamp in summary - errorsCount: true, - // show errors count in summary - warningsCount: true, - // show warnings count in summary - timings: true, - // show build timing in summary - version: true, - // show webpack version in summary - hash: true, - // show build hash in summary - }, - devServer: { - proxy: { // proxy URLs to backend development server - '/api': 'http://localhost:3000' - }, - static: path.join(__dirname, 'public'), // boolean | string | array | object, static file location - compress: true, // enable gzip compression - historyApiFallback: true, // true for index.html upon 404, object for multiple paths - hot: true, // hot module replacement. Depends on HotModuleReplacementPlugin - https: false, // true for self-signed, object for cert authority - // ... - }, - experiments: { - asyncWebAssembly: true, - // WebAssembly as async module (Proposal) - syncWebAssembly: true, - // WebAssembly as sync module (deprecated) - outputModule: true, - // Allow to output ESM - topLevelAwait: true, - // Allow to use await on module evaluation (Proposal) - }, - plugins: [ - // ... - ], - // list of additional plugins - optimization: { - chunkIds: "size", - // method of generating ids for chunks - moduleIds: "size", - // method of generating ids for modules - mangleExports: "size", - // rename export names to shorter names - minimize: true, - // minimize the output files - minimizer: [new CssMinimizer(), "..."], - // minimizers to use for the output files - - - - /* Advanced optimizations (click to show) */ - - concatenateModules: true, - // concatenate multiple modules into a single one - emitOnErrors: true, - // emit output files even if there are build errors - flagIncludedChunks: true, - // avoid downloading a chunk if it's fully contained in - // an already loaded chunk - innerGraph: true, - // determine references without modules between symbols - mergeDuplicateChunks: true, - // merge chunks if they are equal - nodeEnv: "production", - // value of process.env.NODE_ENV inside of modules - portableRecords: true, - // use relative paths in records - providedExports: true, - // determine which exports are exposed by modules - usedExports: true, - // determine which exports are used by modules and - // remove the unused ones - realContentHash: true, - // calculate a contenthash for assets based on the content - removeAvailableModules: true, - // run extra pass to determine modules that are already in - // parent chunks and remove them - removeEmptyChunks: true, - // remove chunks that are empty - runtimeChunk: "single", - // change placement of runtime code - sideEffects: true, - // skip modules that are side effect free when using reexports - - - splitChunks: { - cacheGroups: { - "my-name": { - // define groups of modules with specific - // caching behavior - test: /\.sass$/, - type: "css/mini-extract", - - - - /* Advanced selectors (click to show) */ - - chunks: "async", - minChunks: 1, - enforceSizeThreshold: 100000, - minSize: 0, - minRemainingSize: 0, - usedExports: true, - maxAsyncRequests: 30, - maxInitialRequests: 30, - - - - - /* Advanced effects (click to show) */ - - maxAsyncSize: 200000, - maxInitialSize: 100000, - maxSize: 200000, - filename: "my-name-[contenthash].js", - idHint: "my-name", - name: false, - hidePathInfo: true, - automaticNameDelimiter: "-", - - } - }, - - - - fallbackCacheGroup: { /* Advanced (click to show) */ } - - fallbackCacheGroup: { - automaticNameDelimiter: "-" - minSize: 20000, - maxAsyncSize: 200000, - maxInitialSize: 100000, - maxSize: 200000, - }, - - - - - /* Advanced selectors (click to show) */ - - chunks: "all", - // select which chunks should be optimized - usedExports: true, - // treat modules as equal only when used exports are equal - minChunks: 1, - // minimum number of chunks a module must be in - enforceSizeThreshold: 100000, - // ignore when following criteria when size of modules - // is above this threshold - minSize: 20000, - // size of modules must be above this threshold - minRemainingSize: 20000, - // when modules are removed from a single chunk - // the size of the modules that are remaining - // must be above this threshold - maxAsyncRequests: 30, - maxInitialRequests: 30, - // number of parallel requests for a single on demand loading - // resp. entrypoint but be above this threshold - - - - - /* Advanced effects (click to show) */ - - maxAsyncSize: 200000, - maxInitialSize: 100000, - maxSize: 200000, - // when size of modules in the new chunk is above this - // threshold, split it further - filename: "[contenthash].js", - // give the new chunk a different filename - name: false, // false | string | (module, chunks, key) => string - // give the new chunk a different name - // when an existing name is used, chunks are merged - // non-splitChunks chunks can only be selected, when they are - // a parent or sibling chunk of all selected modules - hidePathInfo: true, - // hide path info when splitting via "maxSize" - automaticNameDelimiter: "-", - // use this separator to separate original name from path info - // when splitting via "maxSize" - - - - - /* Expert settings (click to show) */ - - defaultSizeTypes: ["javascript", "..."] - // when using numbers for sizes measure these size types - // minSize: { javascript: 10000 } allows to be more specific - - } - }, - - - /* Advanced configuration (click to show) */ - - loader: { /* ... */ }, - // add custom API or properties to loader context - resolveLoader: { /* same as resolve */ } - // separate resolve options for loaders - node: { - // Polyfills and mocks to run Node.js- - // environment code in non-Node environments. - global: true, // boolean - // replace "global" with the output.globalObject - __filename: "mock", // boolean | "mock" | "eval-only" - __dirname: "mock", // boolean | "mock" | "eval-only" - // true: includes the real path - // "mock": includes a fake path - // "eval-only": only defines it at compile-time - // false: disables all handling - }, - recordsPath: path.resolve(__dirname, "build/records.json"), - recordsInputPath: path.resolve(__dirname, "build/records.json"), - recordsOutputPath: path.resolve(__dirname, "build/records.json"), - // store ids into a file to make the build even more deterministic - - - - /* Advanced caching configuration (click to show) */ - - cache: false, // boolean - // disable/enable caching - snapshot: { - managedPaths: [ path.resolve(__dirname, "node_modules") ], - // paths that are snapshot using only package.json name and version - immutablePaths: [ path.resolve(__dirname, ".yarn/cache") ], - // paths that doesn't need to be snapshot as they are immutable - module: { timestamp: true, hash: true }, - resolve: { timestamp: true, hash: false }, - resolveBuildDependencies: { timestamp: true, hash: false }, - buildDependencies: { timestamp: true, hash: true }, - // snapshot method for different operations - }, - watch: true, // boolean - // enables watching - watchOptions: { - aggregateTimeout: 1000, // in ms - // aggregates multiple changes to a single rebuild - poll: true, - poll: 500, // interval in ms - // enables polling mode for watching - // must be used on filesystems that doesn't notify on change - // i. e. nfs shares - }, - - - - /* Advanced build configuration (click to show) */ - - infrastructureLogging: { - level: "none", - level: "error", - level: "warn", - level: "info", // (default) - level: "log", - level: "verbose", - debug: true, - debug: /webpack/, - debug: [ "MyPlugin", /webpack/ ] - }, - parallelism: 1, // number - // limit the number of parallel processed modules - profile: true, // boolean - // capture timing information - bail: true, //boolean - // fail out on the first error instead of tolerating it. - dependencies: ["name"], - // When using an array of configs this can be used to reference other - // configs and let this config run after the other config at initial build - -} -``` +## Set up a new webpack project W> webpack applies configuration defaults after [plugins defaults](/contribute/writing-a-plugin/#configuration-defaults) are applied. -Use [webpack-cli's `init` command](/api/cli/#init) to rapidly generate webpack configuration files for your project requirements, it will ask you a couple of questions before creating a configuration file. +Webpack has a huge set of options which might be overwhelming to you, please take advantage of [webpack-cli's `init` command](/api/cli/#init) which could rapidly generate webpack configuration files for your project requirements, it will ask you a couple of questions before creating a configuration file. ```bash -npx webpack-cli init +npx webpack init ``` -npx might prompt you to install `@webpack-cli/init` if it is not yet installed in the project or globally. You might also get additional packages installed to your project depending on the choices you've made during the configuration generation. +npx might prompt you to install `@webpack-cli/generators` if it is not yet installed in the project or globally. You might also get additional packages installed to your project depending on the choices you've made during the configuration generation. ```bash -npx webpack-cli init - -ℹ INFO For more information and a detailed description of each question, have a look at https://github.com/webpack/webpack-cli/blob/master/INIT.md -ℹ INFO Alternatively, run `webpack(-cli) --help` for usage info. - -? Will your application have multiple bundles? No -? Which module will be the first to enter the application? [default: ./src/index] -? Which folder will your generated bundles be in? [default: dist]: -? Will you be using ES2015? Yes -? Will you use one of the below CSS solutions? No - -+ babel-plugin-syntax-dynamic-import@6.18.0 -+ uglifyjs-webpack-plugin@2.0.1 -+ webpack-cli@3.2.3 -+ @babel/core@7.2.2 -+ babel-loader@8.0.4 -+ @babel/preset-env@7.1.0 -+ webpack@4.29.3 -added 124 packages from 39 contributors, updated 4 packages and audited 25221 packages in 7.463s -found 0 vulnerabilities - - -Congratulations! Your new webpack configuration file has been created! +$ npx webpack init + +[webpack-cli] For using this command you need to install: '@webpack-cli/generators' package. +[webpack-cli] Would you like to install '@webpack-cli/generators' package? (That will run 'npm install -D @webpack-cli/generators') (Y/n) +devDependencies: ++ @webpack-cli/generators 2.5.0 +? Which of the following JS solutions do you want to use? ES6 +? Do you want to use webpack-dev-server? Yes +? Do you want to simplify the creation of HTML files for your bundle? Yes +? Do you want to add PWA support? No +? Which of the following CSS solutions do you want to use? CSS only +? Will you be using PostCSS in your project? Yes +? Do you want to extract CSS for every file? Only for Production +? Do you like to install prettier to format generated configuration? Yes +? Pick a package manager: pnpm +[webpack-cli] ℹ INFO Initialising project... + +devDependencies: ++ @babel/core 7.19.3 ++ @babel/preset-env 7.19.4 ++ autoprefixer 10.4.12 ++ babel-loader 8.2.5 ++ css-loader 6.7.1 ++ html-webpack-plugin 5.5.0 ++ mini-css-extract-plugin 2.6.1 ++ postcss 8.4.17 ++ postcss-loader 7.0.1 ++ prettier 2.7.1 ++ style-loader 3.3.1 ++ webpack-dev-server 4.11.1 +[webpack-cli] Project has been initialised with webpack! ``` From 86a9696e4e1faa144935ad6ffde2ab1361b8d222 Mon Sep 17 00:00:00 2001 From: Sam Chen Date: Wed, 12 Oct 2022 08:44:42 +0800 Subject: [PATCH 33/39] enable markdownlint for mdx (#6446) * enable markdownlint for mdx * clean up .markdownlintignore --- .markdownlint.json | 6 +++++- .markdownlintignore | 1 + package.json | 6 +++--- src/content/api/loaders.mdx | 7 +++++-- src/content/api/module-variables.mdx | 2 ++ src/content/configuration/experiments.mdx | 4 ++++ src/content/configuration/module.mdx | 16 +++++++++++++--- src/content/configuration/output.mdx | 1 + src/content/configuration/resolve.mdx | 1 + src/content/configuration/watch.mdx | 2 ++ yarn.lock | 7 +------ 11 files changed, 38 insertions(+), 15 deletions(-) create mode 100644 .markdownlintignore diff --git a/.markdownlint.json b/.markdownlint.json index 076470ed892d..916a1ee4a813 100644 --- a/.markdownlint.json +++ b/.markdownlint.json @@ -3,13 +3,17 @@ "MD002": false, "MD004": { "style": "dash" }, "MD007": { "indent": 2 }, - "MD013": { "line_length": 600 }, + "MD013": { "line_length": 600, "code_blocks": false }, + "MD024": { + "siblings_only": true + }, "MD026": false, "MD029": { "style": "ordered" }, "MD033": false, "MD034": false, "MD036": false, "MD041": false, + "MD053": false, "no-hard-tabs": false, "whitespace": false } diff --git a/.markdownlintignore b/.markdownlintignore new file mode 100644 index 000000000000..3c3629e647f5 --- /dev/null +++ b/.markdownlintignore @@ -0,0 +1 @@ +node_modules diff --git a/package.json b/package.json index 9867f454451b..f47d056a39ee 100644 --- a/package.json +++ b/package.json @@ -44,8 +44,8 @@ "lint": "run-s lint:*", "lint:js": "npm run lint-js .", "lint-js": "eslint --cache --cache-location .cache/.eslintcache", - "lint:markdown": "npm run lint-markdown *.md", - "lint-markdown": "markdownlint --config ./.markdownlint.json --ignore '.vale/**/*.md' --ignore '.github/**/*.md'", + "lint:markdown": "npm run lint-markdown '**/*.{md,mdx}'", + "lint-markdown": "markdownlint --config ./.markdownlint.json", "lint:prose": "vale --config='.vale.ini' src/content", "lint:links": "hyperlink -c 8 --root dist -r dist/index.html --canonicalroot https://webpack.js.org/ --internal --skip /plugins/extract-text-webpack-plugin/ --skip /printable --skip https:// --skip http:// --skip sw.js > internal-links.tap; cat internal-links.tap | tap-spot", "sitemap": "cd dist && sitemap-static --ignore-file=../sitemap-ignore.json --pretty --prefix=https://webpack.js.org/ > sitemap.xml", @@ -62,7 +62,7 @@ "*.{js,jsx,md,mdx}": [ "npm run lint-js" ], - "*.md": [ + "*.{md,mdx}": [ "npm run lint-markdown" ], "*.{js,jsx,css,scss,md,mdx,json}": [ diff --git a/src/content/api/loaders.mdx b/src/content/api/loaders.mdx index 1c6e41e051c8..e1f9047ee0bc 100644 --- a/src/content/api/loaders.mdx +++ b/src/content/api/loaders.mdx @@ -645,7 +645,7 @@ module.exports = function (source) { The module will get bundled like this: -``` +```text /***/ "./src/loader.js!./src/lib.js": /*!************************************!*\ !*** ./src/loader.js!./src/lib.js ***! @@ -722,7 +722,10 @@ module.exports = function (source) { if (STYLES_REGEXP.test(source)) { source = source.replace(STYLES_REGEXP, ''); return `import ${JSON.stringify( - this.utils.contextify(this.context || this.rootContext, `${this.resource}.css!=!${getStylesLoader}!${this.remainingRequest}`) + this.utils.contextify( + this.context || this.rootContext, + `${this.resource}.css!=!${getStylesLoader}!${this.remainingRequest}` + ) )};${source}`; } return source; diff --git a/src/content/api/module-variables.mdx b/src/content/api/module-variables.mdx index d02f43cebbc3..e8d7ba2b05fa 100644 --- a/src/content/api/module-variables.mdx +++ b/src/content/api/module-variables.mdx @@ -130,6 +130,7 @@ Returns the same value as `require.context` but only for `javascript/auto` and ` - Available: 5.70.0+ - Example: + ```js const contextRequire = import.meta.webpackContext('.', { recursive: false, @@ -285,6 +286,7 @@ Change base URI at runtime. - Type: `string` - Available: 5.21.0+ - Example: + ```js __webpack_base_uri__ = 'https://example.com'; ``` diff --git a/src/content/configuration/experiments.mdx b/src/content/configuration/experiments.mdx index 26ff622399d0..a1ef7fbb67dc 100644 --- a/src/content/configuration/experiments.mdx +++ b/src/content/configuration/experiments.mdx @@ -74,6 +74,7 @@ When enabled, webpack can build remote resources that begin with the `http(s):` A shortcut for [`experiments.buildHttp.allowedUris`](#experimentsbuildhttpalloweduris). - `HttpUriOptions` + ```ts { allowedUris: (string|RegExp|(uri: string) => boolean)[], @@ -134,6 +135,7 @@ Define the location for caching remote resources. - `string` - `false` - Example + ```javascript // webpack.config.js module.exports = { @@ -259,6 +261,7 @@ Compile entrypoints and dynamic `import`s only when they are in use. It can be u - Available: 5.17.0+ - Example 1: + ```js module.exports = { // … @@ -267,6 +270,7 @@ Compile entrypoints and dynamic `import`s only when they are in use. It can be u }, }; ``` + - Example 2: ```js diff --git a/src/content/configuration/module.mdx b/src/content/configuration/module.mdx index 551127762c9c..80f7034df65f 100644 --- a/src/content/configuration/module.mdx +++ b/src/content/configuration/module.mdx @@ -147,6 +147,7 @@ Enable [magic comments](/api/module-methods/#magic-comments) support for CommonJ - Type: `boolean` - Available: 5.17.0+ - Example: + ```js module.exports = { module: { @@ -172,6 +173,7 @@ Specifies global mode for dynamic import. - Type: `'eager' | 'weak' | 'lazy' | 'lazy-once'` - Available: 5.73.0+ - Example: + ```js module.exports = { module: { @@ -191,6 +193,7 @@ Specifies global prefetch for dynamic import. - Type: ` number | boolean` - Available: 5.73.0+ - Example: + ```js module.exports = { module: { @@ -210,6 +213,7 @@ Specifies global preload for dynamic import. - Type: ` number | boolean` - Available: 5.73.0+ - Example: + ```js module.exports = { module: { @@ -229,6 +233,7 @@ Specifies the behavior of invalid export names in `\"import ... from ...\"` and - Type: `'error' | 'warn' | 'auto' | false` - Available: 5.62.0+ - Example: + ```js module.exports = { module: { @@ -248,6 +253,7 @@ Specifies the behavior of invalid export names in `\"import ... from ...\"`. - Type: `'error' | 'warn' | 'auto' | false` - Available: 5.62.0+ - Example: + ```js module.exports = { module: { @@ -267,6 +273,7 @@ Enable or disable evaluating `import.meta`. - Type: `boolean = true` - Available: 5.68.0+ - Example: + ```js module.exports = { module: { @@ -286,6 +293,7 @@ Enable/disable evaluating [`import.meta.webpackContext`](/api/module-variables/# - Type: `boolean` - Available: 5.70.0+ - Example: + ```js module.exports = { module: { @@ -305,6 +313,7 @@ Specifies the behavior of invalid export names in `\"export ... from ...\"`. Thi - Type: `'error' | 'warn' | 'auto' | false` - Available: 5.62.0+ - Example: + ```js module.exports = { module: { @@ -323,6 +332,7 @@ Enable parsing of `new URL()` syntax. - Type: `boolean = true` | `'relative'` - Example: + ```js module.exports = { module: { @@ -337,12 +347,12 @@ Enable parsing of `new URL()` syntax. The `'relative'` value for `module.parser.javascript.url` is available since webpack . When used, webpack would generate relative URLs for `new URL()` syntax, i.e., there's no base URL included in the result URL: -``` +```html - + - + ``` 1. This is useful for SSR (Server side rendering) when base URL is not known by server (and it saves a few bytes). To be identical it must also be used for the client build. diff --git a/src/content/configuration/output.mdx b/src/content/configuration/output.mdx index 1fa1f2331058..e6867a4a5927 100644 --- a/src/content/configuration/output.mdx +++ b/src/content/configuration/output.mdx @@ -912,6 +912,7 @@ module.exports = { Specify a name for the library. - Type: + ```ts string | string[] | {amd?: string, commonjs?: string, root?: string | string[]} ``` diff --git a/src/content/configuration/resolve.mdx b/src/content/configuration/resolve.mdx index 72e593b07190..f75c6e1182d2 100644 --- a/src/content/configuration/resolve.mdx +++ b/src/content/configuration/resolve.mdx @@ -708,6 +708,7 @@ Configure resolve options by the type of module request. - Type: `[type: string]: ResolveOptions` - Example: + ```js module.exports = { // ... diff --git a/src/content/configuration/watch.mdx b/src/content/configuration/watch.mdx index 556b4b72c260..bdcc652ec7a4 100644 --- a/src/content/configuration/watch.mdx +++ b/src/content/configuration/watch.mdx @@ -150,6 +150,7 @@ Follow symbolic links while looking for a file. This is usually not needed as we - Type: `boolean` - Example: + ```js module.exports = { //... @@ -165,6 +166,7 @@ Stop watching when stdin stream has ended. - Type: `boolean` - Example: + ```js module.exports = { //... diff --git a/yarn.lock b/yarn.lock index 61cfbdb964d0..7439a88ca647 100644 --- a/yarn.lock +++ b/yarn.lock @@ -364,12 +364,7 @@ resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== -"@babel/helper-validator-identifier@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.18.6.tgz#9c97e30d31b2b8c72a1d08984f2ca9b574d7a076" - integrity sha512-MmetCkz9ej86nJQV+sFCxoGGrUbU3q02kgLciwkrt9QqEB7cP39oKEY0PakknEO0Gu20SskMRi+AYZ3b1TpN9g== - -"@babel/helper-validator-identifier@^7.19.1": +"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": version "7.19.1" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== From 3bc80c4ca59b555beb7a0afca8dd1e878dc56d19 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 12 Oct 2022 08:56:32 +0800 Subject: [PATCH 34/39] build(deps-dev): bump eslint-plugin-react from 7.31.9 to 7.31.10 (#6448) Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.31.9 to 7.31.10. - [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases) - [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md) - [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.31.9...v7.31.10) --- updated-dependencies: - dependency-name: eslint-plugin-react dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index f47d056a39ee..ceea2882ca6b 100644 --- a/package.json +++ b/package.json @@ -93,7 +93,7 @@ "eslint-config-prettier": "^8.5.0", "eslint-plugin-cypress": "^2.12.1", "eslint-plugin-mdx": "^2.0.5", - "eslint-plugin-react": "^7.31.9", + "eslint-plugin-react": "^7.31.10", "eslint-plugin-react-hooks": "^4.6.0", "front-matter": "^4.0.2", "github-slugger": "^1.4.0", diff --git a/yarn.lock b/yarn.lock index 7439a88ca647..c74151763830 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4945,10 +4945,10 @@ eslint-plugin-react-hooks@^4.6.0: resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz#4c3e697ad95b77e93f8646aaa1630c1ba607edd3" integrity sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g== -eslint-plugin-react@^7.31.9: - version "7.31.9" - resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.31.9.tgz#7474ad4e21db368f61d17e1f2e78d43dbbdd50b2" - integrity sha512-vrVJwusIw4L99lyfXjtCw8HWdloajsiYslMavogrBe2Gl8gr95TJsJnOMRasN4b4N24I3XuJf6aAV6MhyGmjqw== +eslint-plugin-react@^7.31.10: + version "7.31.10" + resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.31.10.tgz#6782c2c7fe91c09e715d536067644bbb9491419a" + integrity sha512-e4N/nc6AAlg4UKW/mXeYWd3R++qUano5/o+t+wnWxIf+bLsOaH3a4q74kX3nDjYym3VBN4HyO9nEn1GcAqgQOA== dependencies: array-includes "^3.1.5" array.prototype.flatmap "^1.3.0" From 79e794762a1e04f1fa0dbea89bd498a466553088 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 13 Oct 2022 08:44:37 +0800 Subject: [PATCH 35/39] build(deps-dev): bump cypress from 10.9.0 to 10.10.0 (#6449) Bumps [cypress](https://github.com/cypress-io/cypress) from 10.9.0 to 10.10.0. - [Release notes](https://github.com/cypress-io/cypress/releases) - [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md) - [Commits](https://github.com/cypress-io/cypress/compare/v10.9.0...v10.10.0) --- updated-dependencies: - dependency-name: cypress dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index ceea2882ca6b..0c48fd014d24 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,7 @@ "copy-webpack-plugin": "^11.0.0", "css-loader": "^6.7.1", "css-minimizer-webpack-plugin": "^4.2.1", - "cypress": "^10.9.0", + "cypress": "^10.10.0", "directory-tree": "^3.3.1", "directory-tree-webpack-plugin": "^1.0.3", "duplexer": "^0.1.1", diff --git a/yarn.lock b/yarn.lock index c74151763830..f0b7c9dd2ce2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4259,10 +4259,10 @@ csstype@^3.0.6: resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.0.6.tgz#865d0b5833d7d8d40f4e5b8a6d76aea3de4725ef" integrity sha512-+ZAmfyWMT7TiIlzdqJgjMb7S4f1beorDbWbsocyK4RaiqA5RTX3K14bnBWmmA9QEM0gRdsjyyrEmcyga8Zsxmw== -cypress@^10.9.0: - version "10.9.0" - resolved "https://registry.yarnpkg.com/cypress/-/cypress-10.9.0.tgz#273a61a6304766f9d6423e5ac8d4a9a11ed8b485" - integrity sha512-MjIWrRpc+bQM9U4kSSdATZWZ2hUqHGFEQTF7dfeZRa4MnalMtc88FIE49USWP2ZVtfy5WPBcgfBX+YorFqGElA== +cypress@^10.10.0: + version "10.10.0" + resolved "https://registry.yarnpkg.com/cypress/-/cypress-10.10.0.tgz#fd671297b2ca3e64dfffd55fe3857c388cfbb695" + integrity sha512-bU8r44x1NIYAUNNXt3CwJpLOVth7HUv2hUhYCxZmgZ1IugowDvuHNpevnoZRQx1KKOEisLvIJW+Xen5Pjn41pg== dependencies: "@cypress/request" "^2.88.10" "@cypress/xvfb" "^1.2.4" From ff92f618873c1f0e3cf93e7b6b267b279b3c6e18 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 14 Oct 2022 16:35:34 +0530 Subject: [PATCH 36/39] build(deps-dev): bump css-minimizer-webpack-plugin from 4.2.1 to 4.2.2 (#6450) Bumps [css-minimizer-webpack-plugin](https://github.com/webpack-contrib/css-minimizer-webpack-plugin) from 4.2.1 to 4.2.2. - [Release notes](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/releases) - [Changelog](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/compare/v4.2.1...v4.2.2) --- updated-dependencies: - dependency-name: css-minimizer-webpack-plugin dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 0c48fd014d24..707d297a009a 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ "babel-loader": "^8.2.5", "copy-webpack-plugin": "^11.0.0", "css-loader": "^6.7.1", - "css-minimizer-webpack-plugin": "^4.2.1", + "css-minimizer-webpack-plugin": "^4.2.2", "cypress": "^10.10.0", "directory-tree": "^3.3.1", "directory-tree-webpack-plugin": "^1.0.3", diff --git a/yarn.lock b/yarn.lock index f0b7c9dd2ce2..d64951292d4e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4125,10 +4125,10 @@ css-loader@^6.7.1: postcss-value-parser "^4.2.0" semver "^7.3.5" -css-minimizer-webpack-plugin@^4.2.1: - version "4.2.1" - resolved "https://registry.yarnpkg.com/css-minimizer-webpack-plugin/-/css-minimizer-webpack-plugin-4.2.1.tgz#ed5631d8d266b4e2d1389c502a746a93453423e8" - integrity sha512-ub12STsk3uXfHFTn9dtkI9nebvUKQ9rB0pn/6WNMRV77nqAOlOOJrrvsP8S8jngcnu+8ll3/9/xa7RCUNBVdOA== +css-minimizer-webpack-plugin@^4.2.2: + version "4.2.2" + resolved "https://registry.yarnpkg.com/css-minimizer-webpack-plugin/-/css-minimizer-webpack-plugin-4.2.2.tgz#79f6199eb5adf1ff7ba57f105e3752d15211eb35" + integrity sha512-s3Of/4jKfw1Hj9CxEO1E5oXhQAxlayuHO2y/ML+C6I9sQ7FdzfEV6QgMLN3vI+qFsjJGIAFLKtQK7t8BOXAIyA== dependencies: cssnano "^5.1.8" jest-worker "^29.1.2" From dcb367152a033e5eb5419ddde06955dd0ced2691 Mon Sep 17 00:00:00 2001 From: Jack Tomaszewski Date: Fri, 14 Oct 2022 13:35:01 +0200 Subject: [PATCH 37/39] docs(configuration): Warn about module output being not usable in webpack4 (#6453) --- src/content/configuration/output.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/configuration/output.mdx b/src/content/configuration/output.mdx index e6867a4a5927..59a323e4ffa4 100644 --- a/src/content/configuration/output.mdx +++ b/src/content/configuration/output.mdx @@ -1970,7 +1970,7 @@ module.exports = { }; ``` -W> `output.module` is an experimental feature and can only be enabled by setting [`experiments.outputModule`](/configuration/experiments/#experiments) to `true`. +W> `output.module` is an experimental feature and can only be enabled by setting [`experiments.outputModule`](/configuration/experiments/#experiments) to `true`. [One of the known problems](https://github.com/webpack/webpack/issues/11277#issuecomment-992565287) is that such a library can't be consumed by webpack4-based (and possibly other too) applications. ## output.path From dce33bc9ce9e72bde4321cd3aabee7042a989cdf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 14 Oct 2022 19:56:50 +0800 Subject: [PATCH 38/39] build(deps-dev): bump @octokit/auth-action from 2.0.1 to 2.0.2 (#6451) Bumps [@octokit/auth-action](https://github.com/octokit/auth-action.js) from 2.0.1 to 2.0.2. - [Release notes](https://github.com/octokit/auth-action.js/releases) - [Commits](https://github.com/octokit/auth-action.js/compare/v2.0.1...v2.0.2) --- updated-dependencies: - dependency-name: "@octokit/auth-action" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 22 +++++++++++++++++----- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 707d297a009a..e75380d47b41 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "@babel/preset-env": "^7.19.4", "@babel/preset-react": "^7.18.6", "@mdx-js/loader": "^2.0.0-next.9", - "@octokit/auth-action": "^2.0.1", + "@octokit/auth-action": "^2.0.2", "@octokit/rest": "^19.0.4", "@pmmmwh/react-refresh-webpack-plugin": "next", "@svgr/webpack": "^6.4.0", diff --git a/yarn.lock b/yarn.lock index d64951292d4e..92926c7cb687 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1873,13 +1873,13 @@ "@nodelib/fs.scandir" "2.1.3" fastq "^1.6.0" -"@octokit/auth-action@^2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@octokit/auth-action/-/auth-action-2.0.1.tgz#6b4757713b5067c022787806c2c666affb73f716" - integrity sha512-nh5UTN22jK7ll2BR+zS7yZXB6u9q2lsI+teOhdC/JCfws8guKjH3NynV0ipwERnwP11/GiHJ48Ji+HC5+R92ag== +"@octokit/auth-action@^2.0.2": + version "2.0.2" + resolved "https://registry.yarnpkg.com/@octokit/auth-action/-/auth-action-2.0.2.tgz#464392b6340d8c0359c075ca6f278a8ca0804652" + integrity sha512-uxYIO3eX7moMRr01jaLmfWAuj53cWPzF154yrqDkqySSrUmT0slQYx3uvDs5YC5twl3eeJYZaD5UQhl/8r5mWA== dependencies: "@octokit/auth-token" "^3.0.0" - "@octokit/types" "^7.0.0" + "@octokit/types" "^8.0.0" "@octokit/auth-token@^3.0.0": version "3.0.0" @@ -1929,6 +1929,11 @@ resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-13.0.1.tgz#f655810f0dc0547b771526fea171acffbc7bd4a8" integrity sha512-40U39YoFBhJhmkAg6gbJnh9U8aueJwCuiTW0mXY2pNl9/+E7dUxXiMPOrIUGT12XqLinroaXYA3FUiw3BMeNfg== +"@octokit/openapi-types@^14.0.0": + version "14.0.0" + resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-14.0.0.tgz#949c5019028c93f189abbc2fb42f333290f7134a" + integrity sha512-HNWisMYlR8VCnNurDU6os2ikx0s0VyEjDYHNS/h4cgb8DeOxQ0n72HyinUtdDVxJhFy3FWLGl0DJhfEWk3P5Iw== + "@octokit/plugin-paginate-rest@^4.0.0": version "4.0.0" resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-4.0.0.tgz#859a168262b657d46a8f1243ded66c87cee964b9" @@ -2003,6 +2008,13 @@ dependencies: "@octokit/openapi-types" "^13.0.0" +"@octokit/types@^8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/@octokit/types/-/types-8.0.0.tgz#93f0b865786c4153f0f6924da067fe0bb7426a9f" + integrity sha512-65/TPpOJP1i3K4lBJMnWqPUJ6zuOtzhtagDvydAWbEXpbFYA0oMKKyLb95NFZZP0lSh/4b6K+DQlzvYQJQQePg== + dependencies: + "@octokit/openapi-types" "^14.0.0" + "@pkgr/utils@^2.3.1": version "2.3.1" resolved "https://registry.yarnpkg.com/@pkgr/utils/-/utils-2.3.1.tgz#0a9b06ffddee364d6642b3cd562ca76f55b34a03" From 12b725a787c907043f7c8488dd77f500cba69f3f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 14 Oct 2022 20:06:40 +0800 Subject: [PATCH 39/39] build(deps-dev): bump postcss from 8.4.17 to 8.4.18 (#6452) Bumps [postcss](https://github.com/postcss/postcss) from 8.4.17 to 8.4.18. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.4.17...8.4.18) --- updated-dependencies: - dependency-name: postcss dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index e75380d47b41..9ac3d10ac5cb 100644 --- a/package.json +++ b/package.json @@ -113,7 +113,7 @@ "modularscale-sass": "^3.0.3", "node-fetch": "^3.2.10", "npm-run-all": "^4.1.1", - "postcss": "^8.4.17", + "postcss": "^8.4.18", "postcss-loader": "^7.0.1", "prettier": "^2.7.1", "react-refresh": "^0.14.0", diff --git a/yarn.lock b/yarn.lock index 92926c7cb687..173ee0bb79c1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9643,10 +9643,10 @@ postcss@^5.0.8, postcss@^5.2.4: source-map "^0.5.6" supports-color "^3.2.3" -postcss@^8.3.10, postcss@^8.4.14, postcss@^8.4.17, postcss@^8.4.7: - version "8.4.17" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.17.tgz#f87863ec7cd353f81f7ab2dec5d67d861bbb1be5" - integrity sha512-UNxNOLQydcOFi41yHNMcKRZ39NeXlr8AxGuZJsdub8vIb12fHzcq37DTU/QtbI6WLxNg2gF9Z+8qtRwTj1UI1Q== +postcss@^8.3.10, postcss@^8.4.14, postcss@^8.4.17, postcss@^8.4.18, postcss@^8.4.7: + version "8.4.18" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.18.tgz#6d50046ea7d3d66a85e0e782074e7203bc7fbca2" + integrity sha512-Wi8mWhncLJm11GATDaQKobXSNEYGUHeQLiQqDFG1qQ5UTDPTEvKw0Xt5NsTpktGTwLps3ByrWsBrG0rB8YQ9oA== dependencies: nanoid "^3.3.4" picocolors "^1.0.0"