(Please pardon my newbie understanding of npm)
I am unable to download / install this as the version seems unavailable. The package.json in the github repo does mention 1.5.0. I believe this has to be released in the npm registry.
The reason I need this is due to issues in the connectTimeout when it's not specified (i.e., the default value is expected to be used). I get a busy wait when the connectTimeout is not specified while when the connectTimeout:250 is specified, the wait is not busy and clean. I expect that v1.5.0 with its overhaul in timeout logic will fix it.
npm view wait-for-postgres
{ name: 'wait-for-postgres',
description: 'Wait for a Postgres connection to become available',
'dist-tags': { latest: '1.4.0' },
versions: [ '1.1.0', '1.2.0', '1.2.1', '1.2.2', '1.3.0', '1.4.0' ],
maintainers: [ 'buzuli [email protected]' ],
time:
{ modified: '2016-06-14T18:09:17.958Z',
created: '2015-05-14T09:14:54.947Z',
'1.1.0': '2015-05-14T09:14:54.947Z',
'1.2.0': '2015-05-14T20:39:14.264Z',
'1.2.1': '2015-05-15T17:11:52.540Z',
'1.2.2': '2015-05-20T03:33:49.823Z',
'1.3.0': '2015-09-01T21:15:59.777Z',
'1.4.0': '2016-06-14T18:09:17.958Z' },
homepage: 'https://github.com/joeledwards/node-wait-for-postgres#readme',
keywords: [ 'Postgres', 'Notify', 'Event' ],
repository:
{ type: 'git',
url: 'git+https://github.com/joeledwards/node-wait-for-postgres.git' },
contributors: [ 'Joel Edwards [email protected] (https://github.com/joeledwards)' ],
author: 'Joel Edwards (https://github.com/joeledwards)',
bugs: { url: 'https://github.com/joeledwards/node-wait-for-postgres/issues' },
readmeFilename: 'README.md',
version: '1.4.0',
licenses:
[ { type: 'MIT',
url: 'https://github.com/joeledwards/node-durations/blob/master/LICENSE' } ],
main: './lib/index',
directories: { lib: './lib' },
bin:
{ 'wait-for-postgres': './bin/wait-for-postgres',
wait4pg: './bin/wait-for-postgres' },
dependencies:
{ commander: '^2.9.0',
durations: '^2.2.0',
pg: '^5.1.0',
q: '^1.4.1' },
devDependencies: { 'coffee-script': '^1.10.0', mocha: '^2.5.3' },
scripts:
{ prepublish: 'cake build',
build: 'cake build',
test: 'cake test' },
engines: { node: '>=0.10' },
gitHead: '16fc2de95b3eeb7df6c6f5b81936655e26a7586c',
dist:
{ shasum: 'd27af80239dba772b2219b503667e37cd6f308e3',
tarball: 'https://registry.npmjs.org/wait-for-postgres/-/wait-for-postgres-1.4.0.tgz' } }