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

native-process-working-directory

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

native-process-working-directory - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

1

index.js

@@ -19,3 +19,2 @@ "use strict";

}
path = fs.realpathSync(path);
return path;

@@ -22,0 +21,0 @@ }

@@ -18,3 +18,2 @@ import * as fs from 'fs'

}
path = fs.realpathSync(path)
return path

@@ -21,0 +20,0 @@ }

2

package.json
{
"name": "native-process-working-directory",
"version": "1.0.1",
"version": "1.0.2",
"main": "index.js",

@@ -5,0 +5,0 @@ "types": "index",

var assert = require('assert');
var fs = require('fs');
var mod = require('.');

@@ -7,3 +8,3 @@

assert.equal(
mod.getWorkingDirectoryFromPID(process.pid),
fs.realpathSync(mod.getWorkingDirectoryFromPID(process.pid)),
process.cwd(),

@@ -13,3 +14,3 @@ );

assert.equal(
mod.getWorkingDirectoryFromPID(process.pid),
fs.realpathSync(mod.getWorkingDirectoryFromPID(process.pid)),
process.cwd(),

@@ -19,3 +20,3 @@ );

assert.equal(
mod.getWorkingDirectoryFromPID(process.pid),
fs.realpathSync(mod.getWorkingDirectoryFromPID(process.pid)),
process.cwd(),

@@ -22,0 +23,0 @@ );

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