🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

@nuxt/generator

Package Overview
Dependencies
Maintainers
6
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxt/generator - npm Package Compare versions

Comparing version
2.17.3
to
2.17.4
+4
-4
dist/generator.js
/*!
* @nuxt/generator v2.17.3 (c) 2016-2024
* @nuxt/generator v2.17.4 (c) 2016-2024
* Released under the MIT License

@@ -15,3 +15,3 @@ * Repository: https://github.com/nuxt/nuxt.js

const defu = require('defu');
const htmlMinifier = require('html-minifier');
const htmlMinifier = require('html-minifier-terser');
const nodeHtmlParser = require('node-html-parser');

@@ -194,3 +194,3 @@ const ufo = require('ufo');

try {
html = this.minifyHtml(html);
html = await this.minifyHtml(html);
} catch (error) {

@@ -290,3 +290,3 @@ consola.warn("HTML minification failed for SPA fallback");

try {
html = this.minifyHtml(html);
html = await this.minifyHtml(html);
} catch (err) {

@@ -293,0 +293,0 @@ const minifyErr = new Error(

{
"name": "@nuxt/generator",
"version": "2.17.3",
"version": "2.17.4",
"repository": {
"type": "git",
"url": "git+https://github.com/nuxt/nuxt.js.git"
"url": "git+https://github.com/nuxt/nuxt.git",
"directory": "packages/generator"
},

@@ -14,3 +15,3 @@ "license": "MIT",

"dependencies": {
"@nuxt/utils": "2.17.3",
"@nuxt/utils": "2.17.4",
"chalk": "^4.1.2",

@@ -20,6 +21,6 @@ "consola": "^3.2.3",

"devalue": "^2.0.1",
"fs-extra": "^10.1.0",
"html-minifier": "^4.0.0",
"node-html-parser": "^6.1.12",
"ufo": "^1.3.2"
"fs-extra": "^11.2.0",
"html-minifier-terser": "^7.2.0",
"node-html-parser": "^6.1.13",
"ufo": "^1.5.3"
},

@@ -26,0 +27,0 @@ "engines": {