Search
Preparing search index...
The search index is not available
Yarn API
Home
Configuration
Features
CLI
Advanced
GitHub
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
plugin-http
TarballHttpResolver
Globals
Generic Packages
@yarnpkg/core
@yarnpkg/fslib
@yarnpkg/libzip
@yarnpkg/nm
@yarnpkg/parsers
@yarnpkg/pnp
@yarnpkg/pnpify
@yarnpkg/sdks
@yarnpkg/shell
Yarn Packages
@yarnpkg/builder
@yarnpkg/cli
Default Plugins
@yarnpkg/plugin-compat
@yarnpkg/plugin-dlx
@yarnpkg/plugin-essentials
@yarnpkg/plugin-file
@yarnpkg/plugin-git
@yarnpkg/plugin-github
@yarnpkg/plugin-http
@yarnpkg/plugin-init
@yarnpkg/plugin-link
@yarnpkg/plugin-nm
@yarnpkg/plugin-npm
@yarnpkg/plugin-npm-cli
@yarnpkg/plugin-pack
@yarnpkg/plugin-patch
@yarnpkg/plugin-pnp
Contrib Plugins
@yarnpkg/plugin-constraints
@yarnpkg/plugin-exec
@yarnpkg/plugin-interactive-tools
@yarnpkg/plugin-stage
@yarnpkg/plugin-typescript
@yarnpkg/plugin-version
@yarnpkg/plugin-workspace-tools
Class TarballHttpResolver
Hierarchy
TarballHttpResolver
Implements
Resolver
Methods
bindDescriptor
getCandidates
getResolutionDependencies
getSatisfying
resolve
shouldPersistResolution
supportsDescriptor
supportsLocator
Methods
bind
Descriptor
bind
Descriptor
(
descriptor
:
Descriptor
, fromLocator
:
Locator
, opts
:
MinimalResolveOptions
)
:
Descriptor
Parameters
descriptor:
Descriptor
fromLocator:
Locator
opts:
MinimalResolveOptions
Returns
Descriptor
get
Candidates
get
Candidates
(
descriptor
:
Descriptor
, dependencies
:
unknown
, opts
:
ResolveOptions
)
:
Promise
<
Locator
[]
>
Parameters
descriptor:
Descriptor
dependencies:
unknown
opts:
ResolveOptions
Returns
Promise
<
Locator
[]
>
get
Resolution
Dependencies
get
Resolution
Dependencies
(
descriptor
:
Descriptor
, opts
:
MinimalResolveOptions
)
:
object
Parameters
descriptor:
Descriptor
opts:
MinimalResolveOptions
Returns
object
get
Satisfying
get
Satisfying
(
descriptor
:
Descriptor
, dependencies
:
Record
<
string
,
Package
>
, locators
:
Array
<
Locator
>
, opts
:
ResolveOptions
)
:
Promise
<
object
>
Parameters
descriptor:
Descriptor
dependencies:
Record
<
string
,
Package
>
locators:
Array
<
Locator
>
opts:
ResolveOptions
Returns
Promise
<
object
>
resolve
resolve
(
locator
:
Locator
, opts
:
ResolveOptions
)
:
Promise
<
object
>
Parameters
locator:
Locator
opts:
ResolveOptions
Returns
Promise
<
object
>
should
Persist
Resolution
should
Persist
Resolution
(
locator
:
Locator
, opts
:
MinimalResolveOptions
)
:
boolean
Parameters
locator:
Locator
opts:
MinimalResolveOptions
Returns
boolean
supports
Descriptor
supports
Descriptor
(
descriptor
:
Descriptor
, opts
:
MinimalResolveOptions
)
:
boolean
Parameters
descriptor:
Descriptor
opts:
MinimalResolveOptions
Returns
boolean
supports
Locator
supports
Locator
(
locator
:
Locator
, opts
:
MinimalResolveOptions
)
:
boolean
Parameters
locator:
Locator
opts:
MinimalResolveOptions
Returns
boolean
plugin-
http
Tarball
Http
Fetcher
Tarball
Http
Resolver
bind
Descriptor
get
Candidates
get
Resolution
Dependencies
get
Satisfying
resolve
should
Persist
Resolution
supports
Descriptor
supports
Locator
PROTOCOL_
REGEXP
TARBALL_
REGEXP
plugin
Generated using
TypeDoc