Problem/Motivation

When creating a new starterkit (from alpha6 in my case) you need to do npm install .
This gives me some deprecation errors:

npm warn deprecated whatwg-encoding@3.1.1: Use @exodus/bytes instead for a more spec-conformant and faster implementation
npm warn deprecated glob@11.1.0: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me 

glob

Don't know if (or how) this needs fixing. Currently glob 12 is the oldest non-deprecated version and 13 is current. The changelog this not look very heavy to me. So it seems an upgrade to a newer version seems possible, but I am far from an expert! From https://github.com/isaacs/node-glob/blob/main/changelog.md :

13
Move the CLI program out to a separate package, glob-bin. Install that if you'd like to continue using glob from the command line.

12
Remove the unsafe --shell option. The --shell option is now ONLY supported on known shells where the behavior can be implemented safely.

whatwg-encoding

I could not find any relevant info about moving from whatwg-encoding to exodus/bytes unfortunately. Maybe I should split this of into a new issue?

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

firfin created an issue. See original summary.

g4mbini’s picture

Title: NPM throws deprecation errors when creating from starterkit » [5.0.0-alpha7] NPM throws deprecation errors when creating from starterkit
Issue tags: +UI Suite Initiative

whatwg-encoding is a dependency of another package so we should wait for upstream update.

the glob version nevertheless should be updated !

g4mbini’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • g4mbini committed 5373c0b0 on 5.0.x
    feat: #3575930 [5.0.0-alpha7] NPM throws deprecation errors when...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.