gulp-inject
Advanced tools
Comparing version 4.3.2 to 5.0.0
@@ -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) |
{ | ||
"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'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56099
+ Addedansi-colors@3.2.4(transitive)
+ Addedarr-diff@4.0.0(transitive)
+ Addedevent-stream@4.0.1(transitive)
+ Addedplugin-error@1.0.1(transitive)
+ Addedreadable-stream@3.6.2(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedstring_decoder@1.3.0(transitive)
+ Addedthrough2@3.0.2(transitive)
- Removedansi-cyan@0.1.1(transitive)
- Removedansi-red@0.1.1(transitive)
- Removedarr-diff@1.1.0(transitive)
- Removedarr-union@2.1.0(transitive)
- Removedarray-slice@0.2.3(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removedevent-stream@3.3.5(transitive)
- Removedextend-shallow@1.1.4(transitive)
- Removedisarray@1.0.0(transitive)
- Removedkind-of@1.1.0(transitive)
- Removedplugin-error@0.1.2(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedreadable-stream@2.3.8(transitive)
- Removedsafe-buffer@5.1.2(transitive)
- Removedstring_decoder@1.1.1(transitive)
- Removedthrough2@2.0.5(transitive)
- Removedxtend@4.0.2(transitive)
Updatedansi-colors@^3.2.1
Updatedevent-stream@^4.0.1
Updatedgroup-array@^0.3.3
Updatedplugin-error@^1.0.1
Updatedthrough2@^3.0.0