Socket
Socket
Sign inDemoInstall

eslint-plugin-html

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-html - npm Package Compare versions

Comparing version 4.0.2 to 4.0.3

6

CHANGELOG.md

@@ -0,1 +1,7 @@

2018-04-11 v4.0.3
* Prevent patching ESLint multiple times #89
2018-01-24 v4.0.2
* Fix compatibility with tslint #85
2017-11-22 v4.0.1

@@ -2,0 +8,0 @@ * Fix processing files after processing a HTML file without script tag #82

2

package.json
{
"name": "eslint-plugin-html",
"version": "4.0.2",
"version": "4.0.3",
"description": "A ESLint plugin to lint and fix inline scripts contained in HTML files.",

@@ -5,0 +5,0 @@ "license": "ISC",

@@ -13,2 +13,4 @@ "use strict"

const DECLARE_VARIABLES_RULE_NAME = "__eslint-plugin-html-declare-variables"
const LINTER_ISPATCHED_PROPERTY_NAME =
"__eslint-plugin-html-verify-function-is-patched"

@@ -78,2 +80,8 @@ // Disclaimer:

const verify = Linter.prototype.verify
// ignore if verify function is already been patched sometime before
if (Linter[LINTER_ISPATCHED_PROPERTY_NAME] === true) {
return
}
Linter[LINTER_ISPATCHED_PROPERTY_NAME] = true
Linter.prototype.verify = function(

@@ -80,0 +88,0 @@ textOrSourceCode,

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