Drop support for Node.js 10, upgrade to Node-API v5

This commit is contained in:
Lovell Fuller
2021-06-10 20:19:39 +01:00
parent cbaec198a5
commit 6d7a5ace6b
7 changed files with 25 additions and 56 deletions

View File

@@ -123,8 +123,8 @@
"dependencies": {
"color": "^3.1.3",
"detect-libc": "^1.0.3",
"node-addon-api": "^3.2.0",
"prebuild-install": "^6.1.2",
"node-addon-api": "^3.2.1",
"prebuild-install": "^6.1.3",
"semver": "^7.3.5",
"simple-get": "^3.1.0",
"tar-fs": "^2.1.1",
@@ -138,8 +138,8 @@
"exif-reader": "^1.0.3",
"icc": "^2.0.0",
"license-checker": "^25.0.1",
"mocha": "^8.4.0",
"mock-fs": "^4.14.0",
"mocha": "^9.0.0",
"mock-fs": "^5.0.0",
"nyc": "^15.1.0",
"prebuild": "^10.0.1",
"rimraf": "^3.0.2",
@@ -149,17 +149,17 @@
"config": {
"libvips": "8.11.0-rc1",
"runtime": "napi",
"target": 3
"target": 5
},
"engines": {
"node": ">=10"
"node": ">=12.13.0"
},
"funding": {
"url": "https://opencollective.com/libvips"
},
"binary": {
"napi_versions": [
3
5
]
},
"semistandard": {