News

The Angular 7.2.1 CLI release fixes a webpack-dev-server vulnerability, supports TypeScript 3.2 and Angular 7.2.0-rc.0

1 min read

Today, Minko Gechev, an engineer in the Angular team at Google announced the release of Angular CLI 7.2.1. This release fixes a webpack-dev-server vulnerability and also comes with support for multiselect list prompt, TypeScript 3.2, and Angular 7.2.0-rc.0.

Understanding the webpack-dev-server vulnerability

The npm install command was showing the Missing Origin Validation vulnerability because webpack-dev-server versions before 3.1.10 are missing origin validation on the websocket server. A remote attacker can take advantage of this vulnerability to steal a developer’s code as the origin of requests to the websocket server, which is used for Hot Module Replacement (HMR) are not validated.

Other updates in Angular 7.2.1 CLI

Several updates and bug fixes were listed in the release notes of Angular CLI’s GitHub repository. Some of them are:

  • Support is added for multiselect list prompt
  • Support is added for TypeScript 3.2 and Angular 7.2.0-rc.0
  • Optimization options are updated
  • Warnings are added for overriding flags in arguments
  • lintFix is added to several other schematics
  • `resourcesOutputPath` is added to the schema to define where style resources will be placed, relative to outputPath.
  • The architect command project parsing is improved
  • Prompt support is added using Inquirer
  • Jobs API is added
  • Directly loading component templates is supported

Read Next

Angular 7 is now stable

Unit testing Angular components and classes [Tutorial]

Setting up Jasmine for Unit Testing in Angular [Tutorial]

Bhagyashree R

Share
Published by
Bhagyashree R

Recent Posts

Top life hacks for prepping for your IT certification exam

I remember deciding to pursue my first IT certification, the CompTIA A+. I had signed…

3 years ago

Learn Transformers for Natural Language Processing with Denis Rothman

Key takeaways The transformer architecture has proved to be revolutionary in outperforming the classical RNN…

3 years ago

Learning Essential Linux Commands for Navigating the Shell Effectively

Once we learn how to deploy an Ubuntu server, how to manage users, and how…

3 years ago

Clean Coding in Python with Mariano Anaya

Key-takeaways:   Clean code isn’t just a nice thing to have or a luxury in software projects; it's a necessity. If we…

3 years ago

Exploring Forms in Angular – types, benefits and differences   

While developing a web application, or setting dynamic pages and meta tags we need to deal with…

3 years ago

Gain Practical Expertise with the Latest Edition of Software Architecture with C# 9 and .NET 5

Software architecture is one of the most discussed topics in the software industry today, and…

3 years ago