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

fs-plus

Package Overview
Dependencies
Maintainers
9
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fs-plus - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

3

lib/fs-plus.js

@@ -62,2 +62,5 @@ (function() {

homeDir = fsPlus.getHomeDirectory();
if (homeDir == null) {
return pathToTildify;
}
if (normalized === homeDir) {

@@ -64,0 +67,0 @@ return '~';

@@ -0,0 +0,0 @@ Copyright (c) 2013 GitHub Inc.

2

package.json
{
"name": "fs-plus",
"version": "3.0.0",
"version": "3.0.1",
"description": "node's fs with more helpers",

@@ -5,0 +5,0 @@ "main": "./lib/fs-plus.js",

@@ -54,3 +54,3 @@ # fs plus

### `tildify(pathToTildify)`
Convert an absolute path to tilde path for linux and mac:
Convert an absolute path to tilde path on Linux and macOS:
/Users/username/dev => ~/dev

@@ -71,4 +71,4 @@

- Mac: `~/Library/Application Support/`
- Win: `%AppData%`
- macOS: `~/Library/Application Support/`
- Windows: `%AppData%`
- Linux: `/var/lib`

@@ -75,0 +75,0 @@

Sorry, the diff of this file is not supported yet

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