@angular/upgrade 13.1.0-next.0 → 13.1.0-next.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/upgrade",
3
- "version": "13.1.0-next.0",
3
+ "version": "13.1.0-next.1",
4
4
  "description": "Angular - the library for easing update from v1 to v2",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -11,10 +11,10 @@
11
11
  "tslib": "^2.3.0"
12
12
  },
13
13
  "peerDependencies": {
14
- "@angular/core": "13.1.0-next.0",
15
- "@angular/compiler": "13.1.0-next.0",
16
- "@angular/platform-browser": "13.1.0-next.0",
17
- "@angular/platform-browser-dynamic": "13.1.0-next.0"
14
+ "@angular/core": "13.1.0-next.1",
15
+ "@angular/compiler": "13.1.0-next.1",
16
+ "@angular/platform-browser": "13.1.0-next.1",
17
+ "@angular/platform-browser-dynamic": "13.1.0-next.1"
18
18
  },
19
19
  "repository": {
20
20
  "type": "git",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v13.1.0-next.0
2
+ * @license Angular v13.1.0-next.1
3
3
  * (c) 2010-2021 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -162,9 +162,11 @@ export declare function downgradeInjectable(token: any, downgradedModule?: strin
162
162
  * The Angular module will be bootstrapped once (when requested for the first time) and the same
163
163
  * reference will be used from that point onwards.
164
164
  *
165
- * `downgradeModule()` requires either an `NgModuleFactory` or a function:
165
+ * `downgradeModule()` requires either an `NgModuleFactory`, `NgModule` class or a function:
166
166
  * - `NgModuleFactory`: If you pass an `NgModuleFactory`, it will be used to instantiate a module
167
167
  * using `platformBrowser`'s {@link PlatformRef#bootstrapModuleFactory bootstrapModuleFactory()}.
168
+ * - `NgModule` class: If you pass an NgModule class, it will be used to instantiate a module
169
+ * using `platformBrowser`'s {@link PlatformRef#bootstrapModule bootstrapModule()}.
168
170
  * - `Function`: If you pass a function, it is expected to return a promise resolving to an
169
171
  * `NgModuleRef`. The function is called with an array of extra {@link StaticProvider Providers}
170
172
  * that are expected to be available from the returned `NgModuleRef`'s `Injector`.
@@ -253,7 +255,7 @@ export declare function downgradeInjectable(token: any, downgradedModule?: strin
253
255
  *
254
256
  * @publicApi
255
257
  */
256
- export declare function downgradeModule<T>(moduleFactoryOrBootstrapFn: NgModuleFactory<T> | ((extraProviders: StaticProvider[]) => Promise<NgModuleRef<T>>)): string;
258
+ export declare function downgradeModule<T>(moduleOrBootstrapFn: Type<T> | NgModuleFactory<T> | ((extraProviders: StaticProvider[]) => Promise<NgModuleRef<T>>)): string;
257
259
 
258
260
  /**
259
261
  * Returns the current AngularJS global.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v13.1.0-next.0
2
+ * @license Angular v13.1.0-next.1
3
3
  * (c) 2010-2021 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
package/upgrade.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v13.1.0-next.0
2
+ * @license Angular v13.1.0-next.1
3
3
  * (c) 2010-2021 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */