sommark 5.0.4 → 5.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/core/helpers/lib.js
CHANGED
package/core/modules.js
CHANGED
|
@@ -441,6 +441,7 @@ export async function resolveModules(ast, context) {
|
|
|
441
441
|
Object.entries(node.props).filter(([key]) => {
|
|
442
442
|
if (key === "__consumed__") return false;
|
|
443
443
|
if (consumed.has(key)) return false; // THE FIX: Filter if hit by v{}
|
|
444
|
+
if (key === "smark-raw") return false; // directive — must not leak onto root element
|
|
444
445
|
return true;
|
|
445
446
|
})
|
|
446
447
|
);
|
package/dist/sommark.browser.js
CHANGED
|
@@ -8627,7 +8627,7 @@ function registerHostSettings(settings) {
|
|
|
8627
8627
|
hostSettings = settings || {};
|
|
8628
8628
|
}
|
|
8629
8629
|
|
|
8630
|
-
const version = "5.0.
|
|
8630
|
+
const version = "5.0.5";
|
|
8631
8631
|
|
|
8632
8632
|
const SomMark$1 = {
|
|
8633
8633
|
version,
|
|
@@ -13694,6 +13694,7 @@ async function resolveModules(ast, context) {
|
|
|
13694
13694
|
Object.entries(node.props).filter(([key]) => {
|
|
13695
13695
|
if (key === "__consumed__") return false;
|
|
13696
13696
|
if (consumed.has(key)) return false; // THE FIX: Filter if hit by v{}
|
|
13697
|
+
if (key === "smark-raw") return false; // directive — must not leak onto root element
|
|
13697
13698
|
return true;
|
|
13698
13699
|
})
|
|
13699
13700
|
);
|
|
@@ -12576,6 +12576,7 @@ async function resolveModules(ast, context) {
|
|
|
12576
12576
|
Object.entries(node.props).filter(([key]) => {
|
|
12577
12577
|
if (key === "__consumed__") return false;
|
|
12578
12578
|
if (consumed.has(key)) return false; // THE FIX: Filter if hit by v{}
|
|
12579
|
+
if (key === "smark-raw") return false; // directive — must not leak onto root element
|
|
12579
12580
|
return true;
|
|
12580
12581
|
})
|
|
12581
12582
|
);
|
package/package.json
CHANGED