New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

base-cwd

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

base-cwd - npm Package Compare versions

Comparing version 0.1.1 to 0.1.3

8

index.js

@@ -21,3 +21,9 @@ /*!

get: function() {
return path.resolve(this.cache.cwd || this.options.cwd || process.cwd());
if (typeof this.cache.cwd === 'string') {
return path.resolve(this.cache.cwd);
}
if (typeof this.options.cwd === 'string') {
return path.resolve(this.options.cwd);
}
return process.cwd();
}

@@ -24,0 +30,0 @@ });

14

package.json
{
"name": "base-cwd",
"description": "Base plugin that adds a getter/setter for the current working directory.",
"version": "0.1.1",
"version": "0.1.3",
"homepage": "https://github.com/jonschlinkert/base-cwd",

@@ -23,9 +23,17 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

"devDependencies": {
"base": "^0.6.4",
"base": "^0.7.2",
"gulp-format-md": "^0.1.5",
"mocha": "^2.3.4"
},
"keywords": ["base", "baseplugin", "app"],
"keywords": [
"base",
"baseplugin",
"app"
],
"verb": {
"toc": false,
"layout": "default",
"tasks": [
"readme"
],
"plugins": [

@@ -32,0 +40,0 @@ "gulp-format-md"

@@ -51,2 +51,16 @@ # base-cwd [![NPM version](https://img.shields.io/npm/v/base-cwd.svg)](https://www.npmjs.com/package/base-cwd) [![Build Status](https://img.shields.io/travis/jonschlinkert/base-cwd.svg)](https://travis-ci.org/jonschlinkert/base-cwd)

## Generate docs
Generate readme and API documentation with [verb][]:
```sh
$ npm i -d && npm run docs
```
Or, if [verb][] is installed globally:
```sh
$ verb
```
## Running tests

@@ -74,6 +88,6 @@

Copyright © 2016 [Jon Schlinkert](https://github.com/jonschlinkert)
Released under the MIT license.
Released under the [MIT license](https://github.com/jonschlinkert/base-cwd/blob/master/LICENSE).
***
_This file was generated by [verb](https://github.com/verbose/verb) on January 23, 2016._
_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on February 13, 2016._
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