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 4.1.0 to 4.1.1

20

index.js

@@ -28,10 +28,18 @@ const { readFileSync } = require("fs");

},
recommended: [
{
plugins: { "no-unsanitized": plugin },
rules,
},
],
recommended: {
plugins: { "no-unsanitized": plugin },
rules,
},
});
Object.defineProperty(plugin.configs, "DOM", {
enumerable: true,
get() {
console.log(
'The "DOM" configuration of the "no-unsanitized" plugin is deprecated. Use "recommended-legacy" instead.'
);
return this["recommended-legacy"];
},
});
module.exports = plugin;
{
"name": "eslint-plugin-no-unsanitized",
"description": "ESLint rule to disallow unsanitized code",
"version": "4.1.0",
"version": "4.1.1",
"author": {

@@ -6,0 +6,0 @@ "name": "Frederik Braun et al."

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