eslint-plugin-no-use-extend-native
Advanced tools
Comparing version 0.1.3 to 0.1.4
{ | ||
"name": "eslint-plugin-no-use-extend-native", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "ESLint plugin to prevent use of extended native objects", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -46,6 +46,4 @@ 'use strict'; | ||
proto = node.object.callee.name; | ||
} else if (node.object.type === 'Literal' && node.object.regex) { | ||
proto = 'RegExp'; | ||
} else if (node.object.type === 'Literal' && !node.object.regex) { | ||
proto = 'String'; | ||
} else if (node.object.type === 'Literal') { | ||
proto = getType(node.object); | ||
} else if (node.object.type === 'BinaryExpression') { | ||
@@ -52,0 +50,0 @@ proto = binaryExpressionProduces(node.object); |
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
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
0
6361
59