gulp-gh-pages
Advanced tools
Comparing version 0.5.0 to 0.5.1
10
index.js
@@ -28,3 +28,3 @@ 'use strict'; | ||
var filePaths = []; | ||
var files = []; | ||
var TAG; | ||
@@ -48,7 +48,7 @@ if (branch !== 'gh-pages') { | ||
filePaths.push(file); | ||
cb(); | ||
files.push(file); | ||
cb(null, file); | ||
}, function publish(cb) { | ||
if (filePaths.length === 0) { | ||
if (files.length === 0) { | ||
gutil.log(TAG, 'No files in the stream.'); | ||
@@ -118,3 +118,3 @@ cb(); | ||
filePaths.forEach(function(file) { | ||
files.forEach(function(file) { | ||
destStream.write(file); | ||
@@ -121,0 +121,0 @@ }); |
{ | ||
"name": "gulp-gh-pages", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "gulp plugin to publish contents to Github pages", | ||
@@ -44,3 +44,3 @@ "repository": "shinnn/gulp-gh-pages", | ||
"scripts": { | ||
"pretest": "jscs *.js lib/*.js && eslint *.js lib/*.js", | ||
"pretest": "jscs index.js test.js lib/git.js && eslint index.js test.js lib/git.js", | ||
"test": "mocha test.js --timeout 10000", | ||
@@ -52,6 +52,6 @@ "test-appveyor": "mocha test.js --timeout 50000", | ||
"dependencies": { | ||
"gift": "^0.5.0", | ||
"gift": "^0.6.0", | ||
"gulp-util": "^3.0.4", | ||
"rimraf": "^2.3.2", | ||
"through2": "^0.6.3", | ||
"through2": "^0.6.5", | ||
"vinyl-fs": "^1.0.0", | ||
@@ -61,9 +61,9 @@ "wrap-promise": "^1.0.0" | ||
"devDependencies": { | ||
"eslint": "^0.16.2", | ||
"graceful-fs": "^3.0.5", | ||
"istanbul": "^0.3.7", | ||
"eslint": "^0.19.0", | ||
"graceful-fs": "^3.0.6", | ||
"istanbul": "^0.3.13", | ||
"istanbul-coveralls": "^1.0.2", | ||
"jscs": "^1.11.3", | ||
"jscs": "^1.12.0", | ||
"log-symbols": "^1.0.2", | ||
"mocha": "^2.2.1", | ||
"mocha": "^2.2.4", | ||
"node-uuid": "^1.4.3", | ||
@@ -70,0 +70,0 @@ "octonode": "^0.6.16", |
@@ -25,3 +25,3 @@ # gulp-gh-pages | ||
```javascript | ||
var gulp = require('gulp') | ||
var gulp = require('gulp'); | ||
var ghPages = require('gulp-gh-pages'); | ||
@@ -28,0 +28,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
16627
0
+ Addedgift@0.6.1(transitive)
- Removedgift@0.5.0(transitive)
Updatedgift@^0.6.0
Updatedthrough2@^0.6.5