@samitouri / QOS-React-2 / commits / 909c6dacfd

Update Rollup to 3.x (#26442)

<!-- Thanks for submitting a pull request! We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory. Before submitting a pull request, please make sure the following is done: 1. Fork [the repository](https://github.com/facebook/react) and create your branch from `main`. 2. Run `yarn` in the repository root. 3. If you've fixed a bug or added code that should be tested, add tests! 4. Ensure the test suite passes (`yarn test`). Tip: `yarn test --watch TestName` is helpful in development. 5. Run `yarn test --prod` to test in the production environment. It supports the same options as `yarn test`. 6. If you need a debugger, run `yarn test --debug --watch TestName`, open `chrome://inspect`, and press "Inspect". 7. Format your code with [prettier](https://github.com/prettier/prettier) (`yarn prettier`). 8. Make sure your code lints (`yarn lint`). Tip: `yarn linc` to only check changed files. 9. Run the [Flow](https://flowtype.org/) type checks (`yarn flow`). 10. If you haven't already, complete the CLA. Learn more about contributing: https://reactjs.org/docs/how-to-contribute.html --> ## Summary This PR: - Updates Rollup from 2.x to latest 3.x, and updates associated plugins - Updates deprecated / altered config settings in the Rollup plugin pipeline - Fixes some file extension and import issues related to use of ESM in `react-dom-webpack-server` - Removes a now-obsolete `strip-unused-imports` Rollup plugin - <s>Fixes an _existing_ bug with the Rollup 2.x plugin pipeline on `main` that was causing parts of `DOMProperty.js` to get left out of the `react-dom-webpack-server` JS bundles, by adding a new plugin to tell Rollup to treat that file as if it as side effects</s> This PR should be functionally identical to the other existing "Rollup 3 upgrade" PR at #26078 . I'm filing this as a near-duplicate because I'm ready to push this change through ASAP so that I can follow it up with a PR that adds sourcemap support, that PR's artifact diffing seems like it's possibly stuck and I want to compare the build results, and I've got this set up against latest `main`. <!-- Explain the **motivation** for making this change. What existing problem does the pull request solve? --> This gets React's build setup updated to the latest Rollup version, which is generally a good practice, but also ensures that any further Rollup config tweaks can be done using the current Rollup docs as a reference. ## How did you test this change? <!-- Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes the user interface. How exactly did you verify that your PR solves the issue you wanted to solve? If you leave this empty, your PR will very likely be closed. --> - Made builds from the latest `main` - Updated Rollup package versions and cross-compared the changes I needed to make locally to get successful builds vs #26078 - Diffed the output folders between `main` and this PR, and confirmed that the bundle contents are identical (with the exception of version strings and the `react-dom-webpack-server` bundle fix re-adding missing `DOMProperty.js` content)

Mark Erikson committed Mar 24, 2023 at 14:08 UTC 909c6dacfde06b87fa22f2e8506c47124cf982b5
8 files changed +142 -127
package.json
+6 -6
@@ -36,10 +36,10 @@
36 "@babel/preset-flow": "^7.10.4",
37 "@babel/preset-react": "^7.10.4",
38 "@babel/traverse": "^7.11.0",
39 - "@rollup/plugin-babel": "^5.3.1",
40 - "@rollup/plugin-commonjs": "^22.0.1",
41 - "@rollup/plugin-node-resolve": "^13.3.0",
42 - "@rollup/plugin-replace": "^4.0.0",
39 + "@rollup/plugin-babel": "^6.0.3",
40 + "@rollup/plugin-commonjs": "^24.0.1",
41 + "@rollup/plugin-node-resolve": "^15.0.1",
42 + "@rollup/plugin-replace": "^5.0.2",
43 "abortcontroller-polyfill": "^1.7.5",
44 "art": "0.10.1",
45 "babel-plugin-syntax-trailing-function-commas": "^6.5.0",
@@ -89,9 +89,9 @@
89 "random-seed": "^0.3.0",
90 "react-lifecycles-compat": "^3.0.4",
91 "rimraf": "^3.0.0",
92 - "rollup": "^2.76.0",
92 + "rollup": "^3.17.1",
93 "rollup-plugin-prettier": "^3.0.0",
94 - "rollup-plugin-strip-banner": "^2.0.0",
94 + "rollup-plugin-strip-banner": "^3.0.0",
95 "semver": "^7.1.1",
96 "targz": "^1.0.1",
97 "through2": "^3.0.1",
packages/react-devtools-extensions/package.json
-4
@@ -27,9 +27,6 @@
27 "@babel/plugin-transform-modules-commonjs": "^7.10.4",
28 "@babel/plugin-transform-react-jsx-source": "^7.10.5",
29 "@babel/preset-react": "^7.10.4",
30 - "@rollup/plugin-babel": "^5.3.1",
31 - "@rollup/plugin-commonjs": "^22.0.1",
32 - "@rollup/plugin-node-resolve": "^13.3.0",
30 "acorn-jsx": "^5.2.0",
31 "archiver": "^3.0.0",
32 "babel-core": "^7.0.0-bridge",
@@ -58,7 +55,6 @@
55 "os-name": "^3.1.0",
56 "parse-filepath": "^1.0.2",
57 "raw-loader": "^3.1.0",
61 - "rollup": "^2.76.0",
58 "source-map-js": "^0.6.2",
59 "sourcemap-codec": "^1.4.8",
60 "style-loader": "^0.23.1",
packages/react-server-dom-webpack/package.json
+1 -1
@@ -66,7 +66,7 @@
66 "./server.node.unbundled": "./server.node.unbundled.js",
67 "./node-loader": "./esm/react-server-dom-webpack-node-loader.production.min.js",
68 "./node-register": "./node-register.js",
69 - "./src/*": "./src/*",
69 + "./src/*": "./src/*.js",
70 "./package.json": "./package.json"
71 },
72 "main": "index.js",
scripts/rollup/build.js
+27 -6
@@ -18,7 +18,6 @@ const Stats = require('./stats');
18 const Sync = require('./sync');
19 const sizes = require('./plugins/sizes-plugin');
20 const useForks = require('./plugins/use-forks-plugin');
21 -const stripUnusedImports = require('./plugins/strip-unused-imports');
21 const dynamicImports = require('./plugins/dynamic-imports');
22 const Packaging = require('./packaging');
23 const {asyncRimRaf} = require('./utils');
@@ -174,6 +173,31 @@ function getBabelConfig(
173 return options;
174 }
175
176 +let getRollupInteropValue = id => {
177 + // We're setting Rollup to assume that imports are ES modules unless otherwise specified.
178 + // However, we also compile ES import syntax to `require()` using Babel.
179 + // This causes Rollup to turn uses of `import SomeDefaultImport from 'some-module' into
180 + // references to `SomeDefaultImport.default` due to CJS/ESM interop.
181 + // Some CJS modules don't have a `.default` export, and the rewritten import is incorrect.
182 + // Specifying `interop: 'default'` instead will have Rollup use the imported variable as-is,
183 + // without adding a `.default` to the reference.
184 + const modulesWithCommonJsExports = [
185 + 'JSResourceReferenceImpl',
186 + 'error-stack-parser',
187 + 'art/core/transform',
188 + 'art/modes/current',
189 + 'art/modes/fast-noSideEffects',
190 + 'art/modes/svg',
191 + ];
192 +
193 + if (modulesWithCommonJsExports.includes(id)) {
194 + return 'default';
195 + }
196 +
197 + // For all other modules, handle imports without any import helper utils
198 + return 'esModule';
199 +};
200 +
201 function getRollupOutputOptions(
202 outputPath,
203 format,
@@ -188,7 +212,7 @@ function getRollupOutputOptions(
212 format,
213 globals,
214 freeze: !isProduction,
191 - interop: false,
215 + interop: getRollupInteropValue,
216 name: globalName,
217 sourcemap: false,
218 esModule: false,
@@ -420,9 +444,6 @@ function getPlugins(
444 assume_function_wrapper: !isUMDBundle,
445 renaming: !shouldStayReadable,
446 }),
423 - // HACK to work around the fact that Rollup isn't removing unused, pure-module imports.
424 - // Note that this plugin must be called after closure applies DCE.
425 - isProduction && stripUnusedImports(pureExternalModules),
447 // Add the whitespace back if necessary.
448 shouldStayReadable &&
449 prettier({
@@ -616,7 +637,7 @@ async function createBundle(bundle, bundleType) {
637 output: {
638 externalLiveBindings: false,
639 freeze: false,
619 - interop: false,
640 + interop: getRollupInteropValue,
641 esModule: false,
642 },
643 };
scripts/rollup/bundles.js
+1 -1
@@ -442,7 +442,7 @@ const bundles = [
442 {
443 bundleTypes: [NODE_ES2015],
444 moduleType: RENDERER_UTILS,
445 - entry: 'react-server-dom-webpack/src/ReactFlightWebpackNodeRegister.js',
445 + entry: 'react-server-dom-webpack/src/ReactFlightWebpackNodeRegister',
446 name: 'react-server-dom-webpack-node-register',
447 global: 'ReactFlightWebpackNodeRegister',
448 minifyWithProdErrorCodes: false,
scripts/rollup/plugins/strip-unused-imports.js deleted
-29
@@ -1,29 +0,0 @@
1 -/**
2 - * Copyright (c) Meta Platforms, Inc. and affiliates.
3 - *
4 - * This source code is licensed under the MIT license found in the
5 - * LICENSE file in the root directory of this source tree.
6 - */
7 -'use strict';
8 -
9 -module.exports = function stripUnusedImports(pureExternalModules) {
10 - return {
11 - name: 'scripts/rollup/plugins/strip-unused-imports',
12 - renderChunk(code) {
13 - pureExternalModules.forEach(module => {
14 - // Ideally this would use a negative lookbehind: (?<!= *)
15 - // But this isn't supported by the Node <= 8.9.
16 - // So instead we try to handle the most common cases:
17 - // 1. foo,bar=require("bar"),baz
18 - // 2. foo;bar = require('bar');baz
19 - // 3. require('bar');
20 - const regExp = new RegExp(
21 - `([,;]| {2})require\\(["']${module}["']\\)[,;]`,
22 - 'g'
23 - );
24 - code = code.replace(regExp, '$1');
25 - });
26 - return {code};
27 - },
28 - };
29 -};
scripts/rollup/wrappers.js
+13 -3
@@ -354,7 +354,10 @@ if (process.env.NODE_ENV !== "production") {
354 ${source}
355 return exports;
356 };
357 -}`;
357 + module.exports.default = module.exports;
358 + Object.defineProperty(module.exports, "__esModule", { value: true });
359 +}
360 +`;
361 },
362
363 /***************** NODE_PROD (reconciler only) *****************/
@@ -366,10 +369,14 @@ ${source}
369 ${license}
370 */
371 module.exports = function $$$reconciler($$$hostConfig) {
372 +
373 var exports = {};
374 ${source}
375 return exports;
372 -};`;
376 +};
377 +module.exports.default = module.exports;
378 +Object.defineProperty(module.exports, "__esModule", { value: true });
379 +`;
380 },
381
382 /***************** NODE_PROFILING (reconciler only) *****************/
@@ -384,7 +391,10 @@ module.exports = function $$$reconciler($$$hostConfig) {
391 var exports = {};
392 ${source}
393 return exports;
387 -};`;
394 +};
395 +module.exports.default = module.exports;
396 +Object.defineProperty(module.exports, "__esModule", { value: true });
397 +`;
398 },
399 };
400
yarn.lock
+94 -77
@@ -2340,7 +2340,7 @@
2340 resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72"
2341 integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==
2342
2343 -"@jridgewell/sourcemap-codec@1.4.14", "@jridgewell/sourcemap-codec@^1.4.10":
2343 +"@jridgewell/sourcemap-codec@1.4.14", "@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.13":
2344 version "1.4.14"
2345 resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24"
2346 integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==
@@ -2645,55 +2645,54 @@
2645 prop-types "^15.7.2"
2646 tslib "^2.3.0"
2647
2648 -"@rollup/plugin-babel@^5.3.1":
2649 - version "5.3.1"
2650 - resolved "https://registry.yarnpkg.com/@rollup/plugin-babel/-/plugin-babel-5.3.1.tgz#04bc0608f4aa4b2e4b1aebf284344d0f68fda283"
2651 - integrity sha512-WFfdLWU/xVWKeRQnKmIAQULUI7Il0gZnBIH/ZFO069wYIfPu+8zrfp/KMW0atmELoRDq8FbiP3VCss9MhCut7Q==
2648 +"@rollup/plugin-babel@^6.0.3":
2649 + version "6.0.3"
2650 + resolved "https://registry.yarnpkg.com/@rollup/plugin-babel/-/plugin-babel-6.0.3.tgz#07ccde15de278c581673034ad6accdb4a153dfeb"
2651 + integrity sha512-fKImZKppa1A/gX73eg4JGo+8kQr/q1HBQaCGKECZ0v4YBBv3lFqi14+7xyApECzvkLTHCifx+7ntcrvtBIRcpg==
2652 dependencies:
2653 - "@babel/helper-module-imports" "^7.10.4"
2654 - "@rollup/pluginutils" "^3.1.0"
2653 + "@babel/helper-module-imports" "^7.18.6"
2654 + "@rollup/pluginutils" "^5.0.1"
2655
2656 -"@rollup/plugin-commonjs@^22.0.1":
2657 - version "22.0.2"
2658 - resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-22.0.2.tgz#ee8ca8415cda30d383b4096aad5222435b4b69b6"
2659 - integrity sha512-//NdP6iIwPbMTcazYsiBMbJW7gfmpHom33u1beiIoHDEM0Q9clvtQB1T0efvMqHeKsGohiHo97BCPCkBXdscwg==
2656 +"@rollup/plugin-commonjs@^24.0.1":
2657 + version "24.0.1"
2658 + resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-24.0.1.tgz#d54ba26a3e3c495dc332bd27a81f7e9e2df46f90"
2659 + integrity sha512-15LsiWRZk4eOGqvrJyu3z3DaBu5BhXIMeWnijSRvd8irrrg9SHpQ1pH+BUK4H6Z9wL9yOxZJMTLU+Au86XHxow==
2660 dependencies:
2661 - "@rollup/pluginutils" "^3.1.0"
2661 + "@rollup/pluginutils" "^5.0.1"
2662 commondir "^1.0.1"
2663 - estree-walker "^2.0.1"
2664 - glob "^7.1.6"
2665 - is-reference "^1.2.1"
2666 - magic-string "^0.25.7"
2667 - resolve "^1.17.0"
2668 -
2669 -"@rollup/plugin-node-resolve@^13.3.0":
2670 - version "13.3.0"
2671 - resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-13.3.0.tgz#da1c5c5ce8316cef96a2f823d111c1e4e498801c"
2672 - integrity sha512-Lus8rbUo1eEcnS4yTFKLZrVumLPY+YayBdWXgFSHYhTT2iJbMhoaaBL3xl5NCdeRytErGr8tZ0L71BMRmnlwSw==
2673 - dependencies:
2674 - "@rollup/pluginutils" "^3.1.0"
2675 - "@types/resolve" "1.17.1"
2663 + estree-walker "^2.0.2"
2664 + glob "^8.0.3"
2665 + is-reference "1.2.1"
2666 + magic-string "^0.27.0"
2667 +
2668 +"@rollup/plugin-node-resolve@^15.0.1":
2669 + version "15.0.1"
2670 + resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.0.1.tgz#72be449b8e06f6367168d5b3cd5e2802e0248971"
2671 + integrity sha512-ReY88T7JhJjeRVbfCyNj+NXAG3IIsVMsX9b5/9jC98dRP8/yxlZdz7mHZbHk5zHr24wZZICS5AcXsFZAXYUQEg==
2672 + dependencies:
2673 + "@rollup/pluginutils" "^5.0.1"
2674 + "@types/resolve" "1.20.2"
2675 deepmerge "^4.2.2"
2677 - is-builtin-module "^3.1.0"
2676 + is-builtin-module "^3.2.0"
2677 is-module "^1.0.0"
2679 - resolve "^1.19.0"
2678 + resolve "^1.22.1"
2679
2681 -"@rollup/plugin-replace@^4.0.0":
2682 - version "4.0.0"
2683 - resolved "https://registry.yarnpkg.com/@rollup/plugin-replace/-/plugin-replace-4.0.0.tgz#e34c457d6a285f0213359740b43f39d969b38a67"
2684 - integrity sha512-+rumQFiaNac9y64OHtkHGmdjm7us9bo1PlbgQfdihQtuNxzjpaB064HbRnewUOggLQxVCCyINfStkgmBeQpv1g==
2680 +"@rollup/plugin-replace@^5.0.2":
2681 + version "5.0.2"
2682 + resolved "https://registry.yarnpkg.com/@rollup/plugin-replace/-/plugin-replace-5.0.2.tgz#45f53501b16311feded2485e98419acb8448c61d"
2683 + integrity sha512-M9YXNekv/C/iHHK+cvORzfRYfPbq0RDD8r0G+bMiTXjNGKulPnCT9O3Ss46WfhI6ZOCgApOP7xAdmCQJ+U2LAA==
2684 dependencies:
2686 - "@rollup/pluginutils" "^3.1.0"
2687 - magic-string "^0.25.7"
2685 + "@rollup/pluginutils" "^5.0.1"
2686 + magic-string "^0.27.0"
2687
2689 -"@rollup/pluginutils@^3.1.0":
2690 - version "3.1.0"
2691 - resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-3.1.0.tgz#706b4524ee6dc8b103b3c995533e5ad680c02b9b"
2692 - integrity sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==
2688 +"@rollup/pluginutils@^5.0.1":
2689 + version "5.0.2"
2690 + resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-5.0.2.tgz#012b8f53c71e4f6f9cb317e311df1404f56e7a33"
2691 + integrity sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==
2692 dependencies:
2694 - "@types/estree" "0.0.39"
2695 - estree-walker "^1.0.1"
2696 - picomatch "^2.2.2"
2693 + "@types/estree" "^1.0.0"
2694 + estree-walker "^2.0.2"
2695 + picomatch "^2.3.1"
2696
2697 "@sinclair/typebox@^0.25.16":
2698 version "0.25.21"
@@ -2816,10 +2815,10 @@
2815 resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.42.tgz#8d0c1f480339efedb3e46070e22dd63e0430dd11"
2816 integrity sha512-K1DPVvnBCPxzD+G51/cxVIoc2X8uUVl1zpJeE6iKcgHMj4+tbat5Xu4TjV7v2QSDbIeAfLi2hIk+u2+s0MlpUQ==
2817
2819 -"@types/estree@0.0.39":
2820 - version "0.0.39"
2821 - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f"
2822 - integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==
2818 +"@types/estree@^1.0.0":
2819 + version "1.0.0"
2820 + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.0.tgz#5fb2e536c1ae9bf35366eed879e827fa59ca41c2"
2821 + integrity sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==
2822
2823 "@types/events@*":
2824 version "3.0.0"
@@ -2932,12 +2931,10 @@
2931 resolved "https://registry.yarnpkg.com/@types/q/-/q-1.5.5.tgz#75a2a8e7d8ab4b230414505d92335d1dcb53a6df"
2932 integrity sha512-L28j2FcJfSZOnL1WBjDYp2vUHCeIFlyYI/53EwD/rKUBQ7MtUUfbQWiyKJGpcnv4/WgrhWsFKrcPstcAt/J0tQ==
2933
2935 -"@types/resolve@1.17.1":
2936 - version "1.17.1"
2937 - resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-1.17.1.tgz#3afd6ad8967c77e4376c598a82ddd58f46ec45d6"
2938 - integrity sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==
2939 - dependencies:
2940 - "@types/node" "*"
2934 +"@types/resolve@1.20.2":
2935 + version "1.20.2"
2936 + resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-1.20.2.tgz#97d26e00cd4a0423b4af620abecf3e6f442b7975"
2937 + integrity sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==
2938
2939 "@types/responselike@^1.0.0":
2940 version "1.0.0"
@@ -4693,6 +4690,13 @@ brace-expansion@^1.1.7:
4690 balanced-match "^1.0.0"
4691 concat-map "0.0.1"
4692
4693 +brace-expansion@^2.0.1:
4694 + version "2.0.1"
4695 + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.1.tgz#1edc459e0f0c548486ecf9fc99f2221364b9a0ae"
4696 + integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==
4697 + dependencies:
4698 + balanced-match "^1.0.0"
4699 +
4700 braces@^2.3.1, braces@^2.3.2:
4701 version "2.3.2"
4702 resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729"
@@ -7415,12 +7419,7 @@ estree-walker@^0.6.1:
7419 resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.6.1.tgz#53049143f40c6eb918b23671d1fe3219f3a1b362"
7420 integrity sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==
7421
7418 -estree-walker@^1.0.1:
7419 - version "1.0.1"
7420 - resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-1.0.1.tgz#31bc5d612c96b704106b477e6dd5d8aa138cb700"
7421 - integrity sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==
7422 -
7423 -estree-walker@^2.0.1:
7422 +estree-walker@^2.0.2:
7423 version "2.0.2"
7424 resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-2.0.2.tgz#52f010178c2a4c117a7757cfe942adb7d2da4cac"
7425 integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==
@@ -8536,6 +8535,17 @@ glob@^6.0.1:
8535 once "^1.3.0"
8536 path-is-absolute "^1.0.0"
8537
8538 +glob@^8.0.3:
8539 + version "8.1.0"
8540 + resolved "https://registry.yarnpkg.com/glob/-/glob-8.1.0.tgz#d388f656593ef708ee3e34640fdfb99a9fd1c33e"
8541 + integrity sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==
8542 + dependencies:
8543 + fs.realpath "^1.0.0"
8544 + inflight "^1.0.4"
8545 + inherits "2"
8546 + minimatch "^5.0.1"
8547 + once "^1.3.0"
8548 +
8549 global-agent@^3.0.0:
8550 version "3.0.0"
8551 resolved "https://registry.yarnpkg.com/global-agent/-/global-agent-3.0.0.tgz#ae7cd31bd3583b93c5a16437a1afe27cc33a1ab6"
@@ -9642,7 +9652,7 @@ is-buffer@^1.1.5:
9652 resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be"
9653 integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==
9654
9645 -is-builtin-module@^3.1.0:
9655 +is-builtin-module@^3.2.0:
9656 version "3.2.1"
9657 resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-3.2.1.tgz#f03271717d8654cfcaf07ab0463faa3571581169"
9658 integrity sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==
@@ -9953,7 +9963,7 @@ is-redirect@^1.0.0:
9963 resolved "https://registry.yarnpkg.com/is-redirect/-/is-redirect-1.0.0.tgz#1d03dded53bd8db0f30c26e4f95d36fc7c87dc24"
9964 integrity sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ=
9965
9956 -is-reference@^1.2.1:
9966 +is-reference@1.2.1:
9967 version "1.2.1"
9968 resolved "https://registry.yarnpkg.com/is-reference/-/is-reference-1.2.1.tgz#8b2dac0b371f4bc994fdeaba9eb542d03002d0b7"
9969 integrity sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==
@@ -11394,12 +11404,12 @@ magic-string@0.26.7:
11404 dependencies:
11405 sourcemap-codec "^1.4.8"
11406
11397 -magic-string@^0.25.7:
11398 - version "0.25.9"
11399 - resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.9.tgz#de7f9faf91ef8a1c91d02c2e5314c8277dbcdd1c"
11400 - integrity sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==
11407 +magic-string@^0.27.0:
11408 + version "0.27.0"
11409 + resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.27.0.tgz#e4a3413b4bab6d98d2becffd48b4a257effdbbf3"
11410 + integrity sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==
11411 dependencies:
11402 - sourcemap-codec "^1.4.8"
11412 + "@jridgewell/sourcemap-codec" "^1.4.13"
11413
11414 make-dir@^1.0.0, make-dir@^1.2.0:
11415 version "1.3.0"
@@ -11729,6 +11739,13 @@ minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1:
11739 dependencies:
11740 brace-expansion "^1.1.7"
11741
11742 +minimatch@^5.0.1:
11743 + version "5.1.6"
11744 + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96"
11745 + integrity sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==
11746 + dependencies:
11747 + brace-expansion "^2.0.1"
11748 +
11749 minimist@1.x, minimist@^1.1.1, minimist@^1.1.3, minimist@^1.2.0, minimist@^1.2.5:
11750 version "1.2.5"
11751 resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
@@ -13084,16 +13101,16 @@ picomatch@^2.2.1:
13101 resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.2.tgz#21f333e9b6b8eaff02468f5146ea406d345f4dad"
13102 integrity sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==
13103
13087 -picomatch@^2.2.2:
13088 - version "2.3.1"
13089 - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42"
13090 - integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==
13091 -
13104 picomatch@^2.2.3:
13105 version "2.3.0"
13106 resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.0.tgz#f1f061de8f6a4bf022892e2d128234fb98302972"
13107 integrity sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==
13108
13109 +picomatch@^2.3.1:
13110 + version "2.3.1"
13111 + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42"
13112 + integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==
13113 +
13114 pify@^2.0.0, pify@^2.2.0, pify@^2.3.0:
13115 version "2.3.0"
13116 resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c"
@@ -14290,7 +14307,7 @@ resolve@^1.1.6, resolve@^1.10.0, resolve@^1.12.0, resolve@^1.3.2:
14307 dependencies:
14308 path-parse "^1.0.6"
14309
14293 -resolve@^1.17.0, resolve@^1.19.0, resolve@^1.20.0:
14310 +resolve@^1.20.0, resolve@^1.22.1:
14311 version "1.22.1"
14312 resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177"
14313 integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==
@@ -14414,10 +14431,10 @@ rollup-plugin-prettier@^3.0.0:
14431 lodash.omitby "4.6.0"
14432 magic-string "0.26.7"
14433
14417 -rollup-plugin-strip-banner@^2.0.0:
14418 - version "2.1.0"
14419 - resolved "https://registry.yarnpkg.com/rollup-plugin-strip-banner/-/rollup-plugin-strip-banner-2.1.0.tgz#51d49aa78d8590dbedd34746ace116b88538be83"
14420 - integrity sha512-lA391GTfTz4yEFlUnV1xFowYPxfVSFWSXZ17gc/qXFCfGhTRuRuhio8oEZfi4HbMxY/BC6Rh2JZHSGQCH7ehKA==
14434 +rollup-plugin-strip-banner@^3.0.0:
14435 + version "3.0.0"
14436 + resolved "https://registry.yarnpkg.com/rollup-plugin-strip-banner/-/rollup-plugin-strip-banner-3.0.0.tgz#c4694c3622d15c7ad2b02d5181ce40152e1127ac"
14437 + integrity sha512-LjIOLM29PAPEzGE6UBZhGNgkXEEMDpaUvl0nmeIG1u514pQQwTtXMzpxzFgUf1dx7B+N+CNSd5Pm7B7W3jl72w==
14438 dependencies:
14439 extract-banner "0.1.2"
14440 magic-string "0.26.7"
@@ -14430,10 +14447,10 @@ rollup-pluginutils@2.8.2:
14447 dependencies:
14448 estree-walker "^0.6.1"
14449
14433 -rollup@^2.76.0:
14434 - version "2.79.1"
14435 - resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.79.1.tgz#bedee8faef7c9f93a2647ac0108748f497f081c7"
14436 - integrity sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==
14450 +rollup@^3.17.1:
14451 + version "3.20.0"
14452 + resolved "https://registry.yarnpkg.com/rollup/-/rollup-3.20.0.tgz#ce7bd88449a776b9f75bf4e35959e25fbd3f51b1"
14453 + integrity sha512-YsIfrk80NqUDrxrjWPXUa7PWvAfegZEXHuPsEZg58fGCdjL1I9C1i/NaG+L+27kxxwkrG/QEDEQc8s/ynXWWGQ==
14454 optionalDependencies:
14455 fsevents "~2.3.2"
14456