chdir-promise
Advanced tools
Comparing version 0.2.1 to 0.3.0
@@ -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" | ||
} | ||
} |
@@ -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
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
6046
50
6
2
96
+ Addeddebug@^2.3.3
+ Addedcheck-more-types@1.1.1(transitive)
+ Addeddebug@2.6.9(transitive)
+ Addedms@2.0.0(transitive)
+ Addedspots@0.4.0(transitive)
- Removedcheck-more-types@1.1.0(transitive)
- Removedspots@0.3.0(transitive)
Updatedcheck-more-types@1.1.1
Updatedspots@0.4.0