Comparing version 6.1.0 to 6.1.1
@@ -30,3 +30,3 @@ 'use strict' | ||
try { | ||
require('ts-node').register() | ||
require('ts-node') | ||
TYPE_SCRIPT_AVAILABLE = true | ||
@@ -230,3 +230,3 @@ } catch (e) {} | ||
// define custom launchers/preprocessors/reporters - create an inlined plugin | ||
// define custom launchers/preprocessors/reporters - create a new plugin | ||
const module = Object.create(null) | ||
@@ -379,2 +379,5 @@ let hasSomeInlinedPlugin = false | ||
try { | ||
if (path.extname(configFilePath) === '.ts' && TYPE_SCRIPT_AVAILABLE) { | ||
require('ts-node').register() | ||
} | ||
configModule = require(configFilePath) | ||
@@ -381,0 +384,0 @@ if (typeof configModule === 'object' && typeof configModule.default !== 'undefined') { |
@@ -96,2 +96,3 @@ const path = require('path') | ||
} | ||
self._onProcessExit(-1, null, errorOutput) | ||
}) | ||
@@ -105,2 +106,6 @@ | ||
this._onProcessExit = function (code, signal, errorOutput) { | ||
if (!self._process) { | ||
// Both exit and error events trigger _onProcessExit(), but we only need one cleanup. | ||
return | ||
} | ||
log.debug(`Process ${self.name} exited with code ${code} and signal ${signal}`) | ||
@@ -107,0 +112,0 @@ |
@@ -42,3 +42,3 @@ 'use strict' | ||
} else if (helper.isObject(plugin)) { | ||
log.debug(`Loading inlined plugin (defining ${Object.keys(plugin).join(', ')}).`) | ||
log.debug(`Loading inline plugin defining ${Object.keys(plugin).join(', ')}.`) | ||
modules.push(plugin) | ||
@@ -45,0 +45,0 @@ } else { |
@@ -177,2 +177,3 @@ { | ||
"Chris <camargo.cac@gmail.com>", | ||
"Chris Bottin <chrisbottin@users.noreply.github.com>", | ||
"Chris Chua <chris.sirhc@gmail.com>", | ||
@@ -411,2 +412,3 @@ "Chris Dawson <xrdawson@gmail.com>", | ||
"toran billups <toranb@gmail.com>", | ||
"xel23 <sawqe1@yandex.ru>", | ||
"chalkerx@gmail.com>", | ||
@@ -490,3 +492,3 @@ "weiran.zsd@outlook.com>" | ||
}, | ||
"version": "6.1.0", | ||
"version": "6.1.1", | ||
"license": "MIT", | ||
@@ -493,0 +495,0 @@ "husky": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
512250
10394