@angular/core 18.2.13 → 18.2.14

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 v18.2.13
2
+ * @license Angular v18.2.14
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.2.13
2
+ * @license Angular v18.2.14
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.2.13
2
+ * @license Angular v18.2.14
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.2.13
2
+ * @license Angular v18.2.14
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -175,10 +175,10 @@ class TestBedApplicationErrorHandler {
175
175
  throw e;
176
176
  }
177
177
  }
178
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TestBedApplicationErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
179
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TestBedApplicationErrorHandler }); }
178
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TestBedApplicationErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
179
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TestBedApplicationErrorHandler }); }
180
180
  }
181
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TestBedApplicationErrorHandler, decorators: [{
181
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TestBedApplicationErrorHandler, decorators: [{
182
182
  type: Injectable
183
183
  }] });
184
184
 
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.2.13
2
+ * @license Angular v18.2.14
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -3161,6 +3161,8 @@ declare type DestroyHookData = (HookEntry | HookData)[];
3161
3161
  * Destroys the current Angular platform and all Angular applications on the page.
3162
3162
  * Destroys all modules and listeners registered with the platform.
3163
3163
  *
3164
+ * This function should not be used in a server environment, as it will be a no-op.
3165
+ *
3164
3166
  * @publicApi
3165
3167
  */
3166
3168
  export declare function destroyPlatform(): void;
@@ -4562,7 +4564,8 @@ export declare function getNgModuleById<T>(id: string): Type<T>;
4562
4564
  declare function getOwningComponent<T>(elementOrDir: Element | {}): T | null;
4563
4565
 
4564
4566
  /**
4565
- * Returns the current platform.
4567
+ * Returns the current platform in the browser environment. In the server environment,
4568
+ * returns `null`. If you need access to the platform information, inject `PlatformRef` in your application.
4566
4569
  *
4567
4570
  * @publicApi
4568
4571
  */
@@ -13080,6 +13083,7 @@ export declare function ɵinternalCreateApplication(config: {
13080
13083
  rootComponent?: Type<unknown>;
13081
13084
  appProviders?: Array<Provider | EnvironmentProviders>;
13082
13085
  platformProviders?: Provider[];
13086
+ platformRef?: PlatformRef;
13083
13087
  }): Promise<ApplicationRef>;
13084
13088
 
13085
13089
  export declare interface ɵInternalEnvironmentProviders extends EnvironmentProviders {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/core",
3
- "version": "18.2.13",
3
+ "version": "18.2.14",
4
4
  "description": "Angular - the core framework",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.2.13
2
+ * @license Angular v18.2.14
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.2.13
2
+ * @license Angular v18.2.14
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.2.13
2
+ * @license Angular v18.2.14
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */