@angular-devkit/architect
Advanced tools
@@ -70,4 +70,5 @@ "use strict"; | ||
| } | ||
| if (target.configuration && !targetSpec['configurations']) { | ||
| throw new Error('Configuration not set in the workspace.'); | ||
| if (target.configuration | ||
| && !(targetSpec['configurations'] && targetSpec['configurations'][target.configuration])) { | ||
| throw new Error(`Configuration '${target.configuration}' is not set in the workspace.`); | ||
| } | ||
@@ -74,0 +75,0 @@ return { |
+2
-2
| { | ||
| "name": "@angular-devkit/architect", | ||
| "version": "0.800.2", | ||
| "version": "0.800.3", | ||
| "description": "Angular Build Facade", | ||
@@ -9,3 +9,3 @@ "experimental": true, | ||
| "dependencies": { | ||
| "@angular-devkit/core": "8.0.2", | ||
| "@angular-devkit/core": "8.0.3", | ||
| "rxjs": "6.4.0" | ||
@@ -12,0 +12,0 @@ }, |
+2
-1
@@ -242,3 +242,4 @@ "use strict"; | ||
| scheduleBuilder(name, options, scheduleOptions = {}) { | ||
| if (!/^[^:]+:[^:]+$/.test(name)) { | ||
| // The below will match 'project:target:configuration' | ||
| if (!/^[^:]+:[^:]+(:[^:]+)?$/.test(name)) { | ||
| throw new Error('Invalid builder name: ' + JSON.stringify(name)); | ||
@@ -245,0 +246,0 @@ } |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance 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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance 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
85856
0.2%2176
0.09%+ Added
- Removed
Updated