Socket
Socket
Sign inDemoInstall

assets-webpack-plugin

Package Overview
Dependencies
Maintainers
2
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

assets-webpack-plugin - npm Package Compare versions

Comparing version 6.0.0-alpha.4 to 6.0.0-alpha.5

3

dist/index.js

@@ -101,2 +101,5 @@ 'use strict';

var asset = obj.name || obj;
console.log(asset);
if (isHMRUpdate(options, asset) || isSourceMap(options, asset) || !chunkName && seenAssets[asset]) {

@@ -103,0 +106,0 @@ return typeMap;

@@ -6,2 +6,4 @@ 'use strict';

module.exports = function isHMRUpdate(options, asset) {
if (asset.includes('.hot-update.')) return true;
var hotUpdateChunkFilename = options.output.hotUpdateChunkFilename;

@@ -8,0 +10,0 @@ var hotUpdateTemplate = pathTemplate(hotUpdateChunkFilename);

@@ -101,2 +101,5 @@ const fs = require('fs')

const asset = obj.name || obj
console.log(asset)
if (isHMRUpdate(options, asset) || isSourceMap(options, asset) || (!chunkName && seenAssets[asset])) {

@@ -103,0 +106,0 @@ return typeMap

2

package.json
{
"name": "assets-webpack-plugin",
"version": "6.0.0-alpha.4",
"version": "6.0.0-alpha.5",
"description": "Emits a json file with assets paths",

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

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