eslint-plugin-no-unsanitized
Advanced tools
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." |
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
65762
865