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

@serialport/bindings-cpp

Package Overview
Dependencies
Maintainers
3
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serialport/bindings-cpp - npm Package Compare versions

Comparing version 10.5.1 to 10.5.2

5

dist/darwin.d.ts
/// <reference types="node" />
import { BindingPortInterface } from '.';
import { BindingInterface, OpenOptions, PortStatus, SetOptions, UpdateOptions } from './binding-interface';
import { BindingInterface, OpenOptions, PortStatus, SetOptions, UpdateOptions } from '@serialport/bindings-interface';
import { Poller } from './poller';

@@ -13,3 +13,4 @@ export interface DarwinOpenOptions extends OpenOptions {

}
export declare const DarwinBinding: BindingInterface<DarwinPortBinding, DarwinOpenOptions>;
export declare type DarwinBindingInterface = BindingInterface<DarwinPortBinding, DarwinOpenOptions>;
export declare const DarwinBinding: DarwinBindingInterface;
/**

@@ -16,0 +17,0 @@ * The Darwin binding layer for OSX

11

dist/index.d.ts

@@ -1,11 +0,10 @@

import { BindingInterface } from './binding-interface';
import { DarwinPortBinding, DarwinOpenOptions } from './darwin';
import { LinuxPortBinding, LinuxOpenOptions } from './linux';
import { WindowsPortBinding } from './win32';
import { DarwinBindingInterface } from './darwin';
import { LinuxBindingInterface } from './linux';
import { WindowsBindingInterface } from './win32';
export * from '@serialport/bindings-interface';
export * from './darwin';
export * from './linux';
export * from './win32';
export * from './binding-interface';
export * from './errors';
export declare type AutoDetectTypes = BindingInterface<DarwinPortBinding, DarwinOpenOptions> | BindingInterface<WindowsPortBinding> | BindingInterface<LinuxPortBinding, LinuxOpenOptions>;
export declare type AutoDetectTypes = DarwinBindingInterface | WindowsBindingInterface | LinuxBindingInterface;
/**

@@ -12,0 +11,0 @@ * This is an auto detected binding for your current platform

@@ -23,6 +23,6 @@ "use strict";

const debug = (0, debug_1.default)('serialport/bindings-cpp');
__exportStar(require("@serialport/bindings-interface"), exports);
__exportStar(require("./darwin"), exports);
__exportStar(require("./linux"), exports);
__exportStar(require("./win32"), exports);
__exportStar(require("./binding-interface"), exports);
__exportStar(require("./errors"), exports);

@@ -29,0 +29,0 @@ /**

/// <reference types="node" />
import { PortInfo } from './binding-interface';
import { PortInfo } from '@serialport/bindings-interface';
import { spawn } from 'child_process';
export declare function linuxList(spawnCmd?: typeof spawn): Promise<PortInfo[]>;
/// <reference types="node" />
import { Poller } from './poller';
import { BindingInterface, OpenOptions, PortStatus, SetOptions, UpdateOptions } from './binding-interface';
import { BindingInterface, OpenOptions, PortStatus, SetOptions, UpdateOptions } from '@serialport/bindings-interface';
import { BindingPortInterface } from '.';

@@ -20,3 +20,4 @@ export interface LinuxOpenOptions extends OpenOptions {

}
export declare const LinuxBinding: BindingInterface<LinuxPortBinding, LinuxOpenOptions>;
export declare type LinuxBindingInterface = BindingInterface<LinuxPortBinding, LinuxOpenOptions>;
export declare const LinuxBinding: LinuxBindingInterface;
/**

@@ -23,0 +24,0 @@ * The linux binding layer

/// <reference types="node" />
import { BindingPortInterface } from '.';
import { BindingInterface, OpenOptions, PortStatus, SetOptions, UpdateOptions } from './binding-interface';
import { BindingInterface, OpenOptions, PortStatus, SetOptions, UpdateOptions } from '@serialport/bindings-interface';
export interface WindowsOpenOptions extends OpenOptions {

@@ -8,3 +8,4 @@ /** Device parity defaults to none */

}
export declare const WindowsBinding: BindingInterface<WindowsPortBinding, WindowsOpenOptions>;
export declare type WindowsBindingInterface = BindingInterface<WindowsPortBinding, WindowsOpenOptions>;
export declare const WindowsBinding: WindowsBindingInterface;
/**

@@ -11,0 +12,0 @@ * The Windows binding layer

{
"name": "@serialport/bindings-cpp",
"description": "SerialPort Hardware bindings for node serialport written in c++",
"version": "10.5.1",
"version": "10.5.2",
"main": "./dist/index.js",

@@ -21,3 +21,3 @@ "types": "./dist/index.d.ts",

"dependencies": {
"@serialport/binding-abstract": "10.0.1",
"@serialport/bindings-interface": "1.1.0",
"@serialport/parser-readline": "10.0.1",

@@ -36,4 +36,4 @@ "debug": "^4.3.2",

"@types/node": "17.0.10",
"@typescript-eslint/eslint-plugin": "5.10.1",
"@typescript-eslint/parser": "5.10.1",
"@typescript-eslint/eslint-plugin": "5.10.2",
"@typescript-eslint/parser": "5.10.2",
"cc": "3.0.1",

@@ -40,0 +40,0 @@ "chai": "4.3.6",

@@ -24,3 +24,3 @@ # @serialport/bindings-cpp

- [`@serialport/bindings`](https://serialport.io/docs/api-bindings) bindings for Linux, Mac and Windows
- [`@serialport/binding-abstract`](https://serialport.io/docs/api-bindings-abstract) as an abstract class to use if you're making your own bindings
- [`@serialport/binding-interface`](https://serialport.io/docs/api-bindings-interface) as an interface to use if you're making your own bindings
- [`@serialport/binding-mock`](https://serialport.io/docs/api-binding-mock) for a mock binding package for testing

@@ -27,0 +27,0 @@

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

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