geoip-country 4.2.55 → 4.2.56

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.
Binary file
Binary file
package/lib/geoip.js CHANGED
@@ -438,7 +438,9 @@ module.exports = {
438
438
  if(typeof license_key === 'function'){
439
439
  callback = license_key
440
440
  } else {
441
- options.env = {GEOLITE2_LICENSE_KEY: license_key}
441
+ options.env = Object.assign({},
442
+ process.env || {},
443
+ {GEOLITE2_LICENSE_KEY: license_key})
442
444
  }
443
445
  if(!callback){
444
446
  callback = function(){}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geoip-country",
3
- "version": "4.2.55",
3
+ "version": "4.2.56",
4
4
  "description": "Less memory usage version of geoip-lite, by supporting only country lookup.",
5
5
  "keywords": [
6
6
  "geo",