diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f4732dc..52f7879 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -22,7 +22,7 @@ jobs: strategy: matrix: - node-version: [8.x, 10.x, 12.x, 14.x, 16.x] + node-version: [14.x, 16.x, 18.x, 20.x, 22.x] steps: - uses: actions/checkout@v3 diff --git a/.gitignore b/.gitignore index 61db183..bf39f13 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ node_modules build _site +.DS_Store diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 845bc60..0000000 --- a/.travis.yml +++ /dev/null @@ -1,25 +0,0 @@ -language: node_js - -dist: xenial - -services: - - postgresql - -sudo: true - -node_js: - - "12" - - "10" - - "8" - - "6" - - "4" - -env: - - CC=clang CXX=clang++ npm_config_clang=1 PGUSER=postgres PGDATABASE=postgres PGHOST=localhost - -before_install: - - if [ $TRAVIS_OS_NAME == "linux" ]; then - if [[ $(node -v) =~ v[1-9][0-9] ]]; then - source ./vendor/build.sh; - fi - fi diff --git a/package-lock.json b/package-lock.json index 249fee0..1f0166f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "MIT", "dependencies": { "bindings": "1.5.0", - "nan": "^2.14.0" + "nan": "2.19.0" }, "devDependencies": { "async": "^2.6.2", @@ -245,9 +245,9 @@ "dev": true }, "node_modules/nan": { - "version": "2.16.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.16.0.tgz", - "integrity": "sha512-UdAqHyFngu7TfQKsCBgAA6pWDkT8MAO7d0jyOecVhN5354xbLqdn8mV9Tat9gepAupm0bt2DbeaSC8vS52MuFA==" + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.19.0.tgz", + "integrity": "sha512-nO1xXxfh/RWNxfd/XPfbIfFk5vgLsAxUR9y5O0cHMJu/AW9U95JLXqthYHjEp+8gQ5p96K9jUp8nbVOxCdRbtw==" }, "node_modules/okay": { "version": "1.0.0", @@ -495,9 +495,9 @@ "dev": true }, "nan": { - "version": "2.16.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.16.0.tgz", - "integrity": "sha512-UdAqHyFngu7TfQKsCBgAA6pWDkT8MAO7d0jyOecVhN5354xbLqdn8mV9Tat9gepAupm0bt2DbeaSC8vS52MuFA==" + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.19.0.tgz", + "integrity": "sha512-nO1xXxfh/RWNxfd/XPfbIfFk5vgLsAxUR9y5O0cHMJu/AW9U95JLXqthYHjEp+8gQ5p96K9jUp8nbVOxCdRbtw==" }, "okay": { "version": "1.0.0", diff --git a/package.json b/package.json index 5e0d3bc..911fd2f 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "url": "git://github.com/brianc/node-libpq.git" }, "scripts": { + "clean": "node-gyp clean", "pretest": "node-gyp rebuild", "test": "node_modules/.bin/mocha" }, @@ -19,7 +20,7 @@ "license": "MIT", "dependencies": { "bindings": "1.5.0", - "nan": "^2.14.0" + "nan": "2.19.0" }, "devDependencies": { "async": "^2.6.2",