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.1 to 4.0.2

3

CHANGELOG.md

@@ -0,1 +1,4 @@

2017-11-22 v4.0.1
* Fix processing files after processing a HTML file without script tag #82
2017-11-12 v4.0.0

@@ -2,0 +5,0 @@ * **Breaking: drop ESLint < 4.7 support**

2

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

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

@@ -39,5 +39,8 @@ "use strict"

const Linter = module.exports
if (typeof Linter.prototype.verify !== "function") return
return Linter
if (
typeof Linter === "function" &&
typeof Linter.prototype.verify === "function"
) {
return Linter
}
}

@@ -44,0 +47,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