@angular/platform-server 19.2.0-next.0 → 19.2.0-next.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.
- package/fesm2022/init.mjs +1 -1
- package/fesm2022/platform-server.mjs +19 -21
- package/fesm2022/platform-server.mjs.map +1 -1
- package/fesm2022/testing.mjs +5 -7
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +3 -4
- package/init/index.d.ts +1 -1
- package/package.json +5 -6
- package/testing/index.d.ts +3 -4
package/fesm2022/init.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.2.0-next.
|
|
2
|
+
* @license Angular v19.2.0-next.1
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -8,7 +8,6 @@ import { ɵsetRootDomAdapter, DOCUMENT, PlatformLocation, XhrFactory, ɵgetDOM,
|
|
|
8
8
|
import * as i0 from '@angular/core';
|
|
9
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
|
-
import { NoopAnimationsModule, provideNoopAnimations } from '@angular/platform-browser/animations';
|
|
12
11
|
import { ɵHTTP_ROOT_INTERCEPTOR_FNS } from '@angular/common/http';
|
|
13
12
|
import { Subject } from 'rxjs';
|
|
14
13
|
|
|
@@ -16242,10 +16241,10 @@ class PlatformState {
|
|
|
16242
16241
|
getDocument() {
|
|
16243
16242
|
return this._doc;
|
|
16244
16243
|
}
|
|
16245
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
16246
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
16244
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: PlatformState, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16245
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: PlatformState });
|
|
16247
16246
|
}
|
|
16248
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
16247
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: PlatformState, decorators: [{
|
|
16249
16248
|
type: Injectable
|
|
16250
16249
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
16251
16250
|
type: Inject,
|
|
@@ -16274,10 +16273,10 @@ class ServerXhr {
|
|
|
16274
16273
|
}
|
|
16275
16274
|
return new impl.XMLHttpRequest();
|
|
16276
16275
|
}
|
|
16277
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
16278
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
16276
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: ServerXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16277
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: ServerXhr });
|
|
16279
16278
|
}
|
|
16280
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
16279
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: ServerXhr, decorators: [{
|
|
16281
16280
|
type: Injectable
|
|
16282
16281
|
}] });
|
|
16283
16282
|
function relativeUrlsTransformerInterceptorFn(request, next) {
|
|
@@ -16396,10 +16395,10 @@ class ServerPlatformLocation {
|
|
|
16396
16395
|
getState() {
|
|
16397
16396
|
return undefined;
|
|
16398
16397
|
}
|
|
16399
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
16400
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
16398
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: ServerPlatformLocation, deps: [{ token: DOCUMENT }, { token: INITIAL_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16399
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: ServerPlatformLocation });
|
|
16401
16400
|
}
|
|
16402
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
16401
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: ServerPlatformLocation, decorators: [{
|
|
16403
16402
|
type: Injectable
|
|
16404
16403
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
16405
16404
|
type: Inject,
|
|
@@ -16424,10 +16423,10 @@ class ServerEventManagerPlugin extends EventManagerPlugin {
|
|
|
16424
16423
|
addEventListener(element, eventName, handler, options) {
|
|
16425
16424
|
return ɵgetDOM().onAndCancel(element, eventName, handler, options);
|
|
16426
16425
|
}
|
|
16427
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
16428
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
16426
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: ServerEventManagerPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16427
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: ServerEventManagerPlugin });
|
|
16429
16428
|
}
|
|
16430
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
16429
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: ServerEventManagerPlugin, decorators: [{
|
|
16431
16430
|
type: Injectable
|
|
16432
16431
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
16433
16432
|
type: Inject,
|
|
@@ -16543,15 +16542,14 @@ const PLATFORM_SERVER_PROVIDERS = [
|
|
|
16543
16542
|
* @publicApi
|
|
16544
16543
|
*/
|
|
16545
16544
|
class ServerModule {
|
|
16546
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
16547
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.0-next.
|
|
16548
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
16545
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: ServerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16546
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.0-next.1", ngImport: i0, type: ServerModule, exports: [BrowserModule] });
|
|
16547
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: ServerModule, providers: PLATFORM_SERVER_PROVIDERS, imports: [BrowserModule] });
|
|
16549
16548
|
}
|
|
16550
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.
|
|
16549
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: ServerModule, decorators: [{
|
|
16551
16550
|
type: NgModule,
|
|
16552
16551
|
args: [{
|
|
16553
16552
|
exports: [BrowserModule],
|
|
16554
|
-
imports: [NoopAnimationsModule],
|
|
16555
16553
|
providers: PLATFORM_SERVER_PROVIDERS,
|
|
16556
16554
|
}]
|
|
16557
16555
|
}] });
|
|
@@ -16607,7 +16605,7 @@ function provideServerRendering() {
|
|
|
16607
16605
|
if (typeof ngServerMode === 'undefined') {
|
|
16608
16606
|
globalThis['ngServerMode'] = true;
|
|
16609
16607
|
}
|
|
16610
|
-
return makeEnvironmentProviders([
|
|
16608
|
+
return makeEnvironmentProviders([...PLATFORM_SERVER_PROVIDERS]);
|
|
16611
16609
|
}
|
|
16612
16610
|
|
|
16613
16611
|
/**
|
|
@@ -16863,7 +16861,7 @@ async function renderApplication(bootstrap, options) {
|
|
|
16863
16861
|
/**
|
|
16864
16862
|
* @publicApi
|
|
16865
16863
|
*/
|
|
16866
|
-
const VERSION = new Version('19.2.0-next.
|
|
16864
|
+
const VERSION = new Version('19.2.0-next.1');
|
|
16867
16865
|
|
|
16868
16866
|
/// <reference types="node" />
|
|
16869
16867
|
// This file only reexports content of the `src` folder. Keep it that way.
|