
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
ignore-webpack-plugin
Advanced tools
Excludes dynamically imported dependencies from the output bundle.
This Webpack plugin excludes dynamically imported dependencies from the output bundle. This is often used for scenarios such as server-side rendering / pre-rendering (SSR).
webpack.config.js
const { IgnoreAsyncImportsPlugin } = require("ignore-webpack-plugin");
module.exports = [
// The core application bundle for browsers.
{
name: "app",
entry: "./src/index",
/* ... other settings ... */
},
// Additional (reverse proxy) bundle for Cloudflare Workers.
{
name: "proxy",
entry: "./src/proxy",
output: { filename: "proxy.js" },
target: "browserslist:last 2 Chrome versions",
/* ... other settings ... */
plugins: [new IgnoreAsyncImportsPlugin()],
},
];
All the import(...)
expressions within the "proxy" bundle in the example above
will be replaced with Promise.resolve(...)
.
Copyright © 2021-present Kriasoft. This source code is licensed under the MIT license found in the LICENSE file.
Made with ♥ by Konstantin Tarkus (@koistya, blog) and contributors.
FAQs
Excludes dynamically imported dependencies from the output bundle.
The npm package ignore-webpack-plugin receives a total of 527 weekly downloads. As such, ignore-webpack-plugin popularity was classified as not popular.
We found that ignore-webpack-plugin 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
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.