Comparing version 0.2.28 to 0.2.29
@@ -127,5 +127,5 @@ "use strict"; | ||
function buildSwcTransformOpts(swcOptions) { | ||
var _a; | ||
var _a, _b; | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
var _b = swcOptions || getOptionsFromSwrc(), experimental = _b.experimental, computedSwcOptions = __rest(_b, ["experimental"]); | ||
var _c = swcOptions || getOptionsFromSwrc(), experimental = _c.experimental, computedSwcOptions = __rest(_c, ["experimental"]); | ||
if (!computedSwcOptions.env && !((_a = computedSwcOptions.jsc) === null || _a === void 0 ? void 0 : _a.target)) { | ||
@@ -140,2 +140,5 @@ set(computedSwcOptions, 'jsc.target', | ||
} | ||
if ((_b = computedSwcOptions.jsc) === null || _b === void 0 ? void 0 : _b.baseUrl) { | ||
set(computedSwcOptions, 'jsc.baseUrl', path.resolve(computedSwcOptions.jsc.baseUrl)); | ||
} | ||
return computedSwcOptions; | ||
@@ -142,0 +145,0 @@ } |
{ | ||
"name": "@swc/jest", | ||
"version": "0.2.28", | ||
"version": "0.2.29", | ||
"description": "swc integration for jest", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
12694
177