Initial commit of files.

This commit is contained in:
2026-02-02 20:01:57 +00:00
commit 695f853c94
10000 changed files with 608932 additions and 0 deletions

23
node_modules/pgpass/lib/index.js generated vendored Normal file
View File

@@ -0,0 +1,23 @@
'use strict';
var path = require('path')
, fs = require('fs')
, helper = require('./helper.js')
;
module.exports = function(connInfo, cb) {
var file = helper.getFileName();
fs.stat(file, function(err, stat){
if (err || !helper.usePgPass(stat, file)) {
return cb(undefined);
}
var st = fs.createReadStream(file);
helper.getPassword(connInfo, st, cb);
});
};
module.exports.warnTo = helper.warnTo;