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

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 7.0.0 to 7.1.0

3

changelog.md

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

## 7.1.0 - 2020-12-11
* Closes [#327](https://github.com/ztoben/assets-webpack-plugin/issues/327)
## 7.0.0 - 2020-12-11

@@ -10,0 +13,0 @@ * Requires webpack 5 or greater as a peer dependency

6

dist/index.js

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

var afterEmit = function afterEmit(compilation, callback) {
var emitPlugin = function emitPlugin(compilation, callback) {
var options = compiler.options;

@@ -212,5 +212,5 @@ var stats = compilation.getStats().toJson({

compiler.hooks.afterEmit.tapAsync(plugin, afterEmit);
compiler.hooks.emit.tapAsync(plugin, emitPlugin);
} else {
compiler.plugin('after-emit', afterEmit);
compiler.plugin('after-emit', emitPlugin);
}

@@ -217,0 +217,0 @@ }

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

const afterEmit = (compilation, callback) => {
const emitPlugin = (compilation, callback) => {
const options = compiler.options

@@ -210,5 +210,5 @@ const stats = compilation.getStats().toJson({

compiler.hooks.afterEmit.tapAsync(plugin, afterEmit)
compiler.hooks.emit.tapAsync(plugin, emitPlugin)
} else {
compiler.plugin('after-emit', afterEmit)
compiler.plugin('after-emit', emitPlugin)
}

@@ -215,0 +215,0 @@ }

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

@@ -40,6 +40,6 @@ "main": "dist/index.js",

"babel-preset-env": "1.7.0",
"chai": "4.2.0",
"css-loader": "5.0.1",
"mini-css-extract-plugin": "1.3.3",
"mocha": "8.2.1",
"chai": "4.3.4",
"css-loader": "5.2.4",
"mini-css-extract-plugin": "1.5.0",
"mocha": "8.3.2",
"rimraf": "3.0.2",

@@ -49,3 +49,3 @@ "snazzy": "9.0.0",

"style-loader": "2.0.0",
"webpack": "5.10.0"
"webpack": "5.35.0"
},

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

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