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

pi-spi

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pi-spi - npm Package Compare versions

Comparing version 1.0.3 to 1.1.0

4

index.js

@@ -61,4 +61,4 @@ var fs = require('fs'),

};
spi.close = function () {
fs.close(_fd);
spi.close = function (cb) {
fs.close(_fd, cb);
};

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

{
"name": "pi-spi",
"version": "1.0.3",
"version": "1.1.0",
"description": "Simple async SPI library for Raspberry Pi",

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

@@ -68,3 +68,7 @@ # pi-spi

### spi.close(cb)
Frees up the underlying device descriptor if you are no longer using this instance. You will need to `SPI.initialize` a new instance if you wish to resume communication later.
## License

@@ -71,0 +75,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