Sourcemap Explorer
Stack · npm package

@angular/core

Angular - the core framework

latest 22.1.0· MIT· 1,088 versions publishedView on npm

About

Angular - the core framework

What detecting @angular/core tells you about a site

@angular/core is the heart of an Angular application — a full, opinionated framework rather than a library, so its presence tells you the site ships a complete Angular toolchain: dependency injection, RxJS-driven data flow, the Angular router and a CLI-managed build. Angular apps look and behave differently from React/Vue SPAs, and the bundle structure reflects that.

Why the exact @angular/core version matters

Angular ships a major version roughly every six months with a documented support window, so the exact version directly tells you the support status. Modern Angular (15+) introduced standalone components and signals (16+), a major shift away from NgModules. Reading the bundled @angular/core version tells you whether you're looking at a current signals-based app or a legacy NgModule codebase well past its support window.

@angular/core in a real-world stack

When you find @angular/core in a bundle, it rarely travels alone. rxjs (always), zone.js, and the rest of the @angular/* scoped packages (common, router, forms) at the same version.

Quick facts

Latest version22.1.0
LicenseMIT
Authorangular
Installnpm install @angular/core
Direct dependencies1
Peer dependenciesrxjs, zone.js, @angular/compiler

This package powers Angular

The @angular/core package is the canonical implementation of Angular. Sourcemap Explorer uses this exact npm package as the framework-level fingerprint when it flags Angular on a page — both via the bundled node_modules/@angular/core/ source paths and via the embedded package.json inside the JavaScript sourcemap.

Common pairings

Packages this one expects to find in the same project. Each is also a Sourcemap Explorer detection target.

rxjszone.js@angular/compiler

What @angular/core pulls in

@angular/core declares 1 direct dependency — each one also rides into any bundle that ships @angular/core, so they are detection targets too. Reading them is a quick way to understand the package's real footprint .

tslib

How Sourcemap Explorer detects @angular/core

@angular/core ships as v22.1.0, published 2026-07-29 and carries 1 direct dependency, 3 peer dependencies (rxjs, zone.js, @angular/compiler), 1,088 versions on the registry. Those exact numbers are the footprint Sourcemap Explorer matches when @angular/core rides inside a deployed bundle — here is how the detection works.

We catch @angular/core from two complementary signals: bundled source paths and the embedded package.json. Modern bundlers (webpack, Vite, esbuild, Rollup, Turbopack) preserve the original node_modules/@angular/core/ paths inside the JavaScript sourcemap's sources[] array — that's the canonical signal. When the matching package.json is also captured in sourcesContent[], we read the exact version field — patch number included. No regex guessing, no version inference.

  1. 1

    Confirm the site exposes sourcemaps

    In DevTools Network, check the response headers of any application script for `SourceMap` or `X-SourceMap`. Failing that, fetch the script's last 4 KB and look for a `//# sourceMappingURL=` comment — that map is where the `@angular/core` paths live.

  2. 2

    Find the package in the bundle

    Open DevTools → Network → reload. Click any application script and look at its sourcemap. Inside, search `sources[]` for entries matching `node_modules/@angular/core/` — every match confirms the package is bundled. The matching `sourcesContent[i]` for `node_modules/@angular/core/package.json` gives you the exact installed version.

  3. 3

    Read the version directly from package.json

    Run `jq -r '. as $m | $m.sources | to_entries[] | select(.value | endswith("node_modules/@angular/core/package.json")) | $m.sourcesContent[.key] | fromjson | .version' bundle.js.map`. Sourcemap Explorer automates the same query in the popup.

Major releases of @angular/core

When each major version first landed. Major bumps are where breaking changes live, so this timeline is the fastest way to date the @angular/core version a site actually ships against the ecosystem.

Major
First release
Date
v22
22.0.0
2026-06-03
v21
21.0.0
2025-11-19
v20
20.0.0
2025-05-28
v19
19.0.0
2024-11-19
v18
18.0.0
2024-05-22
v17
17.0.0
2023-11-08

Recent security advisories for @angular/core

The 5 most recent advisories affecting some versions of @angular/core, aggregated from OSV.dev (GitHub Advisory + CVE data). A listing here doesn't mean the version a given site ships is affected — each advisory applies to a specific version range. Sourcemap Explorer reads the exact bundled version so you can check it against these ranges.

  1. HIGHCVE-2026-69151· 2026-08-03

    Angular i18n: Cross-Site Scripting (XSS) via event-handler attributes

  2. MODERATECVE-2026-50557· 2026-06-15

    Angular: Template and Attribute Namespace Sanitization Bypass (XSS)

  3. MODERATECVE-2026-52725· 2026-06-15

    @angular/core: Angular Template and Dynamic Component Namespace Bypass leading to Cross-Site Scripting (XSS)

  4. HIGHCVE-2026-54267· 2026-06-15

    Angular Client Hydration DOM Clobbering & Response-Cache Poisoning

  5. HIGHCVE-2026-32635· 2026-03-13

    Angular vulnerable to XSS in i18n attribute bindings

Recent versions

Version
Released
22.1.0
2026-07-29
22.0.8
2026-07-22
22.0.7
2026-07-16
22.0.6
2026-07-08
22.0.5
2026-07-01
22.0.4
2026-06-26
22.0.3
2026-06-25
22.0.2
2026-06-17

@angular/core README

Live mirror of the GitHub README, for reference. Updated whenever the repo's default branch changes.

Angular - The modern web developer's platform

angular-logo
Angular is a development platform for building mobile and desktop web applications
using TypeScript/JavaScript and other languages.

angular.dev

Contributing Guidelines · Submit an Issue · Blog

Angular on npm


Documentation

Get started with Angular, learn the fundamentals and explore advanced topics on our documentation website.

Advanced

Local Development

To contribute to the Angular Docs, check out the Angular.dev README

Development Setup

Prerequisites

Setting Up a Project

Install the Angular CLI globally:

npm install -g @angular/cli

Create a workspace:

ng new [PROJECT NAME]

Run the application:

cd [PROJECT NAME]
ng serve

Angular is cross-platform, fast, scalable, has incredible tooling, and is loved by millions.

Quickstart

Get started in 5 minutes.

Ecosystem

angular ecosystem logos

Changelog

Learn about the latest improvements.

Upgrading

Check out our upgrade guide to find out the best way to upgrade your project.

Contributing

Contributing Guidelines

Read through our contributing guidelines to learn about our submission process, coding rules, and more.

Want to Help?

Want to report a bug, contribute some code, or improve the documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues labeled as help wanted or good first issue.

Code of Conduct

Help us keep Angular open and inclusive. Please read and follow our Code of Conduct.

Community

Join the conversation and help the community.

Love Angular badge

Love Angular? Give our repo a star :star: :arrow_up:.

FAQ

What is @angular/core used for?

Angular - the core framework

How can I tell if a website is using @angular/core?

Open the page in Chrome with the Sourcemap Explorer extension installed and read the Stack tab. We catch `@angular/core` from two complementary signals: `node_modules/@angular/core/` paths inside the JavaScript sourcemap, and the embedded `package.json` we read for exact-version detection. Without the extension you can do the same lookup manually in DevTools — the steps are listed in the "How Sourcemap Explorer detects" section above.

How do I find out which version of @angular/core a website is running?

Read it straight from the site's JavaScript sourcemap. When a build ships source maps, the bundled `@angular/core/package.json` carries the exact `version` string — Sourcemap Explorer extracts it in one click on the Stack tab, and you can do it by hand in DevTools by opening the `.map` file and searching for `node_modules/@angular/core/package.json`. That is far more reliable than inferring the version from an asset-hash or a `?ver=` query string, which is all surface-level detectors have to go on. The current npm release is 22.1.0, but real deployments frequently run an older pinned version — which is exactly why reading the bundled number matters.

What is the latest version of @angular/core?

22.1.0, as published on the npm registry. The "Recent versions" table on this page lists the most recent 8 releases with their release dates. Sourcemap Explorer reports the version actually bundled into a site, which can lag the latest release by months on real-world deployments.

Is @angular/core actively maintained?

Very actively maintained — the last release shipped within the past three months. The last published release was 2026-07-29. Source code: https://github.com/angular/angular.

What is the relationship between @angular/core and Angular?

@angular/core is the canonical npm package for Angular. Sourcemap Explorer treats finding `@angular/core` in a bundle as the framework-level signal that Angular is on the page, and the page you're reading is the canonical Sourcemap Explorer entry for the package itself.

Does @angular/core have known security vulnerabilities?

5 recent advisories affecting some versions of @angular/core are listed in the "Recent security advisories" section above, aggregated from OSV.dev (GitHub Advisory + CVE data). Whether a particular site is exposed depends entirely on the exact version it ships — each advisory applies to a specific version range, not to the package as a whole. That is why the precise bundled version matters: Sourcemap Explorer reads the version a site actually runs, so you can check it against the affected ranges instead of assuming the latest release is what's deployed.

Where can I read more?

Project homepage: https://github.com/angular/angular#readme. Source code: https://github.com/angular/angular. Published on npm: https://www.npmjs.com/package/@angular/core. Licensed as MIT.

Detected by Sourcemap Explorer

When a bundle ships sourcemaps, we read the embedded package.json for @angular/core and report the precise version (the registry's latest is v22.1.0, published 2026-07-29; the bundled copy is often older). Without sourcemaps, an import / require in the page's scripts is enough to flag it.

Install free on Chrome