Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

winapi

Package Overview
Dependencies
Maintainers
2
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

winapi - npm Package Compare versions

Comparing version 2.3.0 to 2.4.0

WinAPI.exe

18

index.js
'use strict';
var exec = require('child_process').exec;
var path = require('path');
var winapi;

@@ -10,5 +13,20 @@ try {

var winapiCS = path.join(__dirname, 'WinAPI.exe');
winapi.GetDisplaySettings = function(chain){
exec([winapiCS, "GetDisplaySettings"].join(' '), function(err, stdout){
chain(err, JSON.parse(stdout));
});
}
winapi.ReOrientDisplay = function(orientation, chain){
exec([winapiCS, "ReOrientDisplay", orientation].join(' '), {}, chain);
}
var bootTime;

@@ -15,0 +33,0 @@

2

package.json
{
"name": "winapi",
"version": "2.3.0",
"version": "2.4.0",
"description": "Misc windows API wrappers",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc