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

webpack-version-plugin

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-version-plugin - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

2

package.json
{
"name": "webpack-version-plugin",
"version": "1.0.6",
"version": "1.0.7",
"description": "webpack-version-plugin",

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

@@ -6,7 +6,7 @@ # webpack-version-plugin

npm
```javascript
```bash
$ npm install webpack-version-plugin --save-dev
```
yarn
```javascript
```bash
$ yarn add webpack-version-plugin --dev

@@ -44,2 +44,5 @@ ```

vendor: 'ff7f0450afc7ff3030cba2428e593dcf'
},
files: {
app: ['js/app_fa74f310.js']
}

@@ -46,0 +49,0 @@ }*/

@@ -11,5 +11,9 @@ function WebpackVersionPlugin(opts) {

compiler.plugin('emit', function(compilation, callback) {
const hashMap = {
hash: compilation.fullHash,
chunkHash: {}
chunkHash: {},
files: {}
};

@@ -19,2 +23,3 @@

hashMap.chunkHash[item.name] = item.hash;
hashMap.files[item.name] = compilation.chunks[index].files;
});

@@ -21,0 +26,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