Comparing version 3.0.0 to 3.0.1
@@ -5,14 +5,7 @@ "use strict"; | ||
}; | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const ow_1 = __importDefault(require("ow")); | ||
const time_span_1 = __importDefault(require("time-span")); | ||
const retry = __importStar(require("retry")); | ||
const isCI = __importStar(require("is-ci")); | ||
const retry_1 = __importDefault(require("retry")); | ||
const is_ci_1 = __importDefault(require("is-ci")); | ||
const Callable_1 = require("../Callable"); | ||
@@ -39,6 +32,6 @@ const Emitter_1 = require("../Emitter"); | ||
} | ||
else if (options.skipInCI && isCI) { | ||
else if (options.skipInCI && is_ci_1.default) { | ||
this._skip = true; | ||
} | ||
else if (options.runInCI && !isCI) { | ||
else if (options.runInCI && !is_ci_1.default) { | ||
this._skip = true; | ||
@@ -52,3 +45,3 @@ } | ||
return new Promise((resolve, reject) => { | ||
const op = retry.operation({ retries: this._retries, factor: 1 }); | ||
const op = retry_1.default.operation({ retries: this._retries, factor: 1 }); | ||
op.attempt(async () => { | ||
@@ -55,0 +48,0 @@ Callable_1.Callable(this._resolveFn, this._callback, this._timeout) |
{ | ||
"name": "japa", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Lean test runner for Node.js", | ||
@@ -50,6 +50,6 @@ "main": "build/index.js", | ||
"devDependencies": { | ||
"@adonisjs/mrm-preset": "^2.0.3", | ||
"@types/chai": "^4.2.0", | ||
"@adonisjs/mrm-preset": "^2.1.0", | ||
"@types/chai": "^4.2.1", | ||
"@types/mocha": "^5.2.7", | ||
"@types/node": "^12.7.2", | ||
"@types/node": "^12.7.4", | ||
"commitizen": "^4.0.3", | ||
@@ -67,3 +67,3 @@ "cz-conventional-changelog": "^3.0.2", | ||
"typedoc-plugin-external-module-name": "^2.1.0", | ||
"typescript": "^3.5.3", | ||
"typescript": "^3.6.2", | ||
"yorkie": "^2.0.0" | ||
@@ -70,0 +70,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
111409
2435