Skip to content

Deprecated transitive dependencies with v3 #786

@LukasHeimann

Description

@LukasHeimann

Hi everyone,

I upgraded to the tooling v3 and node 18, and looked in more detail at the build output. I realized that there were a couple of deprecations that were not there a few months ago. I found no other issue mentioning this, so I'm creating this one here:

Expected Behavior

No deprecated dependencies used within ui5-tooling.

Current Behavior

npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
npm WARN deprecated libnpmconfig@1.2.1: This module is not used anymore. npm config is parsed by npm itself and by @npmcli/config
npm WARN deprecated libnpmconfig@1.2.1: This module is not used anymore. npm config is parsed by npm itself and by @npmcli/config

Steps to Reproduce the Issue

In a new project (or just any empty folder), execute npm i @ui5/cli.

Context

  • UI5 Module Version (output of ui5 --version when using the CLI): 3.0.1
  • Node.js Version: 18.14.0
  • npm Version: 8.19.2
  • OS/Platform: windows

Log Output / Stack Trace

$ npm ls @npmcli/move-file
├─┬ @ui5/cli@3.0.1
│ └─┬ @ui5/project@3.0.1
│   └─┬ pacote@15.1.0
│     └─┬ @npmcli/run-script@6.0.0
│       └─┬ node-gyp@9.3.1
│         └─┬ make-fetch-happen@10.2.1
│           └─┬ cacache@16.1.3
│             └── @npmcli/move-file@2.0.1
└─┬ karma-ui5@3.0.1
  └─┬ @ui5/project@3.0.1
    └─┬ pacote@15.1.0
      └─┬ @npmcli/run-script@6.0.0
        └─┬ node-gyp@9.3.1
          └─┬ make-fetch-happen@10.2.1
            └─┬ cacache@16.1.3
              └── @npmcli/move-file@2.0.1

$ npm ls libnpmconfig
├─┬ @ui5/cli@3.0.1
│ └─┬ @ui5/project@3.0.1
│   └── libnpmconfig@1.2.1
└─┬ karma-ui5@3.0.1
  └─┬ @ui5/project@3.0.1
    └── libnpmconfig@1.2.1

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