Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-inject

Package Overview
Dependencies
Maintainers
2
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-inject - npm Package Compare versions

Comparing version 5.0.4 to 5.0.5

14

package.json
{
"name": "gulp-inject",
"version": "5.0.4",
"version": "5.0.5",
"description": "A javascript, stylesheet and webcomponent injection plugin for Gulp, i.e. inject file references into your index.html",

@@ -43,12 +43,12 @@ "main": "index.js",

"devDependencies": {
"@commitlint/cli": "^8.1.0",
"@commitlint/config-angular": "^8.1.0",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-angular": "^8.2.0",
"event-stream": "4.0.1",
"husky": "^3.0.1",
"mocha": "^6.2.0",
"semantic-release": "^15.13.18",
"husky": "^3.1.0",
"mocha": "^6.2.2",
"semantic-release": "^15.14.0",
"should": "^13.2.3",
"strip-color": "^0.1.0",
"vinyl": "^2.2.0",
"xo": "^0.24.0"
"xo": "^0.25.3"
},

@@ -55,0 +55,0 @@ "engines": {

@@ -92,4 +92,4 @@ 'use strict';

}.bind(this))
.catch(function (error) {
cb(error);
.catch(function (error_) {
cb(error_);
});

@@ -159,3 +159,3 @@ });

shouldAbort: function (match) {
return matches.indexOf(match[0]) !== -1;
return matches.includes(match[0]);
}

@@ -224,3 +224,3 @@ });

}
var previousInnerContent = content.substring(startTag.lastIndex, endMatch.index);
var previousInnerContent = content.slice(startTag.lastIndex, endMatch.index);
var indent = getLeadingWhitespace(previousInnerContent);

@@ -227,0 +227,0 @@ // <new inner content>:

@@ -233,3 +233,3 @@ /* eslint max-params:[1, 5] */

function isImage(ext) {
return IMAGES.indexOf(ext) > -1;
return IMAGES.includes(ext);
}

@@ -241,3 +241,3 @@

}
return TARGET_TYPES.indexOf(type) > -1;
return TARGET_TYPES.includes(type);
}
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