snyk-resolve-deps

  • Version 4.9.0
  • Published
  • 53.9 kB
  • 10 dependencies
  • Apache-2.0 license

Install

npm i snyk-resolve-deps
yarn add snyk-resolve-deps
pnpm add snyk-resolve-deps

Overview

Resolves a node package tree with combined support for both npm@2 and npm@3.

Index

Variables

variable logicalTree

var logicalTree: (fileTree: PackageExpanded, options: Options) => LogicalRoot;

    variable physicalTree

    var physicalTree: (
    root: string,
    depType: string,
    options: any
    ) => Promise<PackageExpanded>;

      variable pluck

      var pluck: (
      root: PackageExpanded,
      path: string[],
      name: string,
      range: string
      ) => false | PackageExpanded;

        variable prune

        var prune: (pkg: any, shouldPrune: any) => any;

          variable unique

          var unique: (deps: PackageExpanded) => PackageExpanded;

            variable walk

            var walk: (depsOrPkg: PackageExpanded | DepExpandedDict, filter: any) => never[];

              Functions

              function resolveDeps

              resolveDeps: typeof resolveDeps;

                Package Files (1)

                Dependencies (10)

                Dev Dependencies (7)

                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/snyk-resolve-deps.

                • Markdown
                  [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/snyk-resolve-deps)
                • HTML
                  <a href="https://www.jsdocs.io/package/snyk-resolve-deps"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>