@embedded-postgres/linux-x64
Advanced tools
Comparing version 15.5.1-beta.9 to 15.5.1-beta.10
@@ -1,10 +0,4 @@ | ||
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.postgres = exports.initdb = exports.pg_ctl = void 0; | ||
const path_1 = __importDefault(require("path")); | ||
exports.pg_ctl = path_1.default.resolve(__dirname, '..', 'native', 'bin', 'pg_ctl'); | ||
exports.initdb = path_1.default.resolve(__dirname, '..', 'native', 'bin', 'initdb'); | ||
exports.postgres = path_1.default.resolve(__dirname, '..', 'native', 'bin', 'postgres'); | ||
import path from 'path'; | ||
export const pg_ctl = path.resolve(__dirname, '..', 'native', 'bin', 'pg_ctl'); | ||
export const initdb = path.resolve(__dirname, '..', 'native', 'bin', 'initdb'); | ||
export const postgres = path.resolve(__dirname, '..', 'native', 'bin', 'postgres'); |
{ | ||
"name": "@embedded-postgres/linux-x64", | ||
"version": "15.5.1-beta.9", | ||
"version": "15.5.1-beta.10", | ||
"description": "", | ||
"main": "dist/index.js", | ||
"exports": "./dist/index.js", | ||
"type": "module", | ||
"scripts": { | ||
@@ -22,4 +23,4 @@ "start": "tsc -w", | ||
"devDependencies": { | ||
"@embedded-postgres/downloader": "^15.5.1-beta.9", | ||
"@embedded-postgres/symlink-reader": "^15.5.1-beta.9" | ||
"@embedded-postgres/downloader": "^15.5.1-beta.10", | ||
"@embedded-postgres/symlink-reader": "^15.5.1-beta.10" | ||
}, | ||
@@ -34,3 +35,6 @@ "publishConfig": { | ||
], | ||
"gitHead": "41472efabd9e7925468e89ebb9909440274c66d1" | ||
"engines": { | ||
"node": ">=16" | ||
}, | ||
"gitHead": "ba6e88ad8b4921ad0a3b54da3b111e13a11c704f" | ||
} |
@@ -1,3 +0,3 @@ | ||
const fs = require('fs/promises'); | ||
const path = require('path'); | ||
import fs from 'fs/promises'; | ||
import path from 'path'; | ||
@@ -15,3 +15,4 @@ const symlinkFile = path.join(process.cwd(), 'native', 'pg-symlinks.json'); | ||
const symlinks = await fs.readFile(symlinkFile, { encoding: 'utf-8' }) | ||
.then(JSON.parse); | ||
.then(JSON.parse) | ||
.catch(() => ([])); | ||
@@ -18,0 +19,0 @@ // Re-hydrate all of them |
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
0
Yes
3674
5
40