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

eightbyeight

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eightbyeight - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

8

index.js

@@ -39,3 +39,11 @@ var LEDBackpack = require('./led_backpack')

EightByEight.prototype.allOn = function(){
this.disp.allOn()
}
EightByEight.prototype.allOff = function(){
this.disp.allOff()
}
module.exports = EightByEight

11

led_backpack.js

@@ -74,3 +74,10 @@ var i2c = require('i2c');

LEDBackpack.prototype.clear = function(){
LEDBackpack.prototype.allOn = function(){
this.buffer = [ 1, 1, 1, 1, 1, 1, 1, 1 ]
if (this.transactionLevel === 0) {
this.writeDisplay()
}
}
LEDBackpack.prototype.allOff = function(){
this.buffer = [ 0, 0, 0, 0, 0, 0, 0, 0 ]

@@ -82,2 +89,4 @@ if (this.transactionLevel === 0) {

LEDBackpack.prototype.clear = LEDBackpack.prototype.allOff
LEDBackpack.prototype.startTransaction = function(){

@@ -84,0 +93,0 @@ this.transactionLevel++;

2

package.json
{
"name": "eightbyeight",
"version": "0.0.6",
"version": "0.0.7",
"description": "Node library for Adafruit 8x8 LED Matrix",

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

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