Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
connect-deps
Advanced tools
This is a CLI tool that intends to be a better yarn link
When you do a yarn/npm link in the current repo, it creates a symlink to the dependency in your machine and this gives you the wrong dependency tree, because node_modules inside the linked dependency will be the one already in the there not the one that you would get from a clean yarn install in the current repo.
This can became problematic in some cases, to solve this problem this package "links" (we call it connect) a dependency by running yarn pack
in the connected dependency and yarn add file:/path/to/pack.tgz
in the current repo.
NOTICE: yarn support only, PRs welcome for npm support!
# first link the dependency from your current repo
connect-deps link ../package-linkded
# after, you can `connect` to stay in sync
connect-deps connect
# or use watch mode to listen to changes and update the current repo
connect-deps connect -w
# after you done with coding run `reset` to cleanup and go back to previous versions
connect-deps reset
$ npm install --global connect-deps
$ connect-deps --help
Usage
$ connect-deps [cmd]
Commands
link /relative/path Relative path from cwd to dependency to connect.
connect Connect a linked dependency.
reset Reset everything and clean up.
Options
--help Show help.
--watch, -w Watch for changes, works with the 'connect' command only.
Examples
$ connect-deps link ../dep-folder
$ connect-deps connect -w
MIT © Hugo Dias
FAQs
This is a CLI tool that intends to be a better yarn/npm link
The npm package connect-deps receives a total of 7 weekly downloads. As such, connect-deps popularity was classified as not popular.
We found that connect-deps demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.