@angular/platform-browser 14.1.0-next.4 → 14.1.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.
Files changed (34) hide show
  1. package/animations/index.d.ts +51 -1
  2. package/esm2020/animations/index.mjs +2 -2
  3. package/esm2020/animations/src/animation_builder.mjs +3 -3
  4. package/esm2020/animations/src/animation_renderer.mjs +3 -3
  5. package/esm2020/animations/src/animations.mjs +2 -2
  6. package/esm2020/animations/src/module.mjs +64 -9
  7. package/esm2020/animations/src/providers.mjs +3 -3
  8. package/esm2020/src/browser/meta.mjs +3 -3
  9. package/esm2020/src/browser/title.mjs +3 -3
  10. package/esm2020/src/browser/transfer_state.mjs +35 -23
  11. package/esm2020/src/browser/xhr.mjs +3 -3
  12. package/esm2020/src/browser.mjs +4 -4
  13. package/esm2020/src/dom/dom_renderer.mjs +3 -3
  14. package/esm2020/src/dom/events/dom_events.mjs +3 -3
  15. package/esm2020/src/dom/events/event_manager.mjs +3 -3
  16. package/esm2020/src/dom/events/hammer_gestures.mjs +10 -10
  17. package/esm2020/src/dom/events/key_events.mjs +3 -3
  18. package/esm2020/src/dom/shared_styles_host.mjs +6 -6
  19. package/esm2020/src/security/dom_sanitization_service.mjs +6 -6
  20. package/esm2020/src/version.mjs +1 -1
  21. package/esm2020/testing/src/browser.mjs +4 -4
  22. package/fesm2015/animations.mjs +74 -19
  23. package/fesm2015/animations.mjs.map +1 -1
  24. package/fesm2015/platform-browser.mjs +83 -71
  25. package/fesm2015/platform-browser.mjs.map +1 -1
  26. package/fesm2015/testing.mjs +5 -5
  27. package/fesm2020/animations.mjs +74 -19
  28. package/fesm2020/animations.mjs.map +1 -1
  29. package/fesm2020/platform-browser.mjs +83 -71
  30. package/fesm2020/platform-browser.mjs.map +1 -1
  31. package/fesm2020/testing.mjs +5 -5
  32. package/index.d.ts +7 -3
  33. package/package.json +4 -4
  34. package/testing/index.d.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.1.0-next.4
2
+ * @license Angular v14.1.1
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -235,13 +235,13 @@ const platformBrowserTesting = createPlatformFactory(platformCore, 'browserTesti
235
235
  */
236
236
  class BrowserTestingModule {
237
237
  }
238
- BrowserTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-next.4", ngImport: i0, type: BrowserTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
239
- BrowserTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.0-next.4", ngImport: i0, type: BrowserTestingModule, exports: [BrowserModule] });
240
- BrowserTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.0-next.4", ngImport: i0, type: BrowserTestingModule, providers: [
238
+ BrowserTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: BrowserTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
239
+ BrowserTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.1", ngImport: i0, type: BrowserTestingModule, exports: [BrowserModule] });
240
+ BrowserTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: BrowserTestingModule, providers: [
241
241
  { provide: APP_ID, useValue: 'a' },
242
242
  { provide: NgZone, useFactory: createNgZone },
243
243
  ], imports: [BrowserModule] });
244
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-next.4", ngImport: i0, type: BrowserTestingModule, decorators: [{
244
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: BrowserTestingModule, decorators: [{
245
245
  type: NgModule,
246
246
  args: [{
247
247
  exports: [BrowserModule],
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.1.0-next.4
2
+ * @license Angular v14.1.1
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -141,6 +141,8 @@ export declare class BrowserModule {
141
141
  * server to client.
142
142
  *
143
143
  * @publicApi
144
+ * @deprecated no longer needed, you can inject the `TransferState` in an app without providing
145
+ * this module.
144
146
  */
145
147
  export declare class BrowserTransferStateModule {
146
148
  static ɵfac: i0.ɵɵFactoryDeclaration<BrowserTransferStateModule, never>;
@@ -711,8 +713,10 @@ export declare class Title {
711
713
  * A key value store that is transferred from the application on the server side to the application
712
714
  * on the client side.
713
715
  *
714
- * `TransferState` will be available as an injectable token. To use it import
715
- * `ServerTransferStateModule` on the server and `BrowserTransferStateModule` on the client.
716
+ * The `TransferState` is available as an injectable token.
717
+ * On the client, just inject this token using DI and use it, it will be lazily initialized.
718
+ * On the server it's already included if `renderApplication` function is used. Otherwise, import
719
+ * the `ServerTransferStateModule` module to make the `TransferState` available.
716
720
  *
717
721
  * The values in the store are serialized/deserialized using JSON.stringify/JSON.parse. So only
718
722
  * boolean, number, string, null and non-class objects will be serialized and deserialized in a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/platform-browser",
3
- "version": "14.1.0-next.4",
3
+ "version": "14.1.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": "14.1.0-next.4",
15
- "@angular/core": "14.1.0-next.4",
16
- "@angular/common": "14.1.0-next.4"
14
+ "@angular/animations": "14.1.1",
15
+ "@angular/core": "14.1.1",
16
+ "@angular/common": "14.1.1"
17
17
  },
18
18
  "peerDependenciesMeta": {
19
19
  "@angular/animations": {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.1.0-next.4
2
+ * @license Angular v14.1.1
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */