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

chdir-promise

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chdir-promise - npm Package Compare versions

Comparing version 0.2.1 to 0.3.0

5

index.js

@@ -6,2 +6,3 @@ require('lazy-ass');

var S = require('spots');
var debug = require('debug')('chdir-promise');

@@ -18,3 +19,3 @@ // stack

process.chdir(folderName);
console.log('in folder', process.cwd());
debug('chdir to folder', process.cwd());

@@ -32,3 +33,3 @@ folders.push(current);

process.chdir(folder);
console.log('restored folder', folder);
debug('restored folder', folder);
return folder;

@@ -35,0 +36,0 @@ }

{
"name": "chdir-promise",
"version": "0.2.1",
"version": "0.3.0",
"description": "Change working dir and return a promise, a stack of folders is maintained to jump back",
"main": "index.js",
"scripts": {
"test": "node test/chdir-promise-spec.js"
"test": "node test/chdir-promise-spec.js",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},

@@ -31,12 +32,14 @@ "repository": {

"dependencies": {
"check-more-types": "1.1.0",
"check-more-types": "1.1.1",
"check-types": "1.4.0",
"debug": "^2.3.3",
"lazy-ass": "0.5.3",
"q": "1.1.2",
"spots": "0.3.0"
"spots": "0.4.0"
},
"devDependencies": {
"pre-git": "0.1.1"
"pre-git": "0.1.1",
"semantic-release": "^6.3.2"
},
"pre-commit": "npm test"
}
}

13

README.md

@@ -8,4 +8,3 @@ # chdir-promise

[![Build status][chdir-promise-ci-image] ][chdir-promise-ci-url]
[![dependencies][chdir-promise-dependencies-image] ][chdir-promise-dependencies-url]
[![devdependencies][chdir-promise-devdependencies-image] ][chdir-promise-devdependencies-url]
[![semantic-release][semantic-image] ][semantic-url]

@@ -57,4 +56,4 @@ ```js

* [@bahmutov](https://twitter.com/bahmutov)
* [glebbahmutov.com](http://glebbahmutov.com)
* [blog](http://bahmutov.calepin.co/)
* [glebbahmutov.com](https://glebbahmutov.com)
* [blog](https://glebbahmutov.com/blog/)

@@ -97,5 +96,3 @@ License: MIT - do anything with the code, but don't blame me if it does not work.

[chdir-promise-ci-url]: https://travis-ci.org/bahmutov/chdir-promise
[chdir-promise-dependencies-image]: https://david-dm.org/bahmutov/chdir-promise.png
[chdir-promise-dependencies-url]: https://david-dm.org/bahmutov/chdir-promise
[chdir-promise-devdependencies-image]: https://david-dm.org/bahmutov/chdir-promise/dev-status.png
[chdir-promise-devdependencies-url]: https://david-dm.org/bahmutov/chdir-promise#info=devDependencies
[semantic-image]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
[semantic-url]: https://github.com/semantic-release/semantic-release

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