@abandonware/noble
Advanced tools
Comparing version 1.9.2-1 to 1.9.2-2
/* | ||
Continously scans for peripherals and prints out message when they enter/exit | ||
Continuously scans for peripherals and prints out message when they enter/exit | ||
@@ -4,0 +4,0 @@ In range criteria: RSSI < threshold |
@@ -1,12 +0,8 @@ | ||
var os = require('os'); | ||
var osRelease = parseFloat(os.release()); | ||
var events = require('events'); | ||
var util = require('util'); | ||
if (osRelease < 13 ) { | ||
module.exports = require('./legacy'); | ||
} else if (osRelease < 14) { | ||
module.exports = require('./mavericks'); | ||
} else if (osRelease < 17) { | ||
module.exports = require('./yosemite'); | ||
} else { | ||
module.exports = require('./highsierra'); | ||
} | ||
var NobleMac = require('./native/binding').NobleMac; | ||
util.inherits(NobleMac, events.EventEmitter); | ||
module.exports = new NobleMac(); |
@@ -10,3 +10,3 @@ { | ||
"description": "A Node.js BLE (Bluetooth Low Energy) central library.", | ||
"version": "1.9.2-1", | ||
"version": "1.9.2-2", | ||
"repository": { | ||
@@ -37,8 +37,8 @@ "type": "git", | ||
"dependencies": { | ||
"debug": "^4.1.0" | ||
"debug": "^4.1.0", | ||
"napi-thread-safe-callback": "0.0.6", | ||
"node-addon-api": "^1.1.0" | ||
}, | ||
"optionalDependencies": { | ||
"@abandonware/bluetooth-hci-socket": "^0.5.3-1", | ||
"bplist-parser": "0.1.1", | ||
"xpc-connection": "~0.1.4" | ||
"@abandonware/bluetooth-hci-socket": "^0.5.3-1" | ||
}, | ||
@@ -48,5 +48,5 @@ "devDependencies": { | ||
"jshint": "latest", | ||
"mocha": "^5.2.0", | ||
"mocha": "^6.1.3", | ||
"should": "~13.2.3", | ||
"sinon": "~7.2.2", | ||
"sinon": "~7.3.1", | ||
"ws": "^6.1.2" | ||
@@ -53,0 +53,0 @@ }, |
@@ -109,3 +109,3 @@ # ![noble](assets/noble-logo.png) | ||
```javascript | ||
var noble = require('noble'); | ||
var noble = require('@abandonware/noble'); | ||
``` | ||
@@ -112,0 +112,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
386323
63
7279
2
+ Addednode-addon-api@^1.1.0
+ Addednapi-thread-safe-callback@0.0.6(transitive)
+ Addednode-addon-api@1.7.2(transitive)
- Removedbig-integer@1.6.52(transitive)
- Removedbplist-parser@0.1.1(transitive)
- Removedxpc-connection@0.1.4(transitive)