A platform for community discussion. Free, open, simple.
DEV: Update content-tag to 3.0.0 (#29980)
Jarek Radosz2137f2bb7463
diff --git a/app/assets/javascripts/theme-transpiler/package.json b/app/assets/javascripts/theme-transpiler/package.jsonindex f1403fc370a..89664490e9e 100644--- a/app/assets/javascripts/theme-transpiler/package.json+++ b/app/assets/javascripts/theme-transpiler/package.json@@ -10,7 +10,7 @@"@babel/standalone": "^7.26.2","@zxing/text-encoding": "^0.9.0","babel-plugin-ember-template-compilation": "^2.3.0",- "content-tag": "^2.0.3",+ "content-tag": "^3.0.0","decorator-transforms": "^2.2.2","discourse-common": "workspace:1.0.0","discourse-widget-hbs": "workspace:1.0.0",diff --git a/app/assets/javascripts/theme-transpiler/transpiler.js b/app/assets/javascripts/theme-transpiler/transpiler.jsindex cde57647551..a79896cf6c4 100644--- a/app/assets/javascripts/theme-transpiler/transpiler.js+++ b/app/assets/javascripts/theme-transpiler/transpiler.js@@ -131,7 +131,7 @@ globalThis.transpile = function (source, options = {}) {if (extension === "gjs") {const preprocessor = new Preprocessor();- source = preprocessor.process(source);+ source = preprocessor.process(source).code;}const plugins = [];diff --git a/package.json b/package.jsonindex d1467262679..df0c1997317 100644--- a/package.json+++ b/package.json@@ -67,7 +67,7 @@"[email protected]": "patches/[email protected]","[email protected]": "patches/[email protected]","[email protected]": "patches/[email protected]",- "[email protected]": "patches/[email protected]",+ "[email protected]": "patches/[email protected]","@ember-compat/tracked-built-ins": "patches/@ember-compat__tracked-built-ins.patch"},"peerDependencyRules": {diff --git a/patches/[email protected] b/patches/[email protected]similarity index 91%rename from patches/[email protected]rename to patches/[email protected]index c2e69746297..70d6c29a93b 100644--- a/patches/[email protected]+++ b/patches/[email protected]@@ -1,5 +1,5 @@diff --git a/pkg/standalone/content_tag.js b/pkg/standalone/content_tag.js-index 0a676a08c4aa05d096d402da649bca24ad60cfc1..68cbe90df17b17eba9c232952b037df56df6648b 100644+index ffac649b59d3c00ee025807971082cfea4e1cb2c..511c7ccf57b16e2d95dcd94da737d79ef170387f 100644--- a/pkg/standalone/content_tag.js+++ b/pkg/standalone/content_tag.js@@ -1,5 +1,6 @@diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex a13b82a1c7d..a35cf309631 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -11,9 +11,9 @@ patchedDependencies:hash: wki6cycbrrm5sscamn5w4cujbypath: patches/[email protected]- hash: 7p4u3ktgi6j7plgz7k3eueofqy- path: patches/[email protected]+ hash: lgdkxhmahesfzwpl4vwprolz5m+ path: patches/[email protected]hash: fjlfhpth5cfhuq4pce5qq7awkupath: patches/[email protected]@@ -1073,8 +1073,8 @@ importers:specifier: ^2.3.0version: 2.3.0content-tag:- specifier: ^2.0.3- version: 2.0.3(patch_hash=7p4u3ktgi6j7plgz7k3eueofqy)+ specifier: ^3.0.0+ version: 3.0.0(patch_hash=lgdkxhmahesfzwpl4vwprolz5m)decorator-transforms:specifier: ^2.2.2version: 2.2.2(patch_hash=fjlfhpth5cfhuq4pce5qq7awku)(@babel/[email protected])@@ -9983,7 +9983,7 @@ snapshots:dependencies:'@glint/environment-ember-loose': 1.5.0(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@babel/[email protected])([email protected](@babel/[email protected])(@glint/[email protected])([email protected])))'@glint/template': 1.5.0- content-tag: 2.0.3(patch_hash=7p4u3ktgi6j7plgz7k3eueofqy)+ content-tag: 2.0.3'@glint/[email protected]': {}@@ -11893,9 +11893,9 @@ snapshots:dependencies:safe-buffer: 5.2.1- [email protected](patch_hash=7p4u3ktgi6j7plgz7k3eueofqy): {}+ [email protected]: {}- [email protected]: {}+ [email protected](patch_hash=lgdkxhmahesfzwpl4vwprolz5m): {}@@ -12502,7 +12502,7 @@ snapshots:compression: 1.7.4configstore: 5.0.1console-ui: 3.1.2- content-tag: 2.0.3(patch_hash=7p4u3ktgi6j7plgz7k3eueofqy)+ content-tag: 2.0.3core-object: 3.1.5dag-map: 2.0.2diff: 5.2.0@@ -12646,7 +12646,7 @@ snapshots:'@babel/core': 7.26.0([email protected])'@babel/eslint-parser': 7.25.8(@babel/[email protected])([email protected])'@glimmer/syntax': 0.92.3- content-tag: 2.0.3(patch_hash=7p4u3ktgi6j7plgz7k3eueofqy)+ content-tag: 2.0.3eslint-scope: 7.2.2html-tags: 3.3.1transitivePeerDependencies:@@ -12836,7 +12836,7 @@ snapshots:dependencies:broccoli-stew: 3.0.0- content-tag: 3.0.0+ content-tag: 3.0.0(patch_hash=lgdkxhmahesfzwpl4vwprolz5m)ember-cli-version-checker: 5.1.2transitivePeerDependencies:- supports-color