Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gh-pages

Package Overview
Dependencies
Maintainers
2
Versions
34
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 3.0.0 to 3.1.0

7

changelog.md

@@ -0,1 +1,8 @@

## v3.1.0
The cache directory used by `gh-pages` is now `node_modules/.cache/gh-pages`. If you want to use a different location, set the `CACHE_DIR` environment variable.
* [#362](https://github.com/tschaub/gh-pages/pull/362) - Move the cache directory ([@tschaub](https://github.com/tschaub))
* [#361](https://github.com/tschaub/gh-pages/pull/361) - Update dev dependencies ([@tschaub](https://github.com/tschaub))
## v3.0.0

@@ -2,0 +9,0 @@

3

lib/index.js

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

const findCacheDir = require('find-cache-dir');
const Git = require('./git');

@@ -13,3 +14,3 @@ const filenamify = require('filenamify-url');

function getCacheDir() {
return path.relative(process.cwd(), path.resolve(__dirname, '../.cache'));
return findCacheDir({name: 'gh-pages'});
}

@@ -16,0 +17,0 @@

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

@@ -41,2 +41,3 @@ "keywords": [

"filenamify-url": "^1.0.0",
"find-cache-dir": "^3.3.1",
"fs-extra": "^8.1.0",

@@ -48,5 +49,5 @@ "globby": "^6.1.0"

"dir-compare": "^1.8.0",
"eslint": "^7.1.0",
"eslint": "^7.3.0",
"eslint-config-tschaub": "^13.1.0",
"mocha": "^6.2.2",
"mocha": "^8.0.1",
"sinon": "^8.0.4",

@@ -53,0 +54,0 @@ "tmp": "^0.2.1"

@@ -387,6 +387,4 @@

When processing `gh-pages` module generate file in`.cache/` and if stuck some reason like wrong password
it will not automatically cleanup
The `gh-pages` module writes temporary files to a `node_modules/.cache/gh-pages` directory. The location of this directory can be customized by setting the `CACHE_DIR` environemnt variable.
Run `~node_modules/gh-pages/bin/gh-pages-clean`
or remove `~node_modules/gh-pages/.cache`
If `gh-pages` fails, you may find that you need to manually clean up the cache directory. To remove the cache directory, run `node_modules/gh-pages/bin/gh-pages-clean` or remove `node_modules/.cache/gh-pages`.
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