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

html-replace-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-replace-webpack-plugin - npm Package Compare versions

Comparing version 2.5.0 to 2.5.1

4

index.js

@@ -41,7 +41,7 @@ function HtmlReplaceWebpackPlugin(options) {

compiler.hooks.compilation.tap('HtmlReplaceWebpackPlugin', compilation => {
compilation.hooks.htmlWebpackPluginBeforeHtmlProcessing.tapAsync('html-webpack-plugin-before-html-processing', this.replace)
compilation.hooks.htmlWebpackPluginAfterHtmlProcessing.tapAsync('html-webpack-plugin-after-html-processing', this.replace)
})
} else {
compiler.plugin('compilation', compilation => {
compilation.plugin('html-webpack-plugin-before-html-processing', this.replace)
compilation.plugin('html-webpack-plugin-after-html-processing', this.replace)
})

@@ -48,0 +48,0 @@ }

{
"name": "html-replace-webpack-plugin",
"version": "2.5.0",
"version": "2.5.1",
"description": "A Webpack plugin for replace HTML contents with custom pattern string or regex.",

@@ -5,0 +5,0 @@ "main": "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