@angular/core 18.2.2 → 18.2.4
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/esm2022/src/di/initializer_token.mjs +4 -1
- package/esm2022/src/linker/compiler.mjs +3 -3
- package/esm2022/src/render3/component_ref.mjs +1 -1
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/application_error_handler.mjs +3 -3
- package/esm2022/testing/src/logger.mjs +3 -3
- package/fesm2022/core.mjs +8 -5
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +4 -4
- package/index.d.ts +6 -3
- package/package.json +1 -1
- package/primitives/event-dispatch/index.d.ts +1 -1
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/migrations/after-render-phase/bundle.js +279 -279
- package/schematics/migrations/http-providers/bundle.js +282 -282
- package/schematics/migrations/invalid-two-way-bindings/bundle.js +173 -173
- package/schematics/ng-generate/control-flow-migration/bundle.js +282 -282
- package/schematics/ng-generate/inject-migration/bundle.js +285 -285
- package/schematics/ng-generate/route-lazy-loading/bundle.js +281 -281
- package/schematics/ng-generate/standalone-migration/bundle.js +954 -839
- package/testing/index.d.ts +1 -1
package/fesm2022/testing.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v18.2.
|
|
2
|
+
* @license Angular v18.2.4
|
|
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.
|
|
179
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
178
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: TestBedApplicationErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
179
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: TestBedApplicationErrorHandler }); }
|
|
180
180
|
}
|
|
181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", 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.
|
|
2
|
+
* @license Angular v18.2.4
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1459,11 +1459,11 @@ export declare class Compiler {
|
|
|
1459
1459
|
*/
|
|
1460
1460
|
compileModuleAsync<T>(moduleType: Type<T>): Promise<NgModuleFactory<T>>;
|
|
1461
1461
|
/**
|
|
1462
|
-
* Same as {@link #compileModuleSync} but also creates ComponentFactories for all components.
|
|
1462
|
+
* Same as {@link Compiler#compileModuleSync compileModuleSync} but also creates ComponentFactories for all components.
|
|
1463
1463
|
*/
|
|
1464
1464
|
compileModuleAndAllComponentsSync<T>(moduleType: Type<T>): ModuleWithComponentFactories<T>;
|
|
1465
1465
|
/**
|
|
1466
|
-
* Same as {@link #compileModuleAsync} but also creates ComponentFactories for all components.
|
|
1466
|
+
* Same as {@link Compiler#compileModuleAsync compileModuleAsync} but also creates ComponentFactories for all components.
|
|
1467
1467
|
*/
|
|
1468
1468
|
compileModuleAndAllComponentsAsync<T>(moduleType: Type<T>): Promise<ModuleWithComponentFactories<T>>;
|
|
1469
1469
|
/**
|
|
@@ -3963,6 +3963,9 @@ declare const ENVIRONMENT = 10;
|
|
|
3963
3963
|
* A multi-provider token for initialization functions that will run upon construction of an
|
|
3964
3964
|
* environment injector.
|
|
3965
3965
|
*
|
|
3966
|
+
* Note: As opposed to the `APP_INITIALIZER` token, the `ENVIRONMENT_INITIALIZER` functions are not awaited,
|
|
3967
|
+
* hence they should not be `async`.
|
|
3968
|
+
*
|
|
3966
3969
|
* @publicApi
|
|
3967
3970
|
*/
|
|
3968
3971
|
export declare const ENVIRONMENT_INITIALIZER: InjectionToken<readonly (() => void)[]>;
|
package/package.json
CHANGED
package/rxjs-interop/index.d.ts
CHANGED