Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-no-use-extend-native

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-no-use-extend-native - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

2

package.json
{
"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);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc