Socket
Socket
Sign inDemoInstall

realpath-missing

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

realpath-missing - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

CHANGELOG.md

7

index.js

@@ -1,9 +0,6 @@

const fs = require('graceful-fs')
const { promisify } = require('util')
const fs = require('fs')
const realpath = promisify(fs.realpath)
module.exports = async function realpathMissing (path) {
try {
return await realpath(path)
return await fs.promises.realpath(path)
} catch (err) {

@@ -10,0 +7,0 @@ if (err.code === 'ENOENT') {

{
"name": "realpath-missing",
"version": "1.0.0",
"description": "Canonicalize by following every symlink in every component of the given name recursively, without requirements on components existence",
"main": "index.js",
"files": [
"index.js",
"index.d.ts"
],
"scripts": {
"test": "node test"
},
"engines": {
"node": ">=10"
},
"repository": "https://github.com/zkochan/packages/tree/master/realpath-missing",
"keywords": [],
"author": {
"name": "Zoltan Kochan",
"url": "https://www.kochan.io"
},
"license": "MIT",
"homepage": "https://github.com/zkochan/packages/tree/master/realpath-missing#readme",
"dependencies": {
"graceful-fs": "4"
},
"devDependencies": {
"tape": "4.13.2"
}
"name": "realpath-missing",
"version": "1.1.0",
"description": "Canonicalize by following every symlink in every component of the given name recursively, without requirements on components existence",
"main": "index.js",
"files": [
"index.js",
"index.d.ts"
],
"scripts": {
"test": "node test"
},
"engines": {
"node": ">=10"
},
"repository": "https://github.com/zkochan/packages/tree/master/realpath-missing",
"keywords": [],
"author": {
"name": "Zoltan Kochan",
"url": "https://www.kochan.io"
},
"license": "MIT",
"homepage": "https://github.com/zkochan/packages/tree/master/realpath-missing#readme",
"devDependencies": {
"tape": "^5.1.1"
}
}
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