source-mapper
Advanced tools
Comparing version 0.2.0 to 0.2.1
# Changes | ||
## 0.2.1 | ||
- Map IE 10 stack traces | ||
## 0.2.0 | ||
@@ -4,0 +8,0 @@ |
@@ -15,4 +15,4 @@ /* | ||
var stackRE = new RegExp('^(\\s*(?:at (?:.+ \\()?)?)' | ||
+ '(\\[stdin\\]|about:blank|(?:http|file)\\:\\/\\/.+)\\:([0-9]+)' | ||
+ '(\\:[0-9]+\\)?$|\\)?$)', 'gm'); | ||
+ '(\\[stdin\\]|about:blank|(?:http|file)\\:\\/\\/.+|Unknown script code)' | ||
+ '\\:([0-9]+)(\\:[0-9]+\\)?$|\\)?$)', 'gm'); | ||
@@ -19,0 +19,0 @@ |
{ | ||
"name": "source-mapper", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Replace URLs in track traces with original sources", | ||
@@ -5,0 +5,0 @@ "author": "Maximilian Antoni <mail@maxantoni.de> (http://maxantoni.de)", |
@@ -88,2 +88,11 @@ /*global describe, it, before, beforeEach*/ | ||
it('maps IE 10 stack line', function () { | ||
var base = path.resolve('test', 'fixture', 'thrower.js'); | ||
assert.equal( | ||
mapper.line(c, 'at Anonymous function (Unknown script code:5:1)'), | ||
'at Anonymous function (' + base + ':4:1)' | ||
); | ||
}); | ||
it('does not map "abc http://"', function () { | ||
@@ -90,0 +99,0 @@ var line = 'abc http://localhost:5'; |
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
7676
153