@angular-devkit/schematics-cli
Advanced tools
+10
-2
@@ -116,3 +116,2 @@ #!/usr/bin/env node | ||
| message: definition.message, | ||
| default: definition.default, | ||
| validate: (values) => { | ||
@@ -124,10 +123,19 @@ if (!definition.validator) { | ||
| }, | ||
| choices: definition.items.map((item) => typeof item == 'string' | ||
| default: definition.multiselect ? undefined : definition.default, | ||
| choices: definition.items?.map((item) => typeof item == 'string' | ||
| ? { | ||
| name: item, | ||
| value: item, | ||
| checked: definition.multiselect && Array.isArray(definition.default) | ||
| ? definition.default?.includes(item) | ||
| : item === definition.default, | ||
| } | ||
| : { | ||
| ...item, | ||
| name: item.label, | ||
| value: item.value, | ||
| checked: definition.multiselect && Array.isArray(definition.default) | ||
| ? // eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
| definition.default?.includes(item.value) | ||
| : item.value === definition.default, | ||
| }), | ||
@@ -134,0 +142,0 @@ }); |
+4
-4
| { | ||
| "name": "@angular-devkit/schematics-cli", | ||
| "version": "20.2.0", | ||
| "version": "20.2.1", | ||
| "description": "Angular Schematics - CLI", | ||
@@ -24,4 +24,4 @@ "homepage": "https://github.com/angular/angular-cli", | ||
| "dependencies": { | ||
| "@angular-devkit/core": "20.2.0", | ||
| "@angular-devkit/schematics": "20.2.0", | ||
| "@angular-devkit/core": "20.2.1", | ||
| "@angular-devkit/schematics": "20.2.1", | ||
| "@inquirer/prompts": "7.8.2", | ||
@@ -35,3 +35,3 @@ "ansi-colors": "4.1.3", | ||
| }, | ||
| "packageManager": "pnpm@10.14.0", | ||
| "packageManager": "pnpm@10.15.0", | ||
| "engines": { | ||
@@ -38,0 +38,0 @@ "node": "^20.19.0 || ^22.12.0 || >=24.0.0", |
@@ -17,4 +17,3 @@ { | ||
| "@angular-devkit/core": "^<%= coreVersion %>", | ||
| "@angular-devkit/schematics": "^<%= schematicsVersion %>", | ||
| "typescript": "~5.9.2" | ||
| "@angular-devkit/schematics": "^<%= schematicsVersion %>" | ||
| }, | ||
@@ -24,4 +23,5 @@ "devDependencies": { | ||
| "@types/jasmine": "~5.1.0", | ||
| "jasmine": "~5.9.0" | ||
| "jasmine": "~5.9.0", | ||
| "typescript": "~5.9.2" | ||
| } | ||
| } |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
47647
1.44%1005
0.8%7
16.67%+ Added
+ Added
- Removed
- Removed
Updated