Comparing version 0.3.2 to 0.3.3
{ | ||
"name": "exec-sh", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "Execute shell command forwarding all stdio.", | ||
@@ -8,3 +8,3 @@ "main": "lib/exec-sh.js", | ||
"test": "npm run lint && npm run cover-test", | ||
"cover-test": "istanbul cover --dir artifacts/coverage _mocha -- --reporter spec", | ||
"cover-test": "nyc --reporter=html --report-dir=artifacts/coverage mocha", | ||
"lint": "standard --verbose **/*.js", | ||
@@ -34,10 +34,10 @@ "dev": "mocha --reporter spec --watch", | ||
"devDependencies": { | ||
"coveralls": "^3.0.1", | ||
"istanbul": "^0.4.5", | ||
"jsdoc": "^3.5.5", | ||
"jshint": "^2.9.6", | ||
"mocha": "^5.2.0", | ||
"sinon": "^6.0.1", | ||
"standard": "^11.0.1" | ||
"coveralls": "^3.0.7", | ||
"jsdoc": "^3.6.3", | ||
"jshint": "^2.10.3", | ||
"mocha": "^6.2.2", | ||
"nyc": "^14.1.1", | ||
"sinon": "^7.5.0", | ||
"standard": "^14.3.1" | ||
} | ||
} |
@@ -76,3 +76,3 @@ /* global describe, it, beforeEach, afterEach */ | ||
execSh('command', options) | ||
assert.deepEqual(spawn.getCall(0).args[2], expectedOptions) | ||
assert.deepStrictEqual(spawn.getCall(0).args[2], expectedOptions) | ||
}) | ||
@@ -87,3 +87,3 @@ | ||
execSh('command', options) | ||
assert.deepEqual(spawn.getCall(0).args[2], expectedOptions) | ||
assert.deepStrictEqual(spawn.getCall(0).args[2], expectedOptions) | ||
}) | ||
@@ -106,3 +106,3 @@ | ||
execSh('command', options) | ||
assert.deepEqual(spawn.getCall(0).args[2], expectedOptions) | ||
assert.deepStrictEqual(spawn.getCall(0).args[2], expectedOptions) | ||
}) | ||
@@ -172,3 +172,3 @@ | ||
assert(err instanceof Error) | ||
assert.equal(exitCode, err.code) | ||
assert.strictEqual(exitCode, err.code) | ||
done() | ||
@@ -184,4 +184,4 @@ }) | ||
execSh.promise('command').then(function (data) { | ||
assert(data.hasOwnProperty('stdout')) | ||
assert(data.hasOwnProperty('stderr')) | ||
assert.ok('stdout' in data) | ||
assert.ok('stderr' in data) | ||
done() | ||
@@ -188,0 +188,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
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
22987