New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bundle-stats/plugin-webpack-filter

Package Overview
Dependencies
Maintainers
2
Versions
322
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bundle-stats/plugin-webpack-filter - npm Package Compare versions

Comparing version 4.0.0-alpha.11 to 4.0.0-alpha.14

7

lib/index.js

@@ -15,3 +15,2 @@ "use strict";

exports.default = (source, options = {}) => {
var _a;
const pathIgnorePattern = new RegExp(options.pathIgnorePattern || PATH_IGNORE_PATTERN);

@@ -36,7 +35,7 @@ const builtAt = (0, get_1.default)('builtAt')(source);

])(source);
const modules = (_a = source === null || source === void 0 ? void 0 : source.modules) === null || _a === void 0 ? void 0 : _a.map(({ name, size, chunks: moduleChunks, modules: concatenatedModules }) => ({
const modules = source?.modules?.map(({ name, size, chunks: moduleChunks, modules: concatenatedModules }) => ({
name,
size,
chunks: moduleChunks === null || moduleChunks === void 0 ? void 0 : moduleChunks.filter((chunkId) => chunkId !== null && typeof chunkId !== 'undefined'),
modules: concatenatedModules === null || concatenatedModules === void 0 ? void 0 : concatenatedModules.map((concatenatedModule) => ({
chunks: moduleChunks?.filter((chunkId) => chunkId !== null && typeof chunkId !== 'undefined'),
modules: concatenatedModules?.map((concatenatedModule) => ({
name: concatenatedModule.name,

@@ -43,0 +42,0 @@ size: concatenatedModule.size,

{
"name": "@bundle-stats/plugin-webpack-filter",
"version": "4.0.0-alpha.11",
"version": "4.0.0-alpha.14",
"description": "BundleStats webpack filter plugin",

@@ -54,3 +54,3 @@ "main": "lib/index.js",

},
"gitHead": "dfbde3ec1aca1d667cefbb93b66205c95c6feb4e"
"gitHead": "acd6e6e99679ef3216e8022910d5e2d1d080f118"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc