Changeset e29cc2e for trip-planner-front/node_modules/@angular/cli/commands
- Timestamp:
- 11/25/21 22:08:24 (3 years ago)
- Branches:
- master
- Children:
- 8d391a1
- Parents:
- 59329aa
- Location:
- trip-planner-front/node_modules/@angular/cli/commands
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/node_modules/@angular/cli/commands/config-impl.js
r59329aa re29cc2e 21 21 ['cli.analytics', undefined], 22 22 ['cli.analyticsSharing.tracking', undefined], 23 ['cli.analyticsSharing.uuid', (v) => (v ? `${v}` : uuid_1.v4())],23 ['cli.analyticsSharing.uuid', (v) => (v === '' ? uuid_1.v4() : `${v}`)], 24 24 ]); 25 25 /** … … 55 55 } 56 56 function normalizeValue(value) { 57 var _a, _b;58 57 const valueString = `${value}`.trim(); 59 58 switch (valueString) { … … 70 69 return +valueString; 71 70 } 72 return (_b = (_a = json_file_1.parseJson(valueString)) !== null && _a !== void 0 ? _a : value) !== null && _b !== void 0 ? _b : undefined; 71 try { 72 // We use `JSON.parse` instead of `parseJson` because the latter will parse UUIDs 73 // and convert them into a numberic entities. 74 // Example: 73b61974-182c-48e4-b4c6-30ddf08c5c98 -> 73. 75 // These values should never contain comments, therefore using `JSON.parse` is safe. 76 return JSON.parse(valueString); 77 } 78 catch { 79 return value; 80 } 73 81 } 74 82 class ConfigCommand extends command_1.Command { -
trip-planner-front/node_modules/@angular/cli/commands/update-impl.js
r59329aa re29cc2e 164 164 async executeMigrations(packageName, collectionPath, from, to, commit) { 165 165 const collection = this.workflow.engine.createCollection(collectionPath); 166 const migrationRange = new semver.Range('>' + (semver.prerelease(from) ? from.split('-')[0] + '-0' : from) + ' <=' + to );166 const migrationRange = new semver.Range('>' + (semver.prerelease(from) ? from.split('-')[0] + '-0' : from) + ' <=' + to.split('-')[0]); 167 167 const migrations = []; 168 168 for (const name of collection.listSchematicNames()) {
Note:
See TracChangeset
for help on using the changeset viewer.