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

node-beacon-scanner

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-beacon-scanner - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

4

lib/parser.js

@@ -6,3 +6,3 @@ /* ------------------------------------------------------------------

* Released under the MIT license
* Date: 2017-09-06
* Date: 2017-09-15
* ---------------------------------------------------------------- */

@@ -75,3 +75,3 @@ 'use strict';

// iBeacon
if(manu && manu.readUInt32BE(0) === 0x4c000215) {
if(manu && manu.length >= 4 && manu.readUInt32BE(0) === 0x4c000215) {
return 'iBeacon';

@@ -78,0 +78,0 @@ }

{
"name": "node-beacon-scanner",
"version": "0.0.1",
"version": "0.0.2",
"description": "The node-beacon-scanner is a Node.js module which allows you to scan BLE beacon packets and parse the packet data. This module supports iBeacon, Eddystone, and Estimote.",

@@ -5,0 +5,0 @@ "main": "./lib/scanner.js",

@@ -391,11 +391,11 @@ node-beacon-scanner

Property |Type |Description
:--------------|:--------|:----------
`nearableId` | String | Nearable identifier
`temperature` | Number | Temperature (°C)
`moving` | Boolean | Moving state (true: moving)
`acceleration` | Object | Acceleration
+ `x` | Number | Acceleration on the X axis (milli G)
+ `y` | Number | Acceleration on the Y axis (milli G)
+ `z` | Number | Acceleration on the Z axis (milli G)
Property | |Type |Description
:--------------|:----|:--------|:----------
`nearableId` | | String | Nearable identifier
`temperature` | | Number | Temperature (°C)
`moving` | | Boolean | Moving state (true: moving)
`acceleration` | | Object | Acceleration
-- | `x` | Number | Acceleration on the X axis (milli G)
-- | `y` | Number | Acceleration on the Y axis (milli G)
-- | `z` | Number | Acceleration on the Z axis (milli G)

@@ -405,2 +405,4 @@ ---------------------------------------

* v0.0.2 (2017-09-15)
* Fixed a bug that an exception was thrown when an unknown packet came.
* v0.0.1 (2017-09-06)

@@ -407,0 +409,0 @@ * First public release

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