Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
9b4cd28
Set `react-hooks/rules-of-hooks` eslint ruleset to "error"
MajorLift Oct 30, 2025
af51e2b
Fix `rules-of-hooks` violations
MajorLift Oct 30, 2025
c53e435
Rename: `{s,useS}etConfirmationAlerts`
MajorLift Oct 30, 2025
0e10ad7
Add `eslint-disable` directives for `rules-of-hooks`
MajorLift Oct 30, 2025
d3c1f6e
Rename: `{s,useS}yncConfirmPath`
MajorLift Oct 30, 2025
4abb021
Merge branch 'main' into jongsun/chore/251030-enable-rules-of-hooks
MajorLift Nov 12, 2025
da42adc
Fix conditional hook calls introduced from main
MajorLift Nov 12, 2025
8fd5794
Fix incorrectly resolved merge conflict
MajorLift Nov 12, 2025
8933eb6
Set up React Compiler
MajorLift Nov 3, 2025
435d46f
Fix formatting rule violations
MajorLift Nov 3, 2025
3d6ddc1
Fix logical rule violations
MajorLift Nov 3, 2025
8f719cb
Fix breakages
MajorLift Nov 3, 2025
3520c5b
Merge branch 'main' into jongsun/chore/251030-enable-rules-of-hooks
MajorLift Nov 13, 2025
81d2550
Merge branch 'main' into jongsun/chore/251030-enable-rules-of-hooks
MajorLift Nov 14, 2025
a416f2c
Refactor webpack config to have dedicated loader for react compiler
MajorLift Nov 12, 2025
e1020cf
Fix lint regression
MajorLift Nov 13, 2025
26474c8
Fix regression from main
MajorLift Nov 13, 2025
885d97d
Fix webpack react compiler loader option object type
MajorLift Nov 13, 2025
d2fa283
Fix incorrectly resolved merge conflict
MajorLift Nov 13, 2025
8983be0
Use exact versions for react compiler deps
MajorLift Nov 14, 2025
148a3e1
Merge branch 'jongsun/chore/251030-enable-rules-of-hooks' into jongsu…
MajorLift Nov 14, 2025
ca4e8e2
More fixes
MajorLift Nov 14, 2025
958e912
Merge branch 'jongsun/chore/251030-enable-rules-of-hooks' into jongsu…
MajorLift Nov 17, 2025
d816c82
Rename `{use,handle}SnapNavigate`
MajorLift Nov 17, 2025
b64d7db
lavamoat: Widen `process` nested globals access to top-level scope
MajorLift Nov 17, 2025
2b2fdb4
Update LavaMoat policies
metamaskbot Nov 17, 2025
1a87ae8
Fix ui path in webpack loader
MajorLift Nov 17, 2025
7ed0746
Update LavaMoat policies
metamaskbot Nov 17, 2025
287d5b9
Remove source path exceptions
MajorLift Nov 18, 2025
64a540d
test: Update unit test snapshot
MajorLift Nov 18, 2025
300cdf0
Exclude `typed-sign-permission-util.ts`
MajorLift Nov 18, 2025
2672f02
Fix error from missing `t` in dep array
MajorLift Nov 18, 2025
57b3a75
Fix "Should have a queue" error by opting-out `ui/pages/confirmations…
MajorLift Nov 18, 2025
b4be12a
Merge branch 'main' into jongsun/build/251103-enable-react-compiler
MajorLift Nov 18, 2025
a07e1b4
Opt-out regression from main
MajorLift Nov 19, 2025
4fa7ca9
Fix incorrect mounting logic
MajorLift Nov 19, 2025
c7683cd
Remove unnecessary key prop
MajorLift Nov 19, 2025
db50bc8
Fix build config
MajorLift Nov 19, 2025
9c7180f
Merge branch 'main' into jongsun/build/251103-enable-react-compiler
MajorLift Nov 19, 2025
a51fdb7
Update LavaMoat policies
metamaskbot Nov 19, 2025
d3453be
Merge branch 'main' into jongsun/build/251103-enable-react-compiler
MajorLift Nov 19, 2025
11a605d
Opt-outs
MajorLift Nov 19, 2025
6439755
Add excluded paths
MajorLift Nov 19, 2025
3c917a3
Add react compiler logger for webpack
MajorLift Nov 19, 2025
5e908de
Merge branch 'main' into jongsun/build/251103-enable-react-compiler
MajorLift Nov 19, 2025
fae3b64
Update LavaMoat policies
metamaskbot Nov 19, 2025
8ac83e8
Revert webpack config
MajorLift Nov 20, 2025
01c9906
Merge branch 'main' into jongsun/build/251103-enable-react-compiler
MajorLift Nov 20, 2025
dbe4c7d
Remove `exhaustive-deps` regression from main
MajorLift Nov 20, 2025
9ed8bca
Update LavaMoat policies
metamaskbot Nov 20, 2025
8521341
Remove `component-library` from excluded paths
MajorLift Nov 20, 2025
1b20e16
Remove webpack entry in `.depcheckrc`
MajorLift Nov 20, 2025
3cd3634
Merge branch 'main' into jongsun/build/251103-enable-react-compiler
MajorLift Nov 20, 2025
249d0ea
Fix faulty fallback logic for confirm alerts state keys
MajorLift Nov 20, 2025
931a675
Bump deps to v1.0
MajorLift Nov 20, 2025
d5ab272
Fix `useAsync` mounted check race condition
MajorLift Nov 20, 2025
1339d5c
Add entry to exclude patterns
MajorLift Nov 20, 2025
9916a99
Update LavaMoat policies
metamaskbot Nov 20, 2025
4905214
Install `react-compiler-webpack` as devDep
MajorLift Nov 21, 2025
f7d168f
Add to depcheck ignore list
MajorLift Nov 21, 2025
44d68c3
Update LavaMoat policies
MajorLift Nov 21, 2025
cfbcdc2
Set up webpack config with react compiler loader
MajorLift Nov 21, 2025
9945b27
Bump `react-compiler-webpack` to `^1.0.0`
MajorLift Nov 21, 2025
94e10c8
Add deps
MajorLift Nov 21, 2025
66aba3d
Fix HOC-returned component local name
MajorLift Nov 21, 2025
e839433
Opt-out `useTokenExchangeRate`
MajorLift Nov 21, 2025
d919782
Use regex instead of array iteration to filter paths for react compil…
MajorLift Nov 21, 2025
d0ea0c7
Fix `UI_DIR_RE` to only match top-level `ui/` dir
MajorLift Nov 21, 2025
92453b4
Make regex groups non-capturing
MajorLift Nov 21, 2025
8a491bc
Fix `renderHook` usage in test
MajorLift Nov 21, 2025
2576d4f
Refactor babel config to register react compiler as an override
MajorLift Nov 21, 2025
9595d1e
Remove redundant node_modules exclude
MajorLift Nov 21, 2025
3ac0d1c
Fix regex
MajorLift Nov 21, 2025
e456d36
Dedupe lockfile
MajorLift Nov 21, 2025
659c749
Revert "Fix regex"
MajorLift Nov 21, 2025
b17086f
Revert "Dedupe lockfile"
MajorLift Nov 21, 2025
a5acea4
Make regex non-capturing
MajorLift Nov 21, 2025
d0321db
Merge branch 'main' into jongsun/build/251103-enable-react-compiler
MajorLift Nov 21, 2025
54d4402
Merge branch 'jongsun/build/251103-enable-react-compiler' into jongsu…
MajorLift Nov 21, 2025
addb658
Define `reactCompilerLoader`, `ReactCompilerLogger`
MajorLift Nov 21, 2025
9b0611f
Add `reactCompilerVerbose` cli argument
MajorLift Nov 21, 2025
68e28d9
Set up loader, logger in webpack config
MajorLift Nov 21, 2025
5723799
Merge branch 'jongsun/build/webpack/react-compiler-debug-mode' into j…
MajorLift Nov 21, 2025
e790a49
Update webpack-cli test mock
MajorLift Nov 21, 2025
e0e62a9
Stricter regex for `ui/`
MajorLift Nov 23, 2025
f744056
Add comments
MajorLift Nov 23, 2025
713aa39
Fix babel config regex to only match top-level `ui/`
MajorLift Nov 23, 2025
79d9bf8
Define `--reactCompilerDebug` webpack build argument that sets `panic…
MajorLift Nov 23, 2025
763f814
Less ambiguous regex
MajorLift Nov 23, 2025
af600fc
Merge branch 'jongsun/build/251103-enable-react-compiler' into jongsu…
MajorLift Nov 23, 2025
478ac1d
Bump `tsx` from `^4.19.2` to `^4.20.6`
MajorLift Nov 24, 2025
0a7f8d6
Merge branch 'main' into jongsun/build/251103-enable-react-compiler
MajorLift Nov 24, 2025
f2430ed
Merge branch 'jongsun/build/251103-enable-react-compiler' into jongsu…
MajorLift Nov 24, 2025
241d541
Update LavaMoat policies
metamaskbot Nov 24, 2025
a9ce8e9
Update LavaMoat policies
metamaskbot Nov 24, 2025
663a07b
Bump `koa` from `^2.7.0` to `^3.1.1`
MajorLift Nov 24, 2025
21df361
Merge branch 'jongsun/build/251103-enable-react-compiler' into jongsu…
MajorLift Nov 24, 2025
08d667a
Update LavaMoat policies
metamaskbot Nov 24, 2025
1144cb8
Update LavaMoat policies
metamaskbot Nov 24, 2025
f5674d5
Fix regex
MajorLift Nov 24, 2025
8fad14e
Merge branch 'jongsun/build/251103-enable-react-compiler' into jongsu…
MajorLift Nov 24, 2025
ec850a1
Dedupe lockfile
MajorLift Nov 24, 2025
97ebb74
Update LavaMoat policies
metamaskbot Nov 24, 2025
3bf814e
Fix regex
MajorLift Nov 24, 2025
ef0fb23
Set debug mode option default to 'none'
MajorLift Nov 24, 2025
30f49be
Add entries to dry run message
MajorLift Nov 24, 2025
01094ea
Remove unnecessary cleanup
MajorLift Nov 25, 2025
7969aa6
Opt-out confirm alert files
MajorLift Nov 25, 2025
6788b0f
Revert `in` property check
MajorLift Nov 25, 2025
189e390
Revert handling for `background[method]` not function error
MajorLift Nov 25, 2025
be6e749
Add missing background method mock
MajorLift Nov 25, 2025
dda7ecb
Opt-out `useAssetMetadata`
MajorLift Nov 25, 2025
2455a12
Merge branch 'main' into jongsun/build/251103-enable-react-compiler
MajorLift Nov 25, 2025
88afa9e
Merge branch 'jongsun/build/251103-enable-react-compiler' into jongsu…
MajorLift Nov 25, 2025
9e269b9
Remove opt-out from root
MajorLift Nov 26, 2025
7266050
Merge branch 'jongsun/build/251103-enable-react-compiler' into jongsu…
MajorLift Nov 26, 2025
4670591
Merge branch 'main' into jongsun/build/enable-react-compiler-webpack
MajorLift Nov 26, 2025
fd55bb2
Update LavaMoat policies
metamaskbot Nov 26, 2025
386e351
Dedupe lockfile
MajorLift Nov 26, 2025
83cf846
Update LavaMoat policies
metamaskbot Nov 26, 2025
09a7259
Group new CLI arguments with other developer assistance entries in `g…
MajorLift Nov 27, 2025
11f0f4b
Merge branch 'main' into jongsun/build/enable-react-compiler-webpack
MajorLift Nov 28, 2025
b6992a0
Define `ReactCompilerPlugin`
MajorLift Nov 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .depcheckrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ ignores:
- 'path-browserify' # polyfill
- 'nyc' # coverage
- 'core-js-pure' # polyfills
- 'react-compiler-webpack' # build tool
# babel
- '@babel/plugin-transform-logical-assignment-operators'
- 'babel-plugin-react-compiler'
Expand Down
2 changes: 2 additions & 0 deletions development/webpack/test/cli.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ describe('./utils/cli.ts', () => {
devtool: 'source-map',
sentry: false,
test: false,
reactCompilerVerbose: false,
reactCompilerDebug: 'none',
zip: false,
minify: false,
browser: ['chrome'],
Expand Down
19 changes: 19 additions & 0 deletions development/webpack/utils/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,23 @@ function getOptions(
group: toOrange('Developer assistance:'),
type: 'boolean',
},
reactCompilerVerbose: {
array: false,
default: false,
description:
'Enables/disables React Compiler verbose mode and statistics',
group: toOrange('Developer assistance:'),
type: 'boolean',
},
reactCompilerDebug: {
array: false,
choices: ['all', 'critical', 'none'],
default: 'none',
description:
'Sets React Compiler panic threshold that fails the build for all errors or critical errors only. If `none`, the build will not fail.',
group: toOrange('Developer assistance:'),
type: 'string',
},

...prerequisites,
zip: {
Expand Down Expand Up @@ -394,6 +411,8 @@ LavaMoat debug: ${args.lavamoatDebug}
Generate policy: ${args.generatePolicy}
Snow: ${args.snow}
Sentry: ${args.sentry}
React Compiler verbose: ${args.reactCompilerVerbose}
React Compiler debug: ${args.reactCompilerDebug}
Manifest version: ${args.manifest_version}
Release version: ${args.releaseVersion}
Browsers: ${args.browser.join(', ')}
Expand Down
10 changes: 10 additions & 0 deletions development/webpack/utils/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,16 @@ export const TREZOR_MODULE_RE = new RegExp(
'u',
);

/**
* Regular expression to match React files in the top-level `ui/` directory
* Uses a platform-specific path separator: `/` on Unix-like systems and `\` on
* Windows.
*/
export const UI_DIR_RE = new RegExp(
`^${join(__dirname, '..', '..', '..', 'ui').replaceAll(sep, slash)}${slash}(?:components|contexts|hooks|layouts|pages)${slash}.*$`,
'u',
);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: UI_DIR_RE path construction misses app directory

The UI_DIR_RE regex resolves to /path/to/metamask-extension/ui/..., but webpack serves files from /path/to/metamask-extension/app/ui/.... The path construction in join(__dirname, '../../../') should be join(__dirname, '../../../../app/') to correctly match the webpack context where files are actually located.

Fix in Cursor Fix in Web

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not true in our project.


/**
* No Operation. A function that does nothing and returns nothing.
*
Expand Down
129 changes: 129 additions & 0 deletions development/webpack/utils/loaders/reactCompilerLoader.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
import {
type ReactCompilerLoaderOption,
defineReactCompilerLoaderOption,
reactCompilerLoader,
} from 'react-compiler-webpack';
import type { Logger } from 'babel-plugin-react-compiler';

/**
* React Compiler logger that tracks compilation statistics
*/
class ReactCompilerLogger {
private compiledCount = 0;

private skippedCount = 0;

private errorCount = 0;

private todoCount = 0;

private compiledFiles: string[] = [];

private skippedFiles: string[] = [];

private errorFiles: string[] = [];

private todoFiles: string[] = [];

logEvent(
filename: string | null,
event: { kind: string; detail: { options: { category: string } } },
) {
if (filename === null) {
return;
}
const { options: errorDetails } = event.detail ?? {};
switch (event.kind) {
case 'CompileSuccess':
this.compiledCount++;
this.compiledFiles.push(filename);
console.log(`✅ Compiled: ${filename}`);
break;
case 'CompileSkip':
this.skippedCount++;
this.skippedFiles.push(filename);
break;
case 'CompileError':
// This error is thrown for syntax that is not yet supported by the React Compiler.
// We count these separately as "unsupported" errors, since there's no actionable fix we can apply.
if (errorDetails?.category === 'Todo') {
this.todoCount++;
this.todoFiles.push(filename);
break;
}
this.errorCount++;
this.errorFiles.push(filename);
console.error(
`❌ React Compiler error in ${filename}: ${errorDetails ? JSON.stringify(errorDetails) : 'Unknown error'}`,
);
break;
default:
break;
}
}

getStats() {
return {
compiled: this.compiledCount,
skipped: this.skippedCount,
errors: this.errorCount,
unsupported: this.todoCount,
total:
this.compiledCount +
this.skippedCount +
this.errorCount +
this.todoCount,
compiledFiles: this.compiledFiles,
skippedFiles: this.skippedFiles,
errorFiles: this.errorFiles,
unsupportedFiles: this.todoFiles,
};
}

logSummary() {
const stats = this.getStats();
console.log('\n📊 React Compiler Statistics:');
console.log(` ✅ Compiled: ${stats.compiled} files`);
console.log(` ⏭️ Skipped: ${stats.skipped} files`);
console.log(` ❌ Errors: ${stats.errors} files`);
console.log(` 🔍 Unsupported: ${stats.unsupported} files`);
console.log(` 📦 Total processed: ${stats.total} files`);
}
}

const reactCompilerLogger = new ReactCompilerLogger();

/**
* Get the React Compiler logger singleton instance to access statistics.
*/
export function getReactCompilerLogger(): ReactCompilerLogger {
return reactCompilerLogger;
}

/**
* Get the React Compiler loader.
*
* @param target - The target version of the React Compiler.
* @param verbose - Whether to enable verbose mode.
* @param debug - The debug level to use.
* - 'all': Fail build on and display debug information for all compilation errors.
* - 'critical': Fail build on and display debug information only for critical compilation errors.
* - 'none': Prevent build from failing.
* @returns The React Compiler loader object with the loader and configured options.
*/
export const getReactCompilerLoader = (
target: ReactCompilerLoaderOption['target'],
verbose: boolean,
debug: 'all' | 'critical' | 'none',
) => {
const reactCompilerOptions = {
target,
logger: verbose ? (reactCompilerLogger as Logger) : undefined,
panicThreshold: debug === 'none' ? debug : `${debug}_errors`,
} as const satisfies ReactCompilerLoaderOption;

return {
loader: reactCompilerLoader,
options: defineReactCompilerLoaderOption(reactCompilerOptions),
};
};
11 changes: 11 additions & 0 deletions development/webpack/utils/plugins/ReactCompilerPlugin/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import type { Compiler } from 'webpack';
import { getReactCompilerLogger } from '../../loaders/reactCompilerLoader';

export class ReactCompilerPlugin {
apply(compiler: Compiler): void {
compiler.hooks.afterEmit.tap(ReactCompilerPlugin.name, () => {
const logger = getReactCompilerLogger();
logger.logSummary();
});
}
}
19 changes: 19 additions & 0 deletions development/webpack/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ import {
__HMR_READY__,
SNOW_MODULE_RE,
TREZOR_MODULE_RE,
UI_DIR_RE,
} from './utils/helpers';
import { transformManifest } from './utils/plugins/ManifestPlugin/helpers';
import { parseArgv, getDryRunMessage } from './utils/cli';
import { getCodeFenceLoader } from './utils/loaders/codeFenceLoader';
import { getSwcLoader } from './utils/loaders/swcLoader';
import { getReactCompilerLoader } from './utils/loaders/reactCompilerLoader';
import { getVariables } from './utils/config';
import { ManifestPlugin } from './utils/plugins/ManifestPlugin';
import { getLatestCommit } from './utils/git';
Expand Down Expand Up @@ -211,13 +213,25 @@ if (args.progress) {
const { ProgressPlugin } = require('webpack');
plugins.push(new ProgressPlugin());
}
if (args.reactCompilerVerbose) {
const {
ReactCompilerPlugin,
} = require('./utils/plugins/ReactCompilerPlugin');
plugins.push(new ReactCompilerPlugin());
}

// #endregion plugins

const swcConfig = { args, browsersListQuery, isDevelopment };
const tsxLoader = getSwcLoader('typescript', true, safeVariables, swcConfig);
const jsxLoader = getSwcLoader('ecmascript', true, safeVariables, swcConfig);
const npmLoader = getSwcLoader('ecmascript', false, {}, swcConfig);
const cjsLoader = getSwcLoader('ecmascript', false, {}, swcConfig, 'commonjs');
const reactCompilerLoader = getReactCompilerLoader(
'17',
args.reactCompilerVerbose,
args.reactCompilerDebug,
);

const config = {
entry,
Expand Down Expand Up @@ -320,6 +334,11 @@ const config = {
dependency: 'url',
type: 'asset/resource',
},
{
test: /(?:.(?!\.(?:test|stories|container)))+\.(?:m?[jt]s|[jt]sx)$/u,
include: UI_DIR_RE,
use: [reactCompilerLoader],
},
// own typescript, and own typescript with jsx
{
test: /\.(?:ts|mts|tsx)$/u,
Expand Down
10 changes: 5 additions & 5 deletions lavamoat/build-system/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,12 @@
"@babel/preset-env>@babel/helper-plugin-utils": true
}
},
"@babel/preset-typescript>@babel/plugin-syntax-jsx": {
"react-compiler-webpack>@babel/plugin-syntax-jsx": {
"packages": {
"@babel/preset-env>@babel/helper-plugin-utils": true
}
},
"@babel/preset-typescript>@babel/plugin-transform-typescript>@babel/plugin-syntax-typescript": {
"react-compiler-webpack>@babel/plugin-syntax-typescript": {
"packages": {
"@babel/preset-env>@babel/helper-plugin-utils": true
}
Expand Down Expand Up @@ -584,7 +584,7 @@
"@babel/preset-env>@babel/plugin-transform-classes>@babel/helper-annotate-as-pure": true,
"@babel/core>@babel/helper-module-transforms>@babel/helper-module-imports": true,
"@babel/preset-env>@babel/helper-plugin-utils": true,
"@babel/preset-typescript>@babel/plugin-syntax-jsx": true
"react-compiler-webpack>@babel/plugin-syntax-jsx": true
}
},
"@babel/preset-react>@babel/plugin-transform-react-pure-annotations": {
Expand Down Expand Up @@ -650,7 +650,7 @@
"@babel/preset-env>@babel/plugin-transform-private-methods>@babel/helper-create-class-features-plugin": true,
"@babel/preset-env>@babel/helper-plugin-utils": true,
"@babel/preset-env>@babel/plugin-transform-for-of>@babel/helper-skip-transparent-expression-wrappers": true,
"@babel/preset-typescript>@babel/plugin-transform-typescript>@babel/plugin-syntax-typescript": true
"react-compiler-webpack>@babel/plugin-syntax-typescript": true
}
},
"@babel/preset-env>@babel/plugin-transform-unicode-escapes": {
Expand Down Expand Up @@ -768,7 +768,7 @@
"packages": {
"@babel/preset-env>@babel/helper-plugin-utils": true,
"@babel/preset-env>@babel/helper-validator-option": true,
"@babel/preset-typescript>@babel/plugin-syntax-jsx": true,
"react-compiler-webpack>@babel/plugin-syntax-jsx": true,
"@babel/preset-env>@babel/plugin-transform-modules-commonjs": true,
"@babel/preset-typescript>@babel/plugin-transform-typescript": true
}
Expand Down
8 changes: 8 additions & 0 deletions lavamoat/webpack/mv2/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -4876,6 +4876,14 @@
"react": true
}
},
"react-compiler-runtime": {
"globals": {
"console.error": true
},
"packages": {
"react": true
}
},
"react-devtools-core": {
"globals": {
"CSSStyleRule": true,
Expand Down
8 changes: 8 additions & 0 deletions lavamoat/webpack/mv3/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -3389,6 +3389,14 @@
"react": true
}
},
"react-compiler-runtime": {
"globals": {
"console.error": true
},
"packages": {
"react": true
}
},
"react-devtools-core": {
"globals": {
"CSSStyleRule": true,
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,7 @@
"process": "^0.11.10",
"pumpify": "^2.0.1",
"randomcolor": "^0.5.4",
"react-compiler-webpack": "^1.0.0",
"react-devtools": "^6.1.5",
"react-devtools-core": "^6.1.5",
"react-syntax-highlighter": "^15.5.0",
Expand Down
26 changes: 20 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ __metadata:
languageName: node
linkType: hard

"@babel/plugin-syntax-jsx@npm:^7.22.5, @babel/plugin-syntax-jsx@npm:^7.25.9, @babel/plugin-syntax-jsx@npm:^7.7.2":
"@babel/plugin-syntax-jsx@npm:^7.22.5, @babel/plugin-syntax-jsx@npm:^7.25.9, @babel/plugin-syntax-jsx@npm:^7.27.1, @babel/plugin-syntax-jsx@npm:^7.7.2":
version: 7.27.1
resolution: "@babel/plugin-syntax-jsx@npm:7.27.1"
dependencies:
Expand Down Expand Up @@ -863,14 +863,14 @@ __metadata:
languageName: node
linkType: hard

"@babel/plugin-syntax-typescript@npm:^7.25.9, @babel/plugin-syntax-typescript@npm:^7.7.2":
version: 7.25.9
resolution: "@babel/plugin-syntax-typescript@npm:7.25.9"
"@babel/plugin-syntax-typescript@npm:^7.25.9, @babel/plugin-syntax-typescript@npm:^7.27.1, @babel/plugin-syntax-typescript@npm:^7.7.2":
version: 7.27.1
resolution: "@babel/plugin-syntax-typescript@npm:7.27.1"
dependencies:
"@babel/helper-plugin-utils": "npm:^7.25.9"
"@babel/helper-plugin-utils": "npm:^7.27.1"
peerDependencies:
"@babel/core": ^7.0.0-0
checksum: 10/0e9821e8ba7d660c36c919654e4144a70546942ae184e85b8102f2322451eae102cbfadbcadd52ce077a2b44b400ee52394c616feab7b5b9f791b910e933fd33
checksum: 10/87836f7e32af624c2914c73cd6b9803cf324e07d43f61dbb973c6a86f75df725e12540d91fac7141c14b697aa9268fd064220998daced156e96ac3062d7afb41
languageName: node
linkType: hard

Expand Down Expand Up @@ -33147,6 +33147,7 @@ __metadata:
react-beautiful-dnd: "npm:^13.1.1"
react-chartjs-2: "npm:^5.2.0"
react-compiler-runtime: "npm:^1.0.0"
react-compiler-webpack: "npm:^1.0.0"
react-devtools: "npm:^6.1.5"
react-devtools-core: "npm:^6.1.5"
react-dom: "npm:^17.0.2"
Expand Down Expand Up @@ -37294,6 +37295,19 @@ __metadata:
languageName: node
linkType: hard

"react-compiler-webpack@npm:^1.0.0":
version: 1.0.0
resolution: "react-compiler-webpack@npm:1.0.0"
dependencies:
"@babel/core": "npm:^7.28.5"
"@babel/plugin-syntax-jsx": "npm:^7.27.1"
"@babel/plugin-syntax-typescript": "npm:^7.27.1"
peerDependencies:
babel-plugin-react-compiler: "*"
checksum: 10/00f07cbfa1568628ea593fbbb577645dac73baa682462ace681de610c9a4800039ddd33fbc751260fa1a36a114ddc4a6ffb48c9b84aab9298ae9b3db6ba0b7ed
languageName: node
linkType: hard

"react-devtools-core@npm:6.1.5, react-devtools-core@npm:^6.1.5":
version: 6.1.5
resolution: "react-devtools-core@npm:6.1.5"
Expand Down
Loading