@angular/common 19.2.5 → 19.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/{common_module.d-Qx8B6pmN.d.ts → common_module.d-C8_X2MOZ.d.ts} +4 -4
  2. package/fesm2022/common.mjs +31 -31
  3. package/fesm2022/common.mjs.map +1 -1
  4. package/fesm2022/{common_module-D8YipLWl.mjs → common_module-CBrzkrmd.mjs} +89 -89
  5. package/fesm2022/{common_module-D8YipLWl.mjs.map → common_module-CBrzkrmd.mjs.map} +1 -1
  6. package/fesm2022/{dom_tokens-CNpAxedO.mjs → dom_tokens-rA0ACyx7.mjs} +3 -3
  7. package/fesm2022/{dom_tokens-CNpAxedO.mjs.map → dom_tokens-rA0ACyx7.mjs.map} +1 -1
  8. package/fesm2022/http/testing.mjs +11 -11
  9. package/fesm2022/http.mjs +13 -7
  10. package/fesm2022/http.mjs.map +1 -1
  11. package/fesm2022/{location-CprIx2Bv.mjs → location-DpBxd_aX.mjs} +19 -19
  12. package/fesm2022/{location-CprIx2Bv.mjs.map → location-DpBxd_aX.mjs.map} +1 -1
  13. package/fesm2022/{module-Bnny_XF2.mjs → module-BHk9jdTn.mjs} +41 -41
  14. package/fesm2022/{module-Bnny_XF2.mjs.map → module-BHk9jdTn.mjs.map} +1 -1
  15. package/fesm2022/{platform_navigation-2iCIwKiv.mjs → platform_navigation-B45Jeakb.mjs} +6 -6
  16. package/fesm2022/{platform_navigation-2iCIwKiv.mjs.map → platform_navigation-B45Jeakb.mjs.map} +1 -1
  17. package/fesm2022/testing.mjs +16 -16
  18. package/fesm2022/upgrade.mjs +8 -8
  19. package/fesm2022/{xhr-BdgfMvBr.mjs → xhr-BfNfxNDv.mjs} +3 -3
  20. package/fesm2022/{xhr-BdgfMvBr.mjs.map → xhr-BfNfxNDv.mjs.map} +1 -1
  21. package/http/index.d.ts +4 -4
  22. package/http/testing/index.d.ts +2 -2
  23. package/index.d.ts +6 -6
  24. package/{module.d-BJA_GXII.d.ts → module.d-CnjH8Dlt.d.ts} +3 -3
  25. package/package.json +2 -2
  26. package/{platform_location.d-BWJDgVlg.d.ts → platform_location.d-Lbv6Ueec.d.ts} +3 -3
  27. package/testing/index.d.ts +2 -2
  28. package/upgrade/index.d.ts +3 -3
  29. package/{xhr.d-Bbgj1reV.d.ts → xhr.d-D_1kTQR5.d.ts} +2 -2
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.2.5
2
+ * @license Angular v19.2.7
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -12,13 +12,13 @@ import { Injectable } from '@angular/core';
12
12
  * implementations.
13
13
  */
14
14
  class PlatformNavigation {
15
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: PlatformNavigation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: PlatformNavigation, providedIn: 'platform', useFactory: () => window.navigation });
15
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: PlatformNavigation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: PlatformNavigation, providedIn: 'platform', useFactory: () => window.navigation });
17
17
  }
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: PlatformNavigation, decorators: [{
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: PlatformNavigation, decorators: [{
19
19
  type: Injectable,
20
20
  args: [{ providedIn: 'platform', useFactory: () => window.navigation }]
21
21
  }] });
22
22
 
