Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

win32-fun

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

win32-fun - npm Package Compare versions

Comparing version
1.1.0
to
1.1.1
changelog

Sorry, the diff of this file is not supported yet

+1
-1
{
"name": "win32-fun",
"version": "1.1.0",
"version": "1.1.1",
"description": "disk memory information, put the monitor into sleep mode, wake up the monitor, set volume",

@@ -5,0 +5,0 @@ "repository": "https://github.com/sid-max1996/win32-fun",

@@ -5,3 +5,3 @@ #include "screen.h"

void ScreenSleep() {
SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, (LPARAM)2);
SendMessage(GetConsoleWindow(), WM_SYSCOMMAND, SC_MONITORPOWER, (LPARAM)2);
}

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

@@ -1,2 +0,2 @@

const win32Fun = require('./index')
const win32Fun = require("./index");

@@ -40,1 +40,2 @@ /******* Test check space ********/

// win32Fun.turnOffMonitor();