New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

battery-present

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

battery-present - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "battery-present",
"version": "1.0.1",
"version": "1.0.2",
"description": "Check if a specific battery is present",

@@ -5,0 +5,0 @@ "keywords": [

@@ -30,6 +30,7 @@ # battery-present

### `batteryPresent([battery], callback)`
### `batteryPresent([battery='BAT0'], callback)`
Given an optional _String_ `battery`, calls `callback(true)` if that `battery`
exists in the current system. Otherwise calls `callback(false)`.
Given an optional _String_ `battery` (defaults to `'BAT0'`), calls
`callback(true)` if that `battery` exists in the current system. Otherwise calls
`callback(false)`.

@@ -36,0 +37,0 @@

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