diff --git a/CHANGELOG.md b/CHANGELOG.md index a4cda9b5..322db360 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY! This project adheres to [Semantic Versioning](http://semver.org/). +## v6.2.3 - 2018-05-25 + +* Fix(src): Fix nan callback deprecation warning #284 [Jonas Hermsmeier] + ## v6.2.2 - 2018-05-10 * Fix(ci): Fix Node version arg passed to prebuild script #280 [Jonas Hermsmeier] diff --git a/package.json b/package.json index 9c91906c..7d75302f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "drivelist", - "version": "6.2.2", + "version": "6.2.3", "description": "List all connected drives in your computer, in all major operating systems", "main": "lib/drivelist.js", "homepage": "https://github.com/resin-io-modules/drivelist", diff --git a/src/drivelist.cpp b/src/drivelist.cpp index 68e6d460..0c596879 100644 --- a/src/drivelist.cpp +++ b/src/drivelist.cpp @@ -41,7 +41,7 @@ class DriveListWorker : public Nan::AsyncWorker { } v8::Local argv[] = { Nan::Null(), drives }; - callback->Call(2, argv); + callback->Call(2, argv, async_resource); } private: