@angular/platform-server 19.2.11 → 19.2.12

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.2.11
2
+ * @license Angular v19.2.12
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -8,7 +8,7 @@ import * as i0 from '@angular/core';
8
8
  import { createPlatformFactory, platformCore, NgModule } from '@angular/core';
9
9
  import { ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS as _INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS } from '@angular/platform-browser-dynamic';
10
10
  import { BrowserDynamicTestingModule } from '@angular/platform-browser-dynamic/testing';
11
- import { INTERNAL_SERVER_PLATFORM_PROVIDERS, SERVER_RENDER_PROVIDERS } from './server-Djcde0Qr.mjs';
11
+ import { INTERNAL_SERVER_PLATFORM_PROVIDERS, SERVER_RENDER_PROVIDERS } from './server-_br4z1cG.mjs';
12
12
  import '@angular/common';
13
13
  import '@angular/platform-browser';
14
14
  import '@angular/common/http';
@@ -30,11 +30,11 @@ const platformServerTesting = createPlatformFactory(platformCore, 'serverTesting
30
30
  * @publicApi
31
31
  */
32
32
  class ServerTestingModule {
33
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: ServerTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
34
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.11", ngImport: i0, type: ServerTestingModule, exports: [BrowserDynamicTestingModule] });
35
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: ServerTestingModule, providers: SERVER_RENDER_PROVIDERS, imports: [BrowserDynamicTestingModule] });
33
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: ServerTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
34
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.12", ngImport: i0, type: ServerTestingModule, exports: [BrowserDynamicTestingModule] });
35
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: ServerTestingModule, providers: SERVER_RENDER_PROVIDERS, imports: [BrowserDynamicTestingModule] });
36
36
  }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: ServerTestingModule, decorators: [{
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: ServerTestingModule, decorators: [{
38
38
  type: NgModule,
39
39
  args: [{
40
40
  exports: [BrowserDynamicTestingModule],
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.2.11
2
+ * @license Angular v19.2.12
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -7,6 +7,7 @@
7
7
  import * as i0 from '@angular/core';
8
8
  import { EnvironmentProviders, StaticProvider, PlatformRef, Provider, InjectionToken, ApplicationRef, Type, Version } from '@angular/core';
9
9
  import * as i1 from '@angular/platform-browser';
10
+ import { ɵBrowserDomAdapter as _BrowserDomAdapter } from '@angular/platform-browser';
10
11
 
11
12
  /**
12
13
  * Representation of the current platform state.
@@ -155,6 +156,25 @@ declare function renderApplication<T>(bootstrap: () => Promise<ApplicationRef>,
155
156
  platformProviders?: Provider[];
156
157
  }): Promise<string>;
157
158
 
159
+ /**
160
+ * DOM Adapter for the server platform based on https://github.com/fgnass/domino.
161
+ */
162
+ declare class DominoAdapter extends _BrowserDomAdapter {
163
+ static makeCurrent(): void;
164
+ readonly supportsDOMEvents = false;
165
+ private static defaultDoc;
166
+ createHtmlDocument(): Document;
167
+ getDefaultDocument(): Document;
168
+ isElementNode(node: any): boolean;
169
+ isShadowRoot(node: any): boolean;
170
+ /** @deprecated No longer being used in Ivy code. To be removed in version 14. */
171
+ getGlobalEventTarget(doc: Document, target: string): EventTarget | null;
172
+ getBaseHref(doc: Document): string;
173
+ dispatchEvent(el: Node, evt: any): void;
174
+ getUserAgent(): string;
175
+ getCookie(name: string): string;
176
+ }
177
+
158
178
  /**
159
179
  * @module
160
180
  * @description
@@ -166,5 +186,5 @@ declare function renderApplication<T>(bootstrap: () => Promise<ApplicationRef>,
166
186
  */
167
187
  declare const VERSION: Version;
168
188
 
169
- export { BEFORE_APP_SERIALIZED, INITIAL_CONFIG, PlatformState, ServerModule, VERSION, platformServer, provideServerRendering, renderApplication, renderModule, ENABLE_DOM_EMULATION as ɵENABLE_DOM_EMULATION, INTERNAL_SERVER_PLATFORM_PROVIDERS as ɵINTERNAL_SERVER_PLATFORM_PROVIDERS, SERVER_CONTEXT as ɵSERVER_CONTEXT, SERVER_RENDER_PROVIDERS as ɵSERVER_RENDER_PROVIDERS, renderInternal as ɵrenderInternal };
189
+ export { BEFORE_APP_SERIALIZED, INITIAL_CONFIG, PlatformState, ServerModule, VERSION, platformServer, provideServerRendering, renderApplication, renderModule, DominoAdapter as ɵDominoAdapter, ENABLE_DOM_EMULATION as ɵENABLE_DOM_EMULATION, INTERNAL_SERVER_PLATFORM_PROVIDERS as ɵINTERNAL_SERVER_PLATFORM_PROVIDERS, SERVER_CONTEXT as ɵSERVER_CONTEXT, SERVER_RENDER_PROVIDERS as ɵSERVER_RENDER_PROVIDERS, renderInternal as ɵrenderInternal };
170
190
  export type { PlatformConfig };
package/init/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.2.11
2
+ * @license Angular v19.2.12
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/platform-server",
3
- "version": "19.2.11",
3
+ "version": "19.2.12",
4
4
  "description": "Angular - library for using Angular in Node.js",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -8,10 +8,10 @@
8
8
  "node": "^18.19.1 || ^20.11.1 || >=22.0.0"
9
9
  },
10
10
  "peerDependencies": {
11
- "@angular/common": "19.2.11",
12
- "@angular/compiler": "19.2.11",
13
- "@angular/core": "19.2.11",
14
- "@angular/platform-browser": "19.2.11",
11
+ "@angular/common": "19.2.12",
12
+ "@angular/compiler": "19.2.12",
13
+ "@angular/core": "19.2.12",
14
+ "@angular/platform-browser": "19.2.12",
15
15
  "rxjs": "^6.5.3 || ^7.4.0"
16
16
  },
17
17
  "dependencies": {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.2.11
2
+ * @license Angular v19.2.12
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */