@angular/common 20.0.0-next.5 → 20.0.0-next.6

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 (26) hide show
  1. package/{common_module.d-BP8xLQft.d.ts → common_module.d-1Ij4nFjY.d.ts} +4 -4
  2. package/fesm2022/common.mjs +19 -19
  3. package/fesm2022/common.mjs.map +1 -1
  4. package/fesm2022/{common_module-DXqIruqL.mjs → common_module-Cz2TsVI9.mjs} +91 -91
  5. package/fesm2022/{common_module-DXqIruqL.mjs.map → common_module-Cz2TsVI9.mjs.map} +1 -1
  6. package/fesm2022/http/testing.mjs +10 -10
  7. package/fesm2022/http.mjs +4 -4
  8. package/fesm2022/{location-DL4aRLmc.mjs → location-BeT0iJq7.mjs} +18 -18
  9. package/fesm2022/{location-DL4aRLmc.mjs.map → location-BeT0iJq7.mjs.map} +1 -1
  10. package/fesm2022/{module-TRKGK7nU.mjs → module-C4LakRc7.mjs} +47 -47
  11. package/fesm2022/{module-TRKGK7nU.mjs.map → module-C4LakRc7.mjs.map} +1 -1
  12. package/fesm2022/{platform_navigation-2iCIwKiv.mjs → platform_navigation-B45Jeakb.mjs} +6 -6
  13. package/fesm2022/{platform_navigation-2iCIwKiv.mjs.map → platform_navigation-B45Jeakb.mjs.map} +1 -1
  14. package/fesm2022/testing.mjs +15 -15
  15. package/fesm2022/upgrade.mjs +7 -7
  16. package/fesm2022/{xhr-BdgfMvBr.mjs → xhr-BfNfxNDv.mjs} +3 -3
  17. package/fesm2022/{xhr-BdgfMvBr.mjs.map → xhr-BfNfxNDv.mjs.map} +1 -1
  18. package/http/index.d.ts +4 -4
  19. package/http/testing/index.d.ts +2 -2
  20. package/index.d.ts +6 -6
  21. package/{module.d-BJA_GXII.d.ts → module.d-CnjH8Dlt.d.ts} +3 -3
  22. package/package.json +2 -2
  23. package/{platform_location.d-BWJDgVlg.d.ts → platform_location.d-Lbv6Ueec.d.ts} +3 -3
  24. package/testing/index.d.ts +2 -2
  25. package/upgrade/index.d.ts +3 -3
  26. package/{xhr.d-Bbgj1reV.d.ts → xhr.d-D_1kTQR5.d.ts} +2 -2
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.0.0-next.5
2
+ * @license Angular v20.0.0-next.6
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: "20.0.0-next.5", ngImport: i0, type: PlatformNavigation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: PlatformNavigation, providedIn: 'platform', useFactory: () => window.navigation });
15
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.6", ngImport: i0, type: PlatformNavigation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.6", ngImport: i0, type: PlatformNavigation, providedIn: 'platform', useFactory: () => window.navigation });
17
17
  }
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: PlatformNavigation, decorators: [{
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.6", 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 v20.0.0-next.5
2
+ * @license Angular v20.0.0-next.6
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -8,10 +8,10 @@ import { ɵnormalizeQueryParams as _normalizeQueryParams, LocationStrategy } fro
8
8
  import * as i0 from '@angular/core';
9
9
  import { InjectionToken, inject, DOCUMENT, Inject, Optional, Injectable } from '@angular/core';
10
10
  import { Subject } from 'rxjs';
11
- import { P as PlatformNavigation } from './platform_navigation-2iCIwKiv.mjs';
11
+ import { PlatformNavigation } from './platform_navigation-B45Jeakb.mjs';
12
12
  import { ɵFakeNavigation as _FakeNavigation } from '@angular/core/testing';
13
13
  export { ɵFakeNavigation } from '@angular/core/testing';
14
- import { c as PlatformLocation, L as Location, a as LocationStrategy$1 } from './location-DL4aRLmc.mjs';
14
+ import { PlatformLocation, Location, LocationStrategy as LocationStrategy$1 } from './location-BeT0iJq7.mjs';
15
15
 
16
16
  /**
17
17
  * Parser from https://tools.ietf.org/html/rfc3986#appendix-B
@@ -219,10 +219,10 @@ class MockPlatformLocation {
219
219
  });
220
220
  }
221
221
  }
222
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: MockPlatformLocation, deps: [{ token: MOCK_PLATFORM_LOCATION_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
223
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: MockPlatformLocation });
222
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.6", ngImport: i0, type: MockPlatformLocation, deps: [{ token: MOCK_PLATFORM_LOCATION_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
223
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.6", ngImport: i0, type: MockPlatformLocation });
224
224
  }
225
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: MockPlatformLocation, decorators: [{
225
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.6", ngImport: i0, type: MockPlatformLocation, decorators: [{
226
226
  type: Injectable
227
227
  }], ctorParameters: () => [{ type: undefined, decorators: [{
228
228
  type: Inject,
@@ -293,10 +293,10 @@ class FakeNavigationPlatformLocation {
293
293
  getState() {
294
294
  return this._platformNavigation.currentEntry.getHistoryState();
295
295
  }
296
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: FakeNavigationPlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
297
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: FakeNavigationPlatformLocation });
296
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.6", ngImport: i0, type: FakeNavigationPlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
297
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.6", ngImport: i0, type: FakeNavigationPlatformLocation });
298
298
  }
299
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: FakeNavigationPlatformLocation, decorators: [{
299
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.6", ngImport: i0, type: FakeNavigationPlatformLocation, decorators: [{
300
300
  type: Injectable
301
301
  }], ctorParameters: () => [] });
302
302
 
@@ -470,10 +470,10 @@ class SpyLocation {
470
470
  this._history.push(new LocationState(path, query, state));
471
471
  this._historyIndex = this._history.length - 1;
472
472
  }
473
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: SpyLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
474
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: SpyLocation });
473
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.6", ngImport: i0, type: SpyLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
474
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.6", ngImport: i0, type: SpyLocation });
475
475
  }
476
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: SpyLocation, decorators: [{
476
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.6", ngImport: i0, type: SpyLocation, decorators: [{
477
477
  type: Injectable
478
478
  }] });
479
479
  class LocationState {
@@ -555,10 +555,10 @@ class MockLocationStrategy extends LocationStrategy {
555
555
  getState() {
556
556
  return this.stateChanges[(this.stateChanges.length || 1) - 1];
557
557
  }
558
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: MockLocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
559
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: MockLocationStrategy });
558
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.6", ngImport: i0, type: MockLocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
559
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.6", ngImport: i0, type: MockLocationStrategy });
560
560
  }
561
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: MockLocationStrategy, decorators: [{
561
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.6", ngImport: i0, type: MockLocationStrategy, decorators: [{
562
562
  type: Injectable
563
563
  }], ctorParameters: () => [] });
564
564
  class _MockPopStateEvent {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.0.0-next.5
2
+ * @license Angular v20.0.0-next.6
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -8,8 +8,8 @@ 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-DL4aRLmc.mjs';
12
- import { D as CommonModule, a9 as HashLocationStrategy } from './common_module-DXqIruqL.mjs';
11
+ import { Location, PlatformLocation, LocationStrategy, APP_BASE_HREF, PathLocationStrategy } from './location-BeT0iJq7.mjs';
12
+ import { CommonModule, HashLocationStrategy } from './common_module-Cz2TsVI9.mjs';
13
13
 
14
14
  function deepEqual(a, b) {
15
15
  if (a === b) {
@@ -864,11 +864,11 @@ class LocationUpgradeModule {
864
864
  ],
865
865
  };
866
866
  }
867
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: LocationUpgradeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
868
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0-next.5", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] });
869
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] });
867
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.6", ngImport: i0, type: LocationUpgradeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
868
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0-next.6", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] });
869
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0-next.6", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] });
870
870
  }
871
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: LocationUpgradeModule, decorators: [{
871
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.6", ngImport: i0, type: LocationUpgradeModule, decorators: [{
872
872
  type: NgModule,
873
873
  args: [{ imports: [CommonModule] }]
874
874
  }] });
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.0.0-next.5
2
+ * @license Angular v20.0.0-next.6
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 v20.0.0-next.5
2
+ * @license Angular v20.0.0-next.6
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 v20.0.0-next.5
2
+ * @license Angular v20.0.0-next.6
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 v20.0.0-next.5
2
+ * @license Angular v20.0.0-next.6
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, Version, InjectionToken, Provider, OnInit, OnChanges, SimpleChanges } from '@angular/core';
9
9
  export { DOCUMENT, ɵIMAGE_CONFIG as IMAGE_CONFIG, ɵImageConfig as ImageConfig } from '@angular/core';
10
- import { L as LocationStrategy } from './common_module.d-BP8xLQft.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-BP8xLQft.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-1Ij4nFjY.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-1Ij4nFjY.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 v20.0.0-next.5
2
+ * @license Angular v20.0.0-next.6
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": "20.0.0-next.5",
3
+ "version": "20.0.0-next.6",
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": "20.0.0-next.5",
47
+ "@angular/core": "20.0.0-next.6",
48
48
  "rxjs": "^6.5.3 || ^7.4.0"
49
49
  },
50
50
  "repository": {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.0.0-next.5
2
+ * @license Angular v20.0.0-next.6
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 v20.0.0-next.5
2
+ * @license Angular v20.0.0-next.6
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 v20.0.0-next.5
2
+ * @license Angular v20.0.0-next.6
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-BP8xLQft.js';
8
- import { P as PlatformLocation } from '../platform_location.d-BWJDgVlg.js';
7
+ import { Location, LocationStrategy, CommonModule } from '../common_module.d-1Ij4nFjY.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 v20.0.0-next.5
2
+ * @license Angular v20.0.0-next.6
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 };