
Research
/Security News
Fake imToken Chrome Extension Steals Seed Phrases via Phishing Redirects
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.
karma-webpack-grep
Advanced tools
Enables you to run karma start --grep some/partial/path to limit which files karma-webpack bundles. This can give a huge performance boost when booting up karma in development.
$ npm install --save-dev karma-webpack-grep
When using karma-webpack, you must provide webpack config to karma. Use this module to extend the plugins of your webpack config:
// somewhere in your karma.conf.js
module.exports = function (config) {
webpackConfig.plugins = (webpackConfig.plugins || []).concat(
grep({
grep: config.grep,
// same baseDir as used in karma conf
baseDir: 'client',
// same string as used in `require.ensure`
// in your main test file
// see https://github.com/webpack/karma-webpack#alternative-usage
testContext: '..'
})
)
}
Read a more in depth explanation of this approach at https://medium.com/@kidkarolis/karma-webpack-grep-super-fast-tests-in-dev-b11130e2c2c6.
FAQs
karma start --grep some/pattern
We found that karma-webpack-grep 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
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.

Security News
Latio’s 2026 report recognizes Socket as a Supply Chain Innovator and highlights our work in 0-day malware detection, SCA, and auto-patching.

Company News
Join Socket for live demos, rooftop happy hours, and one-on-one meetings during BSidesSF and RSA 2026 in San Francisco.