eslint-plugin-no-use-extend-native
Advanced tools
Comparing version 0.1.6 to 0.1.7
{ | ||
"name": "eslint-plugin-no-use-extend-native", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "ESLint plugin to prevent use of extended native objects", | ||
@@ -24,3 +24,3 @@ "scripts": { | ||
"dependencies": { | ||
"proto-props": "^0.1.0" | ||
"proto-props": "^0.2.0" | ||
}, | ||
@@ -27,0 +27,0 @@ "devDependencies": { |
'use strict'; | ||
var protoProps = require('proto-props'); | ||
// add missing methods to Error.prototype | ||
// add missing method to Error.prototype | ||
// https://nodejs.org/api/errors.html#errors_class_error | ||
protoProps.Error.push('captureStackTrace', 'stack', 'stackTraceLimit'); | ||
protoProps.Error.push('stack'); | ||
@@ -8,0 +8,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
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
6467
+ Addedproto-props@0.2.1(transitive)
- Removedproto-props@0.1.0(transitive)
Updatedproto-props@^0.2.0