discourse/app/assets/javascripts/theme-transpiler/package.json
David Taylor 1b28b8e169
DEV: Upgrade babel & remove vendored safari-bugfix transformation (#28208)
The Safari 15 bugfix has been rolled into @babel/preset-env in the most recent version, so we no longer need to carry our vendored copy.

This commit updates @babel/preset-env, runs npx yarn-deduplicate yarn.lock, and removes the vendored transform.

This commit also refactors our theme transpiler to use @babel/preset-env, with the same list of target browsers as our ember-cli build uses. This means we no longer need to maintain a separate list of babel transforms for themes.
2024-08-05 10:35:26 +01:00

31 lines
870 B
JSON

{
"name": "theme-transpiler",
"version": "1.0.0",
"private": true,
"description": "Uses esbuild to create a 'theme transpiler' bundle for loading into mini-racer",
"author": "Discourse",
"license": "GPL-2.0-only",
"keywords": [],
"dependencies": {
"@babel/standalone": "^7.25.3",
"@zxing/text-encoding": "^0.9.0",
"babel-plugin-ember-template-compilation": "^2.2.5",
"content-tag": "^2.0.1",
"discourse-common": "1.0.0",
"discourse-widget-hbs": "1.0.0",
"ember-cli-htmlbars": "^6.3.0",
"ember-source": "~5.5.0",
"ember-this-fallback": "^0.4.0",
"handlebars": "^4.7.8",
"path-browserify": "^1.0.1",
"polyfill-crypto.getrandomvalues": "^1.0.0",
"terser": "^5.31.3",
"decorator-transforms": "^2.0.0"
},
"engines": {
"node": ">= 18",
"npm": "please-use-yarn",
"yarn": ">= 1.21.1"
}
}