Add Node 11 to CI, experimental only, no prebuild

Hide deprecation warnings - see nodejs/nan#811
This commit is contained in:
Lovell Fuller
2018-11-11 17:50:58 +00:00
parent f00928dedb
commit 1c4f6f75f3
5 changed files with 42 additions and 5 deletions

View File

@@ -7,7 +7,7 @@ const events = require('events');
const is = require('./is');
require('./libvips').hasVendoredLibvips();
const sharp = require('../build/Release/sharp.node');
const sharp = require('bindings')('sharp.node');
// Use NODE_DEBUG=sharp to enable libvips warnings
const debuglog = util.debuglog('sharp');