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 1.3.0 to 1.4.0

4

package.json
{
"name": "eslint-plugin-html",
"version": "1.3.0",
"version": "1.4.0",
"description": "An ESLint plugin to extract and lint scripts from HTML files.",

@@ -22,3 +22,3 @@ "repository": {

"devDependencies": {
"eslint": "^1.10.3",
"eslint": "^2.1.0",
"mocha": "^2.2.4"

@@ -25,0 +25,0 @@ },

@@ -8,3 +8,3 @@ eslint-plugin-html

Supported HTML extensions: `.html`, `.xhtml`, `.htm`, `.vue`, `.hbs`, `.mustache`
Supported HTML extensions: `.html`, `.xhtml`, `.htm`, `.vue`, `.hbs`, `.mustache`, `.php`

@@ -11,0 +11,0 @@ Only script tags with no type attribute, with a type attribute containing a standard JavaScript MIME type such as `text/javascript` or `application/javascript`, or `text/babel` will be linted.

@@ -48,3 +48,3 @@ "use strict";

var currentInfos;
var allowedExtensions = ["htm", "html", "xhtml", "vue", "hbs", "mustache"];
var allowedExtensions = ["htm", "html", "xhtml", "vue", "hbs", "mustache", "php"];

@@ -51,0 +51,0 @@ var htmlProcessor = {

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