mirror of
https://github.com/discourse/discourse.git
synced 2025-06-10 16:25:01 +08:00
DEV: Update content-tag to 2.0.0 (#25520)
This commit is contained in:
@ -1,18 +1,20 @@
|
|||||||
diff --git a/node_modules/content-tag/pkg/standalone.js b/node_modules/content-tag/pkg/standalone.js
|
diff --git a/node_modules/content-tag/pkg/standalone.js b/node_modules/content-tag/pkg/standalone.js
|
||||||
index 0df00d7..c19b607 100644
|
index 7be08fc..35777bf 100644
|
||||||
--- a/node_modules/content-tag/pkg/standalone.js
|
--- a/node_modules/content-tag/pkg/standalone.js
|
||||||
+++ b/node_modules/content-tag/pkg/standalone.js
|
+++ b/node_modules/content-tag/pkg/standalone.js
|
||||||
@@ -1,5 +1,6 @@
|
@@ -1,7 +1,8 @@
|
||||||
-import init from "./standalone/content_tag.js";
|
-import init from "./standalone/content_tag.js";
|
||||||
+import { initSync } from "./standalone/content_tag.js";
|
+import { initSync } from "./standalone/content_tag.js";
|
||||||
+import module from "./standalone/content_tag_bg.wasm";
|
+import module from "./standalone/content_tag_bg.wasm";
|
||||||
|
import { Preprocessor as WasmPreprocessor } from "./standalone/content_tag.js";
|
||||||
|
|
||||||
-await init();
|
-await init();
|
||||||
+initSync(module);
|
+initSync(module);
|
||||||
|
|
||||||
export { Preprocessor } from "./standalone/content_tag.js";
|
const defaultOptions = {
|
||||||
|
inline_source_map: false,
|
||||||
diff --git a/node_modules/content-tag/pkg/standalone/content_tag.js b/node_modules/content-tag/pkg/standalone/content_tag.js
|
diff --git a/node_modules/content-tag/pkg/standalone/content_tag.js b/node_modules/content-tag/pkg/standalone/content_tag.js
|
||||||
index 70545cf..e6eb36b 100644
|
index aaefe00..9374f10 100644
|
||||||
--- a/node_modules/content-tag/pkg/standalone/content_tag.js
|
--- a/node_modules/content-tag/pkg/standalone/content_tag.js
|
||||||
+++ b/node_modules/content-tag/pkg/standalone/content_tag.js
|
+++ b/node_modules/content-tag/pkg/standalone/content_tag.js
|
||||||
@@ -20,6 +20,7 @@ function takeObject(idx) {
|
@@ -20,6 +20,7 @@ function takeObject(idx) {
|
@ -10,7 +10,7 @@
|
|||||||
"@babel/standalone": "^7.23.10",
|
"@babel/standalone": "^7.23.10",
|
||||||
"@zxing/text-encoding": "^0.9.0",
|
"@zxing/text-encoding": "^0.9.0",
|
||||||
"babel-plugin-ember-template-compilation": "^2.2.1",
|
"babel-plugin-ember-template-compilation": "^2.2.1",
|
||||||
"content-tag": "^1.2.2",
|
"content-tag": "^2.0.0",
|
||||||
"discourse-common": "1.0.0",
|
"discourse-common": "1.0.0",
|
||||||
"discourse-widget-hbs": "1.0.0",
|
"discourse-widget-hbs": "1.0.0",
|
||||||
"ember-cli-htmlbars": "^6.3.0",
|
"ember-cli-htmlbars": "^6.3.0",
|
||||||
|
@ -4194,11 +4194,16 @@ content-disposition@0.5.4:
|
|||||||
dependencies:
|
dependencies:
|
||||||
safe-buffer "5.2.1"
|
safe-buffer "5.2.1"
|
||||||
|
|
||||||
content-tag@^1.1.2, content-tag@^1.2.2:
|
content-tag@^1.1.2:
|
||||||
version "1.2.2"
|
version "1.2.2"
|
||||||
resolved "https://registry.yarnpkg.com/content-tag/-/content-tag-1.2.2.tgz#8cbc3cdb9957a81f7c425b138e334330dd6fd78d"
|
resolved "https://registry.yarnpkg.com/content-tag/-/content-tag-1.2.2.tgz#8cbc3cdb9957a81f7c425b138e334330dd6fd78d"
|
||||||
integrity sha512-9guqKIx2H+78N17otBpl8yLZbQGL5q1vBO/jDb3gF2JjixtcVpC62jDUNxjVMNoaZ09oxRX84ZOD6VX02qkVvg==
|
integrity sha512-9guqKIx2H+78N17otBpl8yLZbQGL5q1vBO/jDb3gF2JjixtcVpC62jDUNxjVMNoaZ09oxRX84ZOD6VX02qkVvg==
|
||||||
|
|
||||||
|
content-tag@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/content-tag/-/content-tag-2.0.0.tgz#932e609c800aa85adf0a4ef07b86d91dd1492c0a"
|
||||||
|
integrity sha512-4P7sbMEX37J0yBS/b4HZn3cQCI+w+CR7URiA7KRSBSuI8P/bFuxu7Y1srfbV9BWTCXwyVGxXo1lIpNTGL0FQUQ==
|
||||||
|
|
||||||
content-type@~1.0.4:
|
content-type@~1.0.4:
|
||||||
version "1.0.5"
|
version "1.0.5"
|
||||||
resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918"
|
resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918"
|
||||||
|
@ -4351,11 +4351,16 @@ content-disposition@0.5.4:
|
|||||||
dependencies:
|
dependencies:
|
||||||
safe-buffer "5.2.1"
|
safe-buffer "5.2.1"
|
||||||
|
|
||||||
content-tag@^1.1.2, content-tag@^1.2.2:
|
content-tag@^1.1.2:
|
||||||
version "1.2.2"
|
version "1.2.2"
|
||||||
resolved "https://registry.yarnpkg.com/content-tag/-/content-tag-1.2.2.tgz#8cbc3cdb9957a81f7c425b138e334330dd6fd78d"
|
resolved "https://registry.yarnpkg.com/content-tag/-/content-tag-1.2.2.tgz#8cbc3cdb9957a81f7c425b138e334330dd6fd78d"
|
||||||
integrity sha512-9guqKIx2H+78N17otBpl8yLZbQGL5q1vBO/jDb3gF2JjixtcVpC62jDUNxjVMNoaZ09oxRX84ZOD6VX02qkVvg==
|
integrity sha512-9guqKIx2H+78N17otBpl8yLZbQGL5q1vBO/jDb3gF2JjixtcVpC62jDUNxjVMNoaZ09oxRX84ZOD6VX02qkVvg==
|
||||||
|
|
||||||
|
content-tag@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/content-tag/-/content-tag-2.0.0.tgz#932e609c800aa85adf0a4ef07b86d91dd1492c0a"
|
||||||
|
integrity sha512-4P7sbMEX37J0yBS/b4HZn3cQCI+w+CR7URiA7KRSBSuI8P/bFuxu7Y1srfbV9BWTCXwyVGxXo1lIpNTGL0FQUQ==
|
||||||
|
|
||||||
content-type@~1.0.4:
|
content-type@~1.0.4:
|
||||||
version "1.0.5"
|
version "1.0.5"
|
||||||
resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918"
|
resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918"
|
||||||
|
Reference in New Issue
Block a user