@angular/platform-server 17.0.0-rc.1 → 17.0.0-rc.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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v17.0.0-rc.1
2
+ * @license Angular v17.0.0-rc.2
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -290,7 +290,7 @@ var require_DOMException = __commonJS({
290
290
  // external/npm/node_modules/domino/lib/config.js
291
291
  var require_config = __commonJS({
292
292
  "external/npm/node_modules/domino/lib/config.js"(exports) {
293
- exports.isApiWritable = !global.__domino_frozen__;
293
+ exports.isApiWritable = !globalThis.__domino_frozen__;
294
294
  }
295
295
  });
296
296
 
@@ -3712,8 +3712,9 @@ var require_Element = __commonJS({
3712
3712
  return this.element._attrsByLName[this.element._attrKeys[n]];
3713
3713
  } }
3714
3714
  });
3715
- if (global.Symbol && global.Symbol.iterator) {
3716
- AttributesArray.prototype[global.Symbol.iterator] = function() {
3715
+ var _a;
3716
+ if ((_a = globalThis.Symbol) == null ? void 0 : _a.iterator) {
3717
+ AttributesArray.prototype[globalThis.Symbol.iterator] = function() {
3717
3718
  var i = 0, n = this.length, self = this;
3718
3719
  return {
3719
3720
  next: function() {
@@ -16215,10 +16216,10 @@ class PlatformState {
16215
16216
  getDocument() {
16216
16217
  return this._doc;
16217
16218
  }
16218
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-rc.1", ngImport: i0, type: PlatformState, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
16219
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-rc.1", ngImport: i0, type: PlatformState }); }
16219
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-rc.2", ngImport: i0, type: PlatformState, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
16220
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-rc.2", ngImport: i0, type: PlatformState }); }
16220
16221
  }
16221
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-rc.1", ngImport: i0, type: PlatformState, decorators: [{
16222
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-rc.2", ngImport: i0, type: PlatformState, decorators: [{
16222
16223
  type: Injectable
16223
16224
  }], ctorParameters: () => [{ type: undefined, decorators: [{
16224
16225
  type: Inject,
@@ -16243,10 +16244,10 @@ class ServerXhr {
16243
16244
  }
16244
16245
  return new impl.XMLHttpRequest();
16245
16246
  }
16246
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-rc.1", ngImport: i0, type: ServerXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
16247
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-rc.1", ngImport: i0, type: ServerXhr }); }
16247
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-rc.2", ngImport: i0, type: ServerXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
16248
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-rc.2", ngImport: i0, type: ServerXhr }); }
16248
16249
  }
16249
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-rc.1", ngImport: i0, type: ServerXhr, decorators: [{
16250
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-rc.2", ngImport: i0, type: ServerXhr, decorators: [{
16250
16251
  type: Injectable
16251
16252
  }] });
16252
16253
  function relativeUrlsTransformerInterceptorFn(request, next) {
@@ -16397,10 +16398,10 @@ class ServerPlatformLocation {
16397
16398
  getState() {
16398
16399
  return undefined;
16399
16400
  }
16400
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-rc.1", ngImport: i0, type: ServerPlatformLocation, deps: [{ token: DOCUMENT }, { token: INITIAL_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
16401
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-rc.1", ngImport: i0, type: ServerPlatformLocation }); }
16401
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-rc.2", ngImport: i0, type: ServerPlatformLocation, deps: [{ token: DOCUMENT }, { token: INITIAL_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
16402
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-rc.2", ngImport: i0, type: ServerPlatformLocation }); }
16402
16403
  }
16403
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-rc.1", ngImport: i0, type: ServerPlatformLocation, decorators: [{
16404
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-rc.2", ngImport: i0, type: ServerPlatformLocation, decorators: [{
16404
16405
  type: Injectable
16405
16406
  }], ctorParameters: () => [{ type: undefined, decorators: [{
16406
16407
  type: Inject,
@@ -16424,10 +16425,10 @@ class ServerEventManagerPlugin extends EventManagerPlugin {
16424
16425
  addEventListener(element, eventName, handler) {
16425
16426
  return ɵgetDOM().onAndCancel(element, eventName, handler);
16426
16427
  }
16427
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-rc.1", ngImport: i0, type: ServerEventManagerPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
16428
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-rc.1", ngImport: i0, type: ServerEventManagerPlugin }); }
16428
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-rc.2", ngImport: i0, type: ServerEventManagerPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
16429
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-rc.2", ngImport: i0, type: ServerEventManagerPlugin }); }
16429
16430
  }
16430
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-rc.1", ngImport: i0, type: ServerEventManagerPlugin, decorators: [{
16431
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-rc.2", ngImport: i0, type: ServerEventManagerPlugin, decorators: [{
16431
16432
  type: Injectable
16432
16433
  }], ctorParameters: () => [{ type: undefined, decorators: [{
16433
16434
  type: Inject,
@@ -16472,11 +16473,11 @@ function serializeTransferStateFactory(doc, appId, transferStore) {
16472
16473
  * this module.
16473
16474
  */
16474
16475
  class ServerTransferStateModule {
16475
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-rc.1", ngImport: i0, type: ServerTransferStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
16476
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-rc.1", ngImport: i0, type: ServerTransferStateModule }); }
16477
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-rc.1", ngImport: i0, type: ServerTransferStateModule }); }
16476
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-rc.2", ngImport: i0, type: ServerTransferStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
16477
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-rc.2", ngImport: i0, type: ServerTransferStateModule }); }
16478
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-rc.2", ngImport: i0, type: ServerTransferStateModule }); }
16478
16479
  }
16479
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-rc.1", ngImport: i0, type: ServerTransferStateModule, decorators: [{
16480
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-rc.2", ngImport: i0, type: ServerTransferStateModule, decorators: [{
16480
16481
  type: NgModule,
16481
16482
  args: [{}]
16482
16483
  }] });
@@ -16515,11 +16516,11 @@ const PLATFORM_SERVER_PROVIDERS = [
16515
16516
  * @publicApi
16516
16517
  */
16517
16518
  class ServerModule {
16518
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-rc.1", ngImport: i0, type: ServerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
16519
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-rc.1", ngImport: i0, type: ServerModule, imports: [HttpClientModule, NoopAnimationsModule], exports: [BrowserModule] }); }
16520
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-rc.1", ngImport: i0, type: ServerModule, providers: PLATFORM_SERVER_PROVIDERS, imports: [HttpClientModule, NoopAnimationsModule, BrowserModule] }); }
16519
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-rc.2", ngImport: i0, type: ServerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
16520
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-rc.2", ngImport: i0, type: ServerModule, imports: [HttpClientModule, NoopAnimationsModule], exports: [BrowserModule] }); }
16521
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-rc.2", ngImport: i0, type: ServerModule, providers: PLATFORM_SERVER_PROVIDERS, imports: [HttpClientModule, NoopAnimationsModule, BrowserModule] }); }
16521
16522
  }
16522
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-rc.1", ngImport: i0, type: ServerModule, decorators: [{
16523
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-rc.2", ngImport: i0, type: ServerModule, decorators: [{
16523
16524
  type: NgModule,
16524
16525
  args: [{
16525
16526
  exports: [BrowserModule],
@@ -16733,7 +16734,7 @@ async function renderApplication(bootstrap, options) {
16733
16734
  /**
16734
16735
  * @publicApi
16735
16736
  */
16736
- const VERSION = new Version('17.0.0-rc.1');
16737
+ const VERSION = new Version('17.0.0-rc.2');
16737
16738
 
16738
16739
  /// <reference types="node" />
16739
16740
  // This file only reexports content of the `src` folder. Keep it that way.