
Product
Introducing GitHub Actions Scanning Support
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.
babel-plugin-qunit-lazy-imports
Advanced tools
Babel plugin that transforms imports in QUnit test files to lazy imports in beforeEach hooks
A babel plugin to transform all imports in your qunit tests to be lazy so in your vite (or similar) projects, your tests only import what modules you're qunit modules are about to run.
In your babel config:
module.exports = {
plugins: [
[
"module:babel-plugin-qunit-lazy-imports",
{
// Both options are optional, but one must be present
startsWith: ["module-to-be-async/"],
matches: [/some-regex/],
},
],
],
};
npm add babel-plugin-qunit-lazy-imports
contributions welcome! (I get GitHub emails)
FAQs
Babel plugin that transforms imports in QUnit test files to lazy imports in beforeEach hooks
The npm package babel-plugin-qunit-lazy-imports receives a total of 90 weekly downloads. As such, babel-plugin-qunit-lazy-imports popularity was classified as not popular.
We found that babel-plugin-qunit-lazy-imports demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.

Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.

Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.