Comparing version 3.2.2 to 3.3.0
@@ -274,4 +274,6 @@ "use strict"; | ||
var output_1 = getFile(outputPath); | ||
cache.outputs[fileName] = output_1; | ||
return output_1; | ||
if (isValidCacheContent(output_1)) { | ||
cache.outputs[fileName] = output_1; | ||
return output_1; | ||
} | ||
} | ||
@@ -306,2 +308,5 @@ catch (err) { } | ||
} | ||
function isValidCacheContent(content) { | ||
return /(?:9|0=|Q==)$/.test(content.slice(-3)); | ||
} | ||
function getCompilerDigest(opts) { | ||
@@ -308,0 +313,0 @@ return crypto.createHash('sha256').update(JSON.stringify(opts), 'utf8').digest('hex'); |
{ | ||
"name": "ts-node", | ||
"version": "3.2.2", | ||
"version": "3.3.0", | ||
"description": "TypeScript execution environment and REPL for node", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
124808
998