jest-resolve-dependencies

  • Version 27.2.4
  • Published
  • 9.05 kB
  • 3 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: any, hasteFS: any, snapshotResolver: any);

    method resolve

    resolve: (file: any, options?: any) => Array<Config.Path>;

      method resolveInverse

      resolveInverse: (
      paths: Set<Config.Path>,
      filter: (file: any) => boolean,
      options?: any
      ) => Array<Config.Path>;

        method resolveInverseModuleMap

        resolveInverseModuleMap: (
        paths: Set<Config.Path>,
        filter: (file: any) => boolean,
        options?: any
        ) => Array<ResolvedModule>;

          Type Aliases

          type ResolvedModule

          type ResolvedModule = {
          file: Config.Path;
          dependencies: Array<Config.Path>;
          };

            Package Files (1)

            Dependencies (3)

            Dev Dependencies (4)

            Peer Dependencies (0)

            No peer dependencies.

            Badge

            To add a badge like this onejsDocs.io badgeto 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>