+5
-0
| # CHANGELOG | ||
| ## 1.2.2 | ||
| - Fixed auto generation of enzyme adapters based of the `React.version`. | ||
| - Added debug information on why Enzyme adapters might be failing. | ||
| ## 1.2.1 | ||
@@ -4,0 +9,0 @@ |
+3
-1
@@ -28,3 +28,3 @@ /** | ||
| try { | ||
| const { major, minor, patch } = require('react').version.split('.'); | ||
| const [ major, minor, patch ] = require('react').version.split('.'); | ||
@@ -55,2 +55,4 @@ adapters.push({ | ||
| } catch (e) { | ||
| debug(`Failed to load adapter ${spec.name} due to unknown error`, e); | ||
| return false; | ||
@@ -57,0 +59,0 @@ } |
+1
-1
| { | ||
| "name": "setup-env", | ||
| "version": "1.2.1", | ||
| "version": "1.2.2", | ||
| "description": "Automated, feature detected, environment setup for your test suite", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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 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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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 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
22122
1.04%424
0.24%