Huge News!Announcing our $40M Series B led by Abstract Ventures.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.3.2 to 0.3.3

README.md

10

index.js

@@ -31,4 +31,3 @@ /*!

set: function(cwd) {
cached = path.resolve(cwd);
this.cache.cwd = cached;
cached = app.cache.cwd = path.resolve(cwd);
app.emit('cwd', cached);

@@ -40,4 +39,4 @@ },

}
if (typeof this.options.cwd === 'string') {
return path.resolve(this.options.cwd);
if (typeof app.options.cwd === 'string') {
return (cached = path.resolve(app.options.cwd));
}

@@ -64,4 +63,3 @@

if (dir !== cwd) {
cached = dir;
app.emit('cwd', dir);
cached = app.cache.cwd = dir;
}

@@ -68,0 +66,0 @@ return dir;

2

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

@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

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