@prisma/fetch-engine
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -94,2 +94,6 @@ "use strict"; | ||
async function getLocalLastModified(filePath) { | ||
const fileExists = await exists(filePath); | ||
if (!fileExists) { | ||
return null; | ||
} | ||
const file = await readFile(filePath, 'utf-8'); | ||
@@ -96,0 +100,0 @@ if (!file || file.length === 0) { |
@@ -10,5 +10,7 @@ "use strict"; | ||
const util_1 = require("util"); | ||
const make_dir_1 = __importDefault(require("make-dir")); | ||
const exists = util_1.promisify(fs_1.default.exists); | ||
async function ensureBinaries(resultPath) { | ||
const runtimeDir = resultPath || (await getRuntimeDir()); | ||
await make_dir_1.default(runtimeDir); | ||
const prisma = path_1.default.join(runtimeDir, 'prisma'); | ||
@@ -15,0 +17,0 @@ const schemaInferrer = path_1.default.join(runtimeDir, 'schema-inferrer-bin'); |
{ | ||
"name": "@prisma/fetch-engine", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
Sorry, the diff of this file is not supported yet
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
24326
345