jest-resolve-dependencies
- Version 29.7.0
- Published
- 8.92 kB
- 2 dependencies
- MIT license
Install
npm i jest-resolve-dependencies
yarn add jest-resolve-dependencies
pnpm add jest-resolve-dependencies
Overview
Overview not available.
Index
Classes
class DependencyResolver
class DependencyResolver {}
DependencyResolver is used to resolve the direct dependencies of a module or to retrieve a list of all transitive inverse dependencies.
constructor
constructor( resolver: default_2, hasteFS: IHasteFS, snapshotResolver: SnapshotResolver);
method resolve
resolve: (file: string, options?: ResolveModuleConfig) => Array<string>;
method resolveInverse
resolveInverse: ( paths: Set<string>, filter: (file: string) => boolean, options?: ResolveModuleConfig) => Array<string>;
method resolveInverseModuleMap
resolveInverseModuleMap: ( paths: Set<string>, filter: (file: string) => boolean, options?: ResolveModuleConfig) => Array<ResolvedModule>;
Type Aliases
type ResolvedModule
type ResolvedModule = { file: string; dependencies: Array<string>;};
Package Files (1)
Dependencies (2)
Dev Dependencies (5)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/jest-resolve-dependencies
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/jest-resolve-dependencies)
- HTML<a href="https://www.jsdocs.io/package/jest-resolve-dependencies"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 3144 ms. - Missing or incorrect documentation? Open an issue for this package.