mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 06:19:17 +08:00
DEV: Update content-tag to 2.0.3 (#29616)
This commit is contained in:
parent
75beb5a84f
commit
1ba6f6f1ae
|
@ -10,7 +10,7 @@
|
||||||
"@babel/standalone": "^7.26.2",
|
"@babel/standalone": "^7.26.2",
|
||||||
"@zxing/text-encoding": "^0.9.0",
|
"@zxing/text-encoding": "^0.9.0",
|
||||||
"babel-plugin-ember-template-compilation": "^2.3.0",
|
"babel-plugin-ember-template-compilation": "^2.3.0",
|
||||||
"content-tag": "^2.0.2",
|
"content-tag": "^2.0.3",
|
||||||
"decorator-transforms": "^2.2.2",
|
"decorator-transforms": "^2.2.2",
|
||||||
"discourse-common": "workspace:1.0.0",
|
"discourse-common": "workspace:1.0.0",
|
||||||
"discourse-widget-hbs": "workspace:1.0.0",
|
"discourse-widget-hbs": "workspace:1.0.0",
|
||||||
|
|
|
@ -68,8 +68,8 @@
|
||||||
"babel-plugin-debug-macros@0.3.4": "patches/babel-plugin-debug-macros@0.3.4.patch",
|
"babel-plugin-debug-macros@0.3.4": "patches/babel-plugin-debug-macros@0.3.4.patch",
|
||||||
"virtual-dom@2.1.1": "patches/virtual-dom@2.1.1.patch",
|
"virtual-dom@2.1.1": "patches/virtual-dom@2.1.1.patch",
|
||||||
"licensee@11.1.0": "patches/licensee@11.1.0.patch",
|
"licensee@11.1.0": "patches/licensee@11.1.0.patch",
|
||||||
"content-tag@2.0.2": "patches/content-tag@2.0.2.patch",
|
"decorator-transforms@2.2.2": "patches/decorator-transforms@2.2.2.patch",
|
||||||
"decorator-transforms@2.2.2": "patches/decorator-transforms@2.2.2.patch"
|
"content-tag@2.0.3": "patches/content-tag@2.0.3.patch"
|
||||||
},
|
},
|
||||||
"peerDependencyRules": {
|
"peerDependencyRules": {
|
||||||
"allowedVersions": {
|
"allowedVersions": {
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
diff --git a/pkg/standalone/content_tag.js b/pkg/standalone/content_tag.js
|
diff --git a/pkg/standalone/content_tag.js b/pkg/standalone/content_tag.js
|
||||||
index 761f0fa84a1c545ac8908dd3c3b6d7e6c778791d..41a1112329742f8ee5351df4d56e068fceef4864 100644
|
index 0a676a08c4aa05d096d402da649bca24ad60cfc1..68cbe90df17b17eba9c232952b037df56df6648b 100644
|
||||||
--- a/pkg/standalone/content_tag.js
|
--- a/pkg/standalone/content_tag.js
|
||||||
+++ b/pkg/standalone/content_tag.js
|
+++ b/pkg/standalone/content_tag.js
|
||||||
@@ -20,6 +20,7 @@ function takeObject(idx) {
|
@@ -1,5 +1,6 @@
|
||||||
return ret;
|
let wasm;
|
||||||
}
|
|
||||||
|
|
||||||
+const { TextDecoder, TextEncoder } = require('util');
|
+const { TextDecoder, TextEncoder } = require('util');
|
||||||
const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
|
const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
|
1025
pnpm-lock.yaml
1025
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user