@angular/upgrade 19.1.0-next.0 → 19.1.0-next.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 v19.1.0-next.0
2
+ * @license Angular v19.1.0-next.2
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -17,7 +17,7 @@ import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
17
17
  /**
18
18
  * @publicApi
19
19
  */
20
- const VERSION = new Version('19.1.0-next.0');
20
+ const VERSION = new Version('19.1.0-next.2');
21
21
 
22
22
  function noNg() {
23
23
  throw new Error('AngularJS v1.x is not loaded!');
@@ -850,7 +850,7 @@ class ParentInjectorPromise extends SyncPromise {
850
850
  *
851
851
  * {@example upgrade/static/ts/full/module.ts region="example-app"}
852
852
  *
853
- * <div class="alert is-important">
853
+ * <div class="docs-alert docs-alert-important">
854
854
  *
855
855
  * When using `downgradeModule()`, downgraded injectables will not be available until the Angular
856
856
  * module that provides them is instantiated. In order to be safe, you need to ensure that the
@@ -1398,10 +1398,10 @@ class UpgradeNg1ComponentAdapter {
1398
1398
  setComponentProperty(name, value) {
1399
1399
  this.destinationObj[this.propertyMap[name]] = value;
1400
1400
  }
1401
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: UpgradeNg1ComponentAdapter, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
1402
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.0-next.0", type: UpgradeNg1ComponentAdapter, isStandalone: true, usesOnChanges: true, ngImport: i0 });
1401
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: UpgradeNg1ComponentAdapter, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
1402
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.0-next.2", type: UpgradeNg1ComponentAdapter, isStandalone: true, usesOnChanges: true, ngImport: i0 });
1403
1403
  }
1404
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: UpgradeNg1ComponentAdapter, decorators: [{
1404
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: UpgradeNg1ComponentAdapter, decorators: [{
1405
1405
  type: Directive
1406
1406
  }], ctorParameters: () => [{ type: UpgradeHelper }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }] });
1407
1407
 
@@ -1446,7 +1446,7 @@ let upgradeCount = 0;
1446
1446
  *
1447
1447
  * ### Example
1448
1448
  *
1449
- * ```
1449
+ * ```ts
1450
1450
  * const adapter = new UpgradeAdapter(forwardRef(() => MyNg2Module), myCompilerOptions);
1451
1451
  * const module = angular.module('myExample', []);
1452
1452
  * module.directive('ng2Comp', adapter.downgradeNg2Component(Ng2Component));