@serialport/binding-abstract
Advanced tools
Comparing version 9.0.1 to 9.0.2
@@ -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 @@ |
@@ -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" | ||
} |
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
11199