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

serialport

Package Overview
Dependencies
Maintainers
2
Versions
175
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serialport - npm Package Compare versions

Comparing version 10.5.0 to 11.0.0

6

dist/index.js
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {

@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k;

2

dist/serialport-mock.d.ts
import { ErrorCallback, OpenOptions, SerialPortStream } from '@serialport/stream';
import { MockBindingInterface } from '@serialport/binding-mock';
export declare type SerialPortMockOpenOptions = Omit<OpenOptions<MockBindingInterface>, 'binding'>;
export type SerialPortMockOpenOptions = Omit<OpenOptions<MockBindingInterface>, 'binding'>;
export declare class SerialPortMock extends SerialPortStream<MockBindingInterface> {

@@ -5,0 +5,0 @@ static list: () => Promise<import("@serialport/bindings-cpp").PortInfo[]>;

@@ -15,4 +15,4 @@ "use strict";

}
exports.SerialPortMock = SerialPortMock;
SerialPortMock.list = binding_mock_1.MockBinding.list;
SerialPortMock.binding = binding_mock_1.MockBinding;
exports.SerialPortMock = SerialPortMock;
import { ErrorCallback, SerialPortStream, StreamOptions } from '@serialport/stream';
import { AutoDetectTypes, OpenOptionsFromBinding } from '@serialport/bindings-cpp';
export declare type SerialPortOpenOptions<T extends AutoDetectTypes> = Omit<StreamOptions<T>, 'binding'> & OpenOptionsFromBinding<T>;
export type SerialPortOpenOptions<T extends AutoDetectTypes> = Omit<StreamOptions<T>, 'binding'> & OpenOptionsFromBinding<T>;
export declare class SerialPort<T extends AutoDetectTypes = AutoDetectTypes> extends SerialPortStream<T> {

@@ -5,0 +5,0 @@ static list: () => Promise<import("@serialport/bindings-cpp").PortInfo[]>;

@@ -16,4 +16,4 @@ "use strict";

}
exports.SerialPort = SerialPort;
SerialPort.list = DetectedBinding.list;
SerialPort.binding = DetectedBinding;
exports.SerialPort = SerialPort;
{
"name": "serialport",
"version": "10.5.0",
"version": "11.0.0",
"description": "Node.js package to access serial ports. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them!",

@@ -54,15 +54,15 @@ "main": "./dist/index.js",

"@serialport/binding-mock": "10.2.2",
"@serialport/bindings-cpp": "10.8.0",
"@serialport/parser-byte-length": "10.5.0",
"@serialport/parser-cctalk": "10.5.0",
"@serialport/parser-delimiter": "10.5.0",
"@serialport/parser-inter-byte-timeout": "10.5.0",
"@serialport/parser-packet-length": "10.5.0",
"@serialport/parser-readline": "10.5.0",
"@serialport/parser-ready": "10.5.0",
"@serialport/parser-regex": "10.5.0",
"@serialport/parser-slip-encoder": "10.5.0",
"@serialport/parser-spacepacket": "10.5.0",
"@serialport/stream": "10.5.0",
"debug": "^4.3.3"
"@serialport/bindings-cpp": "11.0.1",
"@serialport/parser-byte-length": "11.0.0",
"@serialport/parser-cctalk": "11.0.0",
"@serialport/parser-delimiter": "11.0.0",
"@serialport/parser-inter-byte-timeout": "11.0.0",
"@serialport/parser-packet-length": "11.0.0",
"@serialport/parser-readline": "11.0.0",
"@serialport/parser-ready": "11.0.0",
"@serialport/parser-regex": "11.0.0",
"@serialport/parser-slip-encoder": "11.0.0",
"@serialport/parser-spacepacket": "11.0.0",
"@serialport/stream": "11.0.0",
"debug": "4.3.4"
},

@@ -76,5 +76,5 @@ "engines": {

"devDependencies": {
"typescript": "^4.5.5"
"typescript": "5.0.4"
},
"gitHead": "d8330a3d2b287230eabe92ae6b9bf44bc8c06f56"
"gitHead": "6a8202cd947c87ac70c9f3c84d60fe4b5f5d70a9"
}

@@ -20,3 +20,3 @@ # serialport

- [`@serialport/bindings-cpp`](https://serialport.io/docs/api-bindings) bindings for Linux, Mac and Windows
- [`@serialport/bindings-cpp`](https://serialport.io/docs/api-bindings-cpp) bindings for Linux, Mac and Windows
- [`@serialport/bindings-interface`](https://serialport.io/docs/api-bindings-interface) a typescript interface to use if you're making your own bindings

@@ -23,0 +23,0 @@ - [`@serialport/binding-mock`](https://serialport.io/docs/api-binding-mock) for a mock binding package for testing

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