Skip to content

A platform for community discussion. Free, open, simple.

DEPS: Bump @babel/standalone from 7.29.7 to 8.0.4 in the babel group across 1 directory (#42813)

dependabot[bot]c4461f7025d4
diff --git a/frontend/asset-processor/package.json b/frontend/asset-processor/package.json
index 2ac0aa4d87e..23641d2a7f3 100644
--- a/frontend/asset-processor/package.json
+++ b/frontend/asset-processor/package.json
@@ -13,7 +13,7 @@
"@babel/core": "^7.29.7",
"@babel/plugin-transform-typescript": "^7.29.7",
"@babel/preset-env": "^7.29.2",
- "@babel/standalone": "^7.29.7",
+ "@babel/standalone": "^8.0.4",
"@csstools/postcss-light-dark-function": "^3.0.3",
"@rollup/browser": "^4.63.1",
"@rollup/plugin-babel": "^7.0.0",
diff --git a/frontend/asset-processor/transpiler.js b/frontend/asset-processor/transpiler.js
index 21b7ba08dad..c80f6f4c500 100644
--- a/frontend/asset-processor/transpiler.js
+++ b/frontend/asset-processor/transpiler.js
@@ -17,14 +17,13 @@ globalThis.transpile = function (source, options = {}) {
const plugins = [];
if (moduleId && !skipModule) {
- plugins.push(["transform-modules-amd", { noInterop: true }]);
+ plugins.push(["transform-modules-amd", { noInterop: true, moduleId }]);
}
plugins.push([DecoratorTransforms, { runEarly: true }]);
plugins.push(babelTransformModuleRenames);
try {
const result = babelTransform(source, {
- moduleId,
filename,
ast: false,
plugins,
diff --git a/frontend/discourse/package.json b/frontend/discourse/package.json
index 1db4e1fe771..9e485472d2e 100644
--- a/frontend/discourse/package.json
+++ b/frontend/discourse/package.json
@@ -114,7 +114,7 @@
"@babel/core": "^7.29.7",
"@babel/plugin-transform-runtime": "^7.29.7",
"@babel/plugin-transform-typescript": "^7.29.7",
- "@babel/standalone": "^7.29.7",
+ "@babel/standalone": "^8.0.4",
"@colors/colors": "^1.6.0",
"@discourse/itsatrap": "^2.0.10",
"@ember-compat/tracked-built-ins": "^0.9.1",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 2f58f3a9620..720ffee0c3c 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -121,8 +121,8 @@ importers:
specifier: ^7.29.2
version: 7.29.7(@babel/[email protected])
'@babel/standalone':
- specifier: ^7.29.7
- version: 7.29.7
+ specifier: ^8.0.4
+ version: 8.0.4
'@csstools/postcss-light-dark-function':
specifier: ^3.0.3
version: 3.0.3([email protected])
@@ -467,8 +467,8 @@ importers:
specifier: ^7.29.7
version: 7.29.7(@babel/[email protected])
'@babel/standalone':
- specifier: ^7.29.7
- version: 7.29.7
+ specifier: ^8.0.4
+ version: 8.0.4
'@colors/colors':
specifier: ^1.6.0
version: 1.6.0
@@ -1678,9 +1678,9 @@ packages:
resolution: {integrity: sha512-Nq8OhGWiZIZGV6hLHoyAKLLcJihP/xFeBMGJoUrxTX2psI8dCifzLhZISFb+VWS3wFMRDmCGw5R+dOySCqPLhw==}
engines: {node: '>=6.9.0'}
- '@babel/[email protected]':
- resolution: {integrity: sha512-oFh9XoGL20UuHIeIuBQHOvF7r2dOCRnZW0r4SageGb9SWnt6HhbuPLREykNaEnP7/SRpMUwr50SSMJLrmeHvnQ==}
- engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-z8WgyJCfEl7qGAfJJksICOL5zQPpfwa6Yew+91Txf1k3xuDtlDdDe5GX2QdIhgx0HD7oYOCLoF8Y6CwNdawJwQ==}
+ engines: {node: ^22.18.0 || >=24.11.0}
resolution: {integrity: sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==}
@@ -9354,7 +9354,7 @@ snapshots:
'@babel/[email protected]': {}
- '@babel/[email protected]': {}
+ '@babel/[email protected]': {}
dependencies: