@angular/platform-browser 19.0.5 → 19.0.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.
- package/LICENSE +1 -1
- package/animations/async/index.d.ts +3 -2
- package/animations/index.d.ts +2 -2
- package/fesm2022/animations/async.mjs +8 -6
- package/fesm2022/animations/async.mjs.map +1 -1
- package/fesm2022/animations.mjs +13 -13
- package/fesm2022/animations.mjs.map +1 -1
- package/fesm2022/platform-browser.mjs +76 -62
- package/fesm2022/platform-browser.mjs.map +1 -1
- package/fesm2022/testing.mjs +5 -5
- package/index.d.ts +9 -4
- package/package.json +4 -4
- package/testing/index.d.ts +1 -1
package/fesm2022/testing.mjs
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Angular v19.0.
|
2
|
+
* @license Angular v19.0.7
|
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.0.
|
32
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.
|
33
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.
|
31
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: BrowserTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
32
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.7", ngImport: i0, type: BrowserTestingModule, exports: [BrowserModule] });
|
33
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.7", 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.0.
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", 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.0.
|
2
|
+
* @license Angular v19.0.7
|
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 { NgZone } from '@angular/core';
|
20
21
|
import { OnDestroy } from '@angular/core';
|
21
22
|
import { PlatformRef } from '@angular/core';
|
@@ -31,7 +32,6 @@ import { Testability } from '@angular/core';
|
|
31
32
|
import { TestabilityRegistry } from '@angular/core';
|
32
33
|
import { Type } from '@angular/core';
|
33
34
|
import { Version } from '@angular/core';
|
34
|
-
import { ɵConsole } from '@angular/core';
|
35
35
|
import { ɵDomAdapter } from '@angular/common';
|
36
36
|
import { ɵgetDOM } from '@angular/common';
|
37
37
|
|
@@ -879,6 +879,11 @@ export declare class ɵDomRendererFactory2 implements RendererFactory2, OnDestro
|
|
879
879
|
createRenderer(element: any, type: RendererType2 | null): Renderer2;
|
880
880
|
private getOrCreateRenderer;
|
881
881
|
ngOnDestroy(): void;
|
882
|
+
/**
|
883
|
+
* Used during HMR to clear any cached data about a component.
|
884
|
+
* @param componentId ID of the component that is being replaced.
|
885
|
+
*/
|
886
|
+
protected componentReplaced(componentId: string): void;
|
882
887
|
static ɵfac: i0.ɵɵFactoryDeclaration<ɵDomRendererFactory2, never>;
|
883
888
|
static ɵprov: i0.ɵɵInjectableDeclaration<ɵDomRendererFactory2>;
|
884
889
|
}
|
@@ -905,10 +910,10 @@ export { ɵgetDOM }
|
|
905
910
|
*/
|
906
911
|
export declare class ɵHammerGesturesPlugin extends EventManagerPlugin {
|
907
912
|
private _config;
|
908
|
-
private
|
913
|
+
private _injector;
|
909
914
|
private loader?;
|
910
915
|
private _loaderPromise;
|
911
|
-
constructor(doc: any, _config: HammerGestureConfig,
|
916
|
+
constructor(doc: any, _config: HammerGestureConfig, _injector: Injector, loader?: (HammerLoader | null) | undefined);
|
912
917
|
supports(eventName: string): boolean;
|
913
918
|
addEventListener(element: HTMLElement, eventName: string, handler: Function): Function;
|
914
919
|
isCustomEvent(eventName: string): boolean;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@angular/platform-browser",
|
3
|
-
"version": "19.0.
|
3
|
+
"version": "19.0.7",
|
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.0.
|
15
|
-
"@angular/core": "19.0.
|
16
|
-
"@angular/common": "19.0.
|
14
|
+
"@angular/animations": "19.0.7",
|
15
|
+
"@angular/core": "19.0.7",
|
16
|
+
"@angular/common": "19.0.7"
|
17
17
|
},
|
18
18
|
"peerDependenciesMeta": {
|
19
19
|
"@angular/animations": {
|
package/testing/index.d.ts
CHANGED