
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
fork-ts-checker-webpack-plugin-limiter
Advanced tools
Limit the active forks to prevent EMFILE error when working with large number of entries.
Limit the active forks to prevent EMFILE error when working with large number of entries.
This plugin is inspired by TypeStrong/fork-ts-checker-webpack-plugin#424 and depends on alpha features at the moment of authoring, please use at your own risk.
In your webpack.config.js
, add this plugin along with fork-ts-checker-webpack-plugin
.
The only option is concurrency
which limits the active forks allowed in the plugin, defaults to the number of CPUs in
your workstation.
const ForkTsCheckerWebpackPlugin = require("fork-ts-checker-webpack-plugin");
const ForkTsCheckerWebpackPluginLimiter = require("fork-ts-checker-webpack-plugin-limiter");
module.exports = {
plugins: [
new ForkTsCheckerWebpackPlugin(),
new ForkTsCheckerWebpackPluginLimiter({ concurrency: 5 }),
],
...
use: {
loader: "ts-loader",
options: {
transpileOnly: true // for the plugin
},
},
...
};
FAQs
Limit the active forks to prevent EMFILE error when working with large number of entries.
The npm package fork-ts-checker-webpack-plugin-limiter receives a total of 201 weekly downloads. As such, fork-ts-checker-webpack-plugin-limiter popularity was classified as not popular.
We found that fork-ts-checker-webpack-plugin-limiter 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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.