@angular/platform-server 16.0.0-next.3 → 16.0.0-next.4
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/esm2020/src/http.mjs +3 -3
- package/esm2020/src/location.mjs +3 -3
- package/esm2020/src/platform_state.mjs +3 -3
- package/esm2020/src/server.mjs +6 -9
- package/esm2020/src/server_events.mjs +3 -3
- package/esm2020/src/server_renderer.mjs +3 -3
- package/esm2020/src/transfer_state.mjs +4 -4
- package/esm2020/src/utils.mjs +27 -20
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/server.mjs +4 -4
- package/fesm2015/init.mjs +1 -1
- package/fesm2015/platform-server.mjs +51 -84
- package/fesm2015/platform-server.mjs.map +1 -1
- package/fesm2015/testing.mjs +5 -5
- package/fesm2020/init.mjs +1 -1
- package/fesm2020/platform-server.mjs +51 -81
- package/fesm2020/platform-server.mjs.map +1 -1
- package/fesm2020/testing.mjs +5 -5
- package/index.d.ts +1 -42
- package/init/index.d.ts +1 -1
- package/package.json +7 -7
- package/testing/index.d.ts +1 -1
- package/esm2020/src/styles_host.mjs +0 -48
package/fesm2015/testing.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v16.0.0-next.
|
|
2
|
+
* @license Angular v16.0.0-next.4
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -23,10 +23,10 @@ const platformServerTesting = createPlatformFactory(ɵplatformCoreDynamicTesting
|
|
|
23
23
|
*/
|
|
24
24
|
class ServerTestingModule {
|
|
25
25
|
}
|
|
26
|
-
ServerTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
27
|
-
ServerTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
28
|
-
ServerTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
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
30
|
type: NgModule,
|
|
31
31
|
args: [{
|
|
32
32
|
exports: [BrowserDynamicTestingModule],
|
package/fesm2020/init.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v16.0.0-next.
|
|
2
|
+
* @license Angular v16.0.0-next.4
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import { ɵsetRootDomAdapter, DOCUMENT, XhrFactory, PlatformLocation, ɵgetDOM, ɵPLATFORM_SERVER_ID, ViewportScroller, ɵNullViewportScroller } from '@angular/common';
|
|
8
8
|
import * as i0 from '@angular/core';
|
|
9
|
-
import { Injectable, Inject, InjectionToken, inject, EnvironmentInjector, Optional, ViewEncapsulation, APP_ID, RendererStyleFlags2, ɵescapeTransferStateContent, NgModule, Injector, PLATFORM_ID, PLATFORM_INITIALIZER, ɵALLOW_MULTIPLE_PLATFORMS, RendererFactory2, NgZone, Testability, ɵTESTABILITY, ɵsetDocument, createPlatformFactory, platformCore, makeEnvironmentProviders, Renderer2, ApplicationRef, ɵIS_HYDRATION_FEATURE_ENABLED, ɵannotateForHydration, ɵisPromise,
|
|
9
|
+
import { Injectable, Inject, InjectionToken, inject, EnvironmentInjector, Optional, ViewEncapsulation, APP_ID, RendererStyleFlags2, ɵescapeTransferStateContent, NgModule, Injector, PLATFORM_ID, PLATFORM_INITIALIZER, ɵALLOW_MULTIPLE_PLATFORMS, RendererFactory2, NgZone, Testability, ɵTESTABILITY, ɵsetDocument, createPlatformFactory, platformCore, makeEnvironmentProviders, Renderer2, ApplicationRef, ɵIS_HYDRATION_FEATURE_ENABLED, ɵannotateForHydration, ɵisPromise, Version } from '@angular/core';
|
|
10
10
|
import * as i1 from '@angular/platform-browser';
|
|
11
|
-
import { ɵBrowserDomAdapter, ɵshimStyles, ɵNAMESPACE_URIS, ɵshimContentAttribute, ɵshimHostAttribute,
|
|
11
|
+
import { ɵBrowserDomAdapter, ɵshimStyles, ɵNAMESPACE_URIS, ɵshimContentAttribute, ɵshimHostAttribute, TransferState, EVENT_MANAGER_PLUGINS, BrowserModule } from '@angular/platform-browser';
|
|
12
12
|
import { ɵHttpInterceptorHandler, HttpBackend, HttpHandler, HttpClientModule, provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
|
|
13
13
|
import { ɵAnimationRendererFactory, NoopAnimationsModule, provideNoopAnimations } from '@angular/platform-browser/animations';
|
|
14
14
|
import { ɵAnimationEngine } from '@angular/animations/browser';
|
|
@@ -20085,9 +20085,9 @@ class PlatformState {
|
|
|
20085
20085
|
return this._doc;
|
|
20086
20086
|
}
|
|
20087
20087
|
}
|
|
20088
|
-
PlatformState.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
20089
|
-
PlatformState.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
20090
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
20088
|
+
PlatformState.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: PlatformState, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
20089
|
+
PlatformState.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: PlatformState });
|
|
20090
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: PlatformState, decorators: [{
|
|
20091
20091
|
type: Injectable
|
|
20092
20092
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
20093
20093
|
type: Inject,
|
|
@@ -20115,9 +20115,9 @@ class ServerXhr {
|
|
|
20115
20115
|
return new xhr2.XMLHttpRequest();
|
|
20116
20116
|
}
|
|
20117
20117
|
}
|
|
20118
|
-
ServerXhr.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
20119
|
-
ServerXhr.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
20120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
20118
|
+
ServerXhr.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: ServerXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
20119
|
+
ServerXhr.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: ServerXhr });
|
|
20120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: ServerXhr, decorators: [{
|
|
20121
20121
|
type: Injectable
|
|
20122
20122
|
}] });
|
|
20123
20123
|
class ZoneMacroTaskWrapper {
|
|
@@ -20313,9 +20313,9 @@ class ServerPlatformLocation {
|
|
|
20313
20313
|
return undefined;
|
|
20314
20314
|
}
|
|
20315
20315
|
}
|
|
20316
|
-
ServerPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
20317
|
-
ServerPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
20318
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
20316
|
+
ServerPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: ServerPlatformLocation, deps: [{ token: DOCUMENT }, { token: INITIAL_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
20317
|
+
ServerPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: ServerPlatformLocation });
|
|
20318
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: ServerPlatformLocation, decorators: [{
|
|
20319
20319
|
type: Injectable
|
|
20320
20320
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
20321
20321
|
type: Inject,
|
|
@@ -20350,9 +20350,9 @@ class ServerEventManagerPlugin /* extends EventManagerPlugin which is private */
|
|
|
20350
20350
|
return this.addEventListener(target, eventName, handler);
|
|
20351
20351
|
}
|
|
20352
20352
|
}
|
|
20353
|
-
ServerEventManagerPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
20354
|
-
ServerEventManagerPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
20355
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
20353
|
+
ServerEventManagerPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: ServerEventManagerPlugin /* extends EventManagerPlugin which is private */, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
20354
|
+
ServerEventManagerPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: ServerEventManagerPlugin /* extends EventManagerPlugin which is private */ });
|
|
20355
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: ServerEventManagerPlugin /* extends EventManagerPlugin which is private */, decorators: [{
|
|
20356
20356
|
type: Injectable
|
|
20357
20357
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
20358
20358
|
type: Inject,
|
|
@@ -20399,9 +20399,9 @@ class ServerRendererFactory2 {
|
|
|
20399
20399
|
begin() { }
|
|
20400
20400
|
end() { }
|
|
20401
20401
|
}
|
|
20402
|
-
ServerRendererFactory2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
20403
|
-
ServerRendererFactory2.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
20404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
20402
|
+
ServerRendererFactory2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: ServerRendererFactory2, deps: [{ token: i1.EventManager }, { token: i0.NgZone }, { token: DOCUMENT }, { token: i1.ɵSharedStylesHost }, { token: APP_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
20403
|
+
ServerRendererFactory2.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: ServerRendererFactory2 });
|
|
20404
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: ServerRendererFactory2, decorators: [{
|
|
20405
20405
|
type: Injectable
|
|
20406
20406
|
}], ctorParameters: function () { return [{ type: i1.EventManager }, { type: i0.NgZone }, { type: Document, decorators: [{
|
|
20407
20407
|
type: Inject,
|
|
@@ -20627,42 +20627,6 @@ function _writeStyleAttribute(element, styleMap) {
|
|
|
20627
20627
|
}
|
|
20628
20628
|
}
|
|
20629
20629
|
|
|
20630
|
-
class ServerStylesHost extends ɵSharedStylesHost {
|
|
20631
|
-
constructor(doc, appId) {
|
|
20632
|
-
super();
|
|
20633
|
-
this.appId = appId;
|
|
20634
|
-
this.head = null;
|
|
20635
|
-
this._styleNodes = new Set();
|
|
20636
|
-
this.head = doc.getElementsByTagName('head')[0];
|
|
20637
|
-
}
|
|
20638
|
-
onStyleAdded(style) {
|
|
20639
|
-
const adapter = ɵgetDOM();
|
|
20640
|
-
const el = adapter.createElement('style');
|
|
20641
|
-
el.textContent = style;
|
|
20642
|
-
if (!!this.appId) {
|
|
20643
|
-
el.setAttribute('ng-app', this.appId);
|
|
20644
|
-
}
|
|
20645
|
-
this.head.appendChild(el);
|
|
20646
|
-
this._styleNodes.add(el);
|
|
20647
|
-
}
|
|
20648
|
-
ngOnDestroy() {
|
|
20649
|
-
this._styleNodes.forEach(styleNode => styleNode.remove());
|
|
20650
|
-
this._styleNodes.clear();
|
|
20651
|
-
super.ngOnDestroy();
|
|
20652
|
-
}
|
|
20653
|
-
}
|
|
20654
|
-
ServerStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.3", ngImport: i0, type: ServerStylesHost, deps: [{ token: DOCUMENT }, { token: APP_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
20655
|
-
ServerStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.3", ngImport: i0, type: ServerStylesHost });
|
|
20656
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.3", ngImport: i0, type: ServerStylesHost, decorators: [{
|
|
20657
|
-
type: Injectable
|
|
20658
|
-
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
20659
|
-
type: Inject,
|
|
20660
|
-
args: [DOCUMENT]
|
|
20661
|
-
}] }, { type: undefined, decorators: [{
|
|
20662
|
-
type: Inject,
|
|
20663
|
-
args: [APP_ID]
|
|
20664
|
-
}] }]; } });
|
|
20665
|
-
|
|
20666
20630
|
const TRANSFER_STATE_SERIALIZATION_PROVIDERS = [{
|
|
20667
20631
|
provide: BEFORE_APP_SERIALIZED,
|
|
20668
20632
|
useFactory: serializeTransferStateFactory,
|
|
@@ -20702,10 +20666,10 @@ function serializeTransferStateFactory(doc, appId, transferStore) {
|
|
|
20702
20666
|
*/
|
|
20703
20667
|
class ServerTransferStateModule {
|
|
20704
20668
|
}
|
|
20705
|
-
ServerTransferStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
20706
|
-
ServerTransferStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
20707
|
-
ServerTransferStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
20708
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
20669
|
+
ServerTransferStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: ServerTransferStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20670
|
+
ServerTransferStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.4", ngImport: i0, type: ServerTransferStateModule });
|
|
20671
|
+
ServerTransferStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: ServerTransferStateModule });
|
|
20672
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: ServerTransferStateModule, decorators: [{
|
|
20709
20673
|
type: NgModule,
|
|
20710
20674
|
args: [{}]
|
|
20711
20675
|
}] });
|
|
@@ -20737,8 +20701,6 @@ const SERVER_RENDER_PROVIDERS = [
|
|
|
20737
20701
|
useFactory: instantiateServerRendererFactory,
|
|
20738
20702
|
deps: [ServerRendererFactory2, ɵAnimationEngine, NgZone]
|
|
20739
20703
|
},
|
|
20740
|
-
ServerStylesHost,
|
|
20741
|
-
{ provide: ɵSharedStylesHost, useExisting: ServerStylesHost },
|
|
20742
20704
|
{ provide: EVENT_MANAGER_PLUGINS, multi: true, useClass: ServerEventManagerPlugin },
|
|
20743
20705
|
];
|
|
20744
20706
|
const PLATFORM_SERVER_PROVIDERS = [
|
|
@@ -20756,10 +20718,10 @@ const PLATFORM_SERVER_PROVIDERS = [
|
|
|
20756
20718
|
*/
|
|
20757
20719
|
class ServerModule {
|
|
20758
20720
|
}
|
|
20759
|
-
ServerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
20760
|
-
ServerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
20761
|
-
ServerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
20762
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
20721
|
+
ServerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: ServerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20722
|
+
ServerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.4", ngImport: i0, type: ServerModule, imports: [HttpClientModule, NoopAnimationsModule], exports: [BrowserModule] });
|
|
20723
|
+
ServerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: ServerModule, providers: PLATFORM_SERVER_PROVIDERS, imports: [HttpClientModule, NoopAnimationsModule, BrowserModule] });
|
|
20724
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: ServerModule, decorators: [{
|
|
20763
20725
|
type: NgModule,
|
|
20764
20726
|
args: [{
|
|
20765
20727
|
exports: [BrowserModule],
|
|
@@ -20922,22 +20884,30 @@ function renderModule(moduleType, options) {
|
|
|
20922
20884
|
const platform = _getPlatform(platformDynamicServer, { document, url, platformProviders });
|
|
20923
20885
|
return _render(platform, platform.bootstrapModule(moduleType));
|
|
20924
20886
|
}
|
|
20925
|
-
|
|
20926
|
-
|
|
20927
|
-
|
|
20928
|
-
|
|
20929
|
-
|
|
20930
|
-
|
|
20931
|
-
|
|
20932
|
-
|
|
20933
|
-
|
|
20934
|
-
|
|
20935
|
-
|
|
20936
|
-
|
|
20937
|
-
|
|
20938
|
-
|
|
20939
|
-
|
|
20940
|
-
|
|
20887
|
+
/**
|
|
20888
|
+
* Bootstraps an instance of an Angular application and renders it to a string.
|
|
20889
|
+
|
|
20890
|
+
* ```typescript
|
|
20891
|
+
* const bootstrap = () => bootstrapApplication(RootComponent, appConfig);
|
|
20892
|
+
* const output: string = await renderApplication(bootstrap);
|
|
20893
|
+
* ```
|
|
20894
|
+
*
|
|
20895
|
+
* @param bootstrap A method that when invoked returns a promise that returns an `ApplicationRef`
|
|
20896
|
+
* instance once resolved.
|
|
20897
|
+
* @param options Additional configuration for the render operation:
|
|
20898
|
+
* - `document` - the document of the page to render, either as an HTML string or
|
|
20899
|
+
* as a reference to the `document` instance.
|
|
20900
|
+
* - `url` - the URL for the current render request.
|
|
20901
|
+
* - `platformProviders` - the platform level providers for the current render request.
|
|
20902
|
+
*
|
|
20903
|
+
* @returns A Promise, that returns serialized (to a string) rendered page, once resolved.
|
|
20904
|
+
*
|
|
20905
|
+
* @publicApi
|
|
20906
|
+
* @developerPreview
|
|
20907
|
+
*/
|
|
20908
|
+
function renderApplication(bootstrap, options) {
|
|
20909
|
+
const platform = _getPlatform(platformDynamicServer, options);
|
|
20910
|
+
return _render(platform, bootstrap());
|
|
20941
20911
|
}
|
|
20942
20912
|
|
|
20943
20913
|
/**
|
|
@@ -20948,7 +20918,7 @@ function isBootstrapFn(value) {
|
|
|
20948
20918
|
/**
|
|
20949
20919
|
* @publicApi
|
|
20950
20920
|
*/
|
|
20951
|
-
const VERSION = new Version('16.0.0-next.
|
|
20921
|
+
const VERSION = new Version('16.0.0-next.4');
|
|
20952
20922
|
|
|
20953
20923
|
/// <reference types="node" />
|
|
20954
20924
|
// This file only reexports content of the `src` folder. Keep it that way.
|