@angular/platform-browser 17.0.0-rc.1 → 17.0.0-rc.2
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 +1 -1
- package/animations/index.d.ts +1 -1
- package/esm2022/animations/src/module.mjs +8 -8
- package/esm2022/animations/src/providers.mjs +3 -3
- package/esm2022/src/browser/meta.mjs +3 -3
- package/esm2022/src/browser/title.mjs +3 -3
- package/esm2022/src/browser/xhr.mjs +3 -3
- package/esm2022/src/browser.mjs +6 -6
- package/esm2022/src/dom/dom_renderer.mjs +3 -3
- package/esm2022/src/dom/events/dom_events.mjs +3 -3
- package/esm2022/src/dom/events/event_manager.mjs +3 -3
- package/esm2022/src/dom/events/hammer_gestures.mjs +10 -10
- package/esm2022/src/dom/events/key_events.mjs +3 -3
- package/esm2022/src/dom/shared_styles_host.mjs +3 -3
- package/esm2022/src/errors.mjs +1 -1
- package/esm2022/src/hydration.mjs +2 -2
- package/esm2022/src/security/dom_sanitization_service.mjs +6 -6
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/browser.mjs +4 -4
- package/fesm2022/animations/async.mjs +1 -1
- package/fesm2022/animations.mjs +12 -12
- package/fesm2022/platform-browser.mjs +48 -48
- package/fesm2022/platform-browser.mjs.map +1 -1
- package/fesm2022/testing.mjs +5 -5
- package/index.d.ts +3 -3
- package/package.json +5 -5
- package/testing/index.d.ts +1 -1
package/fesm2022/testing.mjs
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Angular v17.0.0-rc.
|
2
|
+
* @license Angular v17.0.0-rc.2
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
4
4
|
* License: MIT
|
5
5
|
*/
|
@@ -26,9 +26,9 @@ const platformBrowserTesting = createPlatformFactory(platformCore, 'browserTesti
|
|
26
26
|
* @publicApi
|
27
27
|
*/
|
28
28
|
class BrowserTestingModule {
|
29
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-rc.
|
30
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-rc.
|
31
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-rc.
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-rc.2", ngImport: i0, type: BrowserTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
30
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-rc.2", ngImport: i0, type: BrowserTestingModule, exports: [BrowserModule] }); }
|
31
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-rc.2", ngImport: i0, type: BrowserTestingModule, providers: [
|
32
32
|
{ provide: APP_ID, useValue: 'a' },
|
33
33
|
provideZoneChangeDetection(),
|
34
34
|
{ provide: PlatformLocation, useClass: MockPlatformLocation },
|
@@ -36,7 +36,7 @@ class BrowserTestingModule {
|
|
36
36
|
{ provide: ɵEffectScheduler, useExisting: ɵZoneAwareQueueingScheduler },
|
37
37
|
], imports: [BrowserModule] }); }
|
38
38
|
}
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-rc.
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-rc.2", ngImport: i0, type: BrowserTestingModule, decorators: [{
|
40
40
|
type: NgModule,
|
41
41
|
args: [{
|
42
42
|
exports: [BrowserModule],
|
package/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Angular v17.0.0-rc.
|
2
|
+
* @license Angular v17.0.0-rc.2
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
4
4
|
* License: MIT
|
5
5
|
*/
|
@@ -639,7 +639,7 @@ export declare const platformBrowser: (extraProviders?: StaticProvider[]) => Pla
|
|
639
639
|
* * Reconciling DOM hydration. Learn more about it [here](guide/hydration).
|
640
640
|
* * [`HttpClient`](api/common/http/HttpClient) response caching while running on the server and
|
641
641
|
* transferring this cache to the client to avoid extra HTTP requests. Learn more about data caching
|
642
|
-
* [here](/guide/
|
642
|
+
* [here](/guide/ssr#caching-data-when-using-httpclient).
|
643
643
|
*
|
644
644
|
* These functions allow you to disable some of the default features or configure features
|
645
645
|
* * {@link withNoHttpTransferCache} to disable HTTP transfer cache
|
@@ -999,7 +999,7 @@ export declare class ɵKeyEventsPlugin extends EventManagerPlugin {
|
|
999
999
|
*/
|
1000
1000
|
export declare const enum ɵRuntimeErrorCode {
|
1001
1001
|
UNSUPPORTED_ZONEJS_INSTANCE = -5000,
|
1002
|
-
|
1002
|
+
BROWSER_MODULE_ALREADY_LOADED = 5100,
|
1003
1003
|
NO_PLUGIN_FOR_EVENT = 5101,
|
1004
1004
|
UNSUPPORTED_EVENT_TARGET = 5102,
|
1005
1005
|
TESTABILITY_NOT_FOUND = 5103,
|
package/package.json
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
{
|
2
2
|
"name": "@angular/platform-browser",
|
3
|
-
"version": "17.0.0-rc.
|
3
|
+
"version": "17.0.0-rc.2",
|
4
4
|
"description": "Angular - library for using Angular in a web browser",
|
5
5
|
"author": "angular",
|
6
6
|
"license": "MIT",
|
7
7
|
"engines": {
|
8
|
-
"node": "
|
8
|
+
"node": "^18.13.0 || >=20.9.0"
|
9
9
|
},
|
10
10
|
"dependencies": {
|
11
11
|
"tslib": "^2.3.0"
|
12
12
|
},
|
13
13
|
"peerDependencies": {
|
14
|
-
"@angular/animations": "17.0.0-rc.
|
15
|
-
"@angular/core": "17.0.0-rc.
|
16
|
-
"@angular/common": "17.0.0-rc.
|
14
|
+
"@angular/animations": "17.0.0-rc.2",
|
15
|
+
"@angular/core": "17.0.0-rc.2",
|
16
|
+
"@angular/common": "17.0.0-rc.2"
|
17
17
|
},
|
18
18
|
"peerDependenciesMeta": {
|
19
19
|
"@angular/animations": {
|
package/testing/index.d.ts
CHANGED