eslint-plugin-no-use-extend-native
Advanced tools
Comparing version 0.1.5 to 0.1.6
{ | ||
"name": "eslint-plugin-no-use-extend-native", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "ESLint plugin to prevent use of extended native objects", | ||
@@ -35,3 +35,3 @@ "scripts": { | ||
"gulp-istanbul": "^0.10.0", | ||
"gulp-jscs": "^2.0.0", | ||
"gulp-jscs": "^3.0.1", | ||
"gulp-jshint": "^1.11.0", | ||
@@ -38,0 +38,0 @@ "gulp-mocha": "^2.1.0" |
'use strict'; | ||
var protoProps = require('proto-props'); | ||
// add missing methods to Error.prototype | ||
// https://nodejs.org/api/errors.html#errors_class_error | ||
protoProps.Error.push('captureStackTrace', 'stack', 'stackTraceLimit'); | ||
/** | ||
@@ -5,0 +9,0 @@ * Return type of value of left or right |
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
6508
62