New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

dynamic-resolve

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dynamic-resolve

Resolves a file dynamically through all the specified path

latest
Source
npmnpm
Version
1.1.2
Version published
Maintainers
1
Created
Source

dynamic-resolve

Resolves a file dynamically in between every single path provided

Install

yarn add dynamic-resolve

or

npm install dynamic-resolve

Usage

  • import the one and only class in this package ResolveFile

ResolveFile has one static methods in it.

  • search Will Search for the file path inside the entire path
ResolveFile.search("node_modules/swudo", ".yarn_integrity");
//  This will find yarn integrity file node_modules as it searchs the entire one

License

resolve-file is licensed under MIT

FAQs

Package last updated on 13 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts