Socket
Socket
Sign inDemoInstall

eslint-plugin-etc

Package Overview
Dependencies
146
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1-beta.43 to 0.0.1-beta.44

3

dist/rules/throw-error.js

@@ -60,3 +60,4 @@ "use strict";

ThrowStatement: (node) => {
if (!isAny(node.argument) && !couldBeType(node.argument, "Error")) {
if (!isAny(node.argument) &&
!couldBeType(node.argument, /^(Error|DOMException)$/)) {
context.report({

@@ -63,0 +64,0 @@ data: { usage: "Throwing" },

@@ -76,3 +76,3 @@ {

},
"version": "0.0.1-beta.43"
"version": "0.0.1-beta.44"
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc