@angular/platform-server 19.1.0-next.0 → 19.1.0-next.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 +2 -2
- package/init/index.d.ts +1 -1
- package/package.json +6 -6
- package/testing/index.d.ts +1 -1
package/fesm2022/init.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.1.0-next.
|
|
2
|
+
* @license Angular v19.1.0-next.2
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -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.1.0-next.
|
|
16246
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
16245
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: PlatformState, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16246
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: PlatformState });
|
|
16247
16247
|
}
|
|
16248
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
16248
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.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.1.0-next.
|
|
16278
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
16277
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: ServerXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16278
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: ServerXhr });
|
|
16279
16279
|
}
|
|
16280
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
16280
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.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.1.0-next.
|
|
16400
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
16399
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.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.1.0-next.2", ngImport: i0, type: ServerPlatformLocation });
|
|
16401
16401
|
}
|
|
16402
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
16402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.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.1.0-next.
|
|
16428
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
16427
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: ServerEventManagerPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16428
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: ServerEventManagerPlugin });
|
|
16429
16429
|
}
|
|
16430
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
16430
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.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.1.0-next.
|
|
16524
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0-next.
|
|
16525
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
16523
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: ServerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16524
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0-next.2", ngImport: i0, type: ServerModule, imports: [NoopAnimationsModule], exports: [BrowserModule] });
|
|
16525
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: ServerModule, providers: PLATFORM_SERVER_PROVIDERS, imports: [NoopAnimationsModule, BrowserModule] });
|
|
16526
16526
|
}
|
|
16527
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.
|
|
16527
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: ServerModule, decorators: [{
|
|
16528
16528
|
type: NgModule,
|
|
16529
16529
|
args: [{
|
|
16530
16530
|
exports: [BrowserModule],
|
|
@@ -16590,7 +16590,7 @@ function provideServerRendering() {
|
|
|
16590
16590
|
/**
|
|
16591
16591
|
* Event dispatch (JSAction) script is inlined into the HTML by the build
|
|
16592
16592
|
* process to avoid extra blocking request on a page. The script looks like this:
|
|
16593
|
-
* ```
|
|
16593
|
+
* ```html
|
|
16594
16594
|
* <script type="text/javascript" id="ng-event-dispatch-contract">...</script>
|
|
16595
16595
|
* ```
|
|
16596
16596
|
* This const represents the "id" attribute value.
|
|
@@ -16794,7 +16794,7 @@ async function renderModule(moduleType, options) {
|
|
|
16794
16794
|
/**
|
|
16795
16795
|
* Bootstraps an instance of an Angular application and renders it to a string.
|
|
16796
16796
|
|
|
16797
|
-
* ```
|
|
16797
|
+
* ```ts
|
|
16798
16798
|
* const bootstrap = () => bootstrapApplication(RootComponent, appConfig);
|
|
16799
16799
|
* const output: string = await renderApplication(bootstrap);
|
|
16800
16800
|
* ```
|
|
@@ -16840,7 +16840,7 @@ async function renderApplication(bootstrap, options) {
|
|
|
16840
16840
|
/**
|
|
16841
16841
|
* @publicApi
|
|
16842
16842
|
*/
|
|
16843
|
-
const VERSION = new Version('19.1.0-next.
|
|
16843
|
+
const VERSION = new Version('19.1.0-next.2');
|
|
16844
16844
|
|
|
16845
16845
|
/// <reference types="node" />
|
|
16846
16846
|
// This file only reexports content of the `src` folder. Keep it that way.
|