@angular/upgrade 14.0.0-rc.3 → 14.1.0-next.0

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 v14.0.0-rc.3
2
+ * @license Angular v14.1.0-next.0
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -131,10 +131,10 @@ class AngularTestingModule {
131
131
  injector = i;
132
132
  }
133
133
  }
134
- AngularTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.3", ngImport: i0, type: AngularTestingModule, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule });
135
- AngularTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-rc.3", ngImport: i0, type: AngularTestingModule });
136
- AngularTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-rc.3", ngImport: i0, type: AngularTestingModule, providers: [{ provide: $INJECTOR, useFactory: $injectorFactory }] });
137
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.3", ngImport: i0, type: AngularTestingModule, decorators: [{
134
+ AngularTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-next.0", ngImport: i0, type: AngularTestingModule, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule });
135
+ AngularTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.0-next.0", ngImport: i0, type: AngularTestingModule });
136
+ AngularTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.0-next.0", ngImport: i0, type: AngularTestingModule, providers: [{ provide: $INJECTOR, useFactory: $injectorFactory }] });
137
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-next.0", ngImport: i0, type: AngularTestingModule, decorators: [{
138
138
  type: NgModule,
139
139
  args: [{ providers: [{ provide: $INJECTOR, useFactory: $injectorFactory }] }]
140
140
  }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.0.0-rc.3
2
+ * @license Angular v14.1.0-next.0
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -913,7 +913,7 @@ function downgradeInjectable(token, downgradedModule = '') {
913
913
  /**
914
914
  * @publicApi
915
915
  */
916
- const VERSION = new Version('14.0.0-rc.3');
916
+ const VERSION = new Version('14.1.0-next.0');
917
917
 
918
918
  /**
919
919
  * @license
@@ -1634,9 +1634,9 @@ class UpgradeComponent {
1634
1634
  }
1635
1635
  }
1636
1636
  }
1637
- UpgradeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.3", ngImport: i0, type: UpgradeComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
1638
- UpgradeComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0-rc.3", type: UpgradeComponent, usesOnChanges: true, ngImport: i0 });
1639
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.3", ngImport: i0, type: UpgradeComponent, decorators: [{
1637
+ UpgradeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-next.0", ngImport: i0, type: UpgradeComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
1638
+ UpgradeComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.0-next.0", type: UpgradeComponent, usesOnChanges: true, ngImport: i0 });
1639
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-next.0", ngImport: i0, type: UpgradeComponent, decorators: [{
1640
1640
  type: Directive
1641
1641
  }], ctorParameters: function () { return [{ type: undefined }, { type: i0.ElementRef }, { type: i0.Injector }]; } });
1642
1642
 
@@ -1721,11 +1721,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.3", ng
1721
1721
  * This class is an `NgModule`, which you import to provide AngularJS core services,
1722
1722
  * and has an instance method used to bootstrap the hybrid upgrade application.
1723
1723
  *
1724
- * * Core AngularJS services
1724
+ * * Core AngularJS services<br />
1725
1725
  * Importing this `NgModule` will add providers for the core
1726
1726
  * [AngularJS services](https://docs.angularjs.org/api/ng/service) to the root injector.
1727
1727
  *
1728
- * * Bootstrap
1728
+ * * Bootstrap<br />
1729
1729
  * The runtime instance of this class contains a {@link UpgradeModule#bootstrap `bootstrap()`}
1730
1730
  * method, which you use to bootstrap the top level AngularJS module onto an element in the
1731
1731
  * DOM for the hybrid upgrade app.
@@ -1793,6 +1793,8 @@ class UpgradeModule {
1793
1793
  * @param element the element on which to bootstrap the AngularJS application
1794
1794
  * @param [modules] the AngularJS modules to bootstrap for this application
1795
1795
  * @param [config] optional extra AngularJS bootstrap configuration
1796
+ * @return The value returned by
1797
+ * [angular.bootstrap()](https://docs.angularjs.org/api/ng/function/angular.bootstrap).
1796
1798
  */
1797
1799
  bootstrap(element$1, modules = [], config /*angular.IAngularBootstrapConfig*/) {
1798
1800
  const INIT_MODULE_NAME = UPGRADE_MODULE_NAME + '.init';
@@ -1901,9 +1903,7 @@ class UpgradeModule {
1901
1903
  const windowAngular = window['angular'];
1902
1904
  windowAngular.resumeBootstrap = undefined;
1903
1905
  // Bootstrap the AngularJS application inside our zone
1904
- this.ngZone.run(() => {
1905
- bootstrap(element$1, [upgradeModule.name], config);
1906
- });
1906
+ const returnValue = this.ngZone.run(() => bootstrap(element$1, [upgradeModule.name], config));
1907
1907
  // Patch resumeBootstrap() to run inside the ngZone
1908
1908
  if (windowAngular.resumeBootstrap) {
1909
1909
  const originalResumeBootstrap = windowAngular.resumeBootstrap;
@@ -1914,12 +1914,13 @@ class UpgradeModule {
1914
1914
  return ngZone.run(() => windowAngular.resumeBootstrap.apply(this, args));
1915
1915
  };
1916
1916
  }
1917
+ return returnValue;
1917
1918
  }
1918
1919
  }
1919
- UpgradeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.3", ngImport: i0, type: UpgradeModule, deps: [{ token: i0.Injector }, { token: i0.NgZone }, { token: i0.PlatformRef }], target: i0.ɵɵFactoryTarget.NgModule });
1920
- UpgradeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-rc.3", ngImport: i0, type: UpgradeModule });
1921
- UpgradeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-rc.3", ngImport: i0, type: UpgradeModule, providers: [angular1Providers] });
1922
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.3", ngImport: i0, type: UpgradeModule, decorators: [{
1920
+ UpgradeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-next.0", ngImport: i0, type: UpgradeModule, deps: [{ token: i0.Injector }, { token: i0.NgZone }, { token: i0.PlatformRef }], target: i0.ɵɵFactoryTarget.NgModule });
1921
+ UpgradeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.0-next.0", ngImport: i0, type: UpgradeModule });
1922
+ UpgradeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.0-next.0", ngImport: i0, type: UpgradeModule, providers: [angular1Providers] });
1923
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-next.0", ngImport: i0, type: UpgradeModule, decorators: [{
1923
1924
  type: NgModule,
1924
1925
  args: [{ providers: [angular1Providers] }]
1925
1926
  }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.NgZone }, { type: i0.PlatformRef }]; } });