@angular/platform-server 16.0.0-next.4 → 16.0.0-next.6

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 (50) hide show
  1. package/{fesm2020/platform-server.mjs → esm2022/src/bundled-domino.mjs} +140 -4632
  2. package/esm2022/src/http.mjs +26 -0
  3. package/{esm2020 → esm2022}/src/location.mjs +4 -4
  4. package/{esm2020 → esm2022}/src/platform_state.mjs +4 -4
  5. package/{esm2020 → esm2022}/src/server.mjs +5 -5
  6. package/esm2022/src/server_events.mjs +32 -0
  7. package/esm2022/src/server_renderer.mjs +279 -0
  8. package/{esm2020 → esm2022}/src/tokens.mjs +1 -1
  9. package/esm2022/src/transfer_state.mjs +59 -0
  10. package/esm2022/src/utils.mjs +146 -0
  11. package/{esm2020 → esm2022}/src/version.mjs +1 -1
  12. package/{esm2020 → esm2022}/testing/src/server.mjs +5 -5
  13. package/{fesm2015 → fesm2022}/init.mjs +1 -1
  14. package/{esm2020/src/bundled-domino.mjs → fesm2022/platform-server.mjs} +1065 -3732
  15. package/fesm2022/platform-server.mjs.map +1 -0
  16. package/{fesm2020 → fesm2022}/testing.mjs +5 -5
  17. package/{fesm2015 → fesm2022}/testing.mjs.map +1 -1
  18. package/index.d.ts +9 -1
  19. package/init/index.d.ts +1 -1
  20. package/package.json +19 -30
  21. package/testing/index.d.ts +1 -1
  22. package/esm2020/src/http.mjs +0 -125
  23. package/esm2020/src/server_events.mjs +0 -40
  24. package/esm2020/src/server_renderer.mjs +0 -282
  25. package/esm2020/src/transfer_state.mjs +0 -60
  26. package/esm2020/src/utils.mjs +0 -145
  27. package/fesm2015/platform-server.mjs +0 -21143
  28. package/fesm2015/platform-server.mjs.map +0 -1
  29. package/fesm2015/testing.mjs +0 -58
  30. package/fesm2020/init.mjs +0 -35
  31. package/fesm2020/init.mjs.map +0 -1
  32. package/fesm2020/platform-server.mjs.map +0 -1
  33. package/fesm2020/testing.mjs.map +0 -1
  34. /package/{esm2020 → esm2022}/index.mjs +0 -0
  35. /package/{esm2020 → esm2022}/init/index.mjs +0 -0
  36. /package/{esm2020 → esm2022}/init/init.mjs +0 -0
  37. /package/{esm2020 → esm2022}/init/public_api.mjs +0 -0
  38. /package/{esm2020 → esm2022}/init/src/init.mjs +0 -0
  39. /package/{esm2020 → esm2022}/init/src/shims.mjs +0 -0
  40. /package/{esm2020 → esm2022}/platform-server.mjs +0 -0
  41. /package/{esm2020 → esm2022}/public_api.mjs +0 -0
  42. /package/{esm2020 → esm2022}/src/domino_adapter.mjs +0 -0
  43. /package/{esm2020 → esm2022}/src/platform-server.mjs +0 -0
  44. /package/{esm2020 → esm2022}/src/private_export.mjs +0 -0
  45. /package/{esm2020 → esm2022}/src/provide_server.mjs +0 -0
  46. /package/{esm2020 → esm2022}/testing/index.mjs +0 -0
  47. /package/{esm2020 → esm2022}/testing/public_api.mjs +0 -0
  48. /package/{esm2020 → esm2022}/testing/src/testing.mjs +0 -0
  49. /package/{esm2020 → esm2022}/testing/testing.mjs +0 -0
  50. /package/{fesm2015 → fesm2022}/init.mjs.map +0 -0
