@es-shims/api
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -9,2 +9,3 @@ #!/usr/bin/env node | ||
var existsSync = path.existsSync || fs.existsSync; | ||
var spawnSync = require('child_process').spawnSync; | ||
@@ -116,4 +117,6 @@ var args = process.argv.slice(2); // remove node, and script name | ||
} else { | ||
require(packageDir + '/auto'); | ||
require(path.join(packageDir, '/auto')); | ||
st.comment(msg + ' (pass `--skip-auto-shim` to skip this test)'); | ||
var result = spawnSync(path.join(__dirname, './autoTest.js'), [], { stdio: 'inherit' }); | ||
st.equal(result.status, 0, 'auto invokes shim'); | ||
} | ||
@@ -120,0 +123,0 @@ st.end(); |
@@ -0,1 +1,5 @@ | ||
2.1.0 / 2017-12-21 | ||
================== | ||
* [New] improve `auto` test | ||
2.0.0 / 2017-12-20 | ||
@@ -2,0 +6,0 @@ ================== |
{ | ||
"name": "@es-shims/api", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"author": "Jordan Harband", | ||
@@ -5,0 +5,0 @@ "description": "Loosely test a package's compliance with the es-shim API", |
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
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary 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
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
26400
13
257
6
1