Security News
The Dark Side of Open Source
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
require-logger
Advanced tools
Readme
tiny utility to visualize whole dependency tree and possibly help with debugging cyclic dependency issues in node.js
npm i require-logger -g
I found that I need this module when debugging circular dependencies. Since other developers on your team might have different tools for this it's probably best to install as global dep.
Just require or import at the root file of your app.
require('require-logger')
next time you run your app, you should see a tree of dependencies as they are loaded in the STDOUT.
node_modules
folder deps are skipped. Only local files are shown.
In the tree it's easy to spot cyclic deps and also parent modules which can be broken into multiple modules.
FAQs
tiny utility to help when debugging cyclic dependency issues in node.js
The npm package require-logger receives a total of 1 weekly downloads. As such, require-logger popularity was classified as not popular.
We found that require-logger 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
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.
Security News
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.