Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
check-peer-deps
Advanced tools
Verifies that the peerDependency requirements of all top level dependencies are satisfied.
Verifies that the peerDependency
requirements of all top level dependencies
are satisfied.
You can install this on your system with:
npm i -g check-peer-deps
Please note that this utility requires npm
to be available.
Simply change into the directory of the project you wish to check the
peerDependencies
of and run the program.
> cd foobar
> check-peer-deps
If the minimum versions of all your top level peerDependencies
are satisfied
then there will be no output, otherwise you will see something similar to this:
> check-peer-deps
A dependency satisfying eslint-config-airbnb-base's peerDependency of 'eslint@^4.9.0' was not found!
Current: eslint@^4.6.0
Package dependencies can satisfy the peerDependency? Yes
This tells you that eslint-config-airbnb-base
is requiring eslint@^4.9.0
as
a peerDependency
, but the project currently only specifies eslint@^4.6.0
,
allowing a potential issue to arise if eslint@4.6.0
was installed and not
updated before installing. The output also tells you that although the
minimum allowed version is too low, the maximum allowed version does
satisfy the peerDependencies
requirement.
v1.1.3 (2018-05-05)
Merged pull requests:
FAQs
Verifies that the peerDependency requirements of all top level dependencies are satisfied.
We found that check-peer-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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.