@angular-devkit/schematics-cli 14.0.0-next.6 → 14.0.0-next.7

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/bin/schematics.js CHANGED
@@ -183,7 +183,7 @@ async function main({ args, stdout = process.stdout, stderr = process.stderr, })
183
183
  workflow.reporter.subscribe((event) => {
184
184
  nothingDone = false;
185
185
  // Strip leading slash to prevent confusion.
186
- const eventPath = event.path.startsWith('/') ? event.path.substr(1) : event.path;
186
+ const eventPath = event.path.startsWith('/') ? event.path.slice(1) : event.path;
187
187
  switch (event.kind) {
188
188
  case 'error':
189
189
  error = true;
@@ -200,7 +200,7 @@ async function main({ args, stdout = process.stdout, stderr = process.stderr, })
200
200
  loggingQueue.push(`${colors.yellow('DELETE')} ${eventPath}`);
201
201
  break;
202
202
  case 'rename':
203
- const eventToPath = event.to.startsWith('/') ? event.to.substr(1) : event.to;
203
+ const eventToPath = event.to.startsWith('/') ? event.to.slice(1) : event.to;
204
204
  loggingQueue.push(`${colors.blue('RENAME')} ${eventPath} => ${eventToPath}`);
205
205
  break;
206
206
  }
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/node": "^14.15.0",
22
- "@types/jasmine": "~3.10.0",
22
+ "@types/jasmine": "~4.0.0",
23
23
  "jasmine": "^4.0.0"
24
24
  }
25
25
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular-devkit/schematics-cli",
3
- "version": "14.0.0-next.6",
3
+ "version": "14.0.0-next.7",
4
4
  "description": "Angular Schematics - CLI",
5
5
  "homepage": "https://github.com/angular/angular-cli",
6
6
  "bin": {
@@ -21,10 +21,10 @@
21
21
  ],
22
22
  "schematics": "./collection.json",
23
23
  "dependencies": {
24
- "@angular-devkit/core": "14.0.0-next.6",
25
- "@angular-devkit/schematics": "14.0.0-next.6",
24
+ "@angular-devkit/core": "14.0.0-next.7",
25
+ "@angular-devkit/schematics": "14.0.0-next.7",
26
26
  "ansi-colors": "4.1.1",
27
- "inquirer": "8.2.1",
27
+ "inquirer": "8.2.2",
28
28
  "symbol-observable": "4.0.0",
29
29
  "yargs-parser": "21.0.1"
30
30
  },
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/node": "^14.15.0",
22
- "@types/jasmine": "~3.10.0",
22
+ "@types/jasmine": "~4.0.0",
23
23
  "jasmine": "~4.0.0"
24
24
  }
25
25
  }