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 4.3.2 to 5.0.0

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Change Log

<a name="5.0.0"></a>
## [5.0.0](https://github.com/klei/gulp-inject/compare/v4.3.2...v5.0.0) (2018-11-15)
### Features
* dropped node4 support
<a name="4.2.1"></a>

@@ -7,0 +14,0 @@ ## [4.2.1](https://github.com/klei/gulp-inject/compare/v4.2.0...v4.2.1) (2017-09-15)

71

package.json
{
"name": "gulp-inject",
"version": "4.3.2",
"version": "5.0.0",
"description": "A javascript, stylesheet and webcomponent injection plugin for Gulp, i.e. inject file references into your index.html",
"main": "index.js",
"license": "MIT",
"homepage": "https://github.com/klei/gulp-inject",
"bugs": "https://github.com/klei/gulp-inject/issues",
"author": {
"name": "Joakim Carlstein",
"email": "joakim@klei.se",
"url": "http://joakim.beng.se"
},
"keywords": [

@@ -13,10 +22,2 @@ "gulpplugin",

],
"homepage": "https://github.com/klei/gulp-inject",
"bugs": "https://github.com/klei/gulp-inject/issues",
"author": {
"name": "Joakim Carlstein",
"email": "joakim@klei.se",
"url": "http://joakim.beng.se"
},
"main": "index.js",
"repository": {

@@ -30,31 +31,29 @@ "type": "git",

"test": "mocha -R spec src/**/*_test.js",
"semantic-release": "semantic-release",
"commitmsg": "commitlint -e"
"semantic-release": "semantic-release"
},
"dependencies": {
"ansi-colors": "^1.0.1",
"ansi-colors": "^3.2.1",
"arrify": "^1.0.1",
"escape-string-regexp": "^1.0.5",
"event-stream": "^3.1.0",
"event-stream": "^4.0.1",
"fancy-log": "^1.3.2",
"group-array": "^0.3.0",
"plugin-error": "^0.1.2",
"group-array": "^0.3.3",
"plugin-error": "^1.0.1",
"stream-to-array": "^2.3.0",
"through2": "^2.0.1"
"through2": "^3.0.0"
},
"devDependencies": {
"@commitlint/cli": "^3.2.0",
"@commitlint/config-angular": "^3.1.1",
"husky": "^0.14.3",
"mocha": "~2.0.1",
"semantic-release": "^12.4.1",
"should": "^4.0.4",
"@commitlint/cli": "^7.2.1",
"@commitlint/config-angular": "^7.1.2",
"husky": "^1.1.4",
"mocha": "^5.2.0",
"semantic-release": "^15.12.0",
"should": "^13.2.3",
"strip-color": "^0.1.0",
"vinyl": "^2.1.0",
"xo": "^0.13.0"
"vinyl": "^2.2.0",
"xo": "^0.23.0"
},
"engines": {
"node": ">=4"
"node": ">=6"
},
"license": "MIT",
"xo": {

@@ -66,8 +65,26 @@ "space": true,

"rules": {
"func-names": 0,
"func-name-matching": 0,
"no-multi-assign": 0,
"no-useless-escape": 0,
"no-var": 0,
"object-shorthand": [
2,
"never"
]
],
"prefer-arrow-callback": 0,
"prefer-destructuring": 0,
"prefer-rest-params": 0,
"prefer-spread": 0,
"unicorn/explicit-length-check": 0,
"unicorn/filename-case": 0,
"unicorn/import-index": 0,
"valid-jsdoc": 0
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e"
}
}
}

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

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

@@ -164,3 +164,3 @@ }

return new Buffer(content);
return Buffer.from(content);
}

@@ -230,3 +230,3 @@

newContents += content.slice(endTag.lastIndex);
// replace old content with new:
// Replace old content with new:
content = newContents;

@@ -233,0 +233,0 @@ }

@@ -5,3 +5,2 @@ /* eslint-env mocha */

var Vinyl = require('vinyl');
require('should');
var getFilepath = require('./');

@@ -8,0 +7,0 @@

@@ -0,1 +1,2 @@

/* eslint max-params:[1, 5] */
'use strict';

@@ -2,0 +3,0 @@ var extname = require('../extname');

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