@angular/platform-browser 19.1.0-next.4 → 19.1.0

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 v19.1.0-next.4
2
+ * @license Angular v19.1.0
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 ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.4", ngImport: i0, type: BrowserTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
32
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0-next.4", ngImport: i0, type: BrowserTestingModule, exports: [BrowserModule] });
33
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0-next.4", ngImport: i0, type: BrowserTestingModule, providers: [
31
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: BrowserTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
32
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0", ngImport: i0, type: BrowserTestingModule, exports: [BrowserModule] });
33
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0", 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: "19.1.0-next.4", ngImport: i0, type: BrowserTestingModule, decorators: [{
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0", 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 v19.1.0-next.4
2
+ * @license Angular v19.1.0
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -16,6 +16,7 @@ import { HttpTransferCacheOptions } from '@angular/common/http';
16
16
  import * as i0 from '@angular/core';
17
17
  import * as i1 from '@angular/common';
18
18
  import { InjectionToken } from '@angular/core';
19
+ import { Injector } from '@angular/core';
19
20
  import { ListenerOptions } from '@angular/core';
20
21
  import { NgZone } from '@angular/core';
21
22
  import { OnDestroy } from '@angular/core';
@@ -32,7 +33,6 @@ import { Testability } from '@angular/core';
32
33
  import { TestabilityRegistry } from '@angular/core';
33
34
  import { Type } from '@angular/core';
34
35
  import { Version } from '@angular/core';
35
- import { ɵConsole } from '@angular/core';
36
36
  import { ɵDomAdapter } from '@angular/common';
37
37
  import { ɵgetDOM } from '@angular/common';
38
38
  import { ɵTracingService } from '@angular/core';
@@ -119,8 +119,8 @@ export declare function bootstrapApplication(rootComponent: Type<unknown>, optio
119
119
  * @publicApi
120
120
  */
121
121
  export declare class BrowserModule {
122
- constructor(providersAlreadyPresent: boolean | null);
123
- static ɵfac: i0.ɵɵFactoryDeclaration<BrowserModule, [{ optional: true; skipSelf: true; }]>;
122
+ constructor();
123
+ static ɵfac: i0.ɵɵFactoryDeclaration<BrowserModule, never>;
124
124
  static ɵmod: i0.ɵɵNgModuleDeclaration<BrowserModule, never, never, [typeof i1.CommonModule, typeof i0.ApplicationModule]>;
125
125
  static ɵinj: i0.ɵɵInjectorDeclaration<BrowserModule>;
126
126
  }
@@ -884,6 +884,11 @@ export declare class ɵDomRendererFactory2 implements RendererFactory2, OnDestro
884
884
  createRenderer(element: any, type: RendererType2 | null): Renderer2;
885
885
  private getOrCreateRenderer;
886
886
  ngOnDestroy(): void;
887
+ /**
888
+ * Used during HMR to clear any cached data about a component.
889
+ * @param componentId ID of the component that is being replaced.
890
+ */
891
+ protected componentReplaced(componentId: string): void;
887
892
  static ɵfac: i0.ɵɵFactoryDeclaration<ɵDomRendererFactory2, [null, null, null, null, null, null, null, null, { optional: true; }]>;
888
893
  static ɵprov: i0.ɵɵInjectableDeclaration<ɵDomRendererFactory2>;
889
894
  }
@@ -910,10 +915,10 @@ export { ɵgetDOM }
910
915
  */
911
916
  export declare class ɵHammerGesturesPlugin extends EventManagerPlugin {
912
917
  private _config;
913
- private console;
918
+ private _injector;
914
919
  private loader?;
915
920
  private _loaderPromise;
916
- constructor(doc: any, _config: HammerGestureConfig, console: ɵConsole, loader?: (HammerLoader | null) | undefined);
921
+ constructor(doc: any, _config: HammerGestureConfig, _injector: Injector, loader?: (HammerLoader | null) | undefined);
917
922
  supports(eventName: string): boolean;
918
923
  addEventListener(element: HTMLElement, eventName: string, handler: Function): Function;
919
924
  isCustomEvent(eventName: string): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/platform-browser",
3
- "version": "19.1.0-next.4",
3
+ "version": "19.1.0",
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": "19.1.0-next.4",
15
- "@angular/core": "19.1.0-next.4",
16
- "@angular/common": "19.1.0-next.4"
14
+ "@angular/animations": "19.1.0",
15
+ "@angular/core": "19.1.0",
16
+ "@angular/common": "19.1.0"
17
17
  },
18
18
  "peerDependenciesMeta": {
19
19
  "@angular/animations": {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.1.0-next.4
2
+ * @license Angular v19.1.0
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */