chdir-promise
Advanced tools
+12
-3
| language: node_js | ||
| cache: | ||
| directories: | ||
| - node_modules | ||
| notifications: | ||
| email: false | ||
| node_js: | ||
| - "0.10" | ||
| - '6' | ||
| before_script: | ||
| - npm prune | ||
| after_success: | ||
| - npm run semantic-release | ||
| branches: | ||
| only: | ||
| - master | ||
| except: | ||
| - /^v\d+\.\d+\.\d+$/ |
+3
-2
@@ -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 @@ } |
+9
-6
| { | ||
| "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" | ||
| } | ||
| } |
+5
-8
@@ -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 |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
6046
0.53%50
2.04%6
20%2
100%96
-3.03%+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
Updated
Updated