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 6.1.0 to 6.1.1

1

bin/gh-pages.js

@@ -130,2 +130,3 @@ #!/usr/bin/env node

nojekyll: !!options.nojekyll,
cname: options.cname,
add: !!options.add,

@@ -132,0 +133,0 @@ remove: options.remove,

4

lib/index.js

@@ -186,9 +186,11 @@ const findCacheDir = require('find-cache-dir');

.then((git) => {
log('Copying files');
if (options.nojekyll) {
log('Creating .nojekyll');
fs.createFileSync(path.join(git.cwd, '.nojekyll'));
}
if (options.cname) {
log('Creating CNAME for %s', options.cname);
fs.writeFileSync(path.join(git.cwd, 'CNAME'), options.cname);
}
log('Copying files');
return copy(files, basePath, path.join(git.cwd, options.dest)).then(

@@ -195,0 +197,0 @@ function () {

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

@@ -5,0 +5,0 @@ "keywords": [

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