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 oft miss.
Run mocha tests in Chrome, using webpack and puppeteer.
Install mocha-pup
as a dev dependency:
npm i mocha-pup --save-dev
A CLI named mocha-pup
is available after installation:
mocha-pup [options] <glob ...>
For example:
mocha-pup "test/**/*.spec.js"
mocha-pup "test/**/*.spec.ts" -c webpack.config.js
-v, --version output the version number
-c, --webpack-config <config file> webpack configuration file to bundle with
-d, --dev never-closed, non-headless, open-devtools puppeteer session
-l, --list-files list found test files
-t, --timeout <ms> mocha timeout in ms (default: 2000)
--reporter <spec/html/dot/...> mocha reporter to use (default: "spec")
--ui <bdd|tdd|qunit|exports> user interface of mocha (default: "bdd")
--no-colors turn off colors (default is env detected)
-h, --help output usage information
MIT
FAQs
Run mocha tests in Chrome, using webpack and puppeteer.
We found that mocha-pup demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools oft 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.