Comparing version 2.0.8-2 to 2.0.8
@@ -170,14 +170,4 @@ "use strict"; | ||
} | ||
var stdoutTrimmed = stdout.trim(); | ||
if (stdoutTrimmed) { | ||
logger === null || logger === void 0 ? void 0 : logger.log(stdout); | ||
} | ||
var stderrTrimmed = stderr.trim(); | ||
console.log(typeof stderrTrimmed, stderrTrimmed.length, stderrTrimmed.charAt(0)); | ||
if (stderrTrimmed) { | ||
console.error("ERR CODE 2", stderr); | ||
logger === null || logger === void 0 ? void 0 : logger.error(stderr); | ||
reject(stderr); | ||
return; | ||
} | ||
logger === null || logger === void 0 ? void 0 : logger.log(stdout); | ||
logger === null || logger === void 0 ? void 0 : logger.error(stderr); | ||
resolve(); | ||
@@ -184,0 +174,0 @@ }); |
{ | ||
"name": "ts-import", | ||
"version": "2.0.8-2", | ||
"version": "2.0.8", | ||
"description": "Import (compile and cache on the fly) TypeScript files dynamically with ease.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -131,16 +131,5 @@ import * as childProcess from 'child_process'; | ||
const stdoutTrimmed = stdout.trim(); | ||
if (stdoutTrimmed) { | ||
logger?.log(stdout); | ||
} | ||
logger?.log(stdout); | ||
logger?.error(stderr); | ||
const stderrTrimmed = stderr.trim(); | ||
console.log(typeof stderrTrimmed, stderrTrimmed.length, stderrTrimmed.charAt(0)); | ||
if (stderrTrimmed) { | ||
console.error(`ERR CODE 2`, stderr); | ||
logger?.error(stderr); | ||
reject(stderr); | ||
return; | ||
} | ||
resolve(); | ||
@@ -147,0 +136,0 @@ }); |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
21257
377