
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@nodegui/os-utils
Advanced tools
A helper module which contains OS specific native features.
npm install @nodegui/os-utils
import { Dock } from "@nodegui/os-utils";
console.log("Showing the Dock icon on macOS");
Dock.show();
console.log("Hiding the Dock icon on macOS");
Dock.hide();
import { AboutPanel } from "@nodegui/os-utils";
console.log("Open the about panel on macOS");
AboutPanel.open();
console.log("Open the about panel on macOS with modified defaults");
AboutPanel.open({ name: "Custom name", version: "2.3.5" });
import { Info } from "@nodegui/os-utils";
console.log("isDarkMode: " + Info.isDarkMode());
Dock
show()
- static method - Shows the Dock icon on macOS. Does nothing on other platforms.hide()
- static method - Hides the Dock icon on macOS. Does nothing on other platforms.AboutPanel
open(options?: object)
- static method - Opens the about panel on macOS. Does nothing on other platforms. options
is optional and can contain the following strings: name
, version
, applicationVersion
, and copyright
. The default values are derived from Info.plist
.Info
isDarkMode
- static method - Checks if the OS theme is dark mode in macOS. Does nothing on other platforms and returns false. Returns a boolean.MIT
FAQs
A helper module which contains OS specific native features.
The npm package @nodegui/os-utils receives a total of 3 weekly downloads. As such, @nodegui/os-utils popularity was classified as not popular.
We found that @nodegui/os-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.