@angular/platform-browser 18.2.0 → 18.2.1

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.2.0
2
+ * @license Angular v18.2.1
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -28,16 +28,16 @@ const platformBrowserTesting = createPlatformFactory(platformCore, 'browserTesti
28
28
  * @publicApi
29
29
  */
30
30
  class BrowserTestingModule {
31
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: BrowserTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
32
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: BrowserTestingModule, exports: [BrowserModule] }); }
33
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: BrowserTestingModule, providers: [
31
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.1", ngImport: i0, type: BrowserTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
32
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.1", ngImport: i0, type: BrowserTestingModule, exports: [BrowserModule] }); }
33
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.1", ngImport: i0, type: BrowserTestingModule, providers: [
34
34
  { provide: APP_ID, useValue: 'a' },
35
35
  ɵinternalProvideZoneChangeDetection({}),
36
36
  { provide: ɵChangeDetectionScheduler, useExisting: ɵChangeDetectionSchedulerImpl },
37
37
  { provide: PlatformLocation, useClass: MockPlatformLocation },
38
38
  ], imports: [BrowserModule] }); }
39
39
  }
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: BrowserTestingModule, decorators: [{
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.1", ngImport: i0, type: BrowserTestingModule, decorators: [{
41
41
  type: NgModule,
42
42
  args: [{
43
43
  exports: [BrowserModule],
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.2.0
2
+ * @license Angular v18.2.1
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -625,9 +625,12 @@ export declare const platformBrowser: (extraProviders?: StaticProvider[]) => Pla
625
625
  * transferring this cache to the client to avoid extra HTTP requests. Learn more about data caching
626
626
  * [here](guide/ssr#caching-data-when-using-httpclient).
627
627
  *
628
- * These functions allow you to disable some of the default features or configure features
628
+ * These functions allow you to disable some of the default features or enable new ones:
629
+ *
629
630
  * * {@link withNoHttpTransferCache} to disable HTTP transfer cache
630
631
  * * {@link withHttpTransferCacheOptions} to configure some HTTP transfer cache options
632
+ * * {@link withI18nSupport} to enable hydration support for i18n blocks
633
+ * * {@link withEventReplay} to enable support for replaying user events
631
634
  *
632
635
  * @usageNotes
633
636
  *
@@ -652,6 +655,8 @@ export declare const platformBrowser: (extraProviders?: StaticProvider[]) => Pla
652
655
  *
653
656
  * @see {@link withNoHttpTransferCache}
654
657
  * @see {@link withHttpTransferCacheOptions}
658
+ * @see {@link withI18nSupport}
659
+ * @see {@link withEventReplay}
655
660
  *
656
661
  * @param features Optional features to configure additional router behaviors.
657
662
  * @returns A set of providers to enable hydration.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/platform-browser",
3
- "version": "18.2.0",
3
+ "version": "18.2.1",
4
4
  "description": "Angular - library for using Angular in a web browser",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -11,9 +11,9 @@
11
11
  "tslib": "^2.3.0"
12
12
  },
13
13
  "peerDependencies": {
14
- "@angular/animations": "18.2.0",
15
- "@angular/core": "18.2.0",
16
- "@angular/common": "18.2.0"
14
+ "@angular/animations": "18.2.1",
15
+ "@angular/core": "18.2.1",
16
+ "@angular/common": "18.2.1"
17
17
  },
18
18
  "peerDependenciesMeta": {
19
19
  "@angular/animations": {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.2.0
2
+ * @license Angular v18.2.1
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */