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

serialport

Package Overview
Dependencies
Maintainers
3
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 6.2.0 to 6.2.1

prebuilds/serialport-v6.2.1-node-v46-darwin-x64.tar.gz

18

CHANGELOG.md

@@ -0,1 +1,19 @@

<a name="6.2.1"></a>
## 6.2.1 (2018-06-28)
Thanks to @shodan8192 for finding and fixing a memory leak on unix systems!
* docs: fix link to parser docs ([f2285d0](https://github.com/node-serialport/node-serialport/commit/f2285d0))
* docs: regenerate docs ([eb053db](https://github.com/node-serialport/node-serialport/commit/eb053db))
* chore: change to new parser packages and upgrade (fix builds) (#1562) ([d829ada](https://github.com/node-serialport/node-serialport/commit/d829ada)), closes [#1562](https://github.com/node-serialport/node-serialport/issues/1562)
* chore: drop node 4 EOL, add node 10 🎉 (#1556) ([e1998b3](https://github.com/node-serialport/node-serialport/commit/e1998b3)), closes [#1556](https://github.com/node-serialport/node-serialport/issues/1556)
* chore(package): update conventional-changelog-cli to version 2.0.0 (#1571) ([1bf70ae](https://github.com/node-serialport/node-serialport/commit/1bf70ae)), closes [#1571](https://github.com/node-serialport/node-serialport/issues/1571)
* chore(package): update package specs (#1557) ([4ed5182](https://github.com/node-serialport/node-serialport/commit/4ed5182)), closes [#1557](https://github.com/node-serialport/node-serialport/issues/1557)
* chore(package): upgrade packages ([46d798d](https://github.com/node-serialport/node-serialport/commit/46d798d))
* fix: a few warnings and deprecations (#1558) ([a250f09](https://github.com/node-serialport/node-serialport/commit/a250f09)), closes [#1558](https://github.com/node-serialport/node-serialport/issues/1558)
* fix: build isn't using the right version on 32x (#1564) ([f9953f2](https://github.com/node-serialport/node-serialport/commit/f9953f2)), closes [#1564](https://github.com/node-serialport/node-serialport/issues/1564)
* fix: memory leak in unix serialport poller (#1572) ([9006bd6](https://github.com/node-serialport/node-serialport/commit/9006bd6)), closes [#1572](https://github.com/node-serialport/node-serialport/issues/1572)
<a name="6.2.0"></a>

@@ -2,0 +20,0 @@ ## 6.2.0 (2018-04-18)

1

lib/bindings/darwin.js

@@ -50,2 +50,3 @@ 'use strict';

this.poller.stop();
this.poller.destroy();
this.poller = null;

@@ -52,0 +53,0 @@ this.openOptions = null;

2

lib/bindings/linux-list.js
'use strict';
const childProcess = require('child_process');
const Readline = require('parser-readline');
const Readline = require('@serialport/parser-readline');

@@ -6,0 +6,0 @@ // get only serial port names

@@ -50,2 +50,3 @@ 'use strict';

this.poller.stop();
this.poller.destroy();
this.poller = null;

@@ -52,0 +53,0 @@ this.openOptions = null;

@@ -92,2 +92,12 @@ 'use strict';

this.poller.stop();
this.emitCanceled();
}
destroy() {
logger('Destroying poller');
this.poller.destroy();
this.emitCanceled();
}
emitCanceled() {
const err = new Error('Canceled');

@@ -94,0 +104,0 @@ err.canceled = true;

@@ -30,8 +30,8 @@ 'use strict';

module.exports = {
ByteLength: require('parser-byte-length'),
CCTalk: require('parser-cctalk'),
Delimiter: require('parser-delimiter'),
Readline: require('parser-readline'),
Ready: require('parser-ready'),
Regex: require('parser-regex')
ByteLength: require('@serialport/parser-byte-length'),
CCTalk: require('@serialport/parser-cctalk'),
Delimiter: require('@serialport/parser-delimiter'),
Readline: require('@serialport/parser-readline'),
Ready: require('@serialport/parser-ready'),
Regex: require('@serialport/parser-regex')
};
{
"name": "serialport",
"version": "6.2.0",
"version": "6.2.1",
"description": "Node.js package to access serial ports. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them!",

@@ -59,2 +59,8 @@ "main": "lib",

"dependencies": {
"@serialport/parser-byte-length": "^1.0.5",
"@serialport/parser-cctalk": "^1.0.5",
"@serialport/parser-delimiter": "^1.0.5",
"@serialport/parser-readline": "^1.0.5",
"@serialport/parser-ready": "^1.0.5",
"@serialport/parser-regex": "^1.0.5",
"bindings": "1.3.0",

@@ -64,12 +70,6 @@ "commander": "^2.13.0",

"nan": "^2.9.2",
"parser-byte-length": "^1.0.2",
"parser-cctalk": "^1.0.2",
"parser-delimiter": "^1.0.2",
"parser-readline": "^1.0.2",
"parser-ready": "^1.0.2",
"parser-regex": "^1.0.2",
"prebuild-install": "^2.4.1",
"prebuild-install": "^4.0.0",
"promirepl": "^1.0.1",
"prompt-list": "^3.1.2",
"safe-buffer": "^5.0.1"
"prompt-list": "^3.2.0",
"safe-buffer": "^5.1.2"
},

@@ -82,15 +82,14 @@ "devDependencies": {

"chai-subset": "^1.5.0",
"conventional-changelog-cli": "^1.3.15",
"eslint": "^4.19.1",
"eslint-config-standard": "^11.0.0",
"eslint-plugin-import": "^2.7.0",
"conventional-changelog-cli": "^2.0.0",
"eslint": "^5.0.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^3.0.1",
"eslint-plugin-promise": "^3.8.0",
"istanbul": "^0.4.4",
"jsdoc": "^3.5.5",
"mocha": "^5.0.0",
"prebuild": "^7.4.0",
"mocha": "^5.2.0",
"prebuild": "^7.6.0",
"prebuild-ci": "^2.2.3",
"proxyquire": "^2.0.0",
"sinon": "^5.0.0"
"sinon": "^6.0.1"
},

@@ -122,3 +121,3 @@ "engines": {

"prebuild": "prebuild --all --strip --verbose",
"prebuild-upload": "prebuild --all --strip --verbose"
"prebuild-ci": "prebuild-ci"
},

@@ -125,0 +124,0 @@ "gypfile": true,

@@ -23,3 +23,3 @@ # Node Serialport

- [**API Docs**](https://node-serialport.github.io/node-serialport/)
- [Parsers API Docs](https://node-serialport.github.io/parsers/)
- [Parsers API Docs](https://node-serialport.github.io/utilities/)
- **For support**, open a [GitHub issue](https://github.com/node-serialport/node-serialport/issues/new).

@@ -34,3 +34,3 @@ - **For discussions, design ideas, and clarifications**, please join our [Gitter chat room](https://gitter.im/EmergingTechnologyAdvisors/node-serialport).

- [**API Docs**](https://node-serialport.github.io/node-serialport/)
- [Parsers API Docs](https://node-serialport.github.io/parsers/)
- [Parsers API Docs](https://node-serialport.github.io/utilities/)

@@ -88,14 +88,14 @@ See our [changelog](CHANGELOG.md) for what's new, and our [upgrade guide](UPGRADE_GUIDE.md) for a walk-through on differences between major versions.

| Platform / Arch | Node v4.x | Node v6.x | Node v8.x | Node v9.x |
| --- | --- | --- | --- | --- |
| Linux / ia32 | ☑ | ☑ | ☑ | ☑ |
| Linux / x64 | ☑ | ☑ | ☑ | ☑ |
| Linux / ARM v6¹ | ☐ | ☐ | ☐ | ☐ |
| Linux / ARM v7¹ | ☐ | ☐ | ☐ | ☐ |
| Linux / ARM v8¹ | ☐ | ☐ | ☐ | ☐ |
| Linux / MIPSel¹ | ☐ | ☐ | ☐ | ☐ |
| Linux / PPC64¹ | ☐ | ☐ | ☐ | ☐ |
| Windows² / x86 | ☐ | ☑ | ☑ | ☑ |
| Windows² / x64 | ☑ | ☑ | ☑ | ☑ |
| OSX³ / x64 | ☑ | ☑ | ☑ | ☑ |
| Platform / Arch | Node v4.x | Node v6.x | Node v8.x | Node v9.x | Node v10.x |
| --- | --- | --- | --- | --- | --- |
| Linux / ia32⁴ | ☑ | ☑ | ☑ | ☑ | ☐ |
| Linux / x64 | ☑ | ☑ | ☑ | ☑ | ☑ |
| Linux / ARM v6¹ | ☐ | ☐ | ☐ | ☐ | ☐ |
| Linux / ARM v7¹ | ☐ | ☐ | ☐ | ☐ | ☐ |
| Linux / ARM v8¹ | ☐ | ☐ | ☐ | ☐ | ☐ |
| Linux / MIPSel¹ | ☐ | ☐ | ☐ | ☐ | ☐ |
| Linux / PPC64¹ | ☐ | ☐ | ☐ | ☐ | ☐ |
| Windows² / x86 | ☐ | ☑ | ☑ | ☑ | ☑ |
| Windows² / x64 | ☑ | ☑ | ☑ | ☑ | ☑ |
| OSX³ / x64 | ☑ | ☑ | ☑ | ☑ | ☑ |

@@ -108,2 +108,4 @@ ¹ ARM, MIPSel and PPC64¹ platforms are not currently part of our testing or build matrix, but are known to work.

⁴ NodeJS has dropped prebuilt binaries for NodeJS 10 on 32bit linux. As a result it's too difficult to maintain support. However if you build nodejs and serialport yourself it will probably work.
## Installation Instructions

@@ -110,0 +112,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

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