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

@abandonware/noble

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@abandonware/noble - npm Package Compare versions

Comparing version 1.9.2-1 to 1.9.2-2

.npmignore

2

examples/enter-exit.js
/*
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 @@

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