@angular/ssr 22.0.0-next.7 → 22.0.0-rc.0
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/fesm2022/_validation-chunk.mjs +8 -4
- package/fesm2022/_validation-chunk.mjs.map +1 -1
- package/fesm2022/node.mjs +2 -1
- package/fesm2022/node.mjs.map +1 -1
- package/fesm2022/ssr.mjs +3 -2
- package/fesm2022/ssr.mjs.map +1 -1
- package/package.json +9 -11
- package/third_party/beasties/index.js +54 -17
- package/third_party/beasties/index.js.map +1 -1
- package/types/node.d.ts +11 -0
package/types/node.d.ts
CHANGED
|
@@ -4,6 +4,10 @@ import { IncomingMessage, ServerResponse } from 'node:http';
|
|
|
4
4
|
import { Http2ServerRequest, Http2ServerResponse } from 'node:http2';
|
|
5
5
|
import { AngularAppEngineOptions } from './_app-engine-chunk.js';
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated Use `AngularNodeAppEngine` or `AngularAppEngine` instead.
|
|
9
|
+
* Deprecated since v22.
|
|
10
|
+
*/
|
|
7
11
|
interface CommonEngineOptions {
|
|
8
12
|
/** A method that when invoked returns a promise that returns an `ApplicationRef` instance once resolved or an NgModule. */
|
|
9
13
|
bootstrap?: Type<{}> | ((context: BootstrapContext) => Promise<ApplicationRef>);
|
|
@@ -14,6 +18,10 @@ interface CommonEngineOptions {
|
|
|
14
18
|
/** A set of hostnames that are allowed to access the server. */
|
|
15
19
|
allowedHosts?: readonly string[];
|
|
16
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated Use `AngularNodeAppEngine` or `AngularAppEngine` instead.
|
|
23
|
+
* Deprecated since v22.
|
|
24
|
+
*/
|
|
17
25
|
interface CommonEngineRenderOptions {
|
|
18
26
|
/** A method that when invoked returns a promise that returns an `ApplicationRef` instance once resolved or an NgModule. */
|
|
19
27
|
bootstrap?: Type<{}> | ((context: BootstrapContext) => Promise<ApplicationRef>);
|
|
@@ -35,6 +43,9 @@ interface CommonEngineRenderOptions {
|
|
|
35
43
|
}
|
|
36
44
|
/**
|
|
37
45
|
* A common engine to use to server render an application.
|
|
46
|
+
*
|
|
47
|
+
* @deprecated Use `AngularNodeAppEngine` or `AngularAppEngine` instead.
|
|
48
|
+
* Deprecated since v22.
|
|
38
49
|
*/
|
|
39
50
|
declare class CommonEngine {
|
|
40
51
|
private options?;
|