Socket
Socket
Sign inDemoInstall

winapi

Package Overview
Dependencies
14
Maintainers
3
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.8.1 to 2.9.1

.github/workflows/publish.yml

12

index.js

@@ -7,13 +7,11 @@ 'use strict';

var winapi;
var winapiCS = path.join(__dirname, 'WinAPI.exe');
var winapi;
var engine = process.versions.nw ? "nwjs" : "node";
var module_path = sprintf('./winapi_%s_%s_%s_%s.node', process.platform, process.versions.modules, process.arch, engine) ;
try {
winapi = require(module_path);
winapi = require('node-gyp-build')(__dirname);
} catch(e) {
throw Error(sprintf("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' (missing %s)", module_path) );
console.log(e);
throw Error(sprintf("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' (missing %s)") );
}

@@ -20,0 +18,0 @@

{
"name": "winapi",
"version": "2.8.1",
"version": "2.9.1",
"description": "Misc windows API wrappers",
"main": "index.js",
"dependencies": {
"nan": "^2.2.0"
"nan": "^2.2.0",
"node-gyp-build": "^4.4.0"
},

@@ -12,6 +13,3 @@ "scripts": {

"test": "node node_modules/mocha/bin/mocha test",
"install": "node-gyp rebuild > build_log.txt 2>&1 || exit 0",
"buildnw26": "set npm_config_arch=ia32&& set npm_config_runtime=nwjs&& set npm_config_modules=57&& nw-gyp rebuild --target=0.26.0 --arch=ia32 --verbose",
"buildnw266": "set npm_config_arch=ia32&& set npm_config_runtime=nwjs&& set npm_config_modules=59&& nw-gyp rebuild --target=0.26.6 --arch=ia32 --verbose",
"buildnw14": "set npm_config_arch=ia32&& set npm_config_runtime=nwjs&& set npm_config_modules=47&& nw-gyp rebuild --target=0.14.6 --arch=ia32 --verbose"
"install": "node-gyp-build"
},

@@ -18,0 +16,0 @@ "os": [

@@ -0,0 +0,0 @@

@@ -0,0 +0,0 @@ "use strict";

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc