Socket
Socket
Sign inDemoInstall

eslint-plugin-no-unsanitized

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-no-unsanitized - npm Package Compare versions

Comparing version 3.1.3 to 3.1.4

6

lib/ruleHelper.js

@@ -168,2 +168,8 @@ /**

// Allow methods named "import":
if (normalizedMethodCall.methodName == "import"
&& node.callee && node.callee.type == "MemberExpression") {
return false;
}
// If objectMatches isn't present we should match all

@@ -170,0 +176,0 @@ if (!objectMatches) {

5

package.json
{
"name": "eslint-plugin-no-unsanitized",
"description": "ESLint rule to disallow unsanitized code",
"version": "3.1.3",
"version": "3.1.4",
"author": {

@@ -43,3 +43,4 @@ "name": "Frederik Braun et al."

"lint": "eslint ."
}
},
"files": ["index.js", "lib", "LICENSE", "docs", "SECURITY.md", "README.md"]
}
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