Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
@typescript-tools/internal-dependencies
Advanced tools
Calculate package dependencies living in the same monorepo
Calculate package dependencies living in the same monorepo
npm install --save-dev @typescript-tools/internal-dependencies
Usage:
internal-dependencies [--root <root>] [--path] <package>...
Options:
packages Package names or paths to print dependencies of (also reads from stdin)
--root=<root> Root of lerna mono-repository
--path Print the relative path to each package from root
internal-dependencies
reads one or more packages either as arguments
or from stdin
, and outputs the internal dependencies that the list
of packages depends upon, either directly or transitively.
Packages may be specified by path or by (scoped) name.
Note: all examples run from the root of this monorepo
Given the following package.json
{
"name": "@typescript-tools/lerna-utils",
"version": "2.1.1",
"dependencies": {
"@typescript-tools/io-ts": "^2.2.0"
}
}
internal-dependencies
prints the following
$ npx internal-dependencies @typescript-tools/lerna-utils
@typescript-tools/io-ts
$ echo @typescript-tools/lerna-utils | npx internal-dependencies
@typescript-tools/io-ts
Use --path
to print the path to the dependencies rather than the
package names
{
"name": "@typescript-tools/internal-dependencies",
"version": "2.2.4",
"dependencies": {
"@typescript-tools/dependency-graph": "^2.1.5",
"@typescript-tools/find-package": "^1.1.3",
"@typescript-tools/io-ts": "^2.2.0",
"@typescript-tools/lerna-packages": "^2.2.2",
"@typescript-tools/monorepo-root": "^1.3.2"
},
"devDependencies": {
}
$ npx internal-dependencies --path @typescript-tools/internal-dependencies
packages/dependency-graph
packages/find-package
packages/io-ts
packages/lerna-packages
packages/monorepo-root
packages/lerna-utils
FAQs
Calculate package dependencies living in the same monorepo
The npm package @typescript-tools/internal-dependencies receives a total of 6,887 weekly downloads. As such, @typescript-tools/internal-dependencies popularity was classified as popular.
We found that @typescript-tools/internal-dependencies demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.