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.0 to 4.0.1

2

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

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

@@ -90,6 +90,6 @@ eslint-plugin-html

In `eslint-plugin-html` v1 and v2, script code were concatenated and a linted in a single pass, so
the scope were always shared. This caused [some issues](MIGRATION_TO_V3.md), so in v3, all scripts
In `eslint-plugin-html` v1 and v2, script code were concatenated and linted in a single pass, so
the scope were always shared. This caused [some issues](MIGRATION_TO_V3.md), so in v3 all scripts
were linted separately, and scopes were never shared. In v4, the plugin still lint scripts
separately, but make sure global variables are declared and used correctly in the non-module case.
separately, but makes sure global variables are declared and used correctly in the non-module case.

@@ -96,0 +96,0 @@

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

}
config.rules = originalRules
}

@@ -219,0 +221,0 @@

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