[Snyk] Security upgrade @angular/cli from 10.2.4 to 12.0.0 #56
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.
Changes included in this PR
Vulnerabilities that will be fixed
With an upgrade:
Why? Proof of Concept exploit, Has a fix available, CVSS 7.5
SNYK-JS-SEMVER-3247795
(*) Note that the real score may have changed since the PR was raised.
Release notes
Package name: @angular/cli
Commits
@ angular/cli (12.0.0-rc.3)
Special Thanks
Alan Agius, Charles Lyding, Joey Perrott
Commits
@ angular-devkit/build-angular (12.0.0-rc.2)
@ angular/cli (12.0.0-rc.2)
@ ngtools/webpack (12.0.0-rc.2)
@ schematics/angular (12.0.0-rc.2)
Special Thanks
Alan Agius, Charles Lyding, Keen Yee Liau, Sam Bulatov, Doug Parker
Commits
@ angular-devkit/build-angular (12.0.0-rc.1)
@ angular-devkit/core (12.0.0-rc.1)
@ angular/cli (12.0.0-rc.1)
@ schematics/angular (12.0.0-rc.1)
@ angular-devkit/schematics-cli (12.0.0-rc.1)
Special Thanks
Alan Agius, Charles Lyding, Joey Perrott, Cédric Exbrayat, Doug Parker, Joshua Chapman, Billy Lando, Santosh Yadav, mzocateli
Commits
@ angular-devkit/build-angular (12.0.0-rc.0)
@ angular/cli (12.0.0-rc.0)
@ ngtools/webpack (12.0.0-rc.0)
@ schematics/angular (12.0.0-rc.0)
Breaking Changes
@ schematics/angular: remove `stylus` from `style` options (fd729ac)
`styl` (Stylus) is no longer a supported value as `style` in `application`, `component`, `ng-new` schematics. Stylus is not actively maintained and only 0.3% of the Angular CLI users use it.(cherry picked from commit 0272fc5)
@ angular-devkit/build-angular: change several builder options defaults (656f8d7)
A number of browser and server builder options have had their default values changed. The aim of these changes is to reduce the configuration complexity and support the new "production builds by default" initiative.Browser builder
Server builder
(cherry picked from commit 0a74d0d)
Special Thanks
Alan Agius, Charles Lyding, Keen Yee Liau, Joey Perrott, David Shevitz
Commits
@ angular-devkit/build-angular (12.0.0-next.9)
@ angular-devkit/build-webpack (0.1200.0-next.9)
@ angular-devkit/core (12.0.0-next.9)
@ angular/cli (12.0.0-next.9)
@ ngtools/webpack (12.0.0-next.9)
@ schematics/angular (12.0.0-next.9)
Breaking Changes
@ angular-devkit/core: update schema validator (0875313)
support for JSON Schema draft-04 and draft-06 is removed. If you have schemas using the `id` keyword replace them with `$id`. For an interim period we will auto rename any top level `id` keyword to `$id`.NB: This change only effects schematics and builders authors.
@ angular-devkit/build-angular: upgrade to Webpack 5 throughout the build system (d883ce5)
Webpack 5 generates similar but differently named files for lazy loaded JavaScript files in development configurations (when the `namedChunks` option is enabled). For the majority of users this change should have no effect on the application and/or build process. Production builds should also not be affected as the `namedChunks` option is disabled by default in production configurations. However, if a project's post-build process makes assumptions as to the file names then adjustments may need to be made to account for the new naming paradigm. Such post-build processes could include custom file transformations after the build, integration into service-side frameworks, or deployment procedures. Example development file name change: `lazy-lazy-module.js` --> `src_app_lazy_lazy_module_ts.js`@ angular-devkit/build-angular: upgrade to Webpack 5 throughout the build system (d883ce5)
Webpack 5 now includes web worker support. However, the structure of the URL within the `Worker` constructor must be in a specific format that differs from the current requirement. Web worker usage should be updated as shown below (where `./app.worker` should be replaced with the actual worker name):Before:
After:
Special Thanks
Alan Agius, Charles Lyding, Keen Yee Liau, Doug Parker, Douglas Parker
Commits
@ angular-devkit/build-angular (0.1200.0-next.8)
@ ngtools/webpack (12.0.0-next.8)
@ schematics/angular (12.0.0-next.8)
Breaking Changes
@ ngtools/webpack: remove Webpack plugin for deprecated ViewEngine compiler (160102a)
Removal of View Engine support from application builds With the removal of the deprecated View Engine compiler in Angular version 12 for applications, the View Engine Webpack plugin has been removed. The Ivy-based Webpack plugin is the default used within the Angular CLI. If using a custom standalone Webpack configuration, the removed `AngularCompilerPlugin` should be replaced with the Ivy-based `AngularWebpackPlugin`.@ angular-devkit/build-angular: remove deprecated i18n options from server and browser builder (5cf9a08)
Removal of deprecated browser and server command options. - `i18nFile`, use `locales` object in the project metadata instead. - `i18nFormat`, No longer needed as the format will be determined automatically. - `i18nLocale`, use `localize` option instead.@ angular-devkit/build-angular: remove deprecated i18nLocale and i18nFormat options from i18n-extract (eca5a01)
Removal of deprecated `extract-i18n` command options The deprecated `i18nLocale` option has been removed and the `i18n.sourceLocale` within a project's configuration should be used instead. The deprecated `i18nFormat` option has been removed and the `format` option should be used instead.Special Thanks
Charles Lyding, Renovate Bot, Alan Agius, Doug Parker, Joey Perrott
Commits
@ angular-devkit/build-angular (0.1102.12)
Special Thanks
Keen Yee Liau, Alan Agius, Doug Parker
Commits
@ angular-devkit/build-angular (0.1102.11)
@ schematics/angular (11.2.11)
@ angular-devkit/schematics-cli (0.1102.11)
Special Thanks
Joey Perrott, Charles Lyding, Alan Agius, Doug Parker, Billy Lando, mzocateli
Commits
@ angular-devkit/build-angular (0.1102.10)
@ ngtools/webpack (11.2.10)
Special Thanks
Charles Lyding, Joey Perrott, Alan Agius, Keen Yee Liau
No user-facing changes
Check the changes in this PR to ensure they won't cause issues with your project.
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Regular Expression Denial of Service (ReDoS)