@mdx-js/util
Advanced tools
Comparing version 1.4.3 to 1.4.4
@@ -31,3 +31,5 @@ const IMPORT_REGEX = /^import\s/ | ||
const escaped = text | ||
.replace(/\\/g, '\\\\') // Escape all "\" to avoid unwanted escaping in text nodes | ||
.replace(/\\(?!\$)/g, '\\\\') // Escape all "\" to avoid unwanted escaping in text nodes | ||
// and ignore "\$" since it's already escaped and is common | ||
// with prettier https://github.com/mdx-js/mdx/issues/606 | ||
.replace(/`/g, '\\`') // Escape "`"" since | ||
@@ -34,0 +36,0 @@ .replace(/\$\{/g, '\\${') // Escape ${} in text so that it doesn't eval |
{ | ||
"name": "@mdx-js/util", | ||
"version": "1.4.3", | ||
"version": "1.4.4", | ||
"description": "Utilities for MDX libraries", | ||
@@ -30,3 +30,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "5a05c7164676054c90e1e072bd259d9c1d197597" | ||
"gitHead": "dec55ec92f9ff42b0ae3617f0168a387e56f7ff8" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3768
41