Angular-cli: deprecated mail-related packages installed via ng new project

Created on 22 Mar 2018  路  6Comments  路  Source: angular/angular-cli

Versions

Angular CLI: 1.7.3
Node: 8.10.0
OS: win32 x64 (Windows 10 using /Git Bash)
npm: 5.6.0

Repro steps

Simply create a new project with the latest cli
ng new myProject

Observed behavior

The following warnings appear as the project is generated:
npm WARN deprecated [email protected]: All versions below 4.0.1 of Nodemailer are deprecated. See https://nodemailer.com/status/
npm WARN deprecated [email protected]: This project is unmaintained
npm WARN deprecated [email protected]: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0
npm WARN deprecated [email protected]: Use uuid module instead
npm WARN deprecated [email protected]: This project is unmaintained
npm WARN deprecated [email protected]: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0

I confirmed these packages exist in the /node_modules directory of myProject

Desired behavior

I am concerned about the inclusion of depecrated, mail-related packages with a vanilla template install. Previous cli-generated projects (cli version 1.4.7) did not include these packages, I see no universal need for such packages and fear they may be an injection of malicious content.

Mention any other details that might be useful (optional)

Most helpful comment

I agree the cli-built projects runs. I'm primarily concerned about the security of projects built upon boilerplate that includes modules that can be easily attacked and manipulated. That's why I'm raising awareness of the issue. If this is not a security concern, then no problem - but it sure looks like one to me.

All 6 comments

just realized this is the same as issue #10023 Deprecated.

npm cache clear --force and then npm install worked for me
Its giving the warning but its running perfectly

I agree the cli-built projects runs. I'm primarily concerned about the security of projects built upon boilerplate that includes modules that can be easily attacked and manipulated. That's why I'm raising awareness of the issue. If this is not a security concern, then no problem - but it sure looks like one to me.

Is there a way to solve those issues? I've the same exactly behavior installing an angular kit.

Thanks for reporting this issue. This issue is now obsolete due to changes in the recent releases. Please update to the most recent Angular CLI version.

If the problem persists after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior.

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._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JanStureNielsen picture JanStureNielsen  路  3Comments

jmurphzyo picture jmurphzyo  路  3Comments

rajjejosefsson picture rajjejosefsson  路  3Comments

rwillmer picture rwillmer  路  3Comments

naveedahmed1 picture naveedahmed1  路  3Comments