Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

adafruit-pi-finder

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adafruit-pi-finder - npm Package Compare versions

Comparing version 2.0.4 to 2.1.0

test.js

14

finder.js

@@ -37,2 +37,8 @@ var ip = require('ip'),

proto.subnet = false;
proto.whitelist = [
/b8:27:eb/, // rasberry pi ethernet
/00:e0:4c/, // realtek
/00:14:78/, // tp-link
/00:0c:43/ // ralink
];

@@ -71,4 +77,8 @@ proto.start = function(cb) {

if(/b8:27:eb/.test(mac)) {
return next(null, host);
for(var i=0; i < this.whitelist.length; i++) {
if(this.whitelist[i].test(mac)) {
return next(null, host);
}
}

@@ -75,0 +85,0 @@

2

package.json
{
"name": "adafruit-pi-finder",
"version": "2.0.4",
"version": "2.1.0",
"description": "An atom-shell based utility for finding Raspberry Pis on your local network",

@@ -5,0 +5,0 @@ "main": "main.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