bare-script 3.7.0 → 3.7.1
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/lib/parser.js +1 -1
- package/package.json +1 -1
package/lib/parser.js
CHANGED
|
@@ -813,7 +813,7 @@ const rExprVariableExEscape = /\\([\\\]])/g;
|
|
|
813
813
|
|
|
814
814
|
|
|
815
815
|
// String literal escapes
|
|
816
|
-
const rExprStringEscapes =
|
|
816
|
+
const rExprStringEscapes = /\\([nrtbf'"\\]|u[0-9a-fA-F]{4})/g;
|
|
817
817
|
|
|
818
818
|
function replaceStringEscape(unusedMatch, esc) {
|
|
819
819
|
if (esc.startsWith('u')) {
|