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

@serialport/binding-abstract

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serialport/binding-abstract - npm Package Compare versions

Comparing version 9.0.1 to 9.0.2

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [9.0.2](https://github.com/serialport/node-serialport/compare/v9.0.1...v9.0.2) (2020-10-16)
### Bug Fixes
* while validating for offset, check for offset's value for NaN instead length ([#2124](https://github.com/serialport/node-serialport/issues/2124)) ([4215122](https://github.com/serialport/node-serialport/commit/42151228240c5c818ac5327d6ff5c01398805564))
## [9.0.1](https://github.com/serialport/node-serialport/compare/v9.0.0...v9.0.1) (2020-08-08)

@@ -8,0 +19,0 @@

4

lib/index.js

@@ -88,4 +88,4 @@ const debug = require('debug')('serialport/binding-abstract')

if (typeof offset !== 'number' || isNaN(length)) {
throw new TypeError(`"offset" is not an integer got "${isNaN(length) ? 'NaN' : typeof offset}"`)
if (typeof offset !== 'number' || isNaN(offset)) {
throw new TypeError(`"offset" is not an integer got "${isNaN(offset) ? 'NaN' : typeof offset}"`)
}

@@ -92,0 +92,0 @@

{
"name": "@serialport/binding-abstract",
"version": "9.0.1",
"version": "9.0.2",
"main": "lib",

@@ -22,3 +22,3 @@ "keywords": [

},
"gitHead": "19fb5f8d2a76854c154c0f89e908a478ee915ee6"
"gitHead": "df482d3af7660fd13a4ecc2de5ddcb70a02417f4"
}
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