@mapbox/node-pre-gyp
Advanced tools
Comparing version 1.0.4 to 1.0.5
# node-pre-gyp changelog | ||
## 1.0.5 | ||
- Fix circular reference warning with node >= v14 | ||
## 1.0.4 | ||
@@ -4,0 +7,0 @@ - Added node v16 to the internal node releases listing |
@@ -53,5 +53,10 @@ 'use strict'; | ||
exports.find = require('./pre-binding').find; | ||
// this is a getter to avoid circular reference warnings with node v14. | ||
Object.defineProperty(exports, 'find', { | ||
get: function() { | ||
return require('./pre-binding').find; | ||
}, | ||
enumerable: true | ||
}); | ||
// | ||
// in the following, "my_module" is using node-pre-gyp to | ||
@@ -58,0 +63,0 @@ // prebuild and install pre-built binaries. "main_module" |
{ | ||
"name": "@mapbox/node-pre-gyp", | ||
"description": "Node.js native addon binary install tool", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "native", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
163552
4382