@@ -1,58 +0,0 @@
1
- /**
2
- * @license Angular v16.0.0-next.4
3
- * (c) 2010-2022 Google LLC. https://angular.io/
4
- * License: MIT
5
- */
6
-
7
- import * as i0 from '@angular/core';
8
- import { createPlatformFactory, NgModule } from '@angular/core';
9
- import { ɵplatformCoreDynamicTesting, BrowserDynamicTestingModule } from '@angular/platform-browser-dynamic/testing';
10
- import { NoopAnimationsModule } from '@angular/platform-browser/animations';
11
- import { ɵINTERNAL_SERVER_PLATFORM_PROVIDERS, ɵSERVER_RENDER_PROVIDERS } from '@angular/platform-server';
12
-
13
- /**
14
- * Platform for testing
15
- *
16
- * @publicApi
17
- */
18
- const platformServerTesting = createPlatformFactory(ɵplatformCoreDynamicTesting, 'serverTesting', ɵINTERNAL_SERVER_PLATFORM_PROVIDERS);
19
- /**
20
- * NgModule for testing.
21
- *
22
- * @publicApi
23
- */
24
- class ServerTestingModule {
25
- }
26
- ServerTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: ServerTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
27
- ServerTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.4", ngImport: i0, type: ServerTestingModule, imports: [NoopAnimationsModule], exports: [BrowserDynamicTestingModule] });
28
- ServerTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: ServerTestingModule, providers: ɵSERVER_RENDER_PROVIDERS, imports: [NoopAnimationsModule, BrowserDynamicTestingModule] });
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: ServerTestingModule, decorators: [{
30
- type: NgModule,
31
- args: [{
32
- exports: [BrowserDynamicTestingModule],
33
- imports: [NoopAnimationsModule],
34
- providers: ɵSERVER_RENDER_PROVIDERS
35
- }]
36
- }] });
37
-
38
- /**
39
- * @module
40
- * @description
41
- * Entry point for all public APIs of the platform-browser-dynamic/testing package.
42
- */
43
-
44
- /**
45
- * @module
46
- * @description
47
- * Entry point for all public APIs of this package.
48
- */
49
- // This file only reexports content of the `src` folder. Keep it that way.
50
-
51
- // This file is not used to build this module. It is only used during editing
52
-
53
- /**
54
- * Generated bundle index. Do not edit.
55
- */
56
-
57
- export { ServerTestingModule, platformServerTesting };
58
- //# sourceMappingURL=testing.mjs.map
package/fesm2020/init.mjs DELETED
@@ -1,35 +0,0 @@
1
- /**
2
- * @license Angular v16.0.0-next.4
3
- * (c) 2010-2022 Google LLC. https://angular.io/
4
- * License: MIT
5
- */
6
-
7
- import { ɵsetDomTypes } from '@angular/platform-server';
8
-
9
- /**
10
- * Apply the necessary shims to make DOM globals (such as `Element`, `HTMLElement`, etc.) available
11
- * on the environment.
12
- */
13
- function applyShims() {
14
- ɵsetDomTypes();
15
- }
16
-
17
- /**
18
- * @module
19
- * @description
20
- * Entry point for all initialization APIs of the platform-server package.
21
- */
22
- applyShims();
23
-
24
- /**
25
- * @module
26
- * @description
27
- * Entry point for all public APIs of this package.
28
- */
29
-
30
- // This file is not used to build this module. It is only used during editing
31
-
32
- /**
33
- * Generated bundle index. Do not edit.
34
- */
35
- //# sourceMappingURL=init.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"init.mjs","sources":["../../../../../../packages/platform-server/init/src/shims.ts","../../../../../../packages/platform-server/init/src/init.ts","../../../../../../packages/platform-server/init/public_api.ts","../../../../../../packages/platform-server/init/index.ts","../../../../../../packages/platform-server/init/init.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport {ɵsetDomTypes} from '@angular/platform-server';\n\n/**\n * Apply the necessary shims to make DOM globals (such as `Element`, `HTMLElement`, etc.) available\n * on the environment.\n */\nexport function applyShims(): void {\n ɵsetDomTypes();\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @module\n * @description\n * Entry point for all initialization APIs of the platform-server package.\n */\n\nimport {applyShims} from './shims';\n\napplyShims();\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\nexport * from './src/init';\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n// This file is not used to build this module. It is only used during editing\n// by the TypeScript language service and during build for verifcation. `ngc`\n// replaces this file with production index.ts when it rewrites private symbol\n// names.\n\nexport * from './public_api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AASA;;;AAGG;SACa,UAAU,GAAA;AACxB,IAAA,YAAY,EAAE,CAAC;AACjB;;ACPA;;;;AAIG;AAIH,UAAU,EAAE;;ACRZ;;;;AAIG;;ACJH;;ACRA;;AAEG"}