List the dependencies of a package version
Changed onReturns a list of dependencies of a package
get/scopes/{scope}/packages/{package}/versions/{version}/dependencies
Request
- Base URLhttps://api.jsr.io
- AuthHTTP bearer
Path parameters
scopestring required
The name of a scope. This must not be @ prefixed.
Example:denoland
The name of the scope
packagestring required
The name of a package.
Example:fmt
The name of the package
versionstring required
A semantic version.
Example:1.2.3
The version of the package
Response
OK
Example response
[
{
"name": "@std/fs",
"constraint": "^0.50.0",
"path": "/exists"
}
]Changes
- warning
changed the pattern of the
pathrequest parameterpackagefrom/^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/to^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$ - warning
changed the pattern of the
pathrequest parameterscopefrom/^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/to^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$
- warning