stacktracey
Advanced tools
Comparing version 1.2.85 to 1.2.86
{ | ||
"name": "stacktracey", | ||
"version": "1.2.85", | ||
"version": "1.2.86", | ||
"description": "Parses call stacks. Reads sources. Clean & filtered output. Sourcemaps. Node & browsers.", | ||
@@ -86,4 +86,4 @@ "main": "stacktracey", | ||
"as-table": "^1.0.31", | ||
"get-source": "^1.0.22" | ||
"get-source": "^1.0.23" | ||
} | ||
} |
@@ -11,3 +11,3 @@ "use strict"; | ||
asTable = require ('as-table'), | ||
process_cwd = process.cwd () | ||
pathRoot = isBrowser ? window.location.href : (process.cwd () + '/') | ||
@@ -95,3 +95,3 @@ /* ------------------------------------------------------------------------ */ | ||
static relativePath (fullPath) { | ||
return fullPath.replace (isBrowser ? window.location.href : (process_cwd + '/'), '') | ||
return fullPath.replace (pathRoot, '') | ||
.replace (/^.*\:\/\/?\/?/, '') | ||
@@ -98,0 +98,0 @@ } |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
32970
14
371
Updatedget-source@^1.0.23