Upgrade libvips dependency to v8.5.4, plus other bumps

This commit is contained in:
Lovell Fuller
2017-04-26 23:04:08 +01:00
parent 6592361c5a
commit 52bea15ad7
3 changed files with 9 additions and 10 deletions

View File

@@ -1,6 +1,5 @@
'use strict';
const util = require('util');
const color = require('color');
const is = require('./is');
const sharp = require('../build/Release/sharp.node');
@@ -143,7 +142,7 @@ function clone () {
const that = this;
// Clone existing options
const clone = this.constructor.call();
util._extend(clone.options, this.options);
clone.options = Object.assign({}, this.options);
// Pass 'finish' event to clone for Stream-based input
this.on('finish', function () {
// Clone inherits input data