From 24018e80649fb82b1a2932b2c6265217c9085227 Mon Sep 17 00:00:00 2001 From: sapphi-red Date: Fri, 18 Sep 2026 11:41:35 +0900 Subject: [PATCH] chore(deps): update babel monorepo to v8 --- packages/emotion/benchmark/package.json | 4 +- .../benchmark/package.json | 2 +- packages/styled-jsx/benchmark/package.json | 4 +- .../transform-imports/benchmark/package.json | 2 +- patches/@emotion__babel-plugin@11.13.5.patch | 132 +++++++++++++ patches/styled-jsx@5.1.7.patch | 13 ++ pnpm-lock.yaml | 183 ++---------------- pnpm-workspace.yaml | 4 + 8 files changed, 176 insertions(+), 168 deletions(-) create mode 100644 patches/@emotion__babel-plugin@11.13.5.patch create mode 100644 patches/styled-jsx@5.1.7.patch diff --git a/packages/emotion/benchmark/package.json b/packages/emotion/benchmark/package.json index 8e8f08d..049b65d 100644 --- a/packages/emotion/benchmark/package.json +++ b/packages/emotion/benchmark/package.json @@ -17,11 +17,11 @@ "react-dom": "^19.3.0" }, "devDependencies": { - "@babel/core": "^7.29.7", + "@babel/core": "^8.0.5", "@emotion/babel-plugin": "^11.13.5", "@oxc-node/cli": "catalog:", "@rolldown/benchmark-utils": "workspace:*", - "@rolldown/plugin-babel": "file:../../babel", + "@rolldown/plugin-babel": "workspace:*", "@rolldown/plugin-emotion": "workspace:*", "@rollup/plugin-swc": "catalog:", "@swc/core": "catalog:", diff --git a/packages/jsx-remove-attributes/benchmark/package.json b/packages/jsx-remove-attributes/benchmark/package.json index 8b66364..aba2680 100644 --- a/packages/jsx-remove-attributes/benchmark/package.json +++ b/packages/jsx-remove-attributes/benchmark/package.json @@ -18,7 +18,7 @@ "@babel/core": "^8.0.5", "@oxc-node/cli": "catalog:", "@rolldown/benchmark-utils": "workspace:*", - "@rolldown/plugin-babel": "file:../../babel", + "@rolldown/plugin-babel": "workspace:*", "@rolldown/plugin-jsx-remove-attributes": "workspace:*", "@rollup/plugin-swc": "catalog:", "@swc/core": "catalog:", diff --git a/packages/styled-jsx/benchmark/package.json b/packages/styled-jsx/benchmark/package.json index be641a1..924fdab 100644 --- a/packages/styled-jsx/benchmark/package.json +++ b/packages/styled-jsx/benchmark/package.json @@ -16,10 +16,10 @@ "styled-jsx": "^5.1.7" }, "devDependencies": { - "@babel/core": "^7.29.7", + "@babel/core": "^8.0.5", "@oxc-node/cli": "catalog:", "@rolldown/benchmark-utils": "workspace:*", - "@rolldown/plugin-babel": "file:../../babel", + "@rolldown/plugin-babel": "workspace:*", "@rolldown/plugin-styled-jsx": "workspace:*", "@rollup/plugin-swc": "catalog:", "@swc/core": "catalog:", diff --git a/packages/transform-imports/benchmark/package.json b/packages/transform-imports/benchmark/package.json index ce9c2d8..fb4d058 100644 --- a/packages/transform-imports/benchmark/package.json +++ b/packages/transform-imports/benchmark/package.json @@ -13,7 +13,7 @@ "devDependencies": { "@oxc-node/cli": "catalog:", "@rolldown/benchmark-utils": "workspace:*", - "@rolldown/plugin-babel": "file:../../babel", + "@rolldown/plugin-babel": "workspace:*", "@rolldown/plugin-transform-imports": "workspace:*", "@rollup/plugin-swc": "catalog:", "@swc/core": "catalog:", diff --git a/patches/@emotion__babel-plugin@11.13.5.patch b/patches/@emotion__babel-plugin@11.13.5.patch new file mode 100644 index 0000000..dd29d7a --- /dev/null +++ b/patches/@emotion__babel-plugin@11.13.5.patch @@ -0,0 +1,132 @@ +diff --git a/dist/emotion-babel-plugin.cjs.js b/dist/emotion-babel-plugin.cjs.js +index c97c6b411c19b21314ee80042df8c6afbce46653..502d95a9c3f52195a1edd5a45753580d77c2cd73 100644 +--- a/dist/emotion-babel-plugin.cjs.js ++++ b/dist/emotion-babel-plugin.cjs.js +@@ -1058,6 +1058,50 @@ isWeb: boolean + }); + }; + ++// Babel 8 removed `NodePath#hoist` (emotion-js/emotion#3386). The general ++// hoister lifted an expression to the highest scope where its bindings stayed ++// valid; for serialized styles the only case that ever arises is "fully static, ++// so it can go to module scope". This reimplements just that case. ++const referencesOnlyProgramScopeBindings = path => { ++ let safe = true ++ const check = idPath => { ++ if (!idPath.isReferencedIdentifier()) return ++ const binding = idPath.scope.getBinding(idPath.node.name) ++ if (!binding) return ++ if (!binding.scope.path.isProgram()) safe = false ++ } ++ if (path.isIdentifier()) check(path) ++ if (path.isThisExpression()) safe = false ++ path.traverse({ ++ Identifier: check, ++ JSXIdentifier: check, ++ ThisExpression() { ++ safe = false ++ } ++ }) ++ return safe ++} ++ ++const hoistToProgramScope = (path, t) => { ++ // Already at module scope — there is nowhere higher to lift it to, and ++ // `NodePath#hoist` was a no-op in that case. ++ if (!path.scope.getFunctionParent()) return ++ const programScope = path.scope.getProgramParent() ++ const id = programScope.generateUidIdentifier('ref') ++ const init = path.node ++ path.replaceWith(t.cloneNode(id)) ++ // Insert immediately before the top-level statement that references it, which ++ // is what `NodePath#hoist` did — putting it at the very top of Program would ++ // land it above the imports. ++ const topLevelStatement = path.findParent( ++ parent => parent.parentPath && parent.parentPath.isProgram() ++ ) ++ const [declaration] = topLevelStatement.insertBefore( ++ t.variableDeclaration('var', [t.variableDeclarator(t.cloneNode(id), init)]) ++ ) ++ programScope.registerDeclaration(declaration) ++} ++ + var transformCssCallExpression = function transformCssCallExpression(_ref + /*: { + state: *, +@@ -1083,7 +1127,9 @@ annotateAsPure?: boolean + + if (node) { + path.replaceWith(node); +- path.hoist(); ++ if (referencesOnlyProgramScopeBindings(path)) { ++ hoistToProgramScope(path, babel.types) ++ } + } else if (annotateAsPure && path.isCallExpression()) { + path.addComment('leading', '#__PURE__'); + } +diff --git a/dist/emotion-babel-plugin.esm.js b/dist/emotion-babel-plugin.esm.js +index fbe8ce1b2fc4ade3b8cddbc778694db4e7923a8c..0511eca0e39224aac9d271a767cc85a17d46508b 100644 +--- a/dist/emotion-babel-plugin.esm.js ++++ b/dist/emotion-babel-plugin.esm.js +@@ -1045,6 +1045,50 @@ isWeb: boolean + }); + }; + ++// Babel 8 removed `NodePath#hoist` (emotion-js/emotion#3386). The general ++// hoister lifted an expression to the highest scope where its bindings stayed ++// valid; for serialized styles the only case that ever arises is "fully static, ++// so it can go to module scope". This reimplements just that case. ++const referencesOnlyProgramScopeBindings = path => { ++ let safe = true ++ const check = idPath => { ++ if (!idPath.isReferencedIdentifier()) return ++ const binding = idPath.scope.getBinding(idPath.node.name) ++ if (!binding) return ++ if (!binding.scope.path.isProgram()) safe = false ++ } ++ if (path.isIdentifier()) check(path) ++ if (path.isThisExpression()) safe = false ++ path.traverse({ ++ Identifier: check, ++ JSXIdentifier: check, ++ ThisExpression() { ++ safe = false ++ } ++ }) ++ return safe ++} ++ ++const hoistToProgramScope = (path, t) => { ++ // Already at module scope — there is nowhere higher to lift it to, and ++ // `NodePath#hoist` was a no-op in that case. ++ if (!path.scope.getFunctionParent()) return ++ const programScope = path.scope.getProgramParent() ++ const id = programScope.generateUidIdentifier('ref') ++ const init = path.node ++ path.replaceWith(t.cloneNode(id)) ++ // Insert immediately before the top-level statement that references it, which ++ // is what `NodePath#hoist` did — putting it at the very top of Program would ++ // land it above the imports. ++ const topLevelStatement = path.findParent( ++ parent => parent.parentPath && parent.parentPath.isProgram() ++ ) ++ const [declaration] = topLevelStatement.insertBefore( ++ t.variableDeclaration('var', [t.variableDeclarator(t.cloneNode(id), init)]) ++ ) ++ programScope.registerDeclaration(declaration) ++} ++ + var transformCssCallExpression = function transformCssCallExpression(_ref + /*: { + state: *, +@@ -1070,7 +1114,9 @@ annotateAsPure?: boolean + + if (node) { + path.replaceWith(node); +- path.hoist(); ++ if (referencesOnlyProgramScopeBindings(path)) { ++ hoistToProgramScope(path, babel.types) ++ } + } else if (annotateAsPure && path.isCallExpression()) { + path.addComment('leading', '#__PURE__'); + } diff --git a/patches/styled-jsx@5.1.7.patch b/patches/styled-jsx@5.1.7.patch new file mode 100644 index 0000000..f9c7095 --- /dev/null +++ b/patches/styled-jsx@5.1.7.patch @@ -0,0 +1,13 @@ +diff --git a/dist/babel/index.js b/dist/babel/index.js +index ece0fd62fa168f667d1498c8a54fdfed6d2ac093..d71f530021ae596357125b18aab057ab45f3409f 100644 +--- a/dist/babel/index.js ++++ b/dist/babel/index.js +@@ -117,7 +117,7 @@ Object.defineProperty(lib$3, "__esModule", { + var default_1 = lib$3.default = void 0; + var _helperPluginUtils = lib$2; + var _default$5 = (0, _helperPluginUtils.declare)(function(api) { +- api.assertVersion(7); ++ api.assertVersion("^7.0.0-0 || ^8.0.0-0"); + return { + name: "syntax-jsx", + manipulateOptions: function manipulateOptions(opts, parserOpts) { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5625744..2e263f0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -37,6 +37,10 @@ catalogs: specifier: ^8.3.0 version: 8.3.0 +patchedDependencies: + '@emotion/babel-plugin@11.13.5': 64c3abe077201c134e02da80a2ecfd08d233b080e0bd52f72bc193ff152aea4a + styled-jsx@5.1.7: 42991263b17f023a3534f895e6161329de44d5560db2c6fdda274ce668b5053d + importers: .: @@ -135,7 +139,7 @@ importers: version: 19.3.0(react@19.3.0) styled-jsx: specifier: ^5.1.7 - version: 5.1.7(@babel/core@8.0.5)(babel-plugin-macros@3.1.0)(react@19.3.0) + version: 5.1.7(patch_hash=42991263b17f023a3534f895e6161329de44d5560db2c6fdda274ce668b5053d)(@babel/core@8.0.5)(babel-plugin-macros@3.1.0)(react@19.3.0) devDependencies: '@rolldown/plugin-styled-jsx': specifier: workspace:* @@ -270,11 +274,11 @@ importers: version: 19.3.0(react@19.3.0) devDependencies: '@babel/core': - specifier: ^7.29.7 - version: 7.29.7 + specifier: ^8.0.5 + version: 8.0.5 '@emotion/babel-plugin': specifier: ^11.13.5 - version: 11.13.5 + version: 11.13.5(patch_hash=64c3abe077201c134e02da80a2ecfd08d233b080e0bd52f72bc193ff152aea4a) '@oxc-node/cli': specifier: 'catalog:' version: 0.1.2 @@ -282,8 +286,8 @@ importers: specifier: workspace:* version: link:../../../internal-packages/benchmark-utils '@rolldown/plugin-babel': - specifier: file:../../babel - version: file:packages/babel(@babel/core@7.29.7)(@babel/plugin-transform-runtime@8.0.1(@babel/core@7.29.7))(@babel/runtime@8.0.5)(rolldown@1.2.9)(vite@8.3.0(@types/node@24.13.5)(esbuild@0.27.3)) + specifier: workspace:* + version: link:../../babel '@rolldown/plugin-emotion': specifier: workspace:* version: link:.. @@ -344,7 +348,7 @@ importers: specifier: workspace:* version: link:../../../internal-packages/benchmark-utils '@rolldown/plugin-babel': - specifier: file:../../babel + specifier: workspace:* version: link:../../babel '@rolldown/plugin-jsx-remove-attributes': specifier: workspace:* @@ -436,11 +440,11 @@ importers: version: 19.3.0(react@19.3.0) styled-jsx: specifier: ^5.1.7 - version: 5.1.7(@babel/core@7.29.7)(babel-plugin-macros@3.1.0)(react@19.3.0) + version: 5.1.7(patch_hash=42991263b17f023a3534f895e6161329de44d5560db2c6fdda274ce668b5053d)(@babel/core@8.0.5)(babel-plugin-macros@3.1.0)(react@19.3.0) devDependencies: '@babel/core': - specifier: ^7.29.7 - version: 7.29.7 + specifier: ^8.0.5 + version: 8.0.5 '@oxc-node/cli': specifier: 'catalog:' version: 0.1.2 @@ -448,8 +452,8 @@ importers: specifier: workspace:* version: link:../../../internal-packages/benchmark-utils '@rolldown/plugin-babel': - specifier: file:../../babel - version: file:packages/babel(@babel/core@7.29.7)(@babel/plugin-transform-runtime@8.0.1(@babel/core@7.29.7))(@babel/runtime@8.0.5)(rolldown@1.2.9)(vite@8.3.0(@types/node@24.13.5)(esbuild@0.27.3)) + specifier: workspace:* + version: link:../../babel '@rolldown/plugin-styled-jsx': specifier: workspace:* version: link:.. @@ -500,7 +504,7 @@ importers: specifier: workspace:* version: link:../../../internal-packages/benchmark-utils '@rolldown/plugin-babel': - specifier: file:../../babel + specifier: workspace:* version: link:../../babel '@rolldown/plugin-transform-imports': specifier: workspace:* @@ -546,18 +550,10 @@ packages: resolution: {integrity: sha512-dYYg153EyN2Ekbqw2zAsbd6/JR+9N2SEoC7YV2GyyqMM7x9bLDTjBD6XBhSMLH0wtIVyJj03jWNriQhaN+eoCw==} engines: {node: ^22.18.0 || >=24.11.0} - '@babel/compat-data@7.29.7': - resolution: {integrity: sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==} - engines: {node: '>=6.9.0'} - '@babel/compat-data@8.0.5': resolution: {integrity: sha512-YLsYoQMvL8l8WrGpN3Zj7O1wK5LEBN+cQtux7BcuHyxIXve724XG+zuJ1n3U1cUweRtTzQOA4IHbuQw3N34SZw==} engines: {node: ^22.18.0 || >=24.11.0} - '@babel/core@7.29.7': - resolution: {integrity: sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==} - engines: {node: '>=6.9.0'} - '@babel/core@8.0.5': resolution: {integrity: sha512-2/oWkgTbBYoqioCWAE4XJobOrzwxTDa5/XjDP3tJ1BhDr/owcd9qnXBp4xc3/2G5X4bvXM04nrxbRJxFcXAxFQ==} engines: {node: ^22.18.0 || >=24.11.0} @@ -574,10 +570,6 @@ packages: resolution: {integrity: sha512-NSpMkMsvvZqzThJ0p1B02cbtA2ObEyfBvq950bmNkyxsxvcxwhvvCB036rKhlEnuBBo30bOrk13u3FzlKSoRrw==} engines: {node: ^22.18.0 || >=24.11.0} - '@babel/helper-compilation-targets@7.29.7': - resolution: {integrity: sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g==} - engines: {node: '>=6.9.0'} - '@babel/helper-compilation-targets@8.0.5': resolution: {integrity: sha512-Qk8ahMGooH5mz6uuhoDvfZGkUf/Mf3RTBucVVl4MKx4LKMTv872TeW8O92h15iVtlN8wAROBIpI1aV6x1z0LCQ==} engines: {node: ^22.18.0 || >=24.11.0} @@ -608,12 +600,6 @@ packages: resolution: {integrity: sha512-NZ7mSS93o4ndX4KrbD7W8Sf3QT8Qe24PrnFyUcuOPDzK6faqDFKjY9RG7he7+I7FdiQ4llpnosFqzrXa+Vy3Ew==} engines: {node: ^22.18.0 || >=24.11.0} - '@babel/helper-module-transforms@7.29.7': - resolution: {integrity: sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - '@babel/helper-optimise-call-expression@8.0.0': resolution: {integrity: sha512-3W6satvtPuCUkUx63S2jMoW9EQNYkADgs1HTfufmL7gCmAulHMKupA/12WNz4A0GMMFn/YnWWwqOT9IZrJHQjg==} engines: {node: ^22.18.0 || >=24.11.0} @@ -650,18 +636,10 @@ packages: resolution: {integrity: sha512-4wFaiLd0bVo4cIoTXI3zKI038NIWE/cr3jvBjejOVYVxV/m8Ltav1USiGzG1fmS5J2RhgEOgXNNK46cRPnRsrg==} engines: {node: ^22.18.0 || >=24.11.0} - '@babel/helper-validator-option@7.29.7': - resolution: {integrity: sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==} - engines: {node: '>=6.9.0'} - '@babel/helper-validator-option@8.0.0': resolution: {integrity: sha512-U4Dybxh4WESWHt5XhBeExi4DrY0/DNK1aHpQbsrQXCUbFHuMweT0TpLEWKvaraV2Y6fS+ZXunsZ8zIuZIgvF2Q==} engines: {node: ^22.18.0 || >=24.11.0} - '@babel/helpers@7.29.7': - resolution: {integrity: sha512-1k2lAGRMfHTcwuNYcCNUmaUffmQv8KWMfh2iJUUeRlwlwH4FdNG7mfPI10NPfLHJFThE4Tyr4mv7kTNZOiPuBg==} - engines: {node: '>=6.9.0'} - '@babel/helpers@8.0.5': resolution: {integrity: sha512-fQtPOXjYOYv85PIdwotp2TJGVYOycX0PQq+l844fFAxOULtBy8BVF35GyeueX0r4KvDthqPH5xAI1clQPk/2uA==} engines: {node: ^22.18.0 || >=24.11.0} @@ -966,9 +944,6 @@ packages: '@jridgewell/gen-mapping@0.4.0-beta.0': resolution: {integrity: sha512-JdGNkbE4GlNPYQhM0L95fBQr7ctLZJ276QXQLTad4t1oSdnnCI3fDq9DW3BqYAWv8Wc3+HS+4Gsii1oPMCfz1w==} - '@jridgewell/remapping@2.3.5': - resolution: {integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==} - '@jridgewell/resolve-uri@3.1.2': resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} engines: {node: '>=6.0.0'} @@ -1696,23 +1671,6 @@ packages: vite: optional: true - '@rolldown/plugin-babel@file:packages/babel': - resolution: {directory: packages/babel, type: directory} - engines: {node: '>=22.12.0 || ^24.0.0'} - peerDependencies: - '@babel/core': ^7.29.0 || ^8.0.0-rc.1 - '@babel/plugin-transform-runtime': ^7.29.0 || ^8.0.0-rc.1 - '@babel/runtime': ^7.27.0 || ^8.0.0-rc.1 - rolldown: ^1.0.0-rc.5 - vite: ^8.0.0 - peerDependenciesMeta: - '@babel/plugin-transform-runtime': - optional: true - '@babel/runtime': - optional: true - vite: - optional: true - '@rolldown/pluginutils@1.0.0-rc.16': resolution: {integrity: sha512-45+YtqxLYKDWQouLKCrpIZhke+nXxhsw+qAHVzHDVwttyBlHNBVs2K25rDXrZzhpTp9w1FlAlvweV1H++fdZoA==} @@ -2543,9 +2501,6 @@ packages: resolution: {integrity: sha512-RPimw/7aMdv2oqRrxKwvZXcPfwBrn/JZ2xYcY9Hus/6LaS3VOAKVWKWgNLCFSiOm1ESXinjsDlidVU7JlnCN2A==} engines: {node: 20 || >=22} - lru-cache@5.1.1: - resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} - magic-string@1.2.3: resolution: {integrity: sha512-Bpb0W2TbLKOZ7vJnOUnVRGq3WL2p+ISV29M6hYPL1AFCpyKZpdr5ytiXoTSSxRVhg8YW7f65+6gbG8WG6PCa/g==} @@ -2756,10 +2711,6 @@ packages: scheduler@0.28.0: resolution: {integrity: sha512-juorfCmIkIw8tT+p5BXSm6PJjQF/ycEYmKyzURCIt/RaZIhL+PulbQ9Yu2z1HdOJDdqDTlxA1+xKBmHXJsczAw==} - semver@6.3.1: - resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} - hasBin: true - semver@7.8.5: resolution: {integrity: sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==} engines: {node: '>=10'} @@ -3015,9 +2966,6 @@ packages: engines: {node: '>=8'} hasBin: true - yallist@3.1.1: - resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} - yaml@1.10.2: resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==} engines: {node: '>= 6'} @@ -3048,30 +2996,8 @@ snapshots: '@babel/helper-validator-identifier': 8.0.4 js-tokens: 10.0.0 - '@babel/compat-data@7.29.7': {} - '@babel/compat-data@8.0.5': {} - '@babel/core@7.29.7': - dependencies: - '@babel/code-frame': 7.29.7 - '@babel/generator': 7.29.7 - '@babel/helper-compilation-targets': 7.29.7 - '@babel/helper-module-transforms': 7.29.7(@babel/core@7.29.7) - '@babel/helpers': 7.29.7 - '@babel/parser': 7.29.7 - '@babel/template': 7.29.7 - '@babel/traverse': 7.29.7 - '@babel/types': 7.29.7 - '@jridgewell/remapping': 2.3.5 - convert-source-map: 2.0.0 - debug: 4.4.3 - gensync: 1.0.0-beta.2 - json5: 2.2.3 - semver: 6.3.1 - transitivePeerDependencies: - - supports-color - '@babel/core@8.0.5': dependencies: '@babel/code-frame': 8.0.0 @@ -3112,14 +3038,6 @@ snapshots: dependencies: '@babel/types': 8.0.5 - '@babel/helper-compilation-targets@7.29.7': - dependencies: - '@babel/compat-data': 7.29.7 - '@babel/helper-validator-option': 7.29.7 - browserslist: 4.28.1 - lru-cache: 5.1.1 - semver: 6.3.1 - '@babel/helper-compilation-targets@8.0.5': dependencies: '@babel/compat-data': 8.0.5 @@ -3160,24 +3078,10 @@ snapshots: '@babel/traverse': 8.0.5 '@babel/types': 8.0.5 - '@babel/helper-module-transforms@7.29.7(@babel/core@7.29.7)': - dependencies: - '@babel/core': 7.29.7 - '@babel/helper-module-imports': 7.29.7 - '@babel/helper-validator-identifier': 7.29.7 - '@babel/traverse': 7.29.7 - transitivePeerDependencies: - - supports-color - '@babel/helper-optimise-call-expression@8.0.0': dependencies: '@babel/types': 8.0.5 - '@babel/helper-plugin-utils@8.0.1(@babel/core@7.29.7)': - dependencies: - '@babel/core': 7.29.7 - optional: true - '@babel/helper-plugin-utils@8.0.1(@babel/core@8.0.5)': dependencies: '@babel/core': 8.0.5 @@ -3202,15 +3106,8 @@ snapshots: '@babel/helper-validator-identifier@8.0.4': {} - '@babel/helper-validator-option@7.29.7': {} - '@babel/helper-validator-option@8.0.0': {} - '@babel/helpers@7.29.7': - dependencies: - '@babel/template': 7.29.7 - '@babel/types': 7.29.7 - '@babel/helpers@8.0.5': dependencies: '@babel/template': 8.0.0 @@ -3236,13 +3133,6 @@ snapshots: '@babel/core': 8.0.5 '@babel/helper-plugin-utils': 8.0.1(@babel/core@8.0.5) - '@babel/plugin-transform-runtime@8.0.1(@babel/core@7.29.7)': - dependencies: - '@babel/core': 7.29.7 - '@babel/helper-module-imports': 8.0.0 - '@babel/helper-plugin-utils': 8.0.1(@babel/core@7.29.7) - optional: true - '@babel/plugin-transform-runtime@8.0.1(@babel/core@8.0.5)': dependencies: '@babel/core': 8.0.5 @@ -3324,7 +3214,7 @@ snapshots: tslib: 2.8.1 optional: true - '@emotion/babel-plugin@11.13.5': + '@emotion/babel-plugin@11.13.5(patch_hash=64c3abe077201c134e02da80a2ecfd08d233b080e0bd52f72bc193ff152aea4a)': dependencies: '@babel/helper-module-imports': 7.29.7 '@babel/runtime': 7.28.6 @@ -3359,7 +3249,7 @@ snapshots: '@emotion/react@11.14.0(@types/react@19.3.0)(react@19.3.0)': dependencies: '@babel/runtime': 7.28.6 - '@emotion/babel-plugin': 11.13.5 + '@emotion/babel-plugin': 11.13.5(patch_hash=64c3abe077201c134e02da80a2ecfd08d233b080e0bd52f72bc193ff152aea4a) '@emotion/cache': 11.14.0 '@emotion/serialize': 1.3.3 '@emotion/use-insertion-effect-with-fallbacks': 1.2.0(react@19.3.0) @@ -3385,7 +3275,7 @@ snapshots: '@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.3.0)(react@19.3.0))(@types/react@19.3.0)(react@19.3.0)': dependencies: '@babel/runtime': 7.28.6 - '@emotion/babel-plugin': 11.13.5 + '@emotion/babel-plugin': 11.13.5(patch_hash=64c3abe077201c134e02da80a2ecfd08d233b080e0bd52f72bc193ff152aea4a) '@emotion/is-prop-valid': 1.4.0 '@emotion/react': 11.14.0(@types/react@19.3.0)(react@19.3.0) '@emotion/serialize': 1.3.3 @@ -3495,11 +3385,6 @@ snapshots: '@jridgewell/sourcemap-codec': 1.6.0 '@jridgewell/trace-mapping': 0.3.31 - '@jridgewell/remapping@2.3.5': - dependencies: - '@jridgewell/gen-mapping': 0.3.13 - '@jridgewell/trace-mapping': 0.3.31 - '@jridgewell/resolve-uri@3.1.2': {} '@jridgewell/sourcemap-codec@1.6.0': {} @@ -3896,16 +3781,6 @@ snapshots: vite: 8.3.0(@types/node@24.13.5)(esbuild@0.27.3) optional: true - '@rolldown/plugin-babel@file:packages/babel(@babel/core@7.29.7)(@babel/plugin-transform-runtime@8.0.1(@babel/core@7.29.7))(@babel/runtime@8.0.5)(rolldown@1.2.9)(vite@8.3.0(@types/node@24.13.5)(esbuild@0.27.3))': - dependencies: - '@babel/core': 7.29.7 - picomatch: 4.0.7 - rolldown: 1.2.9 - optionalDependencies: - '@babel/plugin-transform-runtime': 8.0.1(@babel/core@7.29.7) - '@babel/runtime': 8.0.5 - vite: 8.3.0(@types/node@24.13.5)(esbuild@0.27.3) - '@rolldown/pluginutils@1.0.0-rc.16': optional: true @@ -4517,10 +4392,6 @@ snapshots: lru-cache@11.5.1: {} - lru-cache@5.1.1: - dependencies: - yallist: 3.1.1 - magic-string@1.2.3: dependencies: '@jridgewell/sourcemap-codec': 1.6.0 @@ -4771,8 +4642,6 @@ snapshots: scheduler@0.28.0: {} - semver@6.3.1: {} - semver@7.8.5: {} siginfo@2.0.0: {} @@ -4793,15 +4662,7 @@ snapshots: strip-final-newline@4.0.0: {} - styled-jsx@5.1.7(@babel/core@7.29.7)(babel-plugin-macros@3.1.0)(react@19.3.0): - dependencies: - client-only: 0.0.1 - react: 19.3.0 - optionalDependencies: - '@babel/core': 7.29.7 - babel-plugin-macros: 3.1.0 - - styled-jsx@5.1.7(@babel/core@8.0.5)(babel-plugin-macros@3.1.0)(react@19.3.0): + styled-jsx@5.1.7(patch_hash=42991263b17f023a3534f895e6161329de44d5560db2c6fdda274ce668b5053d)(@babel/core@8.0.5)(babel-plugin-macros@3.1.0)(react@19.3.0): dependencies: client-only: 0.0.1 react: 19.3.0 @@ -4946,8 +4807,6 @@ snapshots: siginfo: 2.0.0 stackback: 0.0.2 - yallist@3.1.1: {} - yaml@1.10.2: {} yoctocolors@2.1.2: {} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 907ce08..8b00b6b 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -27,3 +27,7 @@ catalogs: '@babel/core': ^7.29.7 '@babel/plugin-transform-runtime': ^7.29.7 '@babel/runtime': ^7.29.7 + +patchedDependencies: + '@emotion/babel-plugin@11.13.5': patches/@emotion__babel-plugin@11.13.5.patch + styled-jsx@5.1.7: patches/styled-jsx@5.1.7.patch