stack-utils-node-internals
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -5,2 +5,14 @@ # Change Log | ||
<a name="1.0.1"></a> | ||
## [1.0.1](https://github.com/tunnckocore/stack-utils-node-internals/compare/v1.0.0...v1.0.1) (2017-03-10) | ||
### Bug Fixes | ||
* **deps:** fix commitizen and cz changelog version ([76de1c0](https://github.com/tunnckocore/stack-utils-node-internals/commit/76de1c0)) | ||
* **olderNode:** support node < 4 ([8f2e7ed](https://github.com/tunnckocore/stack-utils-node-internals/commit/8f2e7ed)) | ||
* **pakage:** lock npm-run-all too ([8829ca1](https://github.com/tunnckocore/stack-utils-node-internals/commit/8829ca1)) | ||
<a name="1.0.0"></a> | ||
@@ -7,0 +19,0 @@ # 1.0.0 (2017-03-09) |
18
index.js
@@ -10,3 +10,3 @@ /*! | ||
const natives = Object.keys(process.binding('natives')).concat([ | ||
var natives = Object.keys(process.binding('natives')).concat([ | ||
'bootstrap_node', | ||
@@ -16,8 +16,12 @@ 'node' | ||
const nodeInternals = () => natives | ||
.map((n) => new RegExp('\\(' + n + '\\.js:\\d+:\\d+\\)$')) | ||
.concat([ | ||
/\s*at (bootstrap_)?node\.js:\d+:\d+?$/, | ||
/\/\.node-spawn-wrap-\w+-\w+\/node:\d+:\d+\)?$/ | ||
]) | ||
function nodeInternals () { | ||
return natives | ||
.map(function (n) { | ||
return new RegExp('\\(' + n + '\\.js:\\d+:\\d+\\)$') | ||
}) | ||
.concat([ | ||
/\s*at (bootstrap_)?node\.js:\d+:\d+?$/, | ||
/\/\.node-spawn-wrap-\w+-\w+\/node:\d+:\d+\)?$/ | ||
]) | ||
} | ||
@@ -24,0 +28,0 @@ nodeInternals.natives = natives |
{ | ||
"name": "stack-utils-node-internals", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "An array of node internals that can be cleaned up from stack traces", | ||
@@ -24,6 +24,6 @@ "repository": "tunnckoCore/stack-utils-node-internals", | ||
"devDependencies": { | ||
"commitizen": "^2.9.6", | ||
"cz-conventional-changelog": "^1.2.0", | ||
"commitizen": "~2.7.0", | ||
"cz-conventional-changelog": "1.1.5", | ||
"mukla": "^0.4.8", | ||
"npm-run-all": "^4.0.1", | ||
"npm-run-all": "~3.1.2", | ||
"nyc": "^10.1.2", | ||
@@ -103,6 +103,2 @@ "pre-commit": "^1.2.2", | ||
}, | ||
"engines": { | ||
"node": ">=4", | ||
"npm": ">=2" | ||
}, | ||
"nyc": { | ||
@@ -109,0 +105,0 @@ "check-coverage": true, |
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
15954
24