@babel/helper-string-parser
Advanced tools
Comparing version 8.0.0-alpha.11 to 8.0.0-alpha.12
@@ -148,3 +148,3 @@ var _isDigit = function isDigit(code) { | ||
const startPos = pos - 1; | ||
const match = input.slice(startPos, pos + 2).match(/^[0-7]+/); | ||
const match = /^[0-7]+/.exec(input.slice(startPos, pos + 2)); | ||
let octalStr = match[0]; | ||
@@ -151,0 +151,0 @@ let octal = parseInt(octalStr, 8); |
{ | ||
"name": "@babel/helper-string-parser", | ||
"version": "8.0.0-alpha.11", | ||
"version": "8.0.0-alpha.12", | ||
"description": "A utility package to parse strings", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
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
35433