shift-parser
Advanced tools
Comparing version 5.0.1 to 5.0.2
@@ -166,4 +166,10 @@ "use strict"; | ||
_this.index = index; | ||
_this.line = line; | ||
_this.column = column; | ||
// Safari defines these properties as non-writable and non-configurable on Error objects | ||
try { | ||
_this.line = line; | ||
_this.column = column; | ||
} catch (e) {} | ||
// define these as well so Safari still has access to this info | ||
_this.parseErrorLine = line; | ||
_this.parseErrorColumn = column; | ||
_this.description = msg; | ||
@@ -170,0 +176,0 @@ _this.message = "[" + line + ":" + column + "]: " + msg; |
{ | ||
"name": "shift-parser", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"description": "ECMAScript parser that produces a Shift format AST", | ||
@@ -5,0 +5,0 @@ "author": "Shape Security Labs", |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
281563
22449
11
5647
0
83