Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

webpack-md5-hash

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-md5-hash - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

2

package.json
{
"name": "webpack-md5-hash",
"version": "0.0.5",
"version": "0.0.6",
"description": "Plugin to replace a standard webpack chunkhash with md5.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -31,3 +31,4 @@ "use strict";

compilation.plugin("chunk-hash", function(chunk, chunkHash) {
var source = chunk.modules.sort(compareModules).map(getModuleSource).reduce(concatenateSource, ''); // we provide an initialValue in case there is an empty module source. Ref: http://es5.github.io/#x15.4.4.21
var modules = chunk.mapModules ? chunk.mapModules(getModuleSource) : chunk.modules.map(getModuleSource);
var source = modules.sort(compareModules).reduce(concatenateSource, ''); // we provide an initialValue in case there is an empty module source. Ref: http://es5.github.io/#x15.4.4.21
var chunk_hash = md5(source);

@@ -34,0 +35,0 @@ chunkHash.digest = function () {

@@ -40,3 +40,3 @@ # webpack-md5-hash

* Install [Doker Toolbox](https://www.docker.com/docker-toolbox)
* Install [Docker Toolbox](https://www.docker.com/docker-toolbox)
* Setup [Docker Machine](https://docs.docker.com/machine/get-started/)

@@ -43,0 +43,0 @@

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