
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
A poor man's test runner for tap, tape, or similar, that also can be used with istanbul. It's just three lines of code to require all globs or pathnames provided as command line arguments.
A poor man's test runner for tap, tape, or similar, that also can be used with istanbul. It's just three lines of code to require
pathnames from the command line. Shell globbing test runner, if you will, which you can do when your tests are simple scripts.
Install like:
npm i argg --save-dev
…then in your package.json add:
"scripts": {
"test": "node node_modules/argg tests/*.js",
"cover": "istanbul cover node_modules/argg tests/*.js"
},
…so from the command line, you can run tests and get code coverage with istanbul like:
npm test
npm run cover
Hey ok, tap has a nice test runner, but I would need something like this for tape by itself, or for either tap or tape with istanbul. I could make a file and explicitly require the files, but that takes typing, and I know I'd miss something.
MIT licensed by permission from my employer. See LICENSE.txt.
FAQs
A poor man's test runner for tap, tape, or similar, that also can be used with istanbul. It's just three lines of code to require all globs or pathnames provided as command line arguments.
We found that argg 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.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.