Socket
Socket
Sign inDemoInstall

assets-webpack-plugin

Package Overview
Dependencies
3
Maintainers
2
Versions
75
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.0.4 to 6.0.5

3

changelog.md

@@ -8,2 +8,5 @@ # Change Log

## 6.0.5 - 2020-11-13
* Adds [#301](https://github.com/ztoben/assets-webpack-plugin/pull/310)
## 6.0.4 - 2020-11-13

@@ -10,0 +13,0 @@ * Adds the `includeAuxiliaryAssets` option

2

dist/index.js

@@ -98,3 +98,3 @@ 'use strict';

if (self.options.includeAuxiliaryAssets && stats.entrypoints[chunkName].auxiliaryAssets) {
if (self.options.includeAuxiliaryAssets && chunkName && stats.entrypoints[chunkName].auxiliaryAssets) {
assets = [].concat(_toConsumableArray(assets), _toConsumableArray(stats.entrypoints[chunkName].auxiliaryAssets));

@@ -101,0 +101,0 @@ }

@@ -96,3 +96,3 @@ const fs = require('fs')

if (self.options.includeAuxiliaryAssets && stats.entrypoints[chunkName].auxiliaryAssets) {
if (self.options.includeAuxiliaryAssets && chunkName && stats.entrypoints[chunkName].auxiliaryAssets) {
assets = [...assets, ...stats.entrypoints[chunkName].auxiliaryAssets]

@@ -99,0 +99,0 @@ }

{
"name": "assets-webpack-plugin",
"version": "6.0.4",
"version": "6.0.5",
"description": "Emits a json file with assets paths",

@@ -46,5 +46,5 @@ "main": "dist/index.js",

"snazzy": "9.0.0",
"standard": "16.0.2",
"standard": "16.0.3",
"style-loader": "2.0.0",
"webpack": "5.4.0"
"webpack": "5.9.0"
},

@@ -51,0 +51,0 @@ "dependencies": {

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc