angular / angular-cli

CLI tool for Angular
https://cli.angular.io
MIT License
26.73k stars 11.98k forks source link

npm WARN deprecated abab@2.0.6 #26804

Closed rodchenkov closed 8 months ago

rodchenkov commented 8 months ago

Command

build

Is this a regression?

The previous version in which this bug was not present was

No response

Description

Hi, I'm getting warning: npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead

@angular-devkit/build-angular uses source-map-loader@4.0.1 that has dependency on deprecated abab package. I think that you can just update source-map-loader to latest (4.0.2) version as it already do not have dependency on abab package and warning will disappear.

Thank you!

Minimal Reproduction

setup new project with latest angluar/cli and run npm ci

you will get this warning message npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead

Exception or Error

No response

Your Environment

Angular CLI: 17.0.8
Node: 18.16.0
Package Manager: npm 9.8.1
OS: win32 x64

Angular:
...

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1700.8 (cli-only)
@angular-devkit/core         17.0.8 (cli-only)
@angular-devkit/schematics   17.0.8 (cli-only)
@schematics/angular          17.0.8 (cli-only)

Anything else relevant?

No response

alan-agius4 commented 8 months ago

This has already been addressed in https://github.com/angular/angular-cli/pull/26757 which will be included as in 17.1.0 that will be released as stable later this month.

Chudroy commented 8 months ago

So how can I setup a new project with angular17 in the meantime?

angular-automatic-lock-bot[bot] commented 7 months ago

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.