@angular/upgrade 19.2.0-rc.0 → 19.2.1

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,6 +1,6 @@
1
1
  /**
2
- * @license Angular v19.2.0-rc.0
3
- * (c) 2010-2024 Google LLC. https://angular.io/
2
+ * @license Angular v19.2.1
3
+ * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
6
 
@@ -18,11 +18,11 @@ class AngularTestingModule {
18
18
  constructor(i) {
19
19
  injector = i;
20
20
  }
21
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-rc.0", ngImport: i0, type: AngularTestingModule, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule });
22
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.0-rc.0", ngImport: i0, type: AngularTestingModule });
23
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.0-rc.0", ngImport: i0, type: AngularTestingModule, providers: [{ provide: ɵconstants.$INJECTOR, useFactory: $injectorFactory }] });
21
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: AngularTestingModule, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule });
22
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.1", ngImport: i0, type: AngularTestingModule });
23
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: AngularTestingModule, providers: [{ provide: ɵconstants.$INJECTOR, useFactory: $injectorFactory }] });
24
24
  }
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-rc.0", ngImport: i0, type: AngularTestingModule, decorators: [{
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: AngularTestingModule, decorators: [{
26
26
  type: NgModule,
27
27
  args: [{ providers: [{ provide: ɵconstants.$INJECTOR, useFactory: $injectorFactory }] }]
28
28
  }], ctorParameters: () => [{ type: i0.Injector }] });
@@ -1,6 +1,6 @@
1
1
  /**
2
- * @license Angular v19.2.0-rc.0
3
- * (c) 2010-2024 Google LLC. https://angular.io/
2
+ * @license Angular v19.2.1
3
+ * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
6
 
@@ -711,10 +711,9 @@ class SyncPromise {
711
711
  * <br />
712
712
  * (This option is only necessary when using `downgradeModule()` to downgrade more than one
713
713
  * Angular module.)
714
- * - `propagateDigest?: boolean`: Whether to perform {@link ChangeDetectorRef#detectChanges} on the
715
- * component on every
716
- * [$digest](https://docs.angularjs.org/api/ng/type/$rootScope.Scope#$digest). If set to `false`,
717
- * change detection will still be performed when any of the component's inputs changes.
714
+ * - `propagateDigest?: boolean`: Whether to perform {@link /api/core/ChangeDetectorRef#detectChanges detectChanges} on the
715
+ * component on every {@link https://docs.angularjs.org/api/ng/type/$rootScope.Scope#$digest $digest}.
716
+ * If set to `false`, change detection will still be performed when any of the component's inputs changes.
718
717
  * (Default: true)
719
718
  *
720
719
  * @returns a factory function that can be used to register the component in an
@@ -952,7 +951,7 @@ function downgradeInjectable(token, downgradedModule = '') {
952
951
  /**
953
952
  * @publicApi
954
953
  */
955
- const VERSION = new Version('19.2.0-rc.0');
954
+ const VERSION = new Version('19.2.1');
956
955
 
957
956
  /**
958
957
  * The Trusted Types policy, or null if Trusted Types are not
@@ -1406,7 +1405,7 @@ let moduleUid = 0;
1406
1405
  * {@link PlatformRef#bootstrapmodulefactory `bootstrapModuleFactory()`} to bootstrap the
1407
1406
  * downgraded modules, each one is considered a "root" module. As a consequence, a new instance
1408
1407
  * will be created for every injectable provided in `"root"` (via
1409
- * {@link Injectable#providedIn `providedIn`}).
1408
+ * {@link /api/core/Injectable#providedIn providedIn}
1410
1409
  * If this is not your intention, you can have a shared module (that will act as act as the "root"
1411
1410
  * module) and create all downgraded modules using that module's injector:
1412
1411
  *
@@ -1716,10 +1715,10 @@ class UpgradeComponent {
1716
1715
  bindingDestination.$onChanges(changes);
1717
1716
  }
1718
1717
  }
1719
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-rc.0", ngImport: i0, type: UpgradeComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
1720
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-rc.0", type: UpgradeComponent, isStandalone: true, usesOnChanges: true, ngImport: i0 });
1718
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: UpgradeComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
1719
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.1", type: UpgradeComponent, isStandalone: true, usesOnChanges: true, ngImport: i0 });
1721
1720
  }
1722
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-rc.0", ngImport: i0, type: UpgradeComponent, decorators: [{
1721
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: UpgradeComponent, decorators: [{
1723
1722
  type: Directive
1724
1723
  }], ctorParameters: () => [{ type: undefined }, { type: i0.ElementRef }, { type: i0.Injector }] });
1725
1724
 
@@ -1746,7 +1745,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-rc.0", ng
1746
1745
  * {@link UpgradeModule#upgrading-an-angular-1-service Upgrading an AngularJS service} below.
1747
1746
  * 4. Creation of an AngularJS service that wraps and exposes an Angular injectable
1748
1747
  * so that it can be injected into an AngularJS context. See `downgradeInjectable`.
1749
- * 3. Bootstrapping of a hybrid Angular application which contains both of the frameworks
1748
+ * 5. Bootstrapping of a hybrid Angular application which contains both of the frameworks
1750
1749
  * coexisting in a single application.
1751
1750
  *
1752
1751
  * @usageNotes
@@ -1812,7 +1811,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-rc.0", ng
1812
1811
  *
1813
1812
  * ### Examples
1814
1813
  *
1815
- * Import the `UpgradeModule` into your top level {@link NgModule Angular `NgModule`}.
1814
+ * Import the `UpgradeModule` into your top level Angular {@link NgModule NgModule}.
1816
1815
  *
1817
1816
  * {@example upgrade/static/ts/full/module.ts region='ng2-module'}
1818
1817
  *
@@ -1826,7 +1825,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-rc.0", ng
1826
1825
  *
1827
1826
  * {@example upgrade/static/ts/full/module.ts region='bootstrap-ng2'}
1828
1827
  *
1829
- * {@a upgrading-an-angular-1-service}
1830
1828
  * ### Upgrading an AngularJS service
1831
1829
  *
1832
1830
  * There is no specific API for upgrading an AngularJS service. Instead you should just follow the
@@ -2003,11 +2001,11 @@ class UpgradeModule {
2003
2001
  }
2004
2002
  return returnValue;
2005
2003
  }
2006
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-rc.0", ngImport: i0, type: UpgradeModule, deps: [{ token: i0.Injector }, { token: i0.NgZone }, { token: i0.PlatformRef }], target: i0.ɵɵFactoryTarget.NgModule });
2007
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.0-rc.0", ngImport: i0, type: UpgradeModule });
2008
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.0-rc.0", ngImport: i0, type: UpgradeModule, providers: [angular1Providers] });
2004
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: UpgradeModule, deps: [{ token: i0.Injector }, { token: i0.NgZone }, { token: i0.PlatformRef }], target: i0.ɵɵFactoryTarget.NgModule });
2005
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.1", ngImport: i0, type: UpgradeModule });
2006
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: UpgradeModule, providers: [angular1Providers] });
2009
2007
  }
2010
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-rc.0", ngImport: i0, type: UpgradeModule, decorators: [{
2008
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: UpgradeModule, decorators: [{
2011
2009
  type: NgModule,
2012
2010
  args: [{ providers: [angular1Providers] }]
2013
2011
  }], ctorParameters: () => [{ type: i0.Injector }, { type: i0.NgZone }, { type: i0.PlatformRef }] });