Comparing version 2.0.0 to 2.1.0
{ | ||
"name": "yerror", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "It helps to know why you got an error.", | ||
"main": "src/index.js", | ||
"scripts": { | ||
"test": "mocha tests/*.mocha.js", | ||
"coveralls": "istanbul cover _mocha --report lcovonly -- tests/*.mocha.js -R spec -t 5000 && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage", | ||
"cover": "istanbul cover --report html _mocha -- tests/*.mocha.js -R spec -t 5000", | ||
"test": "mocha src/*.mocha.js && karma start karma.conf.js", | ||
"coveralls": "istanbul cover _mocha --report lcovonly -- src/*.mocha.js -R spec -t 5000 && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage", | ||
"cover": "istanbul cover --report html _mocha -- src/*.mocha.js -R spec -t 5000", | ||
"cli": "env NPM_RUN_CLI=1", | ||
"lint": "eslint src/index.js tests/index.mocha.js", | ||
"lint": "eslint src/*.js", | ||
"preversion": "npm run lint && npm test" | ||
@@ -32,2 +32,3 @@ }, | ||
"devDependencies": { | ||
"browserify": "^14.4.0", | ||
"coveralls": "~2.11.2", | ||
@@ -37,2 +38,8 @@ "eslint": "^3.4.0", | ||
"istanbul": "^0.4.2", | ||
"karma": "^1.7.0", | ||
"karma-browserify": "^5.1.1", | ||
"karma-chrome-launcher": "^2.2.0", | ||
"karma-firefox-launcher": "^1.0.1", | ||
"karma-mocha": "^1.3.0", | ||
"karma-sauce-launcher": "^1.1.0", | ||
"mocha": "^3.0.2", | ||
@@ -39,0 +46,0 @@ "mocha-lcov-reporter": "^1.0.0" |
@@ -28,3 +28,5 @@ 'use strict'; | ||
Error.captureStackTrace(this, this.constructor); | ||
if(Error.captureStackTrace) { | ||
Error.captureStackTrace(this, this.constructor); | ||
} | ||
} | ||
@@ -31,0 +33,0 @@ |
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
62609
10
360
13