@samitouri / QOS-React-2 / commits / 220dece92b

[compiler] Switch to esbuild (#31963)

This migrates the compiler's bundler to esbuild instead of rollup. Unlike React, our bundling use cases are far simpler since the majority of our packages are meant to be run on node. Rollup was adding considerable build time overhead whereas esbuild remains fast and has all the functionality we need out of the box. ### Before ``` time yarn workspaces run build yarn workspaces v1.22.22 > babel-plugin-react-compiler yarn run v1.22.22 $ rimraf dist && rollup --config --bundleConfigAsCjs src/index.ts → dist/index.js... (!) Circular dependencies # ... created dist/index.js in 15.5s ✨ Done in 16.45s. > eslint-plugin-react-compiler yarn run v1.22.22 $ rimraf dist && rollup --config --bundleConfigAsCjs src/index.ts → dist/index.js... (!) Circular dependencies # ... created dist/index.js in 9.1s ✨ Done in 10.11s. > make-read-only-util yarn run v1.22.22 warning package.json: No license field $ tsc ✨ Done in 1.81s. > react-compiler-healthcheck yarn run v1.22.22 $ rimraf dist && rollup --config --bundleConfigAsCjs src/index.ts → dist/index.js... (!) Circular dependencies # ... created dist/index.js in 8.7s ✨ Done in 10.43s. > react-compiler-runtime yarn run v1.22.22 $ rimraf dist && rollup --config --bundleConfigAsCjs src/index.ts → dist/index.js... (!) src/index.ts (1:0): Module level directives cause errors when bundled, "use no memo" in "src/index.ts" was ignored. # ... created dist/index.js in 1.1s ✨ Done in 1.82s. > snap yarn run v1.22.22 $ rimraf dist && concurrently -n snap,runtime "tsc --build" "yarn --silent workspace react-compiler-runtime build --silent" $ rimraf dist && rollup --config --bundleConfigAsCjs --silent [runtime] yarn --silent workspace react-compiler-runtime build --silent exited with code 0 [snap] tsc --build exited with code 0 ✨ Done in 5.73s. ✨ Done in 47.30s. yarn workspaces run build 75.92s user 5.48s system 170% cpu 47.821 total ``` ### After ``` time yarn workspaces run build yarn workspaces v1.22.22 > babel-plugin-react-compiler yarn run v1.22.22 $ rimraf dist && scripts/build.js ✨ Done in 1.02s. > eslint-plugin-react-compiler yarn run v1.22.22 $ rimraf dist && scripts/build.js ✨ Done in 0.93s. > make-read-only-util yarn run v1.22.22 warning package.json: No license field $ rimraf dist && scripts/build.js ✨ Done in 0.89s. > react-compiler-healthcheck yarn run v1.22.22 $ rimraf dist && scripts/build.js ✨ Done in 0.58s. > react-compiler-runtime yarn run v1.22.22 $ rimraf dist && scripts/build.js ✨ Done in 0.48s. > snap yarn run v1.22.22 $ rimraf dist && concurrently -n snap,runtime "tsc --build" "yarn --silent workspace react-compiler-runtime build" $ rimraf dist && scripts/build.js [runtime] yarn --silent workspace react-compiler-runtime build exited with code 0 [snap] tsc --build exited with code 0 ✨ Done in 4.69s. ✨ Done in 9.46s. yarn workspaces run build 9.70s user 0.99s system 103% cpu 10.329 total ``` --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/31963). * #31964 * __->__ #31963 * #31962

lauren committed Jan 2, 2025 at 16:59 UTC 220dece92b9ab5f8867a589f8104b15717d68d2f
20 files changed +515 -654
compiler/apps/playground/package.json
+2 -1
@@ -3,10 +3,11 @@
3 "version": "0.1.0",
4 "private": true,
5 "scripts": {
6 - "dev": "cd ../.. && concurrently --kill-others -n compiler,runtime,playground \"yarn workspace babel-plugin-react-compiler run build --watch\" \"yarn workspace react-compiler-runtime run build --watch\" \"wait-on packages/babel-plugin-react-compiler/dist/index.js && cd apps/playground && NODE_ENV=development next dev\"",
6 + "dev": "cd ../.. && concurrently --kill-others -n compiler,runtime,playground \"yarn workspace babel-plugin-react-compiler run watch\" \"yarn workspace react-compiler-runtime run watch\" \"wait-on packages/babel-plugin-react-compiler/dist/index.js && cd apps/playground && NODE_ENV=development next dev\"",
7 "build:compiler": "cd ../.. && concurrently -n compiler,runtime \"yarn workspace babel-plugin-react-compiler run build\" \"yarn workspace react-compiler-runtime run build\"",
8 "build": "yarn build:compiler && next build",
9 "postbuild": "node ./scripts/downloadFonts.js",
10 + "preinstall": "cd ../.. && yarn install --frozen-lockfile",
11 "postinstall": "./scripts/link-compiler.sh",
12 "vercel-build": "yarn build",
13 "start": "next start",
compiler/package.json
+2 -9
@@ -15,7 +15,7 @@
15 "start": "yarn workspace playground run start",
16 "next": "yarn workspace playground run dev",
17 "build": "yarn workspaces run build",
18 - "dev": "echo 'DEPRECATED: use `cd apps/playground && yarn dev` instead!' && sleep 5 && cd apps/playground && yarn dev",
18 + "dev": "cd apps/playground && yarn dev",
19 "test": "yarn workspaces run test",
20 "snap": "yarn workspace babel-plugin-react-compiler run snap",
21 "snap:build": "yarn workspace snap run build",
@@ -26,22 +26,15 @@
26 "react-is": "0.0.0-experimental-4beb1fd8-20241118"
27 },
28 "devDependencies": {
29 - "@rollup/plugin-commonjs": "^28.0.2",
30 - "@rollup/plugin-json": "^6.1.0",
31 - "@rollup/plugin-node-resolve": "^16.0.0",
32 - "@rollup/plugin-terser": "^0.4.4",
33 - "@rollup/plugin-typescript": "^12.1.2",
29 "@tsconfig/strictest": "^2.0.5",
30 "concurrently": "^7.4.0",
31 + "esbuild": "^0.24.2",
32 "folder-hash": "^4.0.4",
33 "object-assign": "^4.1.1",
34 "ora": "5.4.1",
35 "prettier": "^3.3.3",
36 "prettier-plugin-hermes-parser": "^0.26.0",
37 "prompt-promise": "^1.0.3",
42 - "rollup": "^4.22.4",
43 - "rollup-plugin-banner2": "^1.2.3",
44 - "rollup-plugin-prettier": "^4.1.1",
38 "typescript": "^5.4.3",
39 "wait-on": "^7.2.0",
40 "yargs": "^17.7.2"
compiler/packages/babel-plugin-react-compiler/package.json
+3 -2
@@ -9,14 +9,15 @@
9 "!*.tsbuildinfo"
10 ],
11 "scripts": {
12 - "build": "rimraf dist && rollup --config --bundleConfigAsCjs",
12 + "build": "rimraf dist && scripts/build.js",
13 "test": "./scripts/link-react-compiler-runtime.sh && yarn snap:ci",
14 "jest": "yarn build && ts-node node_modules/.bin/jest",
15 "snap": "node ../snap/dist/main.js",
16 "snap:build": "yarn workspace snap run build",
17 "snap:ci": "yarn snap:build && yarn snap",
18 "ts:analyze-trace": "scripts/ts-analyze-trace.sh",
19 - "lint": "yarn eslint src"
19 + "lint": "yarn eslint src",
20 + "watch": "scripts/build.js --watch"
21 },
22 "dependencies": {
23 "@babel/types": "^7.19.0"
compiler/packages/babel-plugin-react-compiler/rollup.config.js deleted
-72
@@ -1,72 +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 -
8 -import typescript from '@rollup/plugin-typescript';
9 -import {nodeResolve} from '@rollup/plugin-node-resolve';
10 -import commonjs from '@rollup/plugin-commonjs';
11 -import json from '@rollup/plugin-json';
12 -import path from 'path';
13 -import process from 'process';
14 -import terser from '@rollup/plugin-terser';
15 -import prettier from 'rollup-plugin-prettier';
16 -import banner2 from 'rollup-plugin-banner2';
17 -
18 -const NO_INLINE = new Set(['@babel/types']);
19 -
20 -const DEV_ROLLUP_CONFIG = {
21 - input: 'src/index.ts',
22 - output: {
23 - file: 'dist/index.js',
24 - format: 'cjs',
25 - sourcemap: false,
26 - exports: 'named',
27 - inlineDynamicImports: true,
28 - },
29 - plugins: [
30 - typescript({
31 - tsconfig: './tsconfig.json',
32 - outputToFilesystem: true,
33 - compilerOptions: {
34 - noEmit: true,
35 - },
36 - }),
37 - json(),
38 - nodeResolve({
39 - preferBuiltins: true,
40 - resolveOnly: module => NO_INLINE.has(module) === false,
41 - rootDir: path.join(process.cwd(), '..'),
42 - }),
43 - commonjs(),
44 - terser({
45 - format: {
46 - comments: false,
47 - },
48 - compress: false,
49 - mangle: false,
50 - }),
51 - prettier(),
52 - banner2(
53 - () => `/**
54 - * Copyright (c) Meta Platforms, Inc. and affiliates.
55 - *
56 - * This source code is licensed under the MIT license found in the
57 - * LICENSE file in the root directory of this source tree.
58 - *
59 - * @lightSyntaxTransform
60 - * @noflow
61 - * @nolint
62 - * @preventMunge
63 - * @preserve-invariant-messages
64 - */
65 -
66 -"use no memo";
67 -`
68 - ),
69 - ],
70 -};
71 -
72 -export default DEV_ROLLUP_CONFIG;
compiler/packages/babel-plugin-react-compiler/scripts/build.js new
+61
@@ -0,0 +1,61 @@
1 +#!/usr/bin/env node
2 +
3 +/**
4 + * Copyright (c) Meta Platforms, Inc. and affiliates.
5 + *
6 + * This source code is licensed under the MIT license found in the
7 + * LICENSE file in the root directory of this source tree.
8 + */
9 +
10 +const esbuild = require('esbuild');
11 +const yargs = require('yargs');
12 +const path = require('path');
13 +
14 +const argv = yargs(process.argv.slice(2))
15 + .options('w', {
16 + alias: 'watch',
17 + default: false,
18 + type: 'boolean',
19 + })
20 + .parse();
21 +
22 +const config = {
23 + entryPoints: [path.join(__dirname, '../src/index.ts')],
24 + outfile: path.join(__dirname, '../dist/index.js'),
25 + bundle: true,
26 + external: ['@babel/types'],
27 + format: 'cjs',
28 + platform: 'node',
29 + banner: {
30 + js: `/**
31 + * Copyright (c) Meta Platforms, Inc. and affiliates.
32 + *
33 + * This source code is licensed under the MIT license found in the
34 + * LICENSE file in the root directory of this source tree.
35 + *
36 + * @lightSyntaxTransform
37 + * @noflow
38 + * @nolint
39 + * @preventMunge
40 + * @preserve-invariant-messages
41 + */
42 +
43 +"use no memo";`,
44 + },
45 +};
46 +
47 +async function main() {
48 + if (argv.w) {
49 + const ctx = await esbuild.context(config);
50 + await ctx.watch();
51 + console.log('watching for changes...');
52 + } else {
53 + await esbuild.build({
54 + sourcemap: true,
55 + minify: false,
56 + ...config,
57 + });
58 + }
59 +}
60 +
61 +main();
compiler/packages/eslint-plugin-react-compiler/package.json
+3 -2
@@ -4,8 +4,9 @@
4 "description": "ESLint plugin to display errors found by the React compiler.",
5 "main": "dist/index.js",
6 "scripts": {
7 - "build": "rimraf dist && rollup --config --bundleConfigAsCjs",
8 - "test": "tsc && jest"
7 + "build": "rimraf dist && scripts/build.js",
8 + "test": "tsc && jest",
9 + "watch": "scripts/build.js --watch"
10 },
11 "files": [
12 "dist"
compiler/packages/eslint-plugin-react-compiler/rollup.config.js deleted
-78
@@ -1,78 +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 -
8 -import typescript from '@rollup/plugin-typescript';
9 -import {nodeResolve} from '@rollup/plugin-node-resolve';
10 -import commonjs from '@rollup/plugin-commonjs';
11 -import json from '@rollup/plugin-json';
12 -import path from 'path';
13 -import process from 'process';
14 -import terser from '@rollup/plugin-terser';
15 -import prettier from 'rollup-plugin-prettier';
16 -import banner2 from 'rollup-plugin-banner2';
17 -
18 -const NO_INLINE = new Set([
19 - '@babel/core',
20 - '@babel/plugin-proposal-private-methods',
21 - 'hermes-parser',
22 - 'zod',
23 - 'zod-validation-error',
24 -]);
25 -
26 -const DEV_ROLLUP_CONFIG = {
27 - input: 'src/index.ts',
28 - output: {
29 - file: 'dist/index.js',
30 - format: 'cjs',
31 - sourcemap: false,
32 - inlineDynamicImports: true,
33 - },
34 - treeshake: {
35 - moduleSideEffects: false,
36 - },
37 - plugins: [
38 - typescript({
39 - compilerOptions: {
40 - noEmit: true,
41 - },
42 - }),
43 - json(),
44 - nodeResolve({
45 - preferBuiltins: true,
46 - resolveOnly: module => NO_INLINE.has(module) === false,
47 - rootDir: path.join(process.cwd(), '..'),
48 - }),
49 - commonjs(),
50 - terser({
51 - format: {
52 - comments: false,
53 - },
54 - compress: false,
55 - mangle: false,
56 - }),
57 - prettier(),
58 - banner2(
59 - () => `/**
60 - * Copyright (c) Meta Platforms, Inc. and affiliates.
61 - *
62 - * This source code is licensed under the MIT license found in the
63 - * LICENSE file in the root directory of this source tree.
64 - *
65 - * @lightSyntaxTransform
66 - * @noflow
67 - * @nolint
68 - * @preventMunge
69 - * @preserve-invariant-messages
70 - */
71 -
72 -"use no memo";
73 -`
74 - ),
75 - ],
76 -};
77 -
78 -export default DEV_ROLLUP_CONFIG;
compiler/packages/eslint-plugin-react-compiler/scripts/build.js new
+67
@@ -0,0 +1,67 @@
1 +#!/usr/bin/env node
2 +
3 +/**
4 + * Copyright (c) Meta Platforms, Inc. and affiliates.
5 + *
6 + * This source code is licensed under the MIT license found in the
7 + * LICENSE file in the root directory of this source tree.
8 + */
9 +
10 +const esbuild = require('esbuild');
11 +const yargs = require('yargs');
12 +const path = require('path');
13 +
14 +const argv = yargs(process.argv.slice(2))
15 + .options('w', {
16 + alias: 'watch',
17 + default: false,
18 + type: 'boolean',
19 + })
20 + .parse();
21 +
22 +const config = {
23 + entryPoints: [path.join(__dirname, '../src/index.ts')],
24 + outfile: path.join(__dirname, '../dist/index.js'),
25 + bundle: true,
26 + external: [
27 + '@babel/core',
28 + '@babel/plugin-proposal-private-methods',
29 + 'hermes-parser',
30 + 'zod',
31 + 'zod-validation-error',
32 + ],
33 + format: 'cjs',
34 + platform: 'node',
35 + banner: {
36 + js: `/**
37 + * Copyright (c) Meta Platforms, Inc. and affiliates.
38 + *
39 + * This source code is licensed under the MIT license found in the
40 + * LICENSE file in the root directory of this source tree.
41 + *
42 + * @lightSyntaxTransform
43 + * @noflow
44 + * @nolint
45 + * @preventMunge
46 + * @preserve-invariant-messages
47 + */
48 +
49 +"use no memo";`,
50 + },
51 +};
52 +
53 +async function main() {
54 + if (argv.w) {
55 + const ctx = await esbuild.context(config);
56 + await ctx.watch();
57 + console.log('watching for changes...');
58 + } else {
59 + await esbuild.build({
60 + sourcemap: true,
61 + minify: false,
62 + ...config,
63 + });
64 + }
65 +}
66 +
67 +main();
compiler/packages/make-read-only-util/package.json
+4 -2
@@ -1,12 +1,14 @@
1 {
2 "name": "make-read-only-util",
3 "version": "0.0.1",
4 + "license": "MIT",
5 "files": [
6 "src"
7 ],
8 "scripts": {
8 - "build": "tsc",
9 - "test": "jest src"
9 + "build": "rimraf dist && scripts/build.js",
10 + "test": "jest src",
11 + "watch": "scripts/build.js --watch"
12 },
13 "dependencies": {
14 "invariant": "^2.2.4",
compiler/packages/make-read-only-util/scripts/build.js new
+61
@@ -0,0 +1,61 @@
1 +#!/usr/bin/env node
2 +
3 +/**
4 + * Copyright (c) Meta Platforms, Inc. and affiliates.
5 + *
6 + * This source code is licensed under the MIT license found in the
7 + * LICENSE file in the root directory of this source tree.
8 + */
9 +
10 +const esbuild = require('esbuild');
11 +const yargs = require('yargs');
12 +const path = require('path');
13 +
14 +const argv = yargs(process.argv.slice(2))
15 + .options('w', {
16 + alias: 'watch',
17 + default: false,
18 + type: 'boolean',
19 + })
20 + .parse();
21 +
22 +const config = {
23 + entryPoints: [path.join(__dirname, '../src/makeReadOnly.ts')],
24 + outfile: path.join(__dirname, '../dist/index.js'),
25 + bundle: true,
26 + format: 'esm',
27 + platform: 'browser',
28 + target: 'es6',
29 + banner: {
30 + js: `/**
31 + * Copyright (c) Meta Platforms, Inc. and affiliates.
32 + *
33 + * This source code is licensed under the MIT license found in the
34 + * LICENSE file in the root directory of this source tree.
35 + *
36 + * @lightSyntaxTransform
37 + * @noflow
38 + * @nolint
39 + * @preventMunge
40 + * @preserve-invariant-messages
41 + */
42 +
43 +"use no memo";`,
44 + },
45 +};
46 +
47 +async function main() {
48 + if (argv.w) {
49 + const ctx = await esbuild.context(config);
50 + await ctx.watch();
51 + console.log('watching for changes...');
52 + } else {
53 + await esbuild.build({
54 + sourcemap: true,
55 + minify: false,
56 + ...config,
57 + });
58 + }
59 +}
60 +
61 +main();
compiler/packages/react-compiler-healthcheck/package.json
+3 -2
@@ -6,8 +6,9 @@
6 "react-compiler-healthcheck": "dist/index.js"
7 },
8 "scripts": {
9 - "build": "rimraf dist && rollup --config --bundleConfigAsCjs",
10 - "test": "echo 'no tests'"
9 + "build": "rimraf dist && scripts/build.js",
10 + "test": "echo 'no tests'",
11 + "watch": "scripts/build.js --watch"
12 },
13 "dependencies": {
14 "@babel/core": "^7.24.4",
compiler/packages/react-compiler-healthcheck/rollup.config.js deleted
-82
@@ -1,82 +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 -
8 -import typescript from '@rollup/plugin-typescript';
9 -import {nodeResolve} from '@rollup/plugin-node-resolve';
10 -import commonjs from '@rollup/plugin-commonjs';
11 -import json from '@rollup/plugin-json';
12 -import path from 'path';
13 -import process from 'process';
14 -import terser from '@rollup/plugin-terser';
15 -import prettier from 'rollup-plugin-prettier';
16 -import banner2 from 'rollup-plugin-banner2';
17 -
18 -const NO_INLINE = new Set([
19 - '@babel/core',
20 - '@babel/parser',
21 - 'chalk',
22 - 'fast-glob',
23 - 'ora',
24 - 'yargs',
25 - 'zod',
26 - 'zod-validation-error',
27 -]);
28 -
29 -const DEV_ROLLUP_CONFIG = {
30 - input: 'src/index.ts',
31 - output: {
32 - file: 'dist/index.js',
33 - format: 'cjs',
34 - sourcemap: false,
35 - exports: 'named',
36 - inlineDynamicImports: true,
37 - },
38 - plugins: [
39 - typescript({
40 - tsconfig: './tsconfig.json',
41 - compilerOptions: {
42 - noEmit: true,
43 - },
44 - }),
45 - json(),
46 - nodeResolve({
47 - preferBuiltins: true,
48 - resolveOnly: module => NO_INLINE.has(module) === false,
49 - rootDir: path.join(process.cwd(), '..'),
50 - }),
51 - commonjs(),
52 - terser({
53 - format: {
54 - comments: false,
55 - },
56 - compress: false,
57 - mangle: false,
58 - }),
59 - prettier(),
60 - banner2(
61 - () => `#!/usr/bin/env node
62 -
63 -/**
64 - * Copyright (c) Meta Platforms, Inc. and affiliates.
65 - *
66 - * This source code is licensed under the MIT license found in the
67 - * LICENSE file in the root directory of this source tree.
68 - *
69 - * @lightSyntaxTransform
70 - * @noflow
71 - * @nolint
72 - * @preventMunge
73 - * @preserve-invariant-messages
74 - */
75 -
76 -"use no memo";
77 -`
78 - ),
79 - ],
80 -};
81 -
82 -export default DEV_ROLLUP_CONFIG;
compiler/packages/react-compiler-healthcheck/scripts/build.js new
+70
@@ -0,0 +1,70 @@
1 +#!/usr/bin/env node
2 +
3 +/**
4 + * Copyright (c) Meta Platforms, Inc. and affiliates.
5 + *
6 + * This source code is licensed under the MIT license found in the
7 + * LICENSE file in the root directory of this source tree.
8 + */
9 +
10 +const esbuild = require('esbuild');
11 +const yargs = require('yargs');
12 +const path = require('path');
13 +
14 +const argv = yargs(process.argv.slice(2))
15 + .options('w', {
16 + alias: 'watch',
17 + default: false,
18 + type: 'boolean',
19 + })
20 + .parse();
21 +
22 +const config = {
23 + entryPoints: [path.join(__dirname, '../src/index.ts')],
24 + outfile: path.join(__dirname, '../dist/index.js'),
25 + bundle: true,
26 + external: [
27 + '@babel/core',
28 + '@babel/parser',
29 + 'chalk',
30 + 'fast-glob',
31 + 'ora',
32 + 'yargs',
33 + 'zod',
34 + 'zod-validation-error',
35 + ],
36 + format: 'cjs',
37 + platform: 'node',
38 + banner: {
39 + js: `/**
40 + * Copyright (c) Meta Platforms, Inc. and affiliates.
41 + *
42 + * This source code is licensed under the MIT license found in the
43 + * LICENSE file in the root directory of this source tree.
44 + *
45 + * @lightSyntaxTransform
46 + * @noflow
47 + * @nolint
48 + * @preventMunge
49 + * @preserve-invariant-messages
50 + */
51 +
52 +"use no memo";`,
53 + },
54 +};
55 +
56 +async function main() {
57 + if (argv.w) {
58 + const ctx = await esbuild.context(config);
59 + await ctx.watch();
60 + console.log('watching for changes...');
61 + } else {
62 + await esbuild.build({
63 + sourcemap: true,
64 + minify: false,
65 + ...config,
66 + });
67 + }
68 +}
69 +
70 +main();
compiler/packages/react-compiler-runtime/package.json
+3 -2
@@ -12,8 +12,9 @@
12 "react": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^0.0.0-experimental"
13 },
14 "scripts": {
15 - "build": "rimraf dist && rollup --config --bundleConfigAsCjs",
16 - "test": "echo 'no tests'"
15 + "build": "rimraf dist && scripts/build.js",
16 + "test": "echo 'no tests'",
17 + "watch": "scripts/build.js --watch"
18 },
19 "repository": {
20 "type": "git",
compiler/packages/react-compiler-runtime/rollup.config.js deleted
-59
@@ -1,59 +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 -
8 -import typescript from '@rollup/plugin-typescript';
9 -import {nodeResolve} from '@rollup/plugin-node-resolve';
10 -import commonjs from '@rollup/plugin-commonjs';
11 -import json from '@rollup/plugin-json';
12 -import path from 'path';
13 -import process from 'process';
14 -import banner2 from 'rollup-plugin-banner2';
15 -
16 -const NO_INLINE = new Set(['react']);
17 -
18 -const PROD_ROLLUP_CONFIG = {
19 - input: 'src/index.ts',
20 - output: {
21 - file: 'dist/index.js',
22 - format: 'cjs',
23 - sourcemap: true,
24 - inlineDynamicImports: true,
25 - },
26 - plugins: [
27 - typescript({
28 - tsconfig: './tsconfig.json',
29 - compilerOptions: {
30 - noEmit: true,
31 - },
32 - }),
33 - json(),
34 - nodeResolve({
35 - preferBuiltins: true,
36 - resolveOnly: module => NO_INLINE.has(module) === false,
37 - rootDir: path.join(process.cwd(), '..'),
38 - }),
39 - commonjs(),
40 - banner2(
41 - () => `/**
42 - * Copyright (c) Meta Platforms, Inc. and affiliates.
43 - *
44 - * This source code is licensed under the MIT license found in the
45 - * LICENSE file in the root directory of this source tree.
46 - *
47 - * @lightSyntaxTransform
48 - * @noflow
49 - * @nolint
50 - * @preventMunge
51 - * @preserve-invariant-messages
52 - */
53 -
54 -"use no memo";` // DO NOT REMOVE
55 - ),
56 - ],
57 -};
58 -
59 -export default PROD_ROLLUP_CONFIG;
compiler/packages/react-compiler-runtime/scripts/build.js new
+67
@@ -0,0 +1,67 @@
1 +#!/usr/bin/env node
2 +
3 +/**
4 + * Copyright (c) Meta Platforms, Inc. and affiliates.
5 + *
6 + * This source code is licensed under the MIT license found in the
7 + * LICENSE file in the root directory of this source tree.
8 + */
9 +
10 +const esbuild = require('esbuild');
11 +const yargs = require('yargs');
12 +const path = require('path');
13 +
14 +const argv = yargs(process.argv.slice(2))
15 + .options('p', {
16 + alias: 'platform',
17 + default: 'browser',
18 + choices: ['browser', 'node'],
19 + })
20 + .options('w', {
21 + alias: 'watch',
22 + default: false,
23 + type: 'boolean',
24 + })
25 + .parse();
26 +
27 +const config = {
28 + entryPoints: [path.join(__dirname, '../src/index.ts')],
29 + outfile: path.join(__dirname, '../dist/index.js'),
30 + bundle: true,
31 + external: ['react'],
32 + format: argv.p === 'browser' ? 'esm' : 'cjs',
33 + platform: argv.p,
34 + target: 'es6',
35 + banner: {
36 + js: `/**
37 + * Copyright (c) Meta Platforms, Inc. and affiliates.
38 + *
39 + * This source code is licensed under the MIT license found in the
40 + * LICENSE file in the root directory of this source tree.
41 + *
42 + * @lightSyntaxTransform
43 + * @noflow
44 + * @nolint
45 + * @preventMunge
46 + * @preserve-invariant-messages
47 + */
48 +
49 +"use no memo";`,
50 + },
51 +};
52 +
53 +async function main() {
54 + if (argv.w) {
55 + const ctx = await esbuild.context(config);
56 + await ctx.watch();
57 + console.log('watching for changes...');
58 + } else {
59 + await esbuild.build({
60 + sourcemap: true,
61 + minify: false,
62 + ...config,
63 + });
64 + }
65 +}
66 +
67 +main();
compiler/packages/react-compiler-runtime/src/index.ts
-2
@@ -5,8 +5,6 @@
5 * LICENSE file in the root directory of this source tree.
6 */
7
8 -'use no memo';
9 -
8 import * as React from 'react';
9
10 const {useRef, useEffect, isValidElement} = React;
compiler/packages/snap/package.json
+1 -1
@@ -10,7 +10,7 @@
10 ],
11 "scripts": {
12 "postinstall": "./scripts/link-react-compiler-runtime.sh && perl -p -i -e 's/react\\.element/react.transitional.element/' ../../node_modules/fbt/lib/FbtReactUtil.js && perl -p -i -e 's/didWarnAboutUsingAct = false;/didWarnAboutUsingAct = true;/' ../../node_modules/react-dom/cjs/react-dom-test-utils.development.js",
13 - "build": "rimraf dist && concurrently -n snap,runtime \"tsc --build\" \"yarn --silent workspace react-compiler-runtime build --silent\"",
13 + "build": "rimraf dist && concurrently -n snap,runtime \"tsc --build\" \"yarn --silent workspace react-compiler-runtime build -p node\"",
14 "test": "echo 'no tests'",
15 "prettier": "prettier --write 'src/**/*.ts'"
16 },
compiler/scripts/release/shared/build-packages.js
+1 -1
@@ -4,7 +4,7 @@ const {execHelper} = require('./utils');
4 async function buildPackages(pkgNames) {
5 const spinner = ora(`Building packages`).info();
6 for (const pkgName of pkgNames) {
7 - const command = `yarn workspace ${pkgName} run build`;
7 + const command = `NODE_ENV=production yarn workspace ${pkgName} run build`;
8 spinner.start(`Running: ${command}\n`);
9 try {
10 await execHelper(command);
compiler/yarn.lock
+167 -339
@@ -1700,6 +1700,131 @@
1700 dependencies:
1701 "@jridgewell/trace-mapping" "0.3.9"
1702
1703 +"@esbuild/aix-ppc64@0.24.2":
1704 + version "0.24.2"
1705 + resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.24.2.tgz#38848d3e25afe842a7943643cbcd387cc6e13461"
1706 + integrity sha512-thpVCb/rhxE/BnMLQ7GReQLLN8q9qbHmI55F4489/ByVg2aQaQ6kbcLb6FHkocZzQhxc4gx0sCk0tJkKBFzDhA==
1707 +
1708 +"@esbuild/android-arm64@0.24.2":
1709 + version "0.24.2"
1710 + resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.24.2.tgz#f592957ae8b5643129fa889c79e69cd8669bb894"
1711 + integrity sha512-cNLgeqCqV8WxfcTIOeL4OAtSmL8JjcN6m09XIgro1Wi7cF4t/THaWEa7eL5CMoMBdjoHOTh/vwTO/o2TRXIyzg==
1712 +
1713 +"@esbuild/android-arm@0.24.2":
1714 + version "0.24.2"
1715 + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.24.2.tgz#72d8a2063aa630308af486a7e5cbcd1e134335b3"
1716 + integrity sha512-tmwl4hJkCfNHwFB3nBa8z1Uy3ypZpxqxfTQOcHX+xRByyYgunVbZ9MzUUfb0RxaHIMnbHagwAxuTL+tnNM+1/Q==
1717 +
1718 +"@esbuild/android-x64@0.24.2":
1719 + version "0.24.2"
1720 + resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.24.2.tgz#9a7713504d5f04792f33be9c197a882b2d88febb"
1721 + integrity sha512-B6Q0YQDqMx9D7rvIcsXfmJfvUYLoP722bgfBlO5cGvNVb5V/+Y7nhBE3mHV9OpxBf4eAS2S68KZztiPaWq4XYw==
1722 +
1723 +"@esbuild/darwin-arm64@0.24.2":
1724 + version "0.24.2"
1725 + resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.24.2.tgz#02ae04ad8ebffd6e2ea096181b3366816b2b5936"
1726 + integrity sha512-kj3AnYWc+CekmZnS5IPu9D+HWtUI49hbnyqk0FLEJDbzCIQt7hg7ucF1SQAilhtYpIujfaHr6O0UHlzzSPdOeA==
1727 +
1728 +"@esbuild/darwin-x64@0.24.2":
1729 + version "0.24.2"
1730 + resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.24.2.tgz#9ec312bc29c60e1b6cecadc82bd504d8adaa19e9"
1731 + integrity sha512-WeSrmwwHaPkNR5H3yYfowhZcbriGqooyu3zI/3GGpF8AyUdsrrP0X6KumITGA9WOyiJavnGZUwPGvxvwfWPHIA==
1732 +
1733 +"@esbuild/freebsd-arm64@0.24.2":
1734 + version "0.24.2"
1735 + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.24.2.tgz#5e82f44cb4906d6aebf24497d6a068cfc152fa00"
1736 + integrity sha512-UN8HXjtJ0k/Mj6a9+5u6+2eZ2ERD7Edt1Q9IZiB5UZAIdPnVKDoG7mdTVGhHJIeEml60JteamR3qhsr1r8gXvg==
1737 +
1738 +"@esbuild/freebsd-x64@0.24.2":
1739 + version "0.24.2"
1740 + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.24.2.tgz#3fb1ce92f276168b75074b4e51aa0d8141ecce7f"
1741 + integrity sha512-TvW7wE/89PYW+IevEJXZ5sF6gJRDY/14hyIGFXdIucxCsbRmLUcjseQu1SyTko+2idmCw94TgyaEZi9HUSOe3Q==
1742 +
1743 +"@esbuild/linux-arm64@0.24.2":
1744 + version "0.24.2"
1745 + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.24.2.tgz#856b632d79eb80aec0864381efd29de8fd0b1f43"
1746 + integrity sha512-7HnAD6074BW43YvvUmE/35Id9/NB7BeX5EoNkK9obndmZBUk8xmJJeU7DwmUeN7tkysslb2eSl6CTrYz6oEMQg==
1747 +
1748 +"@esbuild/linux-arm@0.24.2":
1749 + version "0.24.2"
1750 + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.24.2.tgz#c846b4694dc5a75d1444f52257ccc5659021b736"
1751 + integrity sha512-n0WRM/gWIdU29J57hJyUdIsk0WarGd6To0s+Y+LwvlC55wt+GT/OgkwoXCXvIue1i1sSNWblHEig00GBWiJgfA==
1752 +
1753 +"@esbuild/linux-ia32@0.24.2":
1754 + version "0.24.2"
1755 + resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.24.2.tgz#f8a16615a78826ccbb6566fab9a9606cfd4a37d5"
1756 + integrity sha512-sfv0tGPQhcZOgTKO3oBE9xpHuUqguHvSo4jl+wjnKwFpapx+vUDcawbwPNuBIAYdRAvIDBfZVvXprIj3HA+Ugw==
1757 +
1758 +"@esbuild/linux-loong64@0.24.2":
1759 + version "0.24.2"
1760 + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.24.2.tgz#1c451538c765bf14913512c76ed8a351e18b09fc"
1761 + integrity sha512-CN9AZr8kEndGooS35ntToZLTQLHEjtVB5n7dl8ZcTZMonJ7CCfStrYhrzF97eAecqVbVJ7APOEe18RPI4KLhwQ==
1762 +
1763 +"@esbuild/linux-mips64el@0.24.2":
1764 + version "0.24.2"
1765 + resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.24.2.tgz#0846edeefbc3d8d50645c51869cc64401d9239cb"
1766 + integrity sha512-iMkk7qr/wl3exJATwkISxI7kTcmHKE+BlymIAbHO8xanq/TjHaaVThFF6ipWzPHryoFsesNQJPE/3wFJw4+huw==
1767 +
1768 +"@esbuild/linux-ppc64@0.24.2":
1769 + version "0.24.2"
1770 + resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.24.2.tgz#8e3fc54505671d193337a36dfd4c1a23b8a41412"
1771 + integrity sha512-shsVrgCZ57Vr2L8mm39kO5PPIb+843FStGt7sGGoqiiWYconSxwTiuswC1VJZLCjNiMLAMh34jg4VSEQb+iEbw==
1772 +
1773 +"@esbuild/linux-riscv64@0.24.2":
1774 + version "0.24.2"
1775 + resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.24.2.tgz#6a1e92096d5e68f7bb10a0d64bb5b6d1daf9a694"
1776 + integrity sha512-4eSFWnU9Hhd68fW16GD0TINewo1L6dRrB+oLNNbYyMUAeOD2yCK5KXGK1GH4qD/kT+bTEXjsyTCiJGHPZ3eM9Q==
1777 +
1778 +"@esbuild/linux-s390x@0.24.2":
1779 + version "0.24.2"
1780 + resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.24.2.tgz#ab18e56e66f7a3c49cb97d337cd0a6fea28a8577"
1781 + integrity sha512-S0Bh0A53b0YHL2XEXC20bHLuGMOhFDO6GN4b3YjRLK//Ep3ql3erpNcPlEFed93hsQAjAQDNsvcK+hV90FubSw==
1782 +
1783 +"@esbuild/linux-x64@0.24.2":
1784 + version "0.24.2"
1785 + resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.24.2.tgz#8140c9b40da634d380b0b29c837a0b4267aff38f"
1786 + integrity sha512-8Qi4nQcCTbLnK9WoMjdC9NiTG6/E38RNICU6sUNqK0QFxCYgoARqVqxdFmWkdonVsvGqWhmm7MO0jyTqLqwj0Q==
1787 +
1788 +"@esbuild/netbsd-arm64@0.24.2":
1789 + version "0.24.2"
1790 + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-arm64/-/netbsd-arm64-0.24.2.tgz#65f19161432bafb3981f5f20a7ff45abb2e708e6"
1791 + integrity sha512-wuLK/VztRRpMt9zyHSazyCVdCXlpHkKm34WUyinD2lzK07FAHTq0KQvZZlXikNWkDGoT6x3TD51jKQ7gMVpopw==
1792 +
1793 +"@esbuild/netbsd-x64@0.24.2":
1794 + version "0.24.2"
1795 + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.24.2.tgz#7a3a97d77abfd11765a72f1c6f9b18f5396bcc40"
1796 + integrity sha512-VefFaQUc4FMmJuAxmIHgUmfNiLXY438XrL4GDNV1Y1H/RW3qow68xTwjZKfj/+Plp9NANmzbH5R40Meudu8mmw==
1797 +
1798 +"@esbuild/openbsd-arm64@0.24.2":
1799 + version "0.24.2"
1800 + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-arm64/-/openbsd-arm64-0.24.2.tgz#58b00238dd8f123bfff68d3acc53a6ee369af89f"
1801 + integrity sha512-YQbi46SBct6iKnszhSvdluqDmxCJA+Pu280Av9WICNwQmMxV7nLRHZfjQzwbPs3jeWnuAhE9Jy0NrnJ12Oz+0A==
1802 +
1803 +"@esbuild/openbsd-x64@0.24.2":
1804 + version "0.24.2"
1805 + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.24.2.tgz#0ac843fda0feb85a93e288842936c21a00a8a205"
1806 + integrity sha512-+iDS6zpNM6EnJyWv0bMGLWSWeXGN/HTaF/LXHXHwejGsVi+ooqDfMCCTerNFxEkM3wYVcExkeGXNqshc9iMaOA==
1807 +
1808 +"@esbuild/sunos-x64@0.24.2":
1809 + version "0.24.2"
1810 + resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.24.2.tgz#8b7aa895e07828d36c422a4404cc2ecf27fb15c6"
1811 + integrity sha512-hTdsW27jcktEvpwNHJU4ZwWFGkz2zRJUz8pvddmXPtXDzVKTTINmlmga3ZzwcuMpUvLw7JkLy9QLKyGpD2Yxig==
1812 +
1813 +"@esbuild/win32-arm64@0.24.2":
1814 + version "0.24.2"
1815 + resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.24.2.tgz#c023afb647cabf0c3ed13f0eddfc4f1d61c66a85"
1816 + integrity sha512-LihEQ2BBKVFLOC9ZItT9iFprsE9tqjDjnbulhHoFxYQtQfai7qfluVODIYxt1PgdoyQkz23+01rzwNwYfutxUQ==
1817 +
1818 +"@esbuild/win32-ia32@0.24.2":
1819 + version "0.24.2"
1820 + resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.24.2.tgz#96c356132d2dda990098c8b8b951209c3cd743c2"
1821 + integrity sha512-q+iGUwfs8tncmFC9pcnD5IvRHAzmbwQ3GPS5/ceCyHdjXubwQWI12MKWSNSMYLJMq23/IUCvJMS76PDqXe1fxA==
1822 +
1823 +"@esbuild/win32-x64@0.24.2":
1824 + version "0.24.2"
1825 + resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.24.2.tgz#34aa0b52d0fbb1a654b596acfa595f0c7b77a77b"
1826 + integrity sha512-7VTgWzgMGvup6aSqDPLiW5zHaxYJGTO4OokMjIlrCtf+VpEL+cXKtCvg723iguPYI5oaUNdS+/V7OU2gvXVWEg==
1827 +
1828 "@eslint-community/eslint-utils@^4.2.0", "@eslint-community/eslint-utils@^4.4.0":
1829 version "4.4.0"
1830 resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59"
@@ -2426,20 +2551,12 @@
2551 resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.2.1.tgz#558fb6472ed16a4c850b889530e6b36438c49280"
2552 integrity sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==
2553
2429 -"@jridgewell/source-map@^0.3.3":
2430 - version "0.3.6"
2431 - resolved "https://registry.yarnpkg.com/@jridgewell/source-map/-/source-map-0.3.6.tgz#9d71ca886e32502eb9362c9a74a46787c36df81a"
2432 - integrity sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==
2433 - dependencies:
2434 - "@jridgewell/gen-mapping" "^0.3.5"
2435 - "@jridgewell/trace-mapping" "^0.3.25"
2436 -
2554 "@jridgewell/sourcemap-codec@1.4.14", "@jridgewell/sourcemap-codec@^1.4.10":
2555 version "1.4.14"
2556 resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24"
2557 integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==
2558
2442 -"@jridgewell/sourcemap-codec@^1.4.14", "@jridgewell/sourcemap-codec@^1.4.15":
2559 +"@jridgewell/sourcemap-codec@^1.4.14":
2560 version "1.4.15"
2561 resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32"
2562 integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==
@@ -2512,152 +2629,6 @@
2629 resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33"
2630 integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==
2631
2515 -"@rollup/plugin-commonjs@^28.0.2":
2516 - version "28.0.2"
2517 - resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-28.0.2.tgz#193d7a86470f112b56927c1d821ee45951a819ea"
2518 - integrity sha512-BEFI2EDqzl+vA1rl97IDRZ61AIwGH093d9nz8+dThxJNH8oSoB7MjWvPCX3dkaK1/RCJ/1v/R1XB15FuSs0fQw==
2519 - dependencies:
2520 - "@rollup/pluginutils" "^5.0.1"
2521 - commondir "^1.0.1"
2522 - estree-walker "^2.0.2"
2523 - fdir "^6.2.0"
2524 - is-reference "1.2.1"
2525 - magic-string "^0.30.3"
2526 - picomatch "^4.0.2"
2527 -
2528 -"@rollup/plugin-json@^6.1.0":
2529 - version "6.1.0"
2530 - resolved "https://registry.yarnpkg.com/@rollup/plugin-json/-/plugin-json-6.1.0.tgz#fbe784e29682e9bb6dee28ea75a1a83702e7b805"
2531 - integrity sha512-EGI2te5ENk1coGeADSIwZ7G2Q8CJS2sF120T7jLw4xFw9n7wIOXHo+kIYRAoVpJAN+kmqZSoO3Fp4JtoNF4ReA==
2532 - dependencies:
2533 - "@rollup/pluginutils" "^5.1.0"
2534 -
2535 -"@rollup/plugin-node-resolve@^16.0.0":
2536 - version "16.0.0"
2537 - resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-16.0.0.tgz#b1a0594661f40d7b061d82136e847354ff85f211"
2538 - integrity sha512-0FPvAeVUT/zdWoO0jnb/V5BlBsUSNfkIOtFHzMO4H9MOklrmQFY6FduVHKucNb/aTFxvnGhj4MNj/T1oNdDfNg==
2539 - dependencies:
2540 - "@rollup/pluginutils" "^5.0.1"
2541 - "@types/resolve" "1.20.2"
2542 - deepmerge "^4.2.2"
2543 - is-module "^1.0.0"
2544 - resolve "^1.22.1"
2545 -
2546 -"@rollup/plugin-terser@^0.4.4":
2547 - version "0.4.4"
2548 - resolved "https://registry.yarnpkg.com/@rollup/plugin-terser/-/plugin-terser-0.4.4.tgz#15dffdb3f73f121aa4fbb37e7ca6be9aeea91962"
2549 - integrity sha512-XHeJC5Bgvs8LfukDwWZp7yeqin6ns8RTl2B9avbejt6tZqsqvVoWI7ZTQrcNsfKEDWBTnTxM8nMDkO2IFFbd0A==
2550 - dependencies:
2551 - serialize-javascript "^6.0.1"
2552 - smob "^1.0.0"
2553 - terser "^5.17.4"
2554 -
2555 -"@rollup/plugin-typescript@^12.1.2":
2556 - version "12.1.2"
2557 - resolved "https://registry.yarnpkg.com/@rollup/plugin-typescript/-/plugin-typescript-12.1.2.tgz#ebaeec2e7376faa889030ccd7cb485a649e63118"
2558 - integrity sha512-cdtSp154H5sv637uMr1a8OTWB0L1SWDSm1rDGiyfcGcvQ6cuTs4MDk2BVEBGysUWago4OJN4EQZqOTl/QY3Jgg==
2559 - dependencies:
2560 - "@rollup/pluginutils" "^5.1.0"
2561 - resolve "^1.22.1"
2562 -
2563 -"@rollup/pluginutils@^5.0.1":
2564 - version "5.0.4"
2565 - resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-5.0.4.tgz#74f808f9053d33bafec0cc98e7b835c9667d32ba"
2566 - integrity sha512-0KJnIoRI8A+a1dqOYLxH8vBf8bphDmty5QvIm2hqm7oFCFYKCAZWWd2hXgMibaPsNDhI0AtpYfQZJG47pt/k4g==
2567 - dependencies:
2568 - "@types/estree" "^1.0.0"
2569 - estree-walker "^2.0.2"
2570 - picomatch "^2.3.1"
2571 -
2572 -"@rollup/pluginutils@^5.1.0":
2573 - version "5.1.0"
2574 - resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-5.1.0.tgz#7e53eddc8c7f483a4ad0b94afb1f7f5fd3c771e0"
2575 - integrity sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==
2576 - dependencies:
2577 - "@types/estree" "^1.0.0"
2578 - estree-walker "^2.0.2"
2579 - picomatch "^2.3.1"
2580 -
2581 -"@rollup/rollup-android-arm-eabi@4.22.4":
2582 - version "4.22.4"
2583 - resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.22.4.tgz#8b613b9725e8f9479d142970b106b6ae878610d5"
2584 - integrity sha512-Fxamp4aEZnfPOcGA8KSNEohV8hX7zVHOemC8jVBoBUHu5zpJK/Eu3uJwt6BMgy9fkvzxDaurgj96F/NiLukF2w==
2585 -
2586 -"@rollup/rollup-android-arm64@4.22.4":
2587 - version "4.22.4"
2588 - resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.22.4.tgz#654ca1049189132ff602bfcf8df14c18da1f15fb"
2589 - integrity sha512-VXoK5UMrgECLYaMuGuVTOx5kcuap1Jm8g/M83RnCHBKOqvPPmROFJGQaZhGccnsFtfXQ3XYa4/jMCJvZnbJBdA==
2590 -
2591 -"@rollup/rollup-darwin-arm64@4.22.4":
2592 - version "4.22.4"
2593 - resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.22.4.tgz#6d241d099d1518ef0c2205d96b3fa52e0fe1954b"
2594 - integrity sha512-xMM9ORBqu81jyMKCDP+SZDhnX2QEVQzTcC6G18KlTQEzWK8r/oNZtKuZaCcHhnsa6fEeOBionoyl5JsAbE/36Q==
2595 -
2596 -"@rollup/rollup-darwin-x64@4.22.4":
2597 - version "4.22.4"
2598 - resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.22.4.tgz#42bd19d292a57ee11734c980c4650de26b457791"
2599 - integrity sha512-aJJyYKQwbHuhTUrjWjxEvGnNNBCnmpHDvrb8JFDbeSH3m2XdHcxDd3jthAzvmoI8w/kSjd2y0udT+4okADsZIw==
2600 -
2601 -"@rollup/rollup-linux-arm-gnueabihf@4.22.4":
2602 - version "4.22.4"
2603 - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.22.4.tgz#f23555ee3d8fe941c5c5fd458cd22b65eb1c2232"
2604 - integrity sha512-j63YtCIRAzbO+gC2L9dWXRh5BFetsv0j0va0Wi9epXDgU/XUi5dJKo4USTttVyK7fGw2nPWK0PbAvyliz50SCQ==
2605 -
2606 -"@rollup/rollup-linux-arm-musleabihf@4.22.4":
2607 - version "4.22.4"
2608 - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.22.4.tgz#f3bbd1ae2420f5539d40ac1fde2b38da67779baa"
2609 - integrity sha512-dJnWUgwWBX1YBRsuKKMOlXCzh2Wu1mlHzv20TpqEsfdZLb3WoJW2kIEsGwLkroYf24IrPAvOT/ZQ2OYMV6vlrg==
2610 -
2611 -"@rollup/rollup-linux-arm64-gnu@4.22.4":
2612 - version "4.22.4"
2613 - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.22.4.tgz#7abe900120113e08a1f90afb84c7c28774054d15"
2614 - integrity sha512-AdPRoNi3NKVLolCN/Sp4F4N1d98c4SBnHMKoLuiG6RXgoZ4sllseuGioszumnPGmPM2O7qaAX/IJdeDU8f26Aw==
2615 -
2616 -"@rollup/rollup-linux-arm64-musl@4.22.4":
2617 - version "4.22.4"
2618 - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.22.4.tgz#9e655285c8175cd44f57d6a1e8e5dedfbba1d820"
2619 - integrity sha512-Gl0AxBtDg8uoAn5CCqQDMqAx22Wx22pjDOjBdmG0VIWX3qUBHzYmOKh8KXHL4UpogfJ14G4wk16EQogF+v8hmA==
2620 -
2621 -"@rollup/rollup-linux-powerpc64le-gnu@4.22.4":
2622 - version "4.22.4"
2623 - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.22.4.tgz#9a79ae6c9e9d8fe83d49e2712ecf4302db5bef5e"
2624 - integrity sha512-3aVCK9xfWW1oGQpTsYJJPF6bfpWfhbRnhdlyhak2ZiyFLDaayz0EP5j9V1RVLAAxlmWKTDfS9wyRyY3hvhPoOg==
2625 -
2626 -"@rollup/rollup-linux-riscv64-gnu@4.22.4":
2627 - version "4.22.4"
2628 - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.22.4.tgz#67ac70eca4ace8e2942fabca95164e8874ab8128"
2629 - integrity sha512-ePYIir6VYnhgv2C5Xe9u+ico4t8sZWXschR6fMgoPUK31yQu7hTEJb7bCqivHECwIClJfKgE7zYsh1qTP3WHUA==
2630 -
2631 -"@rollup/rollup-linux-s390x-gnu@4.22.4":
2632 - version "4.22.4"
2633 - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.22.4.tgz#9f883a7440f51a22ed7f99e1d070bd84ea5005fc"
2634 - integrity sha512-GqFJ9wLlbB9daxhVlrTe61vJtEY99/xB3C8e4ULVsVfflcpmR6c8UZXjtkMA6FhNONhj2eA5Tk9uAVw5orEs4Q==
2635 -
2636 -"@rollup/rollup-linux-x64-gnu@4.22.4":
2637 - version "4.22.4"
2638 - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.22.4.tgz#70116ae6c577fe367f58559e2cffb5641a1dd9d0"
2639 - integrity sha512-87v0ol2sH9GE3cLQLNEy0K/R0pz1nvg76o8M5nhMR0+Q+BBGLnb35P0fVz4CQxHYXaAOhE8HhlkaZfsdUOlHwg==
2640 -
2641 -"@rollup/rollup-linux-x64-musl@4.22.4":
2642 - version "4.22.4"
2643 - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.22.4.tgz#f473f88219feb07b0b98b53a7923be716d1d182f"
2644 - integrity sha512-UV6FZMUgePDZrFjrNGIWzDo/vABebuXBhJEqrHxrGiU6HikPy0Z3LfdtciIttEUQfuDdCn8fqh7wiFJjCNwO+g==
2645 -
2646 -"@rollup/rollup-win32-arm64-msvc@4.22.4":
2647 - version "4.22.4"
2648 - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.22.4.tgz#4349482d17f5d1c58604d1c8900540d676f420e0"
2649 - integrity sha512-BjI+NVVEGAXjGWYHz/vv0pBqfGoUH0IGZ0cICTn7kB9PyjrATSkX+8WkguNjWoj2qSr1im/+tTGRaY+4/PdcQw==
2650 -
2651 -"@rollup/rollup-win32-ia32-msvc@4.22.4":
2652 - version "4.22.4"
2653 - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.22.4.tgz#a6fc39a15db618040ec3c2a24c1e26cb5f4d7422"
2654 - integrity sha512-SiWG/1TuUdPvYmzmYnmd3IEifzR61Tragkbx9D3+R8mzQqDBz8v+BvZNDlkiTtI9T15KYZhP0ehn3Dld4n9J5g==
2655 -
2656 -"@rollup/rollup-win32-x64-msvc@4.22.4":
2657 - version "4.22.4"
2658 - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.22.4.tgz#3dd5d53e900df2a40841882c02e56f866c04d202"
2659 - integrity sha512-j8pPKp53/lq9lMXN57S8cFz0MynJk8OWNuUnXct/9KCpKU7DgU3bYMJhwWmcqC0UU29p8Lr0/7KEVcaM6bf47Q==
2660 -
2632 "@sideway/address@^4.1.5":
2633 version "4.1.5"
2634 resolved "https://registry.yarnpkg.com/@sideway/address/-/address-4.1.5.tgz#4bc149a0076623ced99ca8208ba780d65a99b9d5"
@@ -2822,7 +2793,7 @@
2793 "@types/estree" "*"
2794 "@types/json-schema" "*"
2795
2825 -"@types/estree@*", "@types/estree@1.0.5", "@types/estree@^1.0.0":
2796 +"@types/estree@*":
2797 version "1.0.5"
2798 resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.5.tgz#a6ce3e556e00fd9895dd872dd172ad0d4bd687f4"
2799 integrity sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==
@@ -2926,13 +2897,6 @@
2897 resolved "https://registry.yarnpkg.com/@types/node/-/node-20.2.5.tgz#26d295f3570323b2837d322180dfbf1ba156fefb"
2898 integrity sha512-JJulVEQXmiY9Px5axXHeYGLSjhkZEnD+MDPDGbCbIAbMslkKwmygtZFy1X6s/075Yo94sf8GuSlFfPzysQrWZQ==
2899
2929 -"@types/prettier@^1.0.0 || ^2.0.0 || ^3.0.0":
2930 - version "3.0.0"
2931 - resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-3.0.0.tgz#e9bc8160230d3a461dab5c5b41cceef1ef723057"
2932 - integrity sha512-mFMBfMOz8QxhYVbuINtswBp9VL2b4Y0QqYHwqLz3YbgtfAcat2Dl6Y1o4e22S/OVE6Ebl9m7wWiMT2lSbAs1wA==
2933 - dependencies:
2934 - prettier "*"
2935 -
2900 "@types/prettier@^2.1.5":
2901 version "2.7.0"
2902 resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.7.0.tgz#ea03e9f0376a4446f44797ca19d9c46c36e352dc"
@@ -2959,11 +2923,6 @@
2923 "@types/scheduler" "*"
2924 csstype "^3.0.2"
2925
2962 -"@types/resolve@1.20.2":
2963 - version "1.20.2"
2964 - resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-1.20.2.tgz#97d26e00cd4a0423b4af620abecf3e6f442b7975"
2965 - integrity sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==
2966 -
2926 "@types/scheduler@*":
2927 version "0.16.2"
2928 resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.2.tgz#1a62f89525723dde24ba1b01b092bf5df8ad4d39"
@@ -3213,11 +3172,6 @@ acorn@^8.4.1, acorn@^8.7.1:
3172 resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.0.tgz#88c0187620435c7f6015803f5539dae05a9dbea8"
3173 integrity sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==
3174
3216 -acorn@^8.8.2:
3217 - version "8.11.3"
3218 - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.11.3.tgz#71e0b14e13a4ec160724b38fb7b0f233b1b81d7a"
3219 - integrity sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==
3220 -
3175 acorn@^8.9.0:
3176 version "8.11.2"
3177 resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.11.2.tgz#ca0d78b51895be5390a5903c5b3bdcdaf78ae40b"
@@ -3787,11 +3741,6 @@ combined-stream@^1.0.8:
3741 dependencies:
3742 delayed-stream "~1.0.0"
3743
3790 -commander@^2.20.0:
3791 - version "2.20.3"
3792 - resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
3793 - integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==
3794 -
3744 commondir@^1.0.1:
3745 version "1.0.1"
3746 resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b"
@@ -3981,11 +3930,6 @@ diff-sequences@^29.4.3:
3930 resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-29.4.3.tgz#9314bc1fabe09267ffeca9cbafc457d8499a13f2"
3931 integrity sha512-ofrBgwpPhCD85kMKtE9RYFFq6OC1A89oW2vvgWZNCwxrUpRUILopY7lsYyMDSjc8g6U6aiO0Qubg6r4Wgt5ZnA==
3932
3984 -diff@5.1.0:
3985 - version "5.1.0"
3986 - resolved "https://registry.yarnpkg.com/diff/-/diff-5.1.0.tgz#bc52d298c5ea8df9194800224445ed43ffc87e40"
3987 - integrity sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==
3988 -
3933 diff@^4.0.1:
3934 version "4.0.2"
3935 resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d"
@@ -4083,6 +4027,37 @@ es5-ext@0.8.x:
4027 resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.8.2.tgz#aba8d9e1943a895ac96837a62a39b3f55ecd94ab"
4028 integrity sha512-H19ompyhnKiBdjHR1DPHvf5RHgHPmJaY9JNzFGbMbPgdsUkvnUCN1Ke8J4Y0IMyTwFM2M9l4h2GoHwzwpSmXbA==
4029
4030 +esbuild@^0.24.2:
4031 + version "0.24.2"
4032 + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.24.2.tgz#b5b55bee7de017bff5fb8a4e3e44f2ebe2c3567d"
4033 + integrity sha512-+9egpBW8I3CD5XPe0n6BfT5fxLzxrlDzqydF3aviG+9ni1lDC/OvMHcxqEFV0+LANZG5R1bFMWfUrjVsdwxJvA==
4034 + optionalDependencies:
4035 + "@esbuild/aix-ppc64" "0.24.2"
4036 + "@esbuild/android-arm" "0.24.2"
4037 + "@esbuild/android-arm64" "0.24.2"
4038 + "@esbuild/android-x64" "0.24.2"
4039 + "@esbuild/darwin-arm64" "0.24.2"
4040 + "@esbuild/darwin-x64" "0.24.2"
4041 + "@esbuild/freebsd-arm64" "0.24.2"
4042 + "@esbuild/freebsd-x64" "0.24.2"
4043 + "@esbuild/linux-arm" "0.24.2"
4044 + "@esbuild/linux-arm64" "0.24.2"
4045 + "@esbuild/linux-ia32" "0.24.2"
4046 + "@esbuild/linux-loong64" "0.24.2"
4047 + "@esbuild/linux-mips64el" "0.24.2"
4048 + "@esbuild/linux-ppc64" "0.24.2"
4049 + "@esbuild/linux-riscv64" "0.24.2"
4050 + "@esbuild/linux-s390x" "0.24.2"
4051 + "@esbuild/linux-x64" "0.24.2"
4052 + "@esbuild/netbsd-arm64" "0.24.2"
4053 + "@esbuild/netbsd-x64" "0.24.2"
4054 + "@esbuild/openbsd-arm64" "0.24.2"
4055 + "@esbuild/openbsd-x64" "0.24.2"
4056 + "@esbuild/sunos-x64" "0.24.2"
4057 + "@esbuild/win32-arm64" "0.24.2"
4058 + "@esbuild/win32-ia32" "0.24.2"
4059 + "@esbuild/win32-x64" "0.24.2"
4060 +
4061 escalade@^3.1.1:
4062 version "3.1.1"
4063 resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40"
@@ -4264,11 +4239,6 @@ estraverse@^5.1.0, estraverse@^5.2.0:
4239 resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123"
4240 integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==
4241
4267 -estree-walker@^2.0.2:
4268 - version "2.0.2"
4269 - resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-2.0.2.tgz#52f010178c2a4c117a7757cfe942adb7d2da4cac"
4270 - integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==
4271 -
4242 esutils@^2.0.2:
4243 version "2.0.3"
4244 resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64"
@@ -4403,11 +4373,6 @@ fbt@^1.0.2:
4373 dependencies:
4374 invariant "^2.2.4"
4375
4406 -fdir@^6.2.0:
4407 - version "6.4.2"
4408 - resolved "https://registry.yarnpkg.com/fdir/-/fdir-6.4.2.tgz#ddaa7ce1831b161bc3657bb99cb36e1622702689"
4409 - integrity sha512-KnhMXsKSPZlAhp7+IjUkRZKPb4fUyccpDrdFXbi4QL1qkmFh9kVY09Yox+n4MaOb3lHZ1Tv829C3oaaXoMYPDQ==
4410 -
4376 file-entry-cache@^6.0.1:
4377 version "6.0.1"
4378 resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027"
@@ -4516,7 +4481,7 @@ fs.realpath@^1.0.0:
4481 resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
4482 integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==
4483
4519 -fsevents@^2.3.2, fsevents@~2.3.2:
4484 +fsevents@^2.3.2:
4485 version "2.3.2"
4486 resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a"
4487 integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==
@@ -4846,11 +4811,6 @@ is-interactive@^1.0.0:
4811 resolved "https://registry.yarnpkg.com/is-interactive/-/is-interactive-1.0.0.tgz#cea6e6ae5c870a7b0a0004070b7b587e0252912e"
4812 integrity sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==
4813
4849 -is-module@^1.0.0:
4850 - version "1.0.0"
4851 - resolved "https://registry.yarnpkg.com/is-module/-/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591"
4852 - integrity sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==
4853 -
4814 is-number@^7.0.0:
4815 version "7.0.0"
4816 resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b"
@@ -4873,13 +4833,6 @@ is-potential-custom-element-name@^1.0.1:
4833 resolved "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz#171ed6f19e3ac554394edf78caa05784a45bebb5"
4834 integrity sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==
4835
4876 -is-reference@1.2.1:
4877 - version "1.2.1"
4878 - resolved "https://registry.yarnpkg.com/is-reference/-/is-reference-1.2.1.tgz#8b2dac0b371f4bc994fdeaba9eb542d03002d0b7"
4879 - integrity sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==
4880 - dependencies:
4881 - "@types/estree" "*"
4882 -
4836 is-stream@^2.0.0:
4837 version "2.0.1"
4838 resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077"
@@ -6252,21 +6205,6 @@ lodash.debounce@^4.0.8:
6205 resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af"
6206 integrity sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==
6207
6255 -lodash.hasin@4.5.2:
6256 - version "4.5.2"
6257 - resolved "https://registry.yarnpkg.com/lodash.hasin/-/lodash.hasin-4.5.2.tgz#f91e352378d21ef7090b9e7687c2ca35c5b4d52a"
6258 - integrity sha512-AFAitwTSq1Ka/1J9uBaVxpLBP5OI3INQvkl4wKcgIYxoA0S3aqO1QWXHR9aCcOrWtPFqP7GzlFncZfe0Jz0kNw==
6259 -
6260 -lodash.isempty@4.4.0:
6261 - version "4.4.0"
6262 - resolved "https://registry.yarnpkg.com/lodash.isempty/-/lodash.isempty-4.4.0.tgz#6f86cbedd8be4ec987be9aaf33c9684db1b31e7e"
6263 - integrity sha512-oKMuF3xEeqDltrGMfDxAPGIVMSSRv8tbRSODbrs4KGsRRLEhrW8N8Rd4DRgB2+621hY8A8XwwrTVhXWpxFvMzg==
6264 -
6265 -lodash.isnil@4.0.0:
6266 - version "4.0.0"
6267 - resolved "https://registry.yarnpkg.com/lodash.isnil/-/lodash.isnil-4.0.0.tgz#49e28cd559013458c814c5479d3c663a21bfaa6c"
6268 - integrity sha512-up2Mzq3545mwVnMhTDMdfoG1OurpA/s5t88JmQX809eH3C8491iu2sfKhTfhQtKY78oPNhiaHJUpT/dUDAAtng==
6269 -
6208 lodash.memoize@4.x:
6209 version "4.1.2"
6210 resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe"
@@ -6277,11 +6215,6 @@ lodash.merge@^4.6.2:
6215 resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a"
6216 integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==
6217
6280 -lodash.omitby@4.6.0:
6281 - version "4.6.0"
6282 - resolved "https://registry.yarnpkg.com/lodash.omitby/-/lodash.omitby-4.6.0.tgz#5c15ff4754ad555016b53c041311e8f079204791"
6283 - integrity sha512-5OrRcIVR75M288p4nbI2WLAf3ndw2GD9fyNv3Bc15+WCxJDdZ4lYndSxGd7hnG6PVjiJTeJE2dHEGhIuKGicIQ==
6284 -
6218 lodash@^4.17.10, lodash@^4.17.13, lodash@^4.17.21:
6219 version "4.17.21"
6220 resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
@@ -6326,27 +6259,6 @@ lz-string@^1.4.4:
6259 resolved "https://registry.yarnpkg.com/lz-string/-/lz-string-1.4.4.tgz#c0d8eaf36059f705796e1e344811cf4c498d3a26"
6260 integrity sha512-0ckx7ZHRPqb0oUm8zNr+90mtf9DQB60H1wMCjBtfi62Kl3a7JbHob6gA2bC+xRvZoOL+1hzUK8jeuEIQE8svEQ==
6261
6329 -magic-string@0.30.5:
6330 - version "0.30.5"
6331 - resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.5.tgz#1994d980bd1c8835dc6e78db7cbd4ae4f24746f9"
6332 - integrity sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==
6333 - dependencies:
6334 - "@jridgewell/sourcemap-codec" "^1.4.15"
6335 -
6336 -magic-string@^0.25.7:
6337 - version "0.25.9"
6338 - resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.9.tgz#de7f9faf91ef8a1c91d02c2e5314c8277dbcdd1c"
6339 - integrity sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==
6340 - dependencies:
6341 - sourcemap-codec "^1.4.8"
6342 -
6343 -magic-string@^0.30.3:
6344 - version "0.30.8"
6345 - resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.8.tgz#14e8624246d2bedba70d5462aa99ac9681844613"
6346 - integrity sha512-ISQTe55T2ao7XtlAStud6qwYPZjE4GK1S/BeVPus4jrq6JuOnQ00YKQC581RWhR122W7msZV263KzVeLoqidyQ==
6347 - dependencies:
6348 - "@jridgewell/sourcemap-codec" "^1.4.15"
6349 -
6262 make-dir@^2.0.0, make-dir@^2.1.0:
6263 version "2.1.0"
6264 resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5"
@@ -6718,11 +6630,6 @@ picomatch@^2.0.4, picomatch@^2.2.3, picomatch@^2.3.1:
6630 resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42"
6631 integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==
6632
6721 -picomatch@^4.0.2:
6722 - version "4.0.2"
6723 - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.2.tgz#77c742931e8f3b8820946c76cd0c1f13730d1dab"
6724 - integrity sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==
6725 -
6633 pify@^4.0.1:
6634 version "4.0.1"
6635 resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231"
@@ -6766,7 +6673,7 @@ prettier-plugin-hermes-parser@0.26.0, prettier-plugin-hermes-parser@^0.26.0:
6673 hermes-parser "0.26.0"
6674 prettier-plugin-hermes-parser "0.26.0"
6675
6769 -prettier@*, prettier@^3.3.3:
6676 +prettier@^3.3.3:
6677 version "3.3.3"
6678 resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.3.3.tgz#30c54fe0be0d8d12e6ae61dbb10109ea00d53105"
6679 integrity sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==
@@ -6869,13 +6776,6 @@ queue-microtask@^1.2.2:
6776 resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243"
6777 integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==
6778
6872 -randombytes@^2.1.0:
6873 - version "2.1.0"
6874 - resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a"
6875 - integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==
6876 - dependencies:
6877 - safe-buffer "^5.1.0"
6878 -
6779 react-dom@0.0.0-experimental-4beb1fd8-20241118:
6780 version "0.0.0-experimental-4beb1fd8-20241118"
6781 resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-0.0.0-experimental-4beb1fd8-20241118.tgz#bf51483d52faea0618abef7d7eab681eea328ac7"
@@ -7012,7 +6912,7 @@ resolve.exports@^2.0.0:
6912 resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-2.0.2.tgz#f8c934b8e6a13f539e38b7098e2e36134f01e800"
6913 integrity sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==
6914
7015 -resolve@^1.14.2, resolve@^1.22.1:
6915 +resolve@^1.14.2:
6916 version "1.22.2"
6917 resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.2.tgz#0ed0943d4e301867955766c9f3e1ae6d01c6845f"
6918 integrity sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==
@@ -7050,51 +6950,6 @@ rimraf@^3.0.0, rimraf@^3.0.2:
6950 dependencies:
6951 glob "^7.1.3"
6952
7053 -rollup-plugin-banner2@^1.2.3:
7054 - version "1.2.3"
7055 - resolved "https://registry.yarnpkg.com/rollup-plugin-banner2/-/rollup-plugin-banner2-1.2.3.tgz#4aa454e41a80623180164625368ec0321641a0ef"
7056 - integrity sha512-lhpPoDTRZMIvSK1AppGNDIZ4fnQuW4WuENuswSUzvXhTR596zWNOmCaCYoqD15QixnjnG+wT+jauLEK5qGRPZg==
7057 - dependencies:
7058 - magic-string "^0.25.7"
7059 -
7060 -rollup-plugin-prettier@^4.1.1:
7061 - version "4.1.1"
7062 - resolved "https://registry.yarnpkg.com/rollup-plugin-prettier/-/rollup-plugin-prettier-4.1.1.tgz#eb74bd47c3cc3ba68bdf34b5323d0d7a47be8cec"
7063 - integrity sha512-ugpi/EqW12yJa4NO3o4f/wt/YHwiQovVGC2jxZgxuKO9osjt4lVxVA427+itl87XmQc6089ZkpDc6OpaOZKWgQ==
7064 - dependencies:
7065 - "@types/prettier" "^1.0.0 || ^2.0.0 || ^3.0.0"
7066 - diff "5.1.0"
7067 - lodash.hasin "4.5.2"
7068 - lodash.isempty "4.4.0"
7069 - lodash.isnil "4.0.0"
7070 - lodash.omitby "4.6.0"
7071 - magic-string "0.30.5"
7072 -
7073 -rollup@^4.22.4:
7074 - version "4.22.4"
7075 - resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.22.4.tgz#4135a6446671cd2a2453e1ad42a45d5973ec3a0f"
7076 - integrity sha512-vD8HJ5raRcWOyymsR6Z3o6+RzfEPCnVLMFJ6vRslO1jt4LO6dUo5Qnpg7y4RkZFM2DMe3WUirkI5c16onjrc6A==
7077 - dependencies:
7078 - "@types/estree" "1.0.5"
7079 - optionalDependencies:
7080 - "@rollup/rollup-android-arm-eabi" "4.22.4"
7081 - "@rollup/rollup-android-arm64" "4.22.4"
7082 - "@rollup/rollup-darwin-arm64" "4.22.4"
7083 - "@rollup/rollup-darwin-x64" "4.22.4"
7084 - "@rollup/rollup-linux-arm-gnueabihf" "4.22.4"
7085 - "@rollup/rollup-linux-arm-musleabihf" "4.22.4"
7086 - "@rollup/rollup-linux-arm64-gnu" "4.22.4"
7087 - "@rollup/rollup-linux-arm64-musl" "4.22.4"
7088 - "@rollup/rollup-linux-powerpc64le-gnu" "4.22.4"
7089 - "@rollup/rollup-linux-riscv64-gnu" "4.22.4"
7090 - "@rollup/rollup-linux-s390x-gnu" "4.22.4"
7091 - "@rollup/rollup-linux-x64-gnu" "4.22.4"
7092 - "@rollup/rollup-linux-x64-musl" "4.22.4"
7093 - "@rollup/rollup-win32-arm64-msvc" "4.22.4"
7094 - "@rollup/rollup-win32-ia32-msvc" "4.22.4"
7095 - "@rollup/rollup-win32-x64-msvc" "4.22.4"
7096 - fsevents "~2.3.2"
7097 -
6953 rrweb-cssom@^0.6.0:
6954 version "0.6.0"
6955 resolved "https://registry.yarnpkg.com/rrweb-cssom/-/rrweb-cssom-0.6.0.tgz#ed298055b97cbddcdeb278f904857629dec5e0e1"
@@ -7114,16 +6969,16 @@ rxjs@^7.0.0, rxjs@^7.8.1:
6969 dependencies:
6970 tslib "^2.1.0"
6971
7117 -safe-buffer@^5.1.0, safe-buffer@~5.2.0:
7118 - version "5.2.1"
7119 - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6"
7120 - integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==
7121 -
6972 safe-buffer@~5.1.1:
6973 version "5.1.2"
6974 resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d"
6975 integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==
6976
6977 +safe-buffer@~5.2.0:
6978 + version "5.2.1"
6979 + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6"
6980 + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==
6981 +
6982 "safer-buffer@>= 2.1.2 < 3.0.0":
6983 version "2.1.2"
6984 resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
@@ -7175,13 +7030,6 @@ semver@^7.6.0:
7030 resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.3.tgz#980f7b5550bc175fb4dc09403085627f9eb33143"
7031 integrity sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==
7032
7178 -serialize-javascript@^6.0.1:
7179 - version "6.0.2"
7180 - resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.2.tgz#defa1e055c83bf6d59ea805d8da862254eb6a6c2"
7181 - integrity sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==
7182 - dependencies:
7183 - randombytes "^2.1.0"
7184 -
7033 set-blocking@^2.0.0:
7034 version "2.0.0"
7035 resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7"
@@ -7231,11 +7079,6 @@ slash@^3.0.0:
7079 resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634"
7080 integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==
7081
7234 -smob@^1.0.0:
7235 - version "1.5.0"
7236 - resolved "https://registry.yarnpkg.com/smob/-/smob-1.5.0.tgz#85d79a1403abf128d24d3ebc1cdc5e1a9548d3ab"
7237 - integrity sha512-g6T+p7QO8npa+/hNx9ohv1E5pVCmWrVCUzUXJyLdMmftX6ER0oiWY/w9knEonLpnOp6b6FenKnMfR8gqwWdwig==
7238 -
7082 source-map-support@0.5.13:
7083 version "0.5.13"
7084 resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.13.tgz#31b24a9c2e73c2de85066c0feb7d44767ed52932"
@@ -7244,7 +7087,7 @@ source-map-support@0.5.13:
7087 buffer-from "^1.0.0"
7088 source-map "^0.6.0"
7089
7247 -source-map-support@^0.5.16, source-map-support@~0.5.20:
7090 +source-map-support@^0.5.16:
7091 version "0.5.21"
7092 resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f"
7093 integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==
@@ -7262,11 +7105,6 @@ source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1:
7105 resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
7106 integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==
7107
7265 -sourcemap-codec@^1.4.8:
7266 - version "1.4.8"
7267 - resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4"
7268 - integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==
7269 -
7108 spawn-command@^0.0.2-1:
7109 version "0.0.2-1"
7110 resolved "https://registry.yarnpkg.com/spawn-command/-/spawn-command-0.0.2-1.tgz#62f5e9466981c1b796dc5929937e11c9c6921bd0"
@@ -7409,16 +7247,6 @@ terminal-link@^2.0.0:
7247 ansi-escapes "^4.2.1"
7248 supports-hyperlinks "^2.0.0"
7249
7412 -terser@^5.17.4:
7413 - version "5.30.2"
7414 - resolved "https://registry.yarnpkg.com/terser/-/terser-5.30.2.tgz#79fc2222c241647cea54ab928ac987ffbe8ce9e2"
7415 - integrity sha512-vTDjRKYKip4dOFL5VizdoxHTYDfEXPdz5t+FbxCC5Rp2s+KbEO8w5wqMDPgj7CtFKZuzq7PXv28fZoXfqqBVuw==
7416 - dependencies:
7417 - "@jridgewell/source-map" "^0.3.3"
7418 - acorn "^8.8.2"
7419 - commander "^2.20.0"
7420 - source-map-support "~0.5.20"
7421 -
7250 test-exclude@^6.0.0:
7251 version "6.0.0"
7252 resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-6.0.0.tgz#04a8698661d805ea6fa293b6cb9e63ac044ef15e"