bluetooth-terminal
Advanced tools
Comparing version 1.3.4 to 1.3.5
@@ -0,0 +0,0 @@ { |
{ | ||
"name": "bluetooth-terminal", | ||
"version": "1.3.4", | ||
"version": "1.3.5", | ||
"description": "ES6 class for serial communication with Bluetooth Low Energy (Smart) devices", | ||
@@ -36,11 +36,11 @@ "main": "./src/BluetoothTerminal.js", | ||
"chai-as-promised": "^7.1.1", | ||
"coveralls": "^3.0.2", | ||
"eslint": "^5.11.1", | ||
"eslint-config-google": "^0.11.0", | ||
"coveralls": "^3.0.3", | ||
"eslint": "^5.14.1", | ||
"eslint-config-google": "^0.12.0", | ||
"istanbul": "^0.4.5", | ||
"jsdom": "^13.1.0", | ||
"mocha": "^5.2.0", | ||
"sinon": "^7.2.2", | ||
"jsdom": "^13.2.0", | ||
"mocha": "^6.0.2", | ||
"sinon": "^7.2.4", | ||
"web-bluetooth-mock": "^1.0.2" | ||
} | ||
} |
@@ -0,0 +0,0 @@ # bluetooth-terminal |
@@ -146,3 +146,3 @@ /** | ||
if (!data) { | ||
return Promise.reject('Data must be not empty'); | ||
return Promise.reject(new Error('Data must be not empty')); | ||
} | ||
@@ -158,3 +158,3 @@ | ||
if (!this._characteristic) { | ||
return Promise.reject('There is no connected device'); | ||
return Promise.reject(new Error('There is no connected device')); | ||
} | ||
@@ -171,3 +171,3 @@ | ||
if (!this._characteristic) { | ||
reject('Device has been disconnected'); | ||
reject(new Error('Device has been disconnected')); | ||
} | ||
@@ -174,0 +174,0 @@ |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ 'use strict'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
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
0
37965