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.5 to 4.0.6

3

CHANGELOG.md

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

2018-09-22 v4.0.6
* Ignore script tags with a `src` attribute #102
2018-06-20 v4.0.5

@@ -2,0 +5,0 @@ * Fix typo regression from v4.0.4

2

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

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

@@ -314,1 +314,7 @@ /*eslint-env es6*/

})
it("skips script with src attributes", () => {
test({
input: '<script src="foo"></script>',
})
})

@@ -34,2 +34,6 @@ "use strict"

if (attrs.src) {
return
}
inScript = true

@@ -36,0 +40,0 @@ pushChunk("html", parser.endIndex + 1)

@@ -78,3 +78,4 @@ "use strict"

const pluginVersion = require("../package.json").version
const parentPaths = module =>
module ? [module.filename].concat(parentPaths(module.parent)) : []

@@ -89,9 +90,10 @@ throw new Error(

* ESLint path: ${eslintPath}
* Plugin version: ${pluginVersion}
* Plugin path: ${__dirname}
* Plugin version: ${require("../package.json").version}
* Plugin inclusion paths: ${parentPaths(module).join(", ")}
* NodeJS version: ${process.version}
* Content of your lock file (package-lock.json or yarn.lock)
* CLI arguments: ${JSON.stringify(process.argv)}
* Content of your lock file (package-lock.json or yarn.lock) or the output of \`npm list\`
* How did you run ESLint (via the command line? an editor plugin?)
* The following stack trace:
${new Error().stack}
${new Error().stack.slice(10)}

@@ -98,0 +100,0 @@

Sorry, the diff of this file is not supported yet

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