Comparing version 3.3.3 to 3.3.4
{ | ||
"name": "parley", | ||
"version": "3.3.3", | ||
"version": "3.3.4", | ||
"description": "Practical, lightweight flow control for Node.js. Supports `await`, callbacks and promises.", | ||
@@ -5,0 +5,0 @@ "main": "lib/parley.js", |
@@ -340,15 +340,15 @@ /** | ||
bench('mock "await find()"', [ | ||
async function (next){ | ||
var result; | ||
try { | ||
result = await find({ where: {id:3, x:30} }); | ||
} catch (err) { | ||
return next(err); | ||
} | ||
return next(); | ||
} | ||
eval( | ||
'(()=>{\n'+ | ||
' return async function (next){\n'+ | ||
' var result;\n'+ | ||
' try {\n'+ | ||
' result = await find({ where: {id:3, x:30} });\n'+ | ||
' } catch (err) {\n'+ | ||
' return next(err);\n'+ | ||
' }\n'+ | ||
' return next();\n'+ | ||
' }\n'+ | ||
'})()\n' | ||
) | ||
], done); | ||
@@ -355,0 +355,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
215787
3102
1