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

@statoscope/webpack-stats-extension-compressed

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@statoscope/webpack-stats-extension-compressed - npm Package Compare versions

Comparing version 5.4.0 to 5.4.2

23

dist/index.js

@@ -87,13 +87,18 @@ "use strict";

// webpack 4
if (modulesCursor.id == null) {
continue;
try {
// @ts-ignore
const source = cursor.moduleTemplates.javascript.render(modulesCursor, cursor.dependencyTemplates, { chunk: modulesCursor.getChunks()[0] });
const content = source.source();
concatenated = Buffer.concat([
concatenated,
content instanceof Buffer ? content : Buffer.from(content),
]);
}
// @ts-ignore
const source = cursor.moduleTemplates.javascript.render(modulesCursor, cursor.dependencyTemplates, { chunk: modulesCursor.getChunks()[0] });
const content = source.source();
concatenated = Buffer.concat([
concatenated,
content instanceof Buffer ? content : Buffer.from(content),
]);
catch (e) {
// in webpack 4 we can't generate source for all the modules :(
}
}
if (!concatenated.length) {
continue;
}
this.compressedExtensionGenerator.handleResource(cursor.hash, moduleName, concatenated, this.compressor);

@@ -100,0 +105,0 @@ }

{
"name": "@statoscope/webpack-stats-extension-compressed",
"version": "5.4.0",
"version": "5.4.2",
"description": "Webpack adapter for @statoscope/stats-extension-compressed",

@@ -30,3 +30,4 @@ "main": "./dist/index.js",

"@types/webpack": "^5.28.0"
}
},
"gitHead": "d670665eb09b3fc22d665d699a06df3dc6a0a49a"
}

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