@angular/platform-browser 19.0.2 → 19.0.3
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/animations/async/index.d.ts +2 -2
- package/animations/index.d.ts +3 -3
- package/fesm2022/animations/async.mjs +5 -5
- package/fesm2022/animations/async.mjs.map +1 -1
- package/fesm2022/animations.mjs +14 -14
- package/fesm2022/animations.mjs.map +1 -1
- package/fesm2022/platform-browser.mjs +54 -54
- package/fesm2022/platform-browser.mjs.map +1 -1
- package/fesm2022/testing.mjs +5 -5
- package/index.d.ts +9 -9
- 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.3
|
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.3", ngImport: i0, type: BrowserTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
32
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: BrowserTestingModule, exports: [BrowserModule] });
|
33
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", 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.3", 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.3
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
4
4
|
* License: MIT
|
5
5
|
*/
|
@@ -54,7 +54,7 @@ export declare type ApplicationConfig = ApplicationConfig_2;
|
|
54
54
|
* The root component passed into this function *must* be a standalone one (should have the
|
55
55
|
* `standalone: true` flag in the `@Component` decorator config).
|
56
56
|
*
|
57
|
-
* ```
|
57
|
+
* ```angular-ts
|
58
58
|
* @Component({
|
59
59
|
* standalone: true,
|
60
60
|
* template: 'Hello world!'
|
@@ -67,7 +67,7 @@ export declare type ApplicationConfig = ApplicationConfig_2;
|
|
67
67
|
* You can add the list of providers that should be available in the application injector by
|
68
68
|
* specifying the `providers` field in an object passed as the second argument:
|
69
69
|
*
|
70
|
-
* ```
|
70
|
+
* ```ts
|
71
71
|
* await bootstrapApplication(RootComponent, {
|
72
72
|
* providers: [
|
73
73
|
* {provide: BACKEND_URL, useValue: 'https://yourdomain.com/api'}
|
@@ -78,7 +78,7 @@ export declare type ApplicationConfig = ApplicationConfig_2;
|
|
78
78
|
* The `importProvidersFrom` helper method can be used to collect all providers from any
|
79
79
|
* existing NgModule (and transitively from all NgModules that it imports):
|
80
80
|
*
|
81
|
-
* ```
|
81
|
+
* ```ts
|
82
82
|
* await bootstrapApplication(RootComponent, {
|
83
83
|
* providers: [
|
84
84
|
* importProvidersFrom(SomeNgModule)
|
@@ -91,7 +91,7 @@ export declare type ApplicationConfig = ApplicationConfig_2;
|
|
91
91
|
* providers using `provideProtractorTestingSupport()` function and adding them into the `providers`
|
92
92
|
* array, for example:
|
93
93
|
*
|
94
|
-
* ```
|
94
|
+
* ```ts
|
95
95
|
* import {provideProtractorTestingSupport} from '@angular/platform-browser';
|
96
96
|
*
|
97
97
|
* await bootstrapApplication(RootComponent, {providers: [provideProtractorTestingSupport()]});
|
@@ -623,7 +623,7 @@ export declare const platformBrowser: (extraProviders?: StaticProvider[]) => Pla
|
|
623
623
|
*
|
624
624
|
* Basic example of how you can enable hydration in your application when
|
625
625
|
* `bootstrapApplication` function is used:
|
626
|
-
* ```
|
626
|
+
* ```ts
|
627
627
|
* bootstrapApplication(AppComponent, {
|
628
628
|
* providers: [provideClientHydration()]
|
629
629
|
* });
|
@@ -631,7 +631,7 @@ export declare const platformBrowser: (extraProviders?: StaticProvider[]) => Pla
|
|
631
631
|
*
|
632
632
|
* Alternatively if you are using NgModules, you would add `provideClientHydration`
|
633
633
|
* to your root app module's provider list.
|
634
|
-
* ```
|
634
|
+
* ```ts
|
635
635
|
* @NgModule({
|
636
636
|
* declarations: [RootCmp],
|
637
637
|
* bootstrap: [RootCmp],
|
@@ -771,7 +771,7 @@ export declare const VERSION: Version;
|
|
771
771
|
*
|
772
772
|
* Basic example of how you can enable event replay in your application when
|
773
773
|
* `bootstrapApplication` function is used:
|
774
|
-
* ```
|
774
|
+
* ```ts
|
775
775
|
* bootstrapApplication(AppComponent, {
|
776
776
|
* providers: [provideClientHydration(withEventReplay())]
|
777
777
|
* });
|
@@ -806,7 +806,7 @@ export declare function withI18nSupport(): HydrationFeature<HydrationFeatureKind
|
|
806
806
|
*
|
807
807
|
* Basic example of how you can enable incremental hydration in your application when
|
808
808
|
* the `bootstrapApplication` function is used:
|
809
|
-
* ```
|
809
|
+
* ```ts
|
810
810
|
* bootstrapApplication(AppComponent, {
|
811
811
|
* providers: [provideClientHydration(withIncrementalHydration())]
|
812
812
|
* });
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@angular/platform-browser",
|
3
|
-
"version": "19.0.
|
3
|
+
"version": "19.0.3",
|
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.3",
|
15
|
+
"@angular/core": "19.0.3",
|
16
|
+
"@angular/common": "19.0.3"
|
17
17
|
},
|
18
18
|
"peerDependenciesMeta": {
|
19
19
|
"@angular/animations": {
|
package/testing/index.d.ts
CHANGED