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

blinker

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blinker - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

25

index.js

@@ -7,2 +7,3 @@ 'use strict';

var led = this.led,
duration = duration || 100,
times = [],

@@ -14,3 +15,2 @@ i;

}
console.log(times);

@@ -49,24 +49,1 @@ times.map(function (t) {

/*
# blinker
Blink LEDs on a tessel
## Usage
```
var blinkerlib = require('blinker');
var blinker = blinkerlib.use(tessel);
// turn blue on, then off
blinker.blue.on();
blinker.blue.off();
// blink 3 times default duratoion (100 ms)
blinker.red.blink(3);
// blink 3 times default duration (50 ms)
blinker.red.blink(6, 50);
```
*/

2

package.json
{
"name": "blinker",
"version": "1.0.0",
"version": "1.0.1",
"description": "blink led (for tessel)",

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

@@ -61,12 +61,13 @@ 'use strict';

blink.red.blink(1, 10);
blink.red.blink(2, 10);
blink.blue.blink(1);
setTimeout(function () {
expect(mock.led[0].setCount).to.equal(3);
expect(mock.led[1].setCount).to.equal(0);
expect(mock.led[2].setCount).to.equal(2);
expect(mock.led[1].setCount).to.equal(2);
expect(mock.led[2].setCount).to.equal(4);
done();
}, 50);
}, 150);
});
});
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