Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@ng-vcl/webpack-helper
Advanced tools
Extends the Angular CLI webpack config with vcl support.
npm install @vcl/preprocessor webpack-merge css-loader --save-dev
$ npm install @vcl/preprocessor webpack-merge css-loader @ng-vcl/webpack-helper --save-dev
For this example we use ngx-build-plus and webpack-merge to add vcl support to the angular cli webpack config. Check the ngx-build-plus docs for information how to use a plugin.
const webpackHelpers = require('@ng-vcl/webpack-helper');
const merge = require('webpack-merge');
module.exports.default = {
opts: null,
pre(builderConfig) {
this.opts = {
sourceMap: builderConfig.options.sourceMap, // Use settings from builder
extractCSS: builderConfig.options.extractCss // Use settings from builder
};
},
config(cfg) {
return merge(cfg, webpackHelpers(this.opts));
}
};
FAQs
Helper for VCL support in Angular CLI
We found that @ng-vcl/webpack-helper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.