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

bluetooth-terminal

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bluetooth-terminal - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

.github/workflows/cd.yml

18

package.json
{
"name": "bluetooth-terminal",
"version": "1.4.1",
"version": "1.4.2",
"description": "ES6 class for serial communication with Bluetooth Low Energy (Smart) devices",
"main": "src/BluetoothTerminal.js",
"scripts": {
"ci": "npm run lint && npm run test:coverage",
"clean:coverage": "rm -rf coverage",
"coveralls": "npm run test:coverage -- --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && npm run clean:coverage",
"lint": "eslint src test",

@@ -38,12 +35,11 @@ "test": "mocha",

"chai-as-promised": "^7.1.1",
"coveralls": "^3.0.3",
"eslint": "^5.16.0",
"eslint-config-google": "^0.13.0",
"eslint-plugin-jsdoc": "^7.2.3",
"eslint": "^7.18.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-jsdoc": "^31.0.5",
"istanbul": "^0.4.5",
"jsdom": "^15.1.1",
"mocha": "^6.1.4",
"sinon": "^7.3.2",
"jsdom": "^16.4.0",
"mocha": "^8.2.1",
"sinon": "^9.2.3",
"web-bluetooth-mock": "^1.0.2"
}
}
# bluetooth-terminal
[![NpmVersion](https://img.shields.io/npm/v/bluetooth-terminal.svg)](https://www.npmjs.com/package/bluetooth-terminal)
[![Build Status](https://travis-ci.org/loginov-rocks/bluetooth-terminal.svg?branch=master)](https://travis-ci.org/loginov-rocks/bluetooth-terminal)
[![Coverage Status](https://coveralls.io/repos/github/loginov-rocks/bluetooth-terminal/badge.svg?branch=master)](https://coveralls.io/github/loginov-rocks/bluetooth-terminal?branch=master)
[![devDependencies Status](https://david-dm.org/loginov-rocks/bluetooth-terminal/dev-status.svg)](https://david-dm.org/loginov-rocks/bluetooth-terminal?type=dev)
[![Greenkeeper badge](https://badges.greenkeeper.io/loginov-rocks/bluetooth-terminal.svg)](https://greenkeeper.io/)
[![npm](https://img.shields.io/npm/v/bluetooth-terminal)](https://www.npmjs.com/package/bluetooth-terminal)
[![CI](https://github.com/loginov-rocks/bluetooth-terminal/workflows/CI/badge.svg)](https://github.com/loginov-rocks/bluetooth-terminal/actions)
[![Coverage Status](https://coveralls.io/repos/github/loginov-rocks/bluetooth-terminal/badge.svg?branch=main)](https://coveralls.io/github/loginov-rocks/bluetooth-terminal?branch=main)

@@ -18,7 +16,7 @@ **BluetoothTerminal** is a class written in ES6 for serial communication with Bluetooth Low Energy (Smart) devices from

## Quick start
## Quick Start
### Install
You can use the [script](https://github.com/loginov-rocks/bluetooth-terminal/blob/master/src/BluetoothTerminal.js)
You can use the [script](https://github.com/loginov-rocks/bluetooth-terminal/blob/main/src/BluetoothTerminal.js)
directly or install it using [npm](https://npmjs.com) and require in your code.

@@ -217,5 +215,1 @@

**Returns**: `string` - Device name or empty string if not connected
## Contribution
Please use the [dev](https://github.com/loginov-rocks/bluetooth-terminal/tree/dev) branch and feel free to contribute!

@@ -263,6 +263,6 @@ 'use strict';

it('should be called twice when a value provided have three separators, but there is no data data between the first'
+ ' and second', () => {
const value = 'Hello, world!' + bt._receiveSeparator + bt._receiveSeparator + 'Ciao, mondo!'
+ bt._receiveSeparator;
it('should be called twice when a value provided have three separators, but there is no data data between the ' +
'first and second', () => {
const value = 'Hello, world!' + bt._receiveSeparator + bt._receiveSeparator + 'Ciao, mondo!' +
bt._receiveSeparator;

@@ -269,0 +269,0 @@ return connectPromise.

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