@angular/router 14.0.4 → 14.0.5

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.4
2
+ * @license Angular v14.0.5
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -101,9 +101,9 @@ class RouterTestingModule {
101
101
  };
102
102
  }
103
103
  }
104
- RouterTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.4", ngImport: i0, type: RouterTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
105
- RouterTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.4", ngImport: i0, type: RouterTestingModule, exports: [RouterModule] });
106
- RouterTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.4", ngImport: i0, type: RouterTestingModule, providers: [
104
+ RouterTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: RouterTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
105
+ RouterTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: RouterTestingModule, exports: [RouterModule] });
106
+ RouterTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: RouterTestingModule, providers: [
107
107
  ɵROUTER_PROVIDERS,
108
108
  EXTRA_ROUTER_TESTING_PROVIDERS,
109
109
  { provide: Location, useClass: SpyLocation },
@@ -128,7 +128,7 @@ RouterTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ver
128
128
  ɵprovidePreloading(NoPreloading),
129
129
  provideRoutes([]),
130
130
  ], imports: [RouterModule] });
131
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.4", ngImport: i0, type: RouterTestingModule, decorators: [{
131
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: RouterTestingModule, decorators: [{
132
132
  type: NgModule,
133
133
  args: [{
134
134
  exports: [RouterModule],
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.0.4
2
+ * @license Angular v14.0.5
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.0.4
2
+ * @license Angular v14.0.5
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -2125,6 +2125,8 @@ export declare interface Route {
2125
2125
  * - `always` : Run on every execution.
2126
2126
  * By default, guards and resolvers run only when the matrix
2127
2127
  * parameters of the route change.
2128
+ *
2129
+ * @see RunGuardsAndResolvers
2128
2130
  */
2129
2131
  runGuardsAndResolvers?: RunGuardsAndResolvers;
2130
2132
  /**
@@ -2233,7 +2235,6 @@ export declare class Router {
2233
2235
  private currentNavigation;
2234
2236
  private disposed;
2235
2237
  private locationSubscription?;
2236
- private navigationId;
2237
2238
  /**
2238
2239
  * The id of the currently active page in the router.
2239
2240
  * Updated to the transition's target id on a successful navigation.
@@ -3440,9 +3441,20 @@ export declare class RoutesRecognized extends RouterEvent {
3440
3441
  }
3441
3442
 
3442
3443
  /**
3443
- *
3444
3444
  * A policy for when to run guards and resolvers on a route.
3445
3445
  *
3446
+ * Guards and/or resolvers will always run when a route is activated or deactivated. When a route is
3447
+ * unchanged, the default behavior is the same as `paramsChange`.
3448
+ *
3449
+ * `paramsChange` : Rerun the guards and resolvers when path or
3450
+ * path param changes. This does not include query parameters. This option is the default.
3451
+ * - `always` : Run on every execution.
3452
+ * - `pathParamsChange` : Rerun guards and resolvers when the path params
3453
+ * change. This does not compare matrix or query parameters.
3454
+ * - `paramsOrQueryParamsChange` : Run when path, matrix, or query parameters change.
3455
+ * - `pathParamsOrQueryParamsChange` : Rerun guards and resolvers when the path params
3456
+ * change or query params have changed. This does not include matrix parameters.
3457
+ *
3446
3458
  * @see [Route.runGuardsAndResolvers](api/router/Route#runGuardsAndResolvers)
3447
3459
  * @publicApi
3448
3460
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/router",
3
- "version": "14.0.4",
3
+ "version": "14.0.5",
4
4
  "description": "Angular - the routing library",
5
5
  "keywords": [
6
6
  "angular",
@@ -24,9 +24,9 @@
24
24
  "tslib": "^2.3.0"
25
25
  },
26
26
  "peerDependencies": {
27
- "@angular/core": "14.0.4",
28
- "@angular/common": "14.0.4",
29
- "@angular/platform-browser": "14.0.4",
27
+ "@angular/core": "14.0.5",
28
+ "@angular/common": "14.0.5",
29
+ "@angular/platform-browser": "14.0.5",
30
30
  "rxjs": "^6.5.3 || ^7.4.0"
31
31
  },
32
32
  "ng-update": {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.0.4
2
+ * @license Angular v14.0.5
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.0.4
2
+ * @license Angular v14.0.5
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */