Comparing version 2.2.0 to 2.3.0
@@ -5,6 +5,5 @@ 'use strict'; | ||
try { | ||
winapi = require('bindings')('winapi'); | ||
winapi = require(`./winapi_${process.platform}_${process.versions.modules}`); | ||
} catch (e) { | ||
throw Error("Could not load winapi"); | ||
throw Error("Compilation of winapi has failed and there is no pre-compiled binary available for your system. Please install a supported C++11 compiler and reinstall the module 'winapi'"); | ||
} | ||
@@ -11,0 +10,0 @@ |
{ | ||
"name": "winapi", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"description": "Misc windows API wrappers", | ||
@@ -12,3 +12,3 @@ "main": "index.js", | ||
"test": "node node_modules/mocha/bin/mocha test", | ||
"install": "node-gyp rebuild" | ||
"install": "node-gyp rebuild > build_log.txt 2>&1 || exit 0" | ||
}, | ||
@@ -15,0 +15,0 @@ "gypfile": true, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
180925
8
1
3