23
- export { PlatformNavigation as P };
24
- //# sourceMappingURL=platform_navigation-2iCIwKiv.mjs.map
23
+ export { PlatformNavigation };
24
+ //# sourceMappingURL=platform_navigation-B45Jeakb.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"platform_navigation-2iCIwKiv.mjs","sources":["../../../../../../packages/common/src/navigation/platform_navigation.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {\n Injectable,\n ɵNavigateEvent as NavigateEvent,\n ɵNavigation as Navigation,\n ɵNavigationCurrentEntryChangeEvent as NavigationCurrentEntryChangeEvent,\n ɵNavigationHistoryEntry as NavigationHistoryEntry,\n ɵNavigationNavigateOptions as NavigationNavigateOptions,\n ɵNavigationOptions as NavigationOptions,\n ɵNavigationReloadOptions as NavigationReloadOptions,\n ɵNavigationResult as NavigationResult,\n ɵNavigationTransition as NavigationTransition,\n ɵNavigationUpdateCurrentEntryOptions as NavigationUpdateCurrentEntryOptions,\n} from '@angular/core';\n\n/**\n * This class wraps the platform Navigation API which allows server-specific and test\n * implementations.\n */\n@Injectable({providedIn: 'platform', useFactory: () => (window as any).navigation})\nexport abstract class PlatformNavigation implements Navigation {\n abstract entries(): NavigationHistoryEntry[];\n abstract currentEntry: NavigationHistoryEntry | null;\n abstract updateCurrentEntry(options: NavigationUpdateCurrentEntryOptions): void;\n abstract transition: NavigationTransition | null;\n abstract canGoBack: boolean;\n abstract canGoForward: boolean;\n abstract navigate(url: string, options?: NavigationNavigateOptions | undefined): NavigationResult;\n abstract reload(options?: NavigationReloadOptions | undefined): NavigationResult;\n abstract traverseTo(key: string, options?: NavigationOptions | undefined): NavigationResult;\n abstract back(options?: NavigationOptions | undefined): NavigationResult;\n abstract forward(options?: NavigationOptions | undefined): NavigationResult;\n abstract onnavigate: ((this: Navigation, ev: NavigateEvent) => any) | null;\n abstract onnavigatesuccess: ((this: Navigation, ev: Event) => any) | null;\n abstract onnavigateerror: ((this: Navigation, ev: ErrorEvent) => any) | null;\n abstract oncurrententrychange:\n | ((this: Navigation, ev: NavigationCurrentEntryChangeEvent) => any)\n | null;\n abstract addEventListener(type: unknown, listener: unknown, options?: unknown): void;\n abstract removeEventListener(type: unknown, listener: unknown, options?: unknown): void;\n abstract dispatchEvent(event: Event): boolean;\n}\n"],"names":[],"mappings":";;;;;;;;;AAsBA;;;AAGG;MAEmB,kBAAkB,CAAA;kHAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;sHAAlB,kBAAkB,EAAA,UAAA,EADf,UAAU,EAAc,UAAA,EAAA,MAAO,MAAc,CAAC,UAAU,EAAA,CAAA;;sGAC3D,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBADvC,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA,EAAC,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,MAAO,MAAc,CAAC,UAAU,EAAC;;;;;"}
1
+ {"version":3,"file":"platform_navigation-B45Jeakb.mjs","sources":["../../../../../../packages/common/src/navigation/platform_navigation.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {\n Injectable,\n ɵNavigateEvent as NavigateEvent,\n ɵNavigation as Navigation,\n ɵNavigationCurrentEntryChangeEvent as NavigationCurrentEntryChangeEvent,\n ɵNavigationHistoryEntry as NavigationHistoryEntry,\n ɵNavigationNavigateOptions as NavigationNavigateOptions,\n ɵNavigationOptions as NavigationOptions,\n ɵNavigationReloadOptions as NavigationReloadOptions,\n ɵNavigationResult as NavigationResult,\n ɵNavigationTransition as NavigationTransition,\n ɵNavigationUpdateCurrentEntryOptions as NavigationUpdateCurrentEntryOptions,\n} from '@angular/core';\n\n/**\n * This class wraps the platform Navigation API which allows server-specific and test\n * implementations.\n */\n@Injectable({providedIn: 'platform', useFactory: () => (window as any).navigation})\nexport abstract class PlatformNavigation implements Navigation {\n abstract entries(): NavigationHistoryEntry[];\n abstract currentEntry: NavigationHistoryEntry | null;\n abstract updateCurrentEntry(options: NavigationUpdateCurrentEntryOptions): void;\n abstract transition: NavigationTransition | null;\n abstract canGoBack: boolean;\n abstract canGoForward: boolean;\n abstract navigate(url: string, options?: NavigationNavigateOptions | undefined): NavigationResult;\n abstract reload(options?: NavigationReloadOptions | undefined): NavigationResult;\n abstract traverseTo(key: string, options?: NavigationOptions | undefined): NavigationResult;\n abstract back(options?: NavigationOptions | undefined): NavigationResult;\n abstract forward(options?: NavigationOptions | undefined): NavigationResult;\n abstract onnavigate: ((this: Navigation, ev: NavigateEvent) => any) | null;\n abstract onnavigatesuccess: ((this: Navigation, ev: Event) => any) | null;\n abstract onnavigateerror: ((this: Navigation, ev: ErrorEvent) => any) | null;\n abstract oncurrententrychange:\n | ((this: Navigation, ev: NavigationCurrentEntryChangeEvent) => any)\n | null;\n abstract addEventListener(type: unknown, listener: unknown, options?: unknown): void;\n abstract removeEventListener(type: unknown, listener: unknown, options?: unknown): void;\n abstract dispatchEvent(event: Event): boolean;\n}\n"],"names":[],"mappings":";;;;;;;;;AAsBA;;;AAGG;MAEmB,kBAAkB,CAAA;kHAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;sHAAlB,kBAAkB,EAAA,UAAA,EADf,UAAU,EAAc,UAAA,EAAA,MAAO,MAAc,CAAC,UAAU,EAAA,CAAA;;sGAC3D,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBADvC,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA,EAAC,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,MAAO,MAAc,CAAC,UAAU,EAAC;;;;;"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.2.5
2
+ * @license Angular v19.2.7
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -8,11 +8,11 @@ import { ɵnormalizeQueryParams as _normalizeQueryParams, LocationStrategy } fro
8
8
  import * as i0 from '@angular/core';
9
9
  import { InjectionToken, inject, Inject, Optional, Injectable } from '@angular/core';
10
10
  import { Subject } from 'rxjs';
11
- import { P as PlatformNavigation } from './platform_navigation-2iCIwKiv.mjs';
12
- import { D as DOCUMENT } from './dom_tokens-CNpAxedO.mjs';
11
+ import { PlatformNavigation } from './platform_navigation-B45Jeakb.mjs';
12
+ import { DOCUMENT } from './dom_tokens-rA0ACyx7.mjs';
13
13
  import { ɵFakeNavigation as _FakeNavigation } from '@angular/core/testing';
14
14
  export { ɵFakeNavigation } from '@angular/core/testing';
15
- import { c as PlatformLocation, L as Location, a as LocationStrategy$1 } from './location-CprIx2Bv.mjs';
15
+ import { PlatformLocation, Location, LocationStrategy as LocationStrategy$1 } from './location-DpBxd_aX.mjs';
16
16
 
17
17
  /**
18
18
  * Parser from https://tools.ietf.org/html/rfc3986#appendix-B
@@ -220,10 +220,10 @@ class MockPlatformLocation {
220
220
  });
221
221
  }
222
222
  }
223
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: MockPlatformLocation, deps: [{ token: MOCK_PLATFORM_LOCATION_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
224
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: MockPlatformLocation });
223
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: MockPlatformLocation, deps: [{ token: MOCK_PLATFORM_LOCATION_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
224
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: MockPlatformLocation });
225
225
  }
226
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: MockPlatformLocation, decorators: [{
226
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: MockPlatformLocation, decorators: [{
227
227
  type: Injectable
228
228
  }], ctorParameters: () => [{ type: undefined, decorators: [{
229
229
  type: Inject,
@@ -294,10 +294,10 @@ class FakeNavigationPlatformLocation {
294
294
  getState() {
295
295
  return this._platformNavigation.currentEntry.getHistoryState();
296
296
  }
297
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: FakeNavigationPlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
298
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: FakeNavigationPlatformLocation });
297
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: FakeNavigationPlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
298
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: FakeNavigationPlatformLocation });
299
299
  }
300
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: FakeNavigationPlatformLocation, decorators: [{
300
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: FakeNavigationPlatformLocation, decorators: [{
301
301
  type: Injectable
302
302
  }], ctorParameters: () => [] });
303
303
 
@@ -471,10 +471,10 @@ class SpyLocation {
471
471
  this._history.push(new LocationState(path, query, state));
472
472
  this._historyIndex = this._history.length - 1;
473
473
  }
474
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: SpyLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
475
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: SpyLocation });
474
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: SpyLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
475
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: SpyLocation });
476
476
  }
477
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: SpyLocation, decorators: [{
477
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: SpyLocation, decorators: [{
478
478
  type: Injectable
479
479
  }] });
480
480
  class LocationState {
@@ -556,10 +556,10 @@ class MockLocationStrategy extends LocationStrategy {
556
556
  getState() {
557
557
  return this.stateChanges[(this.stateChanges.length || 1) - 1];
558
558
  }
559
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: MockLocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
560
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: MockLocationStrategy });
559
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: MockLocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
560
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: MockLocationStrategy });
561
561
  }
562
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: MockLocationStrategy, decorators: [{
562
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: MockLocationStrategy, decorators: [{
563
563
  type: Injectable
564
564
  }], ctorParameters: () => [] });
565
565
  class _MockPopStateEvent {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.2.5
2
+ * @license Angular v19.2.7
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -8,9 +8,9 @@ import * as i0 from '@angular/core';
8
8
  import { ɵisPromise as _isPromise, InjectionToken, Inject, Optional, NgModule } from '@angular/core';
9
9
  import { ReplaySubject } from 'rxjs';
10
10
  import { UpgradeModule } from '@angular/upgrade/static';
11
- import { L as Location, c as PlatformLocation, a as LocationStrategy, A as APP_BASE_HREF, P as PathLocationStrategy } from './location-CprIx2Bv.mjs';
12
- import { D as CommonModule, a9 as HashLocationStrategy } from './common_module-D8YipLWl.mjs';
13
- import './dom_tokens-CNpAxedO.mjs';
11
+ import { Location, PlatformLocation, LocationStrategy, APP_BASE_HREF, PathLocationStrategy } from './location-DpBxd_aX.mjs';
12
+ import { CommonModule, HashLocationStrategy } from './common_module-CBrzkrmd.mjs';
13
+ import './dom_tokens-rA0ACyx7.mjs';
14
14
 
15
15
  function deepEqual(a, b) {
16
16
  if (a === b) {
@@ -865,11 +865,11 @@ class LocationUpgradeModule {
865
865
  ],
866
866
  };
867
867
  }
868
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: LocationUpgradeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
869
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.5", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] });
870
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] });
868
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: LocationUpgradeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
869
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.7", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] });
870
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] });
871
871
  }
872
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: LocationUpgradeModule, decorators: [{
872
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: LocationUpgradeModule, decorators: [{
873
873
  type: NgModule,
874
874
  args: [{ imports: [CommonModule] }]
875
875
  }] });
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.2.5
2
+ * @license Angular v19.2.7
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -41,5 +41,5 @@ function isPlatformServer(platformId) {
41
41
  class XhrFactory {
42
42
  }
43
43
 
44
- export { PLATFORM_BROWSER_ID as P, XhrFactory as X, PLATFORM_SERVER_ID as a, isPlatformServer as b, isPlatformBrowser as i, parseCookieValue as p };
45
- //# sourceMappingURL=xhr-BdgfMvBr.mjs.map
44
+ export { PLATFORM_BROWSER_ID, PLATFORM_SERVER_ID, XhrFactory, isPlatformBrowser, isPlatformServer, parseCookieValue };
45
+ //# sourceMappingURL=xhr-BfNfxNDv.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"xhr-BdgfMvBr.mjs","sources":["../../../../../../packages/common/src/cookie.ts","../../../../../../packages/common/src/platform_id.ts","../../../../../../packages/common/src/xhr.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nexport function parseCookieValue(cookieStr: string, name: string): string | null {\n name = encodeURIComponent(name);\n for (const cookie of cookieStr.split(';')) {\n const eqIndex = cookie.indexOf('=');\n const [cookieName, cookieValue]: string[] =\n eqIndex == -1 ? [cookie, ''] : [cookie.slice(0, eqIndex), cookie.slice(eqIndex + 1)];\n if (cookieName.trim() === name) {\n return decodeURIComponent(cookieValue);\n }\n }\n return null;\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nexport const PLATFORM_BROWSER_ID = 'browser';\nexport const PLATFORM_SERVER_ID = 'server';\n\n/**\n * Returns whether a platform id represents a browser platform.\n * @publicApi\n */\nexport function isPlatformBrowser(platformId: Object): boolean {\n return platformId === PLATFORM_BROWSER_ID;\n}\n\n/**\n * Returns whether a platform id represents a server platform.\n * @publicApi\n */\nexport function isPlatformServer(platformId: Object): boolean {\n return platformId === PLATFORM_SERVER_ID;\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\n/**\n * A wrapper around the `XMLHttpRequest` constructor.\n *\n * @publicApi\n */\nexport abstract class XhrFactory {\n abstract build(): XMLHttpRequest;\n}\n"],"names":[],"mappings":";;;;;;AAQgB,SAAA,gBAAgB,CAAC,SAAiB,EAAE,IAAY,EAAA;AAC9D,IAAA,IAAI,GAAG,kBAAkB,CAAC,IAAI,CAAC;IAC/B,KAAK,MAAM,MAAM,IAAI,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE;QACzC,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC;AACnC,QAAA,MAAM,CAAC,UAAU,EAAE,WAAW,CAAC,GAC7B,OAAO,IAAI,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC;AACtF,QAAA,IAAI,UAAU,CAAC,IAAI,EAAE,KAAK,IAAI,EAAE;AAC9B,YAAA,OAAO,kBAAkB,CAAC,WAAW,CAAC;;;AAG1C,IAAA,OAAO,IAAI;AACb;;ACXO,MAAM,mBAAmB,GAAG;AAC5B,MAAM,kBAAkB,GAAG;AAElC;;;AAGG;AACG,SAAU,iBAAiB,CAAC,UAAkB,EAAA;IAClD,OAAO,UAAU,KAAK,mBAAmB;AAC3C;AAEA;;;AAGG;AACG,SAAU,gBAAgB,CAAC,UAAkB,EAAA;IACjD,OAAO,UAAU,KAAK,kBAAkB;AAC1C;;ACjBA;;;;AAIG;MACmB,UAAU,CAAA;AAE/B;;;;"}
1
+ {"version":3,"file":"xhr-BfNfxNDv.mjs","sources":["../../../../../../packages/common/src/cookie.ts","../../../../../../packages/common/src/platform_id.ts","../../../../../../packages/common/src/xhr.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nexport function parseCookieValue(cookieStr: string, name: string): string | null {\n name = encodeURIComponent(name);\n for (const cookie of cookieStr.split(';')) {\n const eqIndex = cookie.indexOf('=');\n const [cookieName, cookieValue]: string[] =\n eqIndex == -1 ? [cookie, ''] : [cookie.slice(0, eqIndex), cookie.slice(eqIndex + 1)];\n if (cookieName.trim() === name) {\n return decodeURIComponent(cookieValue);\n }\n }\n return null;\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nexport const PLATFORM_BROWSER_ID = 'browser';\nexport const PLATFORM_SERVER_ID = 'server';\n\n/**\n * Returns whether a platform id represents a browser platform.\n * @publicApi\n */\nexport function isPlatformBrowser(platformId: Object): boolean {\n return platformId === PLATFORM_BROWSER_ID;\n}\n\n/**\n * Returns whether a platform id represents a server platform.\n * @publicApi\n */\nexport function isPlatformServer(platformId: Object): boolean {\n return platformId === PLATFORM_SERVER_ID;\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\n/**\n * A wrapper around the `XMLHttpRequest` constructor.\n *\n * @publicApi\n */\nexport abstract class XhrFactory {\n abstract build(): XMLHttpRequest;\n}\n"],"names":[],"mappings":";;;;;;AAQgB,SAAA,gBAAgB,CAAC,SAAiB,EAAE,IAAY,EAAA;AAC9D,IAAA,IAAI,GAAG,kBAAkB,CAAC,IAAI,CAAC;IAC/B,KAAK,MAAM,MAAM,IAAI,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE;QACzC,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC;AACnC,QAAA,MAAM,CAAC,UAAU,EAAE,WAAW,CAAC,GAC7B,OAAO,IAAI,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC;AACtF,QAAA,IAAI,UAAU,CAAC,IAAI,EAAE,KAAK,IAAI,EAAE;AAC9B,YAAA,OAAO,kBAAkB,CAAC,WAAW,CAAC;;;AAG1C,IAAA,OAAO,IAAI;AACb;;ACXO,MAAM,mBAAmB,GAAG;AAC5B,MAAM,kBAAkB,GAAG;AAElC;;;AAGG;AACG,SAAU,iBAAiB,CAAC,UAAkB,EAAA;IAClD,OAAO,UAAU,KAAK,mBAAmB;AAC3C;AAEA;;;AAGG;AACG,SAAU,gBAAgB,CAAC,UAAkB,EAAA;IACjD,OAAO,UAAU,KAAK,kBAAkB;AAC1C;;ACjBA;;;;AAIG;MACmB,UAAU,CAAA;AAE/B;;;;"}
package/http/index.d.ts CHANGED
@@ -1,15 +1,15 @@
1
1
  /**
2
- * @license Angular v19.2.5
2
+ * @license Angular v19.2.7
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
6
 
7
7
  import { Observable } from 'rxjs';
8
- import { H as HttpRequest, a as HttpEvent, b as HttpHeaders, c as HttpContext, d as HttpParams, e as HttpResponse, f as HttpProgressEvent } from '../module.d-BJA_GXII.js';
9
- export { h as HttpClientJsonpModule, i as HttpClientModule, j as HttpClientXsrfModule, g as HttpContextToken, n as HttpDownloadProgressEvent, o as HttpErrorResponse, p as HttpEventType, q as HttpHeaderResponse, k as HttpParameterCodec, l as HttpParamsOptions, r as HttpResponseBase, s as HttpSentEvent, t as HttpStatusCode, u as HttpUploadProgressEvent, m as HttpUrlEncodingCodec, v as HttpUserEvent } from '../module.d-BJA_GXII.js';
8
+ import { HttpRequest, HttpEvent, HttpHeaders, HttpContext, HttpParams, HttpResponse, HttpProgressEvent } from '../module.d-CnjH8Dlt.js';
9
+ export { HttpClientJsonpModule, HttpClientModule, HttpClientXsrfModule, HttpContextToken, HttpDownloadProgressEvent, HttpErrorResponse, HttpEventType, HttpHeaderResponse, HttpParameterCodec, HttpParamsOptions, HttpResponseBase, HttpSentEvent, HttpStatusCode, HttpUploadProgressEvent, HttpUrlEncodingCodec, HttpUserEvent } from '../module.d-CnjH8Dlt.js';
10
10
  import * as i0 from '@angular/core';
11
11
  import { InjectionToken, EnvironmentInjector, Provider, EnvironmentProviders, WritableResource, ResourceRef, Signal, Injector, ValueEqualityFn } from '@angular/core';
12
- import { X as XhrFactory } from '../xhr.d-Bbgj1reV.js';
12
+ import { XhrFactory } from '../xhr.d-D_1kTQR5.js';
13
13
 
14
14
  /**
15
15
  * Transforms an `HttpRequest` into a stream of `HttpEvent`s, one of which will likely be a
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license Angular v19.2.5
2
+ * @license Angular v19.2.7
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
6
 
7
- import { H as HttpRequest, a as HttpEvent, b as HttpHeaders, i as HttpClientModule } from '../../module.d-BJA_GXII.js';
7
+ import { HttpRequest, HttpEvent, HttpHeaders, HttpClientModule } from '../../module.d-CnjH8Dlt.js';
8
8
  import { Observer } from 'rxjs';
9
9
  import * as i0 from '@angular/core';
10
10
  import { Provider } from '@angular/core';
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.2.5
2
+ * @license Angular v19.2.7
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -7,11 +7,11 @@
7
7
  import * as i0 from '@angular/core';
8
8
  import { ɵNavigation as _Navigation, ɵNavigationHistoryEntry as _NavigationHistoryEntry, ɵNavigationUpdateCurrentEntryOptions as _NavigationUpdateCurrentEntryOptions, ɵNavigationTransition as _NavigationTransition, ɵNavigationNavigateOptions as _NavigationNavigateOptions, ɵNavigationResult as _NavigationResult, ɵNavigationReloadOptions as _NavigationReloadOptions, ɵNavigationOptions as _NavigationOptions, ɵNavigateEvent as _NavigateEvent, ɵNavigationCurrentEntryChangeEvent as _NavigationCurrentEntryChangeEvent, OnDestroy, InjectionToken, Version, Provider, OnInit, OnChanges, SimpleChanges } from '@angular/core';
9
9
  export { ɵIMAGE_CONFIG as IMAGE_CONFIG, ɵImageConfig as ImageConfig } from '@angular/core';
10
- import { L as LocationStrategy } from './common_module.d-Qx8B6pmN.js';
11
- export { y as APP_BASE_HREF, A as AsyncPipe, C as CommonModule, t as CurrencyPipe, q as DATE_PIPE_DEFAULT_OPTIONS, p as DATE_PIPE_DEFAULT_TIMEZONE, D as DatePipe, o as DatePipeConfig, u as DecimalPipe, I as I18nPluralPipe, r as I18nSelectPipe, J as JsonPipe, v as KeyValue, K as KeyValuePipe, w as Location, s as LowerCasePipe, b as NgClass, n as NgComponentOutlet, c as NgFor, c as NgForOf, d as NgForOfContext, e as NgIf, f as NgIfContext, N as NgLocaleLocalization, a as NgLocalization, g as NgPlural, h as NgPluralCase, i as NgStyle, j as NgSwitch, k as NgSwitchCase, l as NgSwitchDefault, m as NgTemplateOutlet, z as PathLocationStrategy, P as PercentPipe, x as PopStateEvent, S as SlicePipe, T as TitleCasePipe, U as UpperCasePipe } from './common_module.d-Qx8B6pmN.js';
12
- import { P as PlatformLocation, L as LocationChangeListener } from './platform_location.d-BWJDgVlg.js';
13
- export { B as BrowserPlatformLocation, a as LOCATION_INITIALIZED, b as LocationChangeEvent } from './platform_location.d-BWJDgVlg.js';
14
- export { X as XhrFactory } from './xhr.d-Bbgj1reV.js';
10
+ import { LocationStrategy } from './common_module.d-C8_X2MOZ.js';
11
+ export { APP_BASE_HREF, AsyncPipe, CommonModule, CurrencyPipe, DATE_PIPE_DEFAULT_OPTIONS, DATE_PIPE_DEFAULT_TIMEZONE, DatePipe, DatePipeConfig, DecimalPipe, I18nPluralPipe, I18nSelectPipe, JsonPipe, KeyValue, KeyValuePipe, Location, LowerCasePipe, NgClass, NgComponentOutlet, NgForOf as NgFor, NgForOf, NgForOfContext, NgIf, NgIfContext, NgLocaleLocalization, NgLocalization, NgPlural, NgPluralCase, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgTemplateOutlet, PathLocationStrategy, PercentPipe, PopStateEvent, SlicePipe, TitleCasePipe, UpperCasePipe } from './common_module.d-C8_X2MOZ.js';
12
+ import { PlatformLocation, LocationChangeListener } from './platform_location.d-Lbv6Ueec.js';
13
+ export { BrowserPlatformLocation, LOCATION_INITIALIZED, LocationChangeEvent } from './platform_location.d-Lbv6Ueec.js';
14
+ export { XhrFactory } from './xhr.d-D_1kTQR5.js';
15
15
  import 'rxjs';
16
16
 
17
17
  declare function getDOM(): DomAdapter;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.2.5
2
+ * @license Angular v19.2.7
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -922,5 +922,5 @@ declare class HttpClientJsonpModule {
922
922
  static ɵinj: i0.ɵɵInjectorDeclaration<HttpClientJsonpModule>;
923
923
  }
924
924
 
925
- export { HttpRequest as H, HttpHeaders as b, HttpContext as c, HttpParams as d, HttpResponse as e, HttpContextToken as g, HttpClientJsonpModule as h, HttpClientModule as i, HttpClientXsrfModule as j, HttpUrlEncodingCodec as m, HttpErrorResponse as o, HttpEventType as p, HttpHeaderResponse as q, HttpResponseBase as r, HttpStatusCode as t };
926
- export type { HttpEvent as a, HttpProgressEvent as f, HttpParameterCodec as k, HttpParamsOptions as l, HttpDownloadProgressEvent as n, HttpSentEvent as s, HttpUploadProgressEvent as u, HttpUserEvent as v };
925
+ export { HttpClientJsonpModule, HttpClientModule, HttpClientXsrfModule, HttpContext, HttpContextToken, HttpErrorResponse, HttpEventType, HttpHeaderResponse, HttpHeaders, HttpParams, HttpRequest, HttpResponse, HttpResponseBase, HttpStatusCode, HttpUrlEncodingCodec };
926
+ export type { HttpDownloadProgressEvent, HttpEvent, HttpParameterCodec, HttpParamsOptions, HttpProgressEvent, HttpSentEvent, HttpUploadProgressEvent, HttpUserEvent };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/common",
3
- "version": "19.2.5",
3
+ "version": "19.2.7",
4
4
  "description": "Angular - commonly needed directives and services",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -44,7 +44,7 @@
44
44
  }
45
45
  },
46
46
  "peerDependencies": {
47
- "@angular/core": "19.2.5",
47
+ "@angular/core": "19.2.7",
48
48
  "rxjs": "^6.5.3 || ^7.4.0"
49
49
  },
50
50
  "repository": {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.2.5
2
+ * @license Angular v19.2.7
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -111,5 +111,5 @@ declare class BrowserPlatformLocation extends PlatformLocation {
111
111
  static ɵprov: i0.ɵɵInjectableDeclaration<BrowserPlatformLocation>;
112
112
  }
113
113
 
114
- export { BrowserPlatformLocation as B, PlatformLocation as P, LOCATION_INITIALIZED as a };
115
- export type { LocationChangeListener as L, LocationChangeEvent as b };
114
+ export { BrowserPlatformLocation, LOCATION_INITIALIZED, PlatformLocation };
115
+ export type { LocationChangeEvent, LocationChangeListener };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.2.5
2
+ * @license Angular v19.2.7
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -9,7 +9,7 @@ import { Provider, InjectionToken } from '@angular/core';
9
9
  export { ɵFakeNavigation } from '@angular/core/testing';
10
10
  import { Location, LocationStrategy } from '@angular/common';
11
11
  import { SubscriptionLike } from 'rxjs';
12
- import { P as PlatformLocation, L as LocationChangeListener } from '../platform_location.d-BWJDgVlg.js';
12
+ import { PlatformLocation, LocationChangeListener } from '../platform_location.d-Lbv6Ueec.js';
13
13
 
14
14
  /**
15
15
  * Return a provider for the `FakeNavigation` in place of the real Navigation API.
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Angular v19.2.5
2
+ * @license Angular v19.2.7
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
6
 
7
- import { w as Location, L as LocationStrategy, C as CommonModule } from '../common_module.d-Qx8B6pmN.js';
8
- import { P as PlatformLocation } from '../platform_location.d-BWJDgVlg.js';
7
+ import { Location, LocationStrategy, CommonModule } from '../common_module.d-C8_X2MOZ.js';
8
+ import { PlatformLocation } from '../platform_location.d-Lbv6Ueec.js';
9
9
  import { UpgradeModule } from '@angular/upgrade/static';
10
10
  import * as i0 from '@angular/core';
11
11
  import { InjectionToken, ModuleWithProviders } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.2.5
2
+ * @license Angular v19.2.7
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -13,4 +13,4 @@ declare abstract class XhrFactory {
13
13
  abstract build(): XMLHttpRequest;
14
14
  }
15
15
 
16
- export { XhrFactory as X };
16
+ export { XhrFactory };