Socket
Socket
Sign inDemoInstall

gh-pages

Package Overview
Dependencies
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gh-pages - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

changelog.md

1

lib/git.js

@@ -11,3 +11,2 @@ var cp = require('child_process');

/**

@@ -14,0 +13,0 @@ * @constructor

@@ -9,3 +9,2 @@ var path = require('path');

var pkg = require('../package.json');
var git = require('./git');

@@ -52,2 +51,5 @@

* Push a git branch to a remote (pushes gh-pages by default).
* @param {string} basePath The base path.
* @param {Object} config Publish options.
* @param {Function} done Callback.
*/

@@ -184,10 +186,10 @@ exports.publish = function publish(basePath, config, done) {

.then(function() {
return deferred.resolve();
})
return deferred.resolve();
})
.fail(function(error) {
// tagging failed probably because this tag alredy exists
log('Tagging failed, continuing');
options.logger(error);
return deferred.resolve();
});
// tagging failed probably because this tag alredy exists
log('Tagging failed, continuing');
options.logger(error);
return deferred.resolve();
});
return deferred.promise;

@@ -194,0 +196,0 @@ } else {

@@ -134,3 +134,3 @@ var path = require('path');

*/
var copy = exports.copy = function(files, base, dest) {
exports.copy = function(files, base, dest) {
var deferred = Q.defer();

@@ -137,0 +137,0 @@

{
"name": "gh-pages",
"version": "0.5.0",
"version": "0.6.0",
"description": "Publish to a gh-pages branch on GitHub (or any other branch on any other remote)",

@@ -25,22 +25,27 @@ "keywords": [

"scripts": {
"test": "node tasks.js lint test"
"pretest": "eslint lib test",
"test": "mocha --recursive test"
},
"dependencies": {
"async": "0.2.9",
"commander": "~2.8.1",
"async": "1.5.0",
"commander": "2.9.0",
"glob": "~4.0.2",
"graceful-fs": "2.0.1",
"graceful-fs": "4.1.2",
"lodash": "~2.4.1",
"q": "~1.0.1",
"q-io": "~1.11.0",
"wrench": "1.5.1"
"q": "1.4.1",
"q-io": "1.13.2",
"wrench": "1.5.8"
},
"devDependencies": {
"mocha": "~1.18.2",
"jshint": "~2.4.4",
"chai": "~1.9.1"
"chai": "^3.4.1",
"eslint": "^1.10.3",
"eslint-config-tschaub": "^2.0.0",
"mocha": "^2.3.4"
},
"bin": {
"gh-pages": "bin/gh-pages"
},
"eslintConfig": {
"extends": "tschaub"
}
}

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

/* eslint-env mocha */
var path = require('path');

@@ -2,0 +3,0 @@

Sorry, the diff of this file is not supported yet

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