Drop support for EOL versions of node (#2062)

* Drop support for EOL versions of node

* Re-add testing for node@8.x

* Revert changes to .travis.yml

* Update packages/pg-pool/package.json

Co-Authored-By: Charmander <~@charmander.me>

Co-authored-by: Charmander <~@charmander.me>
This commit is contained in:
Brian C 2020-01-13 13:00:18 -06:00 committed by Charmander
parent ae3f13fad6
commit ccc25f4915
3 changed files with 3 additions and 5 deletions

View File

@ -34,6 +34,6 @@
"pg-cursor": "^1.3.0"
},
"peerDependencies": {
"pg": ">5.0"
"pg": ">=8.0"
}
}

View File

@ -62,6 +62,4 @@ test-pool:
lint:
@echo "***Starting lint***"
node -e "process.exit(Number(process.versions.node.split('.')[0]) < 8 ? 0 : 1)" \
&& echo "***Skipping lint (node version too old)***" \
|| node_modules/.bin/eslint lib
node_modules/.bin/eslint lib

View File

@ -51,6 +51,6 @@
],
"license": "MIT",
"engines": {
"node": ">= 4.5.0"
"node": ">= 8.0.0"
}
}