diff --git a/CMakeLists.txt b/CMakeLists.txt index 8b1f350..7f5e0f9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ set(freetype2_INSTALL ${CMAKE_BINARY_DIR}/freetype2) SET(NODEJS_URL "https://atom.io/download/atom-shell" CACHE STRING "Node.JS URL") SET(NODEJS_NAME "iojs" CACHE STRING "Node.JS Name") -SET(NODEJS_VERSION "v6.0.3" CACHE STRING "Node.JS Version") +SET(NODEJS_VERSION "v9.0.4" CACHE STRING "Node.JS Version") include(NodeJS) include(ExternalProject) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e2ef996..1e409df 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -14,7 +14,7 @@ variables: DistributionAritfact: $(RuntimeName)-$(RuntimeVersion)-node-fontinfo RuntimeURL: https://atom.io/download/atom-shell RuntimeName: iojs - RuntimeVersion: v6.0.3 + RuntimeVersion: v9.0.4 jobs: - job: 'Windows' diff --git a/package.json b/package.json index d2b6cbb..7b1aab2 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,6 @@ "main.js" ], "devDependencies": { - "nan": "2.14.0" + "nan": "2.14.1" } } diff --git a/src/module.cpp b/src/module.cpp index fe643a4..224595f 100644 --- a/src/module.cpp +++ b/src/module.cpp @@ -85,4 +85,4 @@ NAN_MODULE_INIT(init_module) { } -NODE_MODULE(node_fontinfo, fontinfo::init_module) \ No newline at end of file +NAN_MODULE_WORKER_ENABLED(node_fontinfo, fontinfo::init_module) \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index cb305c3..881ea9f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,7 +2,7 @@ # yarn lockfile v1 -nan@2.14.0: - version "2.14.0" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c" - integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg== +nan@2.14.1: + version "2.14.1" + resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.1.tgz#d7be34dfa3105b91494c3147089315eff8874b01" + integrity sha512-isWHgVjnFjh2x2yuJ/tj3JbwoHu3UC2dX5G/88Cm24yB6YopVgxvBObDY7n5xW6ExmFhJpSEQqFPvq9zaXc8Jw==