Skip to content

Deprecation Warning for consolidate@0.13.1 on npm Install in Chapter 3, Exercise 1 #67

@ioxterminal

Description

@ioxterminal

When running npm install in the exercise directory for Chapter 3, Exercise 1 (ch-3-ex-1), I receive a deprecation warning related to the consolidate package:

npm WARN deprecated consolidate@0.13.1: Please upgrade to consolidate v1.0.0+ as it has been modernized with several long-awaited fixes implemented. Maintenance is supported by Forward Email at https://forwardemail.net ; follow/watch https://github.com/ladjs/consolidate for updates and release changelog

The full output is as follows:


C:\temp\oauth-in-action-code\exercises\ch-3-ex-1> npm i
npm WARN deprecated consolidate@0.13.1: Please upgrade to consolidate v1.0.0+ as it has been modernized with several long-awaited fixes implemented. Maintenance is supported by Forward Email at https://forwardemail.net ; follow/watch https://github.com/ladjs/consolidate for updates and release changelog

added 95 packages, and audited 96 packages in 20s

13 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
npm notice
npm notice New minor version of npm available! 10.8.3 -> 10.9.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.9.0
npm notice To update run: npm install -g npm@10.9.0
npm notice

Proposed Solution:

Consider updating consolidate to version 1.0.0 or later in the project’s dependencies to avoid the deprecation warning. This update would help users avoid confusion and ensure compatibility with recent updates and fixes.

Environment:

OS: Windows Windows 11 23H2 (OS Build 22631.4317)
Node.js version: v22.9.0
npm version: 10.8.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions