Dependicus API Reference
Preparing search index...
DependencyProvider
Interface DependencyProvider
interface
DependencyProvider
{
catalogFile
?:
string
;
ecosystem
:
string
;
installCommand
:
string
;
lockfilePath
:
string
;
name
:
string
;
patchHint
?:
string
;
rootDir
:
string
;
supportsCatalog
:
boolean
;
updateInstructions
?:
string
;
updatePrefix
?:
string
;
updateSuffix
?:
string
;
urlPatterns
:
Record
<
string
,
string
>
;
createSources
(
ctx
:
SourceContext
)
:
DataSource
[]
;
getPackages
()
:
Promise
<
PackageInfo
[]
>
;
hasInCatalog
(
name
:
string
)
:
boolean
;
isInCatalog
(
name
:
string
,
version
:
string
)
:
boolean
;
isPatched
(
name
:
string
,
version
:
string
)
:
boolean
;
resolveVersionMetadata
(
packages
:
{
name
:
string
;
versions
:
string
[]
}
[]
,
)
:
Promise
<
Map
<
string
,
{
latestVersion
:
string
;
publishDate
:
string
|
undefined
}
>
,
>
;
}
Index
Properties
catalog
File?
ecosystem
install
Command
lockfile
Path
name
patch
Hint?
root
Dir
supports
Catalog
update
Instructions?
update
Prefix?
update
Suffix?
url
Patterns
Methods
create
Sources
get
Packages
has
In
Catalog
is
In
Catalog
is
Patched
resolve
Version
Metadata
Properties
Optional
Readonly
catalog
File
catalogFile
?:
string
Readonly
ecosystem
ecosystem
:
string
Readonly
install
Command
installCommand
:
string
Readonly
lockfile
Path
lockfilePath
:
string
Readonly
name
name
:
string
Optional
Readonly
patch
Hint
patchHint
?:
string
Readonly
root
Dir
rootDir
:
string
Readonly
supports
Catalog
supportsCatalog
:
boolean
Optional
Readonly
update
Instructions
updateInstructions
?:
string
Optional
Readonly
update
Prefix
updatePrefix
?:
string
Optional
Readonly
update
Suffix
updateSuffix
?:
string
Readonly
url
Patterns
urlPatterns
:
Record
<
string
,
string
>
Methods
create
Sources
createSources
(
ctx
:
SourceContext
)
:
DataSource
[]
Parameters
ctx
:
SourceContext
Returns
DataSource
[]
get
Packages
getPackages
()
:
Promise
<
PackageInfo
[]
>
Returns
Promise
<
PackageInfo
[]
>
has
In
Catalog
hasInCatalog
(
name
:
string
)
:
boolean
Parameters
name
:
string
Returns
boolean
is
In
Catalog
isInCatalog
(
name
:
string
,
version
:
string
)
:
boolean
Parameters
name
:
string
version
:
string
Returns
boolean
is
Patched
isPatched
(
name
:
string
,
version
:
string
)
:
boolean
Parameters
name
:
string
version
:
string
Returns
boolean
resolve
Version
Metadata
resolveVersionMetadata
(
packages
:
{
name
:
string
;
versions
:
string
[]
}
[]
,
)
:
Promise
<
Map
<
string
,
{
latestVersion
:
string
;
publishDate
:
string
|
undefined
}
>
,
>
Parameters
packages
:
{
name
:
string
;
versions
:
string
[]
}
[]
Returns
Promise
<
Map
<
string
,
{
latestVersion
:
string
;
publishDate
:
string
|
undefined
}
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
catalog
File
ecosystem
install
Command
lockfile
Path
name
patch
Hint
root
Dir
supports
Catalog
update
Instructions
update
Prefix
update
Suffix
url
Patterns
Methods
create
Sources
get
Packages
has
In
Catalog
is
In
Catalog
is
Patched
resolve
Version
Metadata
Dependicus API Reference
Loading...