Skip to content

build(deps): bump @angular/core from 16.2.12 to 19.2.18#506

Open
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/npm_and_yarn/angular/core-19.2.18
Open

build(deps): bump @angular/core from 16.2.12 to 19.2.18#506
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/npm_and_yarn/angular/core-19.2.18

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jan 9, 2026

Bumps @angular/core from 16.2.12 to 19.2.18.

Release notes

Sourced from @​angular/core's releases.

19.2.18

core

Commit Description
fix - 26cdc53d9c sanitize sensitive attributes on SVG script elements

19.2.17

compiler

Commit Description
fix - 7c42e2ebeb prevent XSS via SVG animation attributeName and MathML/SVG URLs

19.2.16

http

Commit Description
fix - 05fe6686a9 prevent XSRF token leakage to protocol-relative URLs

19.2.15

core

Commit Description
fix - 70d0639bc1 introduce BootstrapContext for improved server bootstrapping (#63639)

Breaking Changes

core

  • The server-side bootstrapping process has been changed to eliminate the reliance on a global platform injector.

    Before:

    const bootstrap = () => bootstrapApplication(AppComponent, config);

    After:

    const bootstrap = (context: BootstrapContext) =>
      bootstrapApplication(AppComponent, config, context);

    A schematic is provided to automatically update main.server.ts files to pass the BootstrapContext to the bootstrapApplication call.

    In addition, getPlatform() and destroyPlatform() will now return null and be a no-op respectively when running in a server environment.

For more information please see: GHSA-68x2-mx4q-78m7

19.2.14

compiler

Commit Description
fix - 24bab55f0c lexer support for template literals in object literals (#61601)

... (truncated)

Changelog

Sourced from @​angular/core's changelog.

19.2.18 (2026-01-07)

core

Commit Type Description
26cdc53d9c fix sanitize sensitive attributes on SVG script elements

21.0.7 (2026-01-07)

compiler

Commit Type Description
8e808740c9 fix better types for a few expression AST nodes
63b1cdcf70 fix produce accurate span for typeof and void expressions
3c3ae0cb64 fix provide location information for literal map keys
523dbaf1c3 fix stop ThisReceiver inheritance from ImplicitReceiver

compiler-cli

Commit Type Description
4d9c4567ed fix ensure component import diagnostics are reported within the imports expression
cd405685af fix fix up spelling of diagnostic
778460fcca fix support qualified names in typeof type references

core

Commit Type Description
7c74674eb0 fix avoid leaking view data in animations
0edbee4550 fix explicitly cast signal node value to String
f9c29572d2 fix sanitize sensitive attributes on SVG script elements

forms

Commit Type Description
e3fba182f9 feat add [formField] directive
561772b152 fix allow custom controls to require dirty input
f0fb1d8581 fix allow custom controls to require hidden input
ec110f170b fix allow custom controls to require pending input
ae1dc16bb0 fix clean up abort listener after timeout
9748b0d5da fix support custom controls with non signal-based models
6bd22df987 fix Support readonly arrays in signal forms

router

Commit Type Description
41cd4a6af8 fix Fix RouterLink href not updating with queryParamsHandling
5e9e09aee0 fix handle errors from view transition updateCallbackDone promise

21.1.0-next.4 (2025-12-17)

Breaking Changes

... (truncated)

Commits
  • 26cdc53 fix(core): sanitize sensitive attributes on SVG script elements
  • 7c42e2e fix(compiler): prevent XSS via SVG animation attributeName and MathML/SVG URLs
  • 70d0639 fix(core): introduce BootstrapContext for improved server bootstrapping (#6...
  • 73d3e00 build: fix failing test (#61683)
  • 9e1cd49 fix(migrations): preserve comments when removing unused imports (#61674)
  • a6d5479 build: migrate platform-server to rules_js (#61619)
  • 2a26944 build: migrate platform-browser and platform-browser-dynamic package to use r...
  • 2ae69f7 refactor: ensure tsurge migrations have clear ownership of files (#61612)
  • c101a3a refactor: clean-up deduplication workaround from migrations (#61421) (#61612)
  • 1a811c9 refactor: ensure tsurge migrations have clear ownership of files (#61421) (#6...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Summary by cubic

Upgrade @angular/core from 16.2.12 to 19.2.18 for security hardening (SVG sanitization) and recent fixes. This alone will not run; the app needs a full Angular 19 upgrade.

  • Dependencies

    • Bumped @angular/core to 19.2.18 and updated yarn.lock.
  • Migration

    • Upgrade all @angular/* packages (and CLI) to 19.x (e.g., ng update @angular/core@19 @angular/cli@19).
    • If using SSR, pass BootstrapContext to bootstrapApplication in main.server.ts.
    • Verify peer deps (TypeScript, RxJS, Zone.js) meet Angular 19 requirements.

Written for commit e844e94. Summary will update on new commits.

Bumps [@angular/core](https://github.com/angular/angular/tree/HEAD/packages/core) from 16.2.12 to 19.2.18.
- [Release notes](https://github.com/angular/angular/releases)
- [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md)
- [Commits](https://github.com/angular/angular/commits/v19.2.18/packages/core)

---
updated-dependencies:
- dependency-name: "@angular/core"
  dependency-version: 19.2.18
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jan 9, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
traduora-docs-co Error Error Jan 9, 2026 6:57pm

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jan 9, 2026

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@cla-assistant
Copy link
Copy Markdown

cla-assistant Bot commented Jan 9, 2026

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

2 similar comments
@cla-assistant
Copy link
Copy Markdown

cla-assistant Bot commented Jan 9, 2026

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@cla-assistant
Copy link
Copy Markdown

cla-assistant Bot commented Jan 9, 2026

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jan 9, 2026

@socket-security
Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn Critical
Critical CVE: Prototype Pollution in npm minimist

CVE: GHSA-xvch-5gv4-984h Prototype Pollution in minimist (CRITICAL)

Affected versions: >= 1.0.0 < 1.2.6; < 0.2.4

Patched version: 1.2.6

From: ?npm/cz-conventional-changelog@3.3.0npm/minimist@1.2.5

ℹ Read more on: This package | This alert | What is a critical CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/minimist@1.2.5. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Greptile Overview

Greptile Summary

This PR attempts to upgrade @angular/core from v16.2.12 to v19.2.18, which is a major version jump spanning 3 major releases (16 → 17 → 18 → 19). However, the upgrade only updates the core package while leaving all other Angular packages at v16, creating a critical incompatibility.

Critical Issues:

  • Only @angular/core was upgraded to v19, while all other Angular packages remain at v16
  • All Angular packages must use matching major versions to function correctly
  • The Angular CLI, compiler, and build tools remain at v16 and are incompatible with v19
  • Third-party Angular libraries like @ng-bootstrap/ng-bootstrap and @ngxs/store are designed for older Angular versions

Why This Fails:
Angular is a tightly coupled framework where all packages share internal APIs and must be on the same major version. Mixing v19 core with v16 compiler, platform-browser, router, etc. will cause immediate build failures due to incompatible peer dependencies and breaking changes across the version gap.

Required Actions:
All Angular packages must be upgraded together, including runtime packages, compiler, CLI, dev tools, and third-party Angular libraries. This requires a comprehensive migration plan, not a single package update.

Confidence Score: 0/5

  • This PR will cause immediate build failures and cannot be merged
  • The partial Angular upgrade creates a catastrophic version mismatch. Angular requires all packages to be on the same major version - upgrading only @angular/core to v19 while leaving @angular/common, @angular/compiler, @angular/platform-browser, @angular/router, and all other Angular packages at v16 violates this requirement. The build will fail immediately due to incompatible peer dependencies, breaking changes in internal APIs between v16 and v19, and the v16 Angular CLI being unable to compile v19 code.
  • webapp/package.json requires all Angular packages to be upgraded to v19 together, along with CLI tools and third-party Angular libraries

Important Files Changed

File Analysis

Filename Score Overview
webapp/package.json 0/5 Only @angular/core upgraded to v19, creating a critical version mismatch with all other Angular packages at v16
yarn.lock 0/5 Lock file updated @angular/core to 19.2.18 while all peer dependencies remain at v16, causing incompatibility

Sequence Diagram

sequenceDiagram
    participant Dev as Developer
    participant Dep as Dependabot
    participant Pkg as package.json
    participant Build as Build System
    participant Angular as Angular Framework

    Dep->>Pkg: Update @angular/core 16→19
    Note over Pkg: Only core updated<br/>All other packages at v16
    
    Dev->>Build: yarn install
    Build->>Angular: Check peer dependencies
    Angular-->>Build: ERROR: Version mismatch
    Note over Angular: @angular/core v19 requires<br/>@angular/common v19<br/>@angular/compiler v19<br/>@angular/platform-browser v19<br/>etc.
    
    Dev->>Build: yarn build
    Build->>Angular: Compile with @angular/cli v16
    Angular-->>Build: ERROR: CLI v16 incompatible with core v19
    Note over Build: Build fails due to<br/>incompatible tooling<br/>and missing APIs
Loading

Comment thread webapp/package.json
"@angular/common": "^16.2.12",
"@angular/compiler": "^16.2.12",
"@angular/core": "^16.2.12",
"@angular/core": "^19.2.18",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[P0] Angular packages must use matching major versions. Upgrading only @angular/core to v19 while leaving all other Angular packages at v16 will cause immediate build failures. All Angular packages (@angular/animations, @angular/common, @angular/compiler, @angular/forms, @angular/localize, @angular/platform-browser, @angular/platform-browser-dynamic, @angular/router, @angular/compiler-cli, and devDependencies like @angular/cli, @angular-devkit/build-angular) must be upgraded to v19 together.

Prompt To Fix With AI
This is a comment left during a code review.
Path: webapp/package.json
Line: 34:34

Comment:
[P0] Angular packages must use matching major versions. Upgrading only `@angular/core` to v19 while leaving all other Angular packages at v16 will cause immediate build failures. All Angular packages (`@angular/animations`, `@angular/common`, `@angular/compiler`, `@angular/forms`, `@angular/localize`, `@angular/platform-browser`, `@angular/platform-browser-dynamic`, `@angular/router`, `@angular/compiler-cli`, and devDependencies like `@angular/cli`, `@angular-devkit/build-angular`) must be upgraded to v19 together.

How can I resolve this? If you propose a fix, please make it concise.

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Jan 9, 2026

Additional Comments (3)

webapp/package.json
[P0] Angular CLI and build tools at v16 are incompatible with Angular v19. The @angular/cli (v16.2.16), @angular-devkit/build-angular (v16.2.16), and @angular/compiler-cli (v16.2.12) must all be upgraded to v19 to match the core package version, otherwise the build will fail.

Prompt To Fix With AI
This is a comment left during a code review.
Path: webapp/package.json
Line: 60:67

Comment:
[P0] Angular CLI and build tools at v16 are incompatible with Angular v19. The `@angular/cli` (v16.2.16), `@angular-devkit/build-angular` (v16.2.16), and `@angular/compiler-cli` (v16.2.12) must all be upgraded to v19 to match the core package version, otherwise the build will fail.

How can I resolve this? If you propose a fix, please make it concise.

webapp/package.json
[P1] The Angular v19 upgrade requires compatible versions of peer dependencies. RxJS v7.8.1 is compatible with Angular v19, but zone.js should be verified for v19 compatibility (v0.13.3 may need updating to v0.14.x or v0.15.x). Additionally, TypeScript 4.9.5 may be too old for Angular v19, which typically requires TypeScript 5.x.

Prompt To Fix With AI
This is a comment left during a code review.
Path: webapp/package.json
Line: 54:57

Comment:
[P1] The Angular v19 upgrade requires compatible versions of peer dependencies. RxJS v7.8.1 is compatible with Angular v19, but `zone.js` should be verified for v19 compatibility (v0.13.3 may need updating to v0.14.x or v0.15.x). Additionally, TypeScript 4.9.5 may be too old for Angular v19, which typically requires TypeScript 5.x.

How can I resolve this? If you propose a fix, please make it concise.

webapp/package.json
[P1] Third-party Angular packages may be incompatible. @ng-bootstrap/ng-bootstrap v15.1.2 is designed for Angular v15-16 and may not work with Angular v19. The @ngxs/store v3.8.2 and related NGXS plugins are very outdated (current is v18.x) and will likely have compatibility issues with Angular v19.

Prompt To Fix With AI
This is a comment left during a code review.
Path: webapp/package.json
Line: 40:43

Comment:
[P1] Third-party Angular packages may be incompatible. `@ng-bootstrap/ng-bootstrap` v15.1.2 is designed for Angular v15-16 and may not work with Angular v19. The `@ngxs/store` v3.8.2 and related NGXS plugins are very outdated (current is v18.x) and will likely have compatibility issues with Angular v19.

How can I resolve this? If you propose a fix, please make it concise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants