@angular/cli 14.1.0-rc.3 → 14.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/cli",
3
- "version": "14.1.0-rc.3",
3
+ "version": "14.2.0-next.0",
4
4
  "description": "CLI tool for Angular",
5
5
  "main": "lib/cli/index.js",
6
6
  "bin": {
@@ -25,16 +25,16 @@
25
25
  },
26
26
  "homepage": "https://github.com/angular/angular-cli",
27
27
  "dependencies": {
28
- "@angular-devkit/architect": "0.1401.0-rc.3",
29
- "@angular-devkit/core": "14.1.0-rc.3",
30
- "@angular-devkit/schematics": "14.1.0-rc.3",
31
- "@schematics/angular": "14.1.0-rc.3",
28
+ "@angular-devkit/architect": "0.1402.0-next.0",
29
+ "@angular-devkit/core": "14.2.0-next.0",
30
+ "@angular-devkit/schematics": "14.2.0-next.0",
31
+ "@schematics/angular": "14.2.0-next.0",
32
32
  "@yarnpkg/lockfile": "1.1.0",
33
33
  "ansi-colors": "4.1.3",
34
34
  "debug": "4.3.4",
35
35
  "ini": "3.0.0",
36
36
  "inquirer": "8.2.4",
37
- "jsonc-parser": "3.0.0",
37
+ "jsonc-parser": "3.1.0",
38
38
  "npm-package-arg": "9.1.0",
39
39
  "npm-pick-manifest": "7.0.1",
40
40
  "open": "8.4.0",
@@ -49,12 +49,12 @@
49
49
  "ng-update": {
50
50
  "migrations": "@schematics/angular/migrations/migration-collection.json",
51
51
  "packageGroup": {
52
- "@angular/cli": "14.1.0-rc.3",
53
- "@angular-devkit/architect": "0.1401.0-rc.3",
54
- "@angular-devkit/build-angular": "14.1.0-rc.3",
55
- "@angular-devkit/build-webpack": "0.1401.0-rc.3",
56
- "@angular-devkit/core": "14.1.0-rc.3",
57
- "@angular-devkit/schematics": "14.1.0-rc.3"
52
+ "@angular/cli": "14.2.0-next.0",
53
+ "@angular-devkit/architect": "0.1402.0-next.0",
54
+ "@angular-devkit/build-angular": "14.2.0-next.0",
55
+ "@angular-devkit/build-webpack": "0.1402.0-next.0",
56
+ "@angular-devkit/core": "14.2.0-next.0",
57
+ "@angular-devkit/schematics": "14.2.0-next.0"
58
58
  }
59
59
  },
60
60
  "engines": {
@@ -158,7 +158,7 @@ class SchematicsCommandModule extends command_module_1.CommandModule {
158
158
  }
159
159
  if (property['format'] === 'path' && !property['$default']) {
160
160
  options['path'] = workingDir || undefined;
161
- this.context.logger.warn(`The 'path' option in '${schematic === null || schematic === void 0 ? void 0 : schematic.schema}' is using deprecated behaviour.` +
161
+ this.context.logger.warn(`The 'path' option in '${schematic === null || schematic === void 0 ? void 0 : schematic.schema}' is using deprecated behaviour. ` +
162
162
  `'workingDirectory' smart default provider should be used instead.`);
163
163
  }
164
164
  return options;
@@ -13,6 +13,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
13
13
  exports.assertIsError = void 0;
14
14
  const assert_1 = __importDefault(require("assert"));
15
15
  function assertIsError(value) {
16
- (0, assert_1.default)(value instanceof Error, 'catch clause variable is not an Error instance');
16
+ const isError = value instanceof Error ||
17
+ // The following is needing to identify errors coming from RxJs.
18
+ (typeof value === 'object' && value && 'name' in value && 'message' in value);
19
+ (0, assert_1.default)(isError, 'catch clause variable is not an Error instance');
17
20
  }
18
21
  exports.assertIsError = assertIsError;