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

gulp-html-minifier-terser

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-html-minifier-terser - npm Package Compare versions

Comparing version 6.0.1 to 7.0.0-beta.0

4

index.js

@@ -14,5 +14,5 @@ 'use strict';

const minify = (buf, _, cb) => {
const minify = async (buf, _, cb) => {
try {
let contents = Buffer.from(htmlmin.minify(buf.toString(), options));
let contents = Buffer.from(await htmlmin.minify(buf.toString(), options));
if (next === cb) {

@@ -19,0 +19,0 @@ file.contents = contents;

{
"name": "gulp-html-minifier-terser",
"description": "gulp plugin to minify HTML.",
"version": "6.0.1",
"version": "7.0.0-beta.0",
"homepage": "https://github.com/pioug/gulp-html-minifier-terser",

@@ -42,3 +42,3 @@ "authors": [

"engines": {
"node": ">= 10.0"
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},

@@ -49,4 +49,4 @@ "scripts": {

"dependencies": {
"html-minifier-terser": "^5.1.1",
"plugin-error": "^1.0.1",
"html-minifier-terser": "^7.0.0-beta.0",
"plugin-error": "^2.0.0",
"through2": "^4.0.2"

@@ -57,3 +57,3 @@ },

"gulp-format-md": "^2.0.0",
"mocha": "^8.1.3",
"mocha": "^10.0.0",
"vinyl": "^2.2.0"

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