@auto_js/napi_exports 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CMakeLists.txt +1 -2
  2. package/package.json +1 -1
package/CMakeLists.txt CHANGED
@@ -22,8 +22,7 @@ if(NOT DEFINED NODE_DIST_DIR)
22
22
  endif()
23
23
  endif()
24
24
  if(NOT DEFINED NODE_DIST_DIR)
25
- if(DEFINED ENV{NODE_VERSION})
26
- set(NODE_VERSION "$ENV{NODE_VERSION}")
25
+ if(DEFINED NODE_VERSION)
27
26
  message(STATUS "Using Node.js version '${NODE_VERSION}'")
28
27
  else()
29
28
  execute_process(COMMAND sh -c "node -v | cut -c2-" OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE NODE_VERSION RESULT_VARIABLE RESULT)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@auto_js/napi_exports",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "C++ module exports for nodejs & n-api",
5
5
  "author": "https://github.com/laverdet/",
6
6
  "homepage": "https://github.com/laverdet/isolated-vm/tree/experimental/packages/third_party/nodejs",