Comparing version 4.5.0 to 4.6.0
@@ -22,4 +22,4 @@ 'use strict'; | ||
const escaped = JSON.stringify(code) | ||
.replace('\u2028', '\\u2028') | ||
.replace('\u2029', '\\u2029'); | ||
.replace(/\u2028/g, '\\u2028') | ||
.replace(/\u2029/g, '\\u2029'); | ||
@@ -26,0 +26,0 @@ // Because the input code may modify the global environment in ways that |
{ | ||
"name": "eshost", | ||
"version": "4.5.0", | ||
"version": "4.6.0", | ||
"description": "Invoke ECMAScript scripts in any command line JS engine.", | ||
@@ -5,0 +5,0 @@ "main": "lib/eshost.js", |
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
92453