Socket
Socket
Sign inDemoInstall

locate-path

Package Overview
Dependencies
3
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.1.0 to 7.1.1

4

index.js

@@ -13,3 +13,3 @@ import process from 'node:process';

function checkType(type) {
if (type in typeMappings) {
if (Object.hasOwnProperty.call(typeMappings, type)) {
return;

@@ -21,3 +21,3 @@ }

const matchType = (type, stat) => type === undefined || stat[typeMappings[type]]();
const matchType = (type, stat) => stat[typeMappings[type]]();

@@ -24,0 +24,0 @@ const toPath = urlOrPath => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;

{
"name": "locate-path",
"version": "7.1.0",
"version": "7.1.1",
"description": "Get the first path that exists on disk of multiple paths",

@@ -5,0 +5,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc