@vxrn/mdx 1.1.481 → 1.1.482
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/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.native.js +2 -2
- package/dist/index.native.js.map +2 -2
- package/package.json +2 -2
package/dist/index.native.js
CHANGED
|
@@ -261,10 +261,10 @@ var require_utils = __commonJS({
|
|
|
261
261
|
node && (type2 && node.type === type2 || node.type === "open" || node.type === "close") && node.escaped !== !0 && (node.value = "\\" + node.value, node.escaped = !0);
|
|
262
262
|
};
|
|
263
263
|
exports2.encloseBrace = function(node) {
|
|
264
|
-
return node.type !== "brace"
|
|
264
|
+
return node.type !== "brace" ? !1 : node.commas >> 0 + node.ranges >> 0 === 0 ? (node.invalid = !0, !0) : !1;
|
|
265
265
|
};
|
|
266
266
|
exports2.isInvalidBrace = function(block) {
|
|
267
|
-
return block.type !== "brace" ? !1 : block.invalid === !0 || block.dollar ? !0 :
|
|
267
|
+
return block.type !== "brace" ? !1 : block.invalid === !0 || block.dollar ? !0 : block.commas >> 0 + block.ranges >> 0 === 0 || block.open !== !0 || block.close !== !0 ? (block.invalid = !0, !0) : !1;
|
|
268
268
|
};
|
|
269
269
|
exports2.isOpenOrClose = function(node) {
|
|
270
270
|
return node.type === "open" || node.type === "close" ? !0 : node.open === !0 || node.close === !0;
|