iobroker.amazon-dash
Advanced tools
Comparing version 0.3.1 to 1.0.1
@@ -0,0 +0,0 @@ // converts a numeric array: [ 143, 63, 32, 51, 84, 68 ] |
{ | ||
"common": { | ||
"name": "amazon-dash", | ||
"version": "0.3.1", | ||
"version": "1.0.1", | ||
"title": "Amazon Dash-Button", | ||
@@ -20,2 +20,5 @@ "desc": { | ||
}, | ||
"osDependencies": { | ||
"linux": ["libpcap-dev"] | ||
}, | ||
"platform": "Javascript/Node.js", | ||
@@ -22,0 +25,0 @@ "license": "MIT", |
@@ -5,3 +5,3 @@ /* jshint -W097 */// jshint strict:false | ||
const utils = require(__dirname + '/lib/utils'); | ||
const utils = require('@iobroker/adapter-core'); | ||
const adapter = utils.Adapter('amazon-dash'); | ||
@@ -79,3 +79,3 @@ const int_array_to_hex = require('./helpers.js').int_array_to_hex; | ||
let pcap_session = pcap.createSession(adapter.config.interface, "arp"); | ||
let pcap_session = pcap.createSession(adapter.config.interface, {filter: "arp"}); | ||
@@ -82,0 +82,0 @@ pcap_session.on('packet', function (raw_packet) { |
{ | ||
"name": "iobroker.amazon-dash", | ||
"version": "0.3.1", | ||
"description": "ioBroker amazon-dash Adapter", | ||
"author": { | ||
"name": "Patrick Arns", | ||
"email": "npm@patrick-arns.de" | ||
}, | ||
"contributors": [ | ||
{ | ||
"name": "Patrick Arns", | ||
"email": "npm@patrick-arns.de" | ||
} | ||
], | ||
"homepage": "https://github.com/PArns/ioBroker.amazon-dash", | ||
"license": "MIT", | ||
"keywords": [ | ||
"ioBroker", | ||
"amazon-dash", | ||
"Smart Home", | ||
"home automation" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/PArns/ioBroker.amazon-dash" | ||
}, | ||
"dependencies": { | ||
"pcap": "^2.1.0" | ||
}, | ||
"devDependencies": { | ||
"gulp": "^3.9.1", | ||
"mocha": "^4.1.0", | ||
"chai": "^4.1.2" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/PArns/ioBroker.amazon-dash/issues" | ||
}, | ||
"readmeFilename": "README.md", | ||
"scripts": { | ||
"preinstall": "apt install libpcap-dev -y || true", | ||
"test": "node node_modules/mocha/bin/mocha --exit" | ||
"name": "iobroker.amazon-dash", | ||
"version": "1.0.1", | ||
"description": "ioBroker amazon-dash Adapter", | ||
"author": { | ||
"name": "Patrick Arns", | ||
"email": "npm@patrick-arns.de" | ||
}, | ||
"contributors": [ | ||
{ | ||
"name": "Patrick Arns", | ||
"email": "npm@patrick-arns.de" | ||
} | ||
], | ||
"homepage": "https://github.com/PArns/ioBroker.amazon-dash", | ||
"license": "MIT", | ||
"keywords": [ | ||
"ioBroker", | ||
"amazon-dash", | ||
"Smart Home", | ||
"home automation" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/PArns/ioBroker.amazon-dash" | ||
}, | ||
"engines": { | ||
"node": ">=10.0.0" | ||
}, | ||
"dependencies": { | ||
"pcap": "^3.1.0", | ||
"@iobroker/adapter-core": "^2.2.1" | ||
}, | ||
"devDependencies": { | ||
"gulp": "^4.0.2", | ||
"mocha": "^7.0.1", | ||
"chai": "^4.2.0", | ||
"@iobroker/testing": "^2.0.2" | ||
}, | ||
"main": "main.js", | ||
"bugs": { | ||
"url": "https://github.com/PArns/ioBroker.amazon-dash/issues" | ||
}, | ||
"readmeFilename": "README.md", | ||
"scripts": { | ||
"preinstall": "apt install libpcap-dev -y || true", | ||
"test": "npm run test:package && npm run test:unit", | ||
"test:package": "mocha test/package --exit", | ||
"test:unit": "mocha test/unit --exit", | ||
"test:integration": "mocha test/integration --exit" | ||
} | ||
} |
@@ -5,3 +5,3 @@ ![Logo](admin/amazon-dash.png) | ||
[![NPM version](http://img.shields.io/npm/v/iobroker.amazon-dash.svg)](https://www.npmjs.com/package/iobroker.amazon-dash) | ||
![Number of Installations](http://iobroker.live/badges/amazon-dash-installed.svg) ![Number of Installations](http://iobroker.live/badges/amazon-dash-stable.svg) [![NPM version](http://img.shields.io/npm/v/iobroker.amazon-dash.svg)](https://www.npmjs.com/package/iobroker.amazon-dash) | ||
[![Downloads](https://img.shields.io/npm/dm/iobroker.amazon-dash.svg)](https://www.npmjs.com/package/iobroker.amazon-dash) | ||
@@ -34,2 +34,5 @@ | ||
### 1.0.1 | ||
+ (Apollon77) BREAKING: Ugrade pcap library supports nodejs 10+ and also supports nodejs 12 | ||
### 0.3.1 | ||
@@ -36,0 +39,0 @@ + (PArns) Added new Amazon MAC family |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
125
0
55782
2
4
9
176
1
+ Added@iobroker/adapter-core@2.6.12(transitive)
+ Added@iobroker/types@7.0.6(transitive)
+ Added@types/node@10.17.60(transitive)
+ Addedpcap@3.1.0(transitive)
- Removedpcap@2.1.0(transitive)
Updatedpcap@^3.1.0