@angular/platform-server 19.0.0 → 19.0.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/fesm2022/init.mjs +1 -1
- package/fesm2022/platform-server.mjs +20 -20
- package/fesm2022/platform-server.mjs.map +1 -1
- package/fesm2022/testing.mjs +5 -5
- package/index.d.ts +1 -1
- package/init/index.d.ts +1 -1
- package/package.json +5 -6
- package/testing/index.d.ts +1 -1
package/fesm2022/init.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.0.
|
|
2
|
+
* @license Angular v19.0.2
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import { ɵsetRootDomAdapter, DOCUMENT, PlatformLocation, XhrFactory, ɵgetDOM, ɵPLATFORM_SERVER_ID, ViewportScroller, ɵNullViewportScroller } from '@angular/common';
|
|
8
8
|
import * as i0 from '@angular/core';
|
|
9
|
-
import { InjectionToken, inject, Injector, ɵstartMeasuring, ɵstopMeasuring, Injectable, Inject, Optional, APP_ID, TransferState, PLATFORM_ID, PLATFORM_INITIALIZER, ɵALLOW_MULTIPLE_PLATFORMS, Testability, ɵTESTABILITY, NgModule, ɵsetDocument, createPlatformFactory, platformCore, makeEnvironmentProviders, ɵIS_HYDRATION_DOM_REUSE_ENABLED, ɵannotateForHydration, CSP_NONCE, ɵSSR_CONTENT_INTEGRITY_MARKER, Renderer2,
|
|
9
|
+
import { InjectionToken, inject, Injector, ɵstartMeasuring, ɵstopMeasuring, Injectable, Inject, Optional, APP_ID, TransferState, PLATFORM_ID, PLATFORM_INITIALIZER, ɵALLOW_MULTIPLE_PLATFORMS, Testability, ɵTESTABILITY, NgModule, ɵsetDocument, createPlatformFactory, platformCore, makeEnvironmentProviders, ɵIS_HYDRATION_DOM_REUSE_ENABLED, ɵannotateForHydration, CSP_NONCE, ɵSSR_CONTENT_INTEGRITY_MARKER, Renderer2, ApplicationRef, Version } from '@angular/core';
|
|
10
10
|
import { ɵBrowserDomAdapter, EventManagerPlugin, EVENT_MANAGER_PLUGINS, BrowserModule } from '@angular/platform-browser';
|
|
11
11
|
import { NoopAnimationsModule, provideNoopAnimations } from '@angular/platform-browser/animations';
|
|
12
12
|
import { ɵHTTP_ROOT_INTERCEPTOR_FNS } from '@angular/common/http';
|
|
@@ -16242,10 +16242,10 @@ class PlatformState {
|
|
|
16242
16242
|
getDocument() {
|
|
16243
16243
|
return this._doc;
|
|
16244
16244
|
}
|
|
16245
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
16246
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.
|
|
16245
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: PlatformState, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16246
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: PlatformState });
|
|
16247
16247
|
}
|
|
16248
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
16248
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: PlatformState, decorators: [{
|
|
16249
16249
|
type: Injectable
|
|
16250
16250
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
16251
16251
|
type: Inject,
|
|
@@ -16274,10 +16274,10 @@ class ServerXhr {
|
|
|
16274
16274
|
}
|
|
16275
16275
|
return new impl.XMLHttpRequest();
|
|
16276
16276
|
}
|
|
16277
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
16278
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.
|
|
16277
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: ServerXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16278
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: ServerXhr });
|
|
16279
16279
|
}
|
|
16280
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
16280
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: ServerXhr, decorators: [{
|
|
16281
16281
|
type: Injectable
|
|
16282
16282
|
}] });
|
|
16283
16283
|
function relativeUrlsTransformerInterceptorFn(request, next) {
|
|
@@ -16396,10 +16396,10 @@ class ServerPlatformLocation {
|
|
|
16396
16396
|
getState() {
|
|
16397
16397
|
return undefined;
|
|
16398
16398
|
}
|
|
16399
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
16400
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.
|
|
16399
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: ServerPlatformLocation, deps: [{ token: DOCUMENT }, { token: INITIAL_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16400
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: ServerPlatformLocation });
|
|
16401
16401
|
}
|
|
16402
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
16402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: ServerPlatformLocation, decorators: [{
|
|
16403
16403
|
type: Injectable
|
|
16404
16404
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
16405
16405
|
type: Inject,
|
|
@@ -16424,10 +16424,10 @@ class ServerEventManagerPlugin extends EventManagerPlugin {
|
|
|
16424
16424
|
addEventListener(element, eventName, handler) {
|
|
16425
16425
|
return ɵgetDOM().onAndCancel(element, eventName, handler);
|
|
16426
16426
|
}
|
|
16427
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
16428
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.
|
|
16427
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: ServerEventManagerPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16428
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: ServerEventManagerPlugin });
|
|
16429
16429
|
}
|
|
16430
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
16430
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: ServerEventManagerPlugin, decorators: [{
|
|
16431
16431
|
type: Injectable
|
|
16432
16432
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
16433
16433
|
type: Inject,
|
|
@@ -16520,11 +16520,11 @@ const PLATFORM_SERVER_PROVIDERS = [
|
|
|
16520
16520
|
* @publicApi
|
|
16521
16521
|
*/
|
|
16522
16522
|
class ServerModule {
|
|
16523
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
16524
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.
|
|
16525
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.
|
|
16523
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: ServerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16524
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.2", ngImport: i0, type: ServerModule, imports: [NoopAnimationsModule], exports: [BrowserModule] });
|
|
16525
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: ServerModule, providers: PLATFORM_SERVER_PROVIDERS, imports: [NoopAnimationsModule, BrowserModule] });
|
|
16526
16526
|
}
|
|
16527
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
16527
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: ServerModule, decorators: [{
|
|
16528
16528
|
type: NgModule,
|
|
16529
16529
|
args: [{
|
|
16530
16530
|
exports: [BrowserModule],
|
|
@@ -16704,7 +16704,7 @@ async function _render(platformRef, applicationRef) {
|
|
|
16704
16704
|
const measuringLabel = 'whenStable';
|
|
16705
16705
|
ɵstartMeasuring(measuringLabel);
|
|
16706
16706
|
// Block until application is stable.
|
|
16707
|
-
await
|
|
16707
|
+
await applicationRef.whenStable();
|
|
16708
16708
|
ɵstopMeasuring(measuringLabel);
|
|
16709
16709
|
const platformState = platformRef.injector.get(PlatformState);
|
|
16710
16710
|
prepareForHydration(platformState, applicationRef);
|
|
@@ -16840,7 +16840,7 @@ async function renderApplication(bootstrap, options) {
|
|
|
16840
16840
|
/**
|
|
16841
16841
|
* @publicApi
|
|
16842
16842
|
*/
|
|
16843
|
-
const VERSION = new Version('19.0.
|
|
16843
|
+
const VERSION = new Version('19.0.2');
|
|
16844
16844
|
|
|
16845
16845
|
/// <reference types="node" />
|
|
16846
16846
|
// This file only reexports content of the `src` folder. Keep it that way.
|