Skip to content

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

DEV: Downgrade `@swc/core` to `1.13.5` (#35035)

David Taylore81e3bebffcd
diff --git a/package.json b/package.json
index fefc71ece1d..db8fffaf108 100644
--- a/package.json
+++ b/package.json
@@ -14,7 +14,7 @@
"@glint/environment-ember-template-imports": "^2.0.0-alpha.3",
"@glint/template": "^1.6.0-alpha.2",
"@rdil/parallel-prettier": "^3.0.0",
- "@swc/core": "^1.13.20",
+ "@swc/core": "^1.13.5",
"chart.js": "3.5.1",
"chartjs-plugin-datalabels": "2.2.0",
"chrome-launcher": "^1.2.1",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 6cac7d743a3..169048aacfd 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -59,8 +59,8 @@ importers:
specifier: ^3.0.0
version: 3.0.0([email protected])
'@swc/core':
- specifier: ^1.13.20
- version: 1.13.20
+ specifier: ^1.13.5
+ version: 1.13.5
chart.js:
specifier: 3.5.1
version: 3.5.1
@@ -154,7 +154,7 @@ importers:
version: 2.2.0
'@embroider/test-setup':
specifier: ^4.0.0
'@glimmer/component':
specifier: ^2.0.0
version: 2.0.0
@@ -202,7 +202,7 @@ importers:
version: 4.7.0
webpack:
specifier: ^5.101.3
- version: 5.101.3(@swc/[email protected])([email protected])
+ version: 5.101.3(@swc/[email protected])([email protected])
app/assets/javascripts/custom-proxy:
devDependencies:
@@ -234,7 +234,7 @@ importers:
version: 8.1.4
ember-auto-import:
specifier: ^2.10.1
ember-cli-babel:
specifier: ^8.2.0
version: 8.2.0(@babel/[email protected])
@@ -259,7 +259,7 @@ importers:
version: 4.0.9
webpack:
specifier: ^5.101.3
- version: 5.101.3(@swc/[email protected])([email protected])
+ version: 5.101.3(@swc/[email protected])([email protected])
app/assets/javascripts/discourse:
dependencies:
@@ -671,7 +671,7 @@ importers:
version: link:../discourse-i18n
ember-auto-import:
specifier: ^2.10.1
markdown-it:
specifier: 14.0.0
version: 14.0.0
@@ -714,7 +714,7 @@ importers:
webpack:
specifier: ^5.101.3
- version: 5.101.3(@swc/[email protected])([email protected])
+ version: 5.101.3(@swc/[email protected])([email protected])
app/assets/javascripts/discourse-widget-hbs:
dependencies:
@@ -723,7 +723,7 @@ importers:
version: 7.28.4([email protected])
ember-auto-import:
specifier: ^2.10.1
ember-cli-babel:
specifier: ^8.2.0
version: 8.2.0(@babel/[email protected])
@@ -736,7 +736,7 @@ importers:
version: 2.2.0
'@embroider/test-setup':
specifier: ^4.0.0
'@glimmer/component':
specifier: ^2.0.0
version: 2.0.0
@@ -778,7 +778,7 @@ importers:
version: 4.7.0
webpack:
specifier: ^5.101.3
- version: 5.101.3(@swc/[email protected])([email protected])
+ version: 5.101.3(@swc/[email protected])([email protected])
app/assets/javascripts/ember-cli-progress-ci: {}
@@ -795,7 +795,7 @@ importers:
version: 1.7.4
ember-auto-import:
specifier: ^2.10.1
ember-cli-babel:
specifier: ^8.2.0
version: 8.2.0(@babel/[email protected])
@@ -817,7 +817,7 @@ importers:
version: 2.2.0
'@embroider/test-setup':
specifier: ^4.0.0
'@glimmer/component':
specifier: ^2.0.0
version: 2.0.0
@@ -865,7 +865,7 @@ importers:
version: 4.7.0
webpack:
specifier: ^5.101.3
- version: 5.101.3(@swc/[email protected])([email protected])
+ version: 5.101.3(@swc/[email protected])([email protected])
app/assets/javascripts/pretty-text:
dependencies:
@@ -877,7 +877,7 @@ importers:
version: link:../discourse-i18n
ember-auto-import:
specifier: ^2.10.1
ember-cli-babel:
specifier: ^8.2.0
version: 8.2.0(@babel/[email protected])
@@ -893,7 +893,7 @@ importers:
version: 2.2.0
'@embroider/test-setup':
specifier: ^4.0.0
'@glimmer/component':
specifier: ^2.0.0
version: 2.0.0
@@ -941,7 +941,7 @@ importers:
version: 4.7.0
webpack:
specifier: ^5.101.3
- version: 5.101.3(@swc/[email protected])([email protected])
+ version: 5.101.3(@swc/[email protected])([email protected])
app/assets/javascripts/select-kit:
dependencies:
@@ -962,7 +962,7 @@ importers:
version: link:../discourse-i18n
ember-auto-import:
specifier: ^2.10.1
ember-cached-decorator-polyfill:
specifier: ^1.0.2
version: 1.0.2(@babel/[email protected])(@glint/[email protected])([email protected](patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected]))
@@ -987,7 +987,7 @@ importers:
version: 2.2.0
'@embroider/test-setup':
specifier: ^4.0.0
'@glimmer/component':
specifier: ^2.0.0
version: 2.0.0
@@ -1035,7 +1035,7 @@ importers:
version: 4.7.0
webpack:
specifier: ^5.101.3
- version: 5.101.3(@swc/[email protected])([email protected])
+ version: 5.101.3(@swc/[email protected])([email protected])
app/assets/javascripts/theme-transpiler:
dependencies:
@@ -1141,7 +1141,7 @@ importers:
version: 1.10.0
ember-auto-import:
specifier: ^2.10.1
packages:
@@ -2742,60 +2742,120 @@ packages:
cpu: [arm64]
os: [darwin]
+ resolution: {integrity: sha512-lKNv7SujeXvKn16gvQqUQI5DdyY8v7xcoO3k06/FJbHJS90zEwZdQiMNRiqpYw/orU543tPaWgz7cIYWhbopiQ==}
+ engines: {node: '>=10'}
+ cpu: [arm64]
+ os: [darwin]
+
resolution: {integrity: sha512-7xr+ACdUMNyrN87oEF1GvJIZJBAhGolfQVB0EYP08JEy8VSh//FEwfdlUz8gweaZyjOl1nuPS6ncXlKgZuZU8A==}
engines: {node: '>=10'}
cpu: [x64]
os: [darwin]
+ resolution: {integrity: sha512-ILd38Fg/w23vHb0yVjlWvQBoE37ZJTdlLHa8LRCFDdX4WKfnVBiblsCU9ar4QTMNdeTBEX9iUF4IrbNWhaF1Ng==}
+ engines: {node: '>=10'}
+ cpu: [x64]
+ os: [darwin]
+
resolution: {integrity: sha512-IaOLxU1U/oGV3lZ2T8tD5nB/5O60UFPqj5ZxYzDpCBVB73tDQDIxiDcro1X81nHbwJHjuHmbIrhoflS7LQN6+A==}
engines: {node: '>=10'}
cpu: [arm]
os: [linux]
+ resolution: {integrity: sha512-Q6eS3Pt8GLkXxqz9TAw+AUk9HpVJt8Uzm54MvPsqp2yuGmY0/sNaPPNVqctCX9fu/Nu8eaWUen0si6iEiCsazQ==}
+ engines: {node: '>=10'}
+ cpu: [arm]
+ os: [linux]
+
resolution: {integrity: sha512-Lg6FyotDydXGnNnlw+u7vCZzR2+fX3Q2HiULBTYl2dey3TvRyzAfEhdgMjUc4beRzf26U9rzMuTroJ6KMBCBjA==}
engines: {node: '>=10'}
cpu: [arm64]
os: [linux]
+ resolution: {integrity: sha512-aNDfeN+9af+y+M2MYfxCzCy/VDq7Z5YIbMqRI739o8Ganz6ST+27kjQFd8Y/57JN/hcnUEa9xqdS3XY7WaVtSw==}
+ engines: {node: '>=10'}
+ cpu: [arm64]
+ os: [linux]
+
resolution: {integrity: sha512-d1SvxmFykS0Ep8nPbduV1UwCvFjZ3ESzFKQdTbkr72bge8AseILBI9TbLTmoeWndDaTesiiTKRD5Y1iAvF1wvA==}
engines: {node: '>=10'}
cpu: [arm64]
os: [linux]
+ resolution: {integrity: sha512-9+ZxFN5GJag4CnYnq6apKTnnezpfJhCumyz0504/JbHLo+Ue+ZtJnf3RhyA9W9TINtLE0bC4hKpWi8ZKoETyOQ==}
+ engines: {node: '>=10'}
+ cpu: [arm64]
+ os: [linux]
+
resolution: {integrity: sha512-Bwmng57EuMod58Q8GDJA8rmUgFl20taK8w8MqeeDMiCnZY2+rJrNERbIX3sXZbwsf/kCIELZ7q4ZXiwdyB4zoQ==}
engines: {node: '>=10'}
cpu: [x64]
os: [linux]
+ resolution: {integrity: sha512-WD530qvHrki8Ywt/PloKUjaRKgstQqNGvmZl54g06kA+hqtSE2FTG9gngXr3UJxYu/cNAjJYiBifm7+w4nbHbA==}
+ engines: {node: '>=10'}
+ cpu: [x64]
+ os: [linux]
+
resolution: {integrity: sha512-osCm3VEKL/OIKInyhy75S5B+R+QGBdpR1B5vwTYqG/1RB4vFM3O5SDtRZabd6NV9Cxc9dcLztWyZjhs2qp63SQ==}
engines: {node: '>=10'}
cpu: [x64]
os: [linux]
+ resolution: {integrity: sha512-Luj8y4OFYx4DHNQTWjdIuKTq2f5k6uSXICqx+FSabnXptaOBAbJHNbHT/06JZh6NRUouaf0mYXN0mcsqvkhd7Q==}
+ engines: {node: '>=10'}
+ cpu: [x64]
+ os: [linux]
+
resolution: {integrity: sha512-svbQNirwEa6zwaAJPrEmQnMVZsOz8Jpr4nakFLkYIQwwJ73sBUkUJvH9ouIWmIu5bvgQrbQlRpxWTIY3e0Utlg==}
engines: {node: '>=10'}
cpu: [arm64]
os: [win32]
+ resolution: {integrity: sha512-cZ6UpumhF9SDJvv4DA2fo9WIzlNFuKSkZpZmPG1c+4PFSEMy5DFOjBSllCvnqihCabzXzpn6ykCwBmHpy31vQw==}
+ engines: {node: '>=10'}
+ cpu: [arm64]
+ os: [win32]
+
resolution: {integrity: sha512-uVjjwGXJltUQK0v1qQSNGeMS6osLJuwgeTti5N7kxQ6mOfa1irxq+TX0YdIVQwIONMjzI+TP7lhqPeA9VdUjRg==}
engines: {node: '>=10'}
cpu: [ia32]
os: [win32]
+ resolution: {integrity: sha512-C5Yi/xIikrFUzZcyGj9L3RpKljFvKiDMtyDzPKzlsDrKIw2EYY+bF88gB6oGY5RGmv4DAX8dbnpRAqgFD0FMEw==}
+ engines: {node: '>=10'}
+ cpu: [ia32]
+ os: [win32]
+
resolution: {integrity: sha512-Xm1JAew/P0TgsPSXyo60IH865fAmt9b2Mzd0FBJ77Q1xA1o/Oi9teCeGChyFq3+6JFao6uT0N4mcI3BJ4WBfkA==}
engines: {node: '>=10'}
cpu: [x64]
os: [win32]
+ resolution: {integrity: sha512-YrKdMVxbYmlfybCSbRtrilc6UA8GF5aPmGKBdPvjrarvsmf4i7ZHGCEnLtfOMd3Lwbs2WUZq3WdMbozYeLU93Q==}
+ engines: {node: '>=10'}
+ cpu: [x64]
+ os: [win32]
+
resolution: {integrity: sha512-w6REE95NkGhQH/baA0reb6IQjVzSy5HOz9bZnRTFgOv+a1ZDo4p6yVs4McpFOZJeu810DSHayO3mwBsBXxZcaw==}
engines: {node: '>=10'}
@@ -2805,6 +2865,15 @@ packages:
'@swc/helpers':
optional: true
+ resolution: {integrity: sha512-WezcBo8a0Dg2rnR82zhwoR6aRNxeTGfK5QCD6TQ+kg3xx/zNT02s/0o+81h/3zhvFSB24NtqEr8FTw88O5W/JQ==}
+ engines: {node: '>=10'}
+ peerDependencies:
+ '@swc/helpers': '>=0.5.17'
+ peerDependenciesMeta:
+ '@swc/helpers':
+ optional: true
+
resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==}
@@ -10262,6 +10331,16 @@ snapshots:
- supports-color
- webpack
+ dependencies:
+ '@babel/core': 7.28.4([email protected])
+ '@embroider/core': 3.5.5(@glint/[email protected])
+ transitivePeerDependencies:
+ - supports-color
+ - webpack
+ optional: true
+
dependencies:
'@babel/code-frame': 7.27.1
@@ -10354,6 +10433,12 @@ snapshots:
'@embroider/core': 3.5.5(@glint/[email protected])
webpack: 5.101.3(@swc/[email protected])([email protected])
+ dependencies:
+ '@embroider/core': 3.5.5(@glint/[email protected])
+ webpack: 5.101.3(@swc/[email protected])([email protected])
+ optional: true
+
'@embroider/[email protected](@glint/[email protected])':
dependencies:
'@embroider/shared-internals': 2.9.0([email protected])
@@ -10446,14 +10531,14 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
lodash: 4.17.21
resolve: 1.22.10
optionalDependencies:
'@embroider/compat': 3.8.5(@embroider/[email protected](@glint/[email protected]))(@glint/[email protected])
'@embroider/core': 3.5.5(@glint/[email protected])
- '@embroider/webpack': 4.1.0(@embroider/[email protected](@glint/[email protected]))([email protected](@swc/[email protected])([email protected]))
+ '@embroider/webpack': 4.1.0(@embroider/[email protected](@glint/[email protected]))([email protected](@swc/[email protected])([email protected]))
dependencies:
@@ -10486,6 +10571,38 @@ snapshots:
- canvas
- utf-8-validate
+ dependencies:
+ '@babel/core': 7.28.4([email protected])
+ '@babel/preset-env': 7.28.3(@babel/[email protected])([email protected])
+ '@embroider/core': 3.5.5(@glint/[email protected])
+ '@embroider/hbs-loader': 3.0.3(@embroider/[email protected](@glint/[email protected]))([email protected](@swc/[email protected])([email protected]))
+ '@embroider/shared-internals': 2.9.0([email protected])
+ '@types/supports-color': 8.1.3
+ assert-never: 1.4.0
+ csso: 4.2.0
+ debug: 4.4.3([email protected])
+ escape-string-regexp: 4.0.0
+ fs-extra: 9.1.0
+ jsdom: 25.0.1([email protected])
+ lodash: 4.17.21
+ mini-css-extract-plugin: 2.9.4([email protected](@swc/[email protected])([email protected]))
+ semver: 7.7.2
+ source-map-url: 0.4.1
+ supports-color: 8.1.1
+ terser: 5.44.0
+ webpack: 5.101.3(@swc/[email protected])([email protected])
+ transitivePeerDependencies:
+ - bufferutil
+ - canvas
+ - utf-8-validate
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -11337,33 +11454,63 @@ snapshots:
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
dependencies:
'@swc/counter': 0.1.3
@@ -11380,6 +11527,22 @@ snapshots:
'@swc/core-win32-ia32-msvc': 1.13.20
'@swc/core-win32-x64-msvc': 1.13.20
+ dependencies:
+ '@swc/counter': 0.1.3
+ '@swc/types': 0.1.25
+ optionalDependencies:
+ '@swc/core-darwin-arm64': 1.13.5
+ '@swc/core-darwin-x64': 1.13.5
+ '@swc/core-linux-arm-gnueabihf': 1.13.5
+ '@swc/core-linux-arm64-gnu': 1.13.5
+ '@swc/core-linux-arm64-musl': 1.13.5
+ '@swc/core-linux-x64-gnu': 1.13.5
+ '@swc/core-linux-x64-musl': 1.13.5
+ '@swc/core-win32-arm64-msvc': 1.13.5
+ '@swc/core-win32-ia32-msvc': 1.13.5
+ '@swc/core-win32-x64-msvc': 1.13.5
+
'@swc/[email protected]': {}
@@ -12052,6 +12215,15 @@ snapshots:
schema-utils: 2.7.1
webpack: 5.101.3(@swc/[email protected])([email protected])
+ dependencies:
+ '@babel/core': 7.28.4([email protected])
+ find-cache-dir: 3.3.2
+ loader-utils: 2.0.4
+ make-dir: 3.1.0
+ schema-utils: 2.7.1
+ webpack: 5.101.3(@swc/[email protected])([email protected])
+
dependencies:
'@babel/core': 7.28.4([email protected])
@@ -12059,6 +12231,14 @@ snapshots:
schema-utils: 4.3.2
webpack: 5.101.3(@swc/[email protected])([email protected])
+ dependencies:
+ '@babel/core': 7.28.4([email protected])
+ find-cache-dir: 4.0.0
+ schema-utils: 4.3.2
+ webpack: 5.101.3(@swc/[email protected])([email protected])
+ optional: true
+
dependencies:
'@babel/core': 7.28.4([email protected])
@@ -13140,6 +13320,20 @@ snapshots:
semver: 7.7.2
webpack: 5.101.3(@swc/[email protected])([email protected])
+ dependencies:
+ icss-utils: 5.1.0([email protected])
+ loader-utils: 2.0.4
+ postcss: 8.5.6
+ postcss-modules-extract-imports: 3.1.0([email protected])
+ postcss-modules-local-by-default: 4.2.0([email protected])
+ postcss-modules-scope: 3.2.1([email protected])
+ postcss-modules-values: 4.0.0([email protected])
+ postcss-value-parser: 4.2.0
+ schema-utils: 3.3.0
+ semver: 7.7.2
+ webpack: 5.101.3(@swc/[email protected])([email protected])
+
dependencies:
mdn-data: 2.0.14
@@ -13386,6 +13580,49 @@ snapshots:
- supports-color
- webpack
+ dependencies:
+ '@babel/core': 7.28.4([email protected])
+ '@babel/plugin-proposal-class-properties': 7.18.6(@babel/[email protected])
+ '@babel/plugin-proposal-decorators': 7.28.0(@babel/[email protected])
+ '@babel/plugin-proposal-private-methods': 7.18.6(@babel/[email protected])
+ '@babel/plugin-transform-class-static-block': 7.28.3(@babel/[email protected])([email protected])
+ '@babel/preset-env': 7.28.3(@babel/[email protected])([email protected])
+ '@embroider/macros': 1.18.1(@glint/[email protected])
+ '@embroider/shared-internals': 2.9.1
+ babel-plugin-ember-modules-api-polyfill: 3.5.0
+ babel-plugin-ember-template-compilation: 2.4.1
+ babel-plugin-htmlbars-inline-precompile: 5.3.1
+ babel-plugin-syntax-dynamic-import: 6.18.0
+ broccoli-debug: 0.6.5
+ broccoli-funnel: 3.0.8
+ broccoli-merge-trees: 4.2.0
+ broccoli-plugin: 4.0.7
+ broccoli-source: 3.0.1
+ debug: 4.4.3([email protected])
+ fs-extra: 10.1.0
+ fs-tree-diff: 2.0.1
+ handlebars: 4.7.8
+ is-subdir: 1.2.0
+ js-string-escape: 1.0.1
+ lodash: 4.17.21
+ mini-css-extract-plugin: 2.9.4([email protected](@swc/[email protected])([email protected]))
+ minimatch: 3.1.2
+ parse5: 6.0.1
+ pkg-entry-points: 1.1.1
+ resolve: 1.22.10
+ resolve-package-path: 4.0.3
+ semver: 7.7.2
+ typescript-memoize: 1.1.1
+ walk-sync: 3.0.0
+ transitivePeerDependencies:
+ - '@glint/template'
+ - supports-color
+ - webpack
+
dependencies:
ember-cli-babel: 7.26.11
@@ -16343,6 +16580,12 @@ snapshots:
tapable: 2.2.3
webpack: 5.101.3(@swc/[email protected])([email protected])
+ dependencies:
+ schema-utils: 4.3.2
+ tapable: 2.2.3
+ webpack: 5.101.3(@swc/[email protected])([email protected])
+
dependencies:
'@isaacs/brace-expansion': 5.0.0
@@ -18204,6 +18447,12 @@ snapshots:
schema-utils: 3.3.0
webpack: 5.101.3(@swc/[email protected])([email protected])
+ dependencies:
+ loader-utils: 2.0.4
+ schema-utils: 3.3.0
+ webpack: 5.101.3(@swc/[email protected])([email protected])
+
@@ -18400,6 +18649,18 @@ snapshots:
'@swc/core': 1.13.20
esbuild: 0.25.10
+ dependencies:
+ '@jridgewell/trace-mapping': 0.3.31
+ jest-worker: 27.5.1
+ schema-utils: 4.3.2
+ serialize-javascript: 6.0.2
+ terser: 5.44.0
+ webpack: 5.101.3(@swc/[email protected])([email protected])
+ optionalDependencies:
+ '@swc/core': 1.13.5
+ esbuild: 0.25.10
+
dependencies:
'@jridgewell/source-map': 0.3.11
@@ -18514,6 +18775,16 @@ snapshots:
schema-utils: 3.3.0
webpack: 5.101.3(@swc/[email protected])([email protected])
+ dependencies:
+ json-parse-better-errors: 1.0.2
+ loader-runner: 4.3.0
+ loader-utils: 2.0.4
+ neo-async: 2.6.2
+ schema-utils: 3.3.0
+ webpack: 5.101.3(@swc/[email protected])([email protected])
+ optional: true
+
dependencies:
through2: 2.0.5
@@ -19100,6 +19371,38 @@ snapshots:
- esbuild
- uglify-js
+ dependencies:
+ '@types/eslint-scope': 3.7.7
+ '@types/estree': 1.0.8
+ '@types/json-schema': 7.0.15
+ '@webassemblyjs/ast': 1.14.1
+ '@webassemblyjs/wasm-edit': 1.14.1
+ '@webassemblyjs/wasm-parser': 1.14.1
+ acorn: 8.15.0
+ acorn-import-phases: 1.0.4([email protected])
+ browserslist: 4.25.4
+ chrome-trace-event: 1.0.4
+ enhanced-resolve: 5.18.3
+ es-module-lexer: 1.7.0
+ eslint-scope: 5.1.1
+ events: 3.3.0
+ glob-to-regexp: 0.4.1
+ graceful-fs: 4.2.11
+ json-parse-even-better-errors: 2.3.1
+ loader-runner: 4.3.0
+ mime-types: 2.1.35
+ neo-async: 2.6.2
+ schema-utils: 4.3.2
+ tapable: 2.2.3
+ watchpack: 2.4.4
+ webpack-sources: 3.3.3
+ transitivePeerDependencies:
+ - '@swc/core'
+ - esbuild
+ - uglify-js
+
dependencies:
http-parser-js: 0.5.10