@angular/upgrade 19.2.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.
- package/fesm2022/static/testing.mjs +6 -6
- package/fesm2022/static.mjs +16 -18
- package/fesm2022/static.mjs.map +1 -1
- package/fesm2022/upgrade.mjs +9 -10
- package/fesm2022/upgrade.mjs.map +1 -1
- package/index.d.ts +2 -2
- package/package.json +5 -5
- package/static/index.d.ts +9 -11
- package/static/testing/index.d.ts +2 -2
package/fesm2022/upgrade.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.2.
|
|
3
|
-
* (c) 2010-
|
|
2
|
+
* @license Angular v19.2.1
|
|
3
|
+
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -17,7 +17,7 @@ import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
|
17
17
|
/**
|
|
18
18
|
* @publicApi
|
|
19
19
|
*/
|
|
20
|
-
const VERSION = new Version('19.2.
|
|
20
|
+
const VERSION = new Version('19.2.1');
|
|
21
21
|
|
|
22
22
|
function noNg() {
|
|
23
23
|
throw new Error('AngularJS v1.x is not loaded!');
|
|
@@ -661,10 +661,9 @@ class SyncPromise {
|
|
|
661
661
|
* <br />
|
|
662
662
|
* (This option is only necessary when using `downgradeModule()` to downgrade more than one
|
|
663
663
|
* Angular module.)
|
|
664
|
-
* - `propagateDigest?: boolean`: Whether to perform {@link ChangeDetectorRef#detectChanges} on the
|
|
665
|
-
* component on every
|
|
666
|
-
*
|
|
667
|
-
* change detection will still be performed when any of the component's inputs changes.
|
|
664
|
+
* - `propagateDigest?: boolean`: Whether to perform {@link /api/core/ChangeDetectorRef#detectChanges detectChanges} on the
|
|
665
|
+
* component on every {@link https://docs.angularjs.org/api/ng/type/$rootScope.Scope#$digest $digest}.
|
|
666
|
+
* If set to `false`, change detection will still be performed when any of the component's inputs changes.
|
|
668
667
|
* (Default: true)
|
|
669
668
|
*
|
|
670
669
|
* @returns a factory function that can be used to register the component in an
|
|
@@ -1398,10 +1397,10 @@ class UpgradeNg1ComponentAdapter {
|
|
|
1398
1397
|
setComponentProperty(name, value) {
|
|
1399
1398
|
this.destinationObj[this.propertyMap[name]] = value;
|
|
1400
1399
|
}
|
|
1401
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1402
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
1400
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: UpgradeNg1ComponentAdapter, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
1401
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.1", type: UpgradeNg1ComponentAdapter, isStandalone: true, usesOnChanges: true, ngImport: i0 });
|
|
1403
1402
|
}
|
|
1404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1403
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: UpgradeNg1ComponentAdapter, decorators: [{
|
|
1405
1404
|
type: Directive
|
|
1406
1405
|
}], ctorParameters: () => [{ type: UpgradeHelper }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }] });
|
|
1407
1406
|
|