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

@nuxt/devtools-wizard

Package Overview
Dependencies
Maintainers
5
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxt/devtools-wizard - npm Package Compare versions

Comparing version
3.2.1
to
3.2.2
+5
-7
dist/chunks/builtin.mjs
import { existsSync } from 'node:fs';
import fsp from 'node:fs/promises';
import { relative } from 'node:path';
import * as p from '@clack/prompts';
import { consola } from 'consola';

@@ -9,3 +10,2 @@ import { colors } from 'consola/utils';

import { join } from 'pathe';
import prompts from 'prompts';

@@ -51,3 +51,3 @@ function findNuxtConfig(cwd) {

consola.log("");
consola.log("We are going to update the Nuxt config with with the following changes:");
consola.log("We are going to update the Nuxt config with the following changes:");
consola.log(colors.bold(colors.green(`./${relative(cwd, nuxtConfig)}`)));

@@ -57,9 +57,7 @@ consola.log("");

consola.log("");
const { confirm } = await prompts({
type: "confirm",
name: "confirm",
const confirm = await p.confirm({
message: "Continue?",
initial: true
initialValue: true
});
if (!confirm)
if (confirm !== true)
return false;

@@ -66,0 +64,0 @@ await fsp.writeFile(nuxtConfig, `${generated.trimEnd()}

@@ -6,3 +6,3 @@ import { consola } from 'consola';

const name = "@nuxt/devtools-wizard";
const version = "3.2.1";
const version = "3.2.2";

@@ -9,0 +9,0 @@ async function getNuxtVersion(path) {

{
"name": "@nuxt/devtools-wizard",
"type": "module",
"version": "3.2.1",
"version": "3.2.2",
"description": "CLI Wizard to toggle Nuxt DevTools",

@@ -22,2 +22,3 @@ "license": "MIT",

"dependencies": {
"@clack/prompts": "^1.0.1",
"consola": "^3.4.2",

@@ -29,3 +30,2 @@ "diff": "^8.0.3",

"pkg-types": "^2.3.0",
"prompts": "^2.4.2",
"semver": "^7.7.4"

@@ -35,3 +35,2 @@ },

"@types/diff": "^8.0.0",
"@types/prompts": "^2.4.9",
"unbuild": "^3.6.1"

@@ -38,0 +37,0 @@ },