Socket
Socket
Sign inDemoInstall

serialport

Package Overview
Dependencies
Maintainers
1
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 1.0.2 to 1.0.3

build/binding.Makefile

5

changelog.md

@@ -0,1 +1,6 @@

Version 1.0.3
-------------
- Fixed issue 65 - https://github.com/voodootikigod/node-serialport/issues/65
- Added note in readme about what is required for the system to be able to compile module, should solve 90% of issues.
Version 1.0.2

@@ -2,0 +7,0 @@ -------------

5

package.json
{
"name": "serialport",
"version": "1.0.2",
"version": "1.0.3",
"description": "Welcome your robotic javascript overlords. Better yet, program them!",

@@ -29,3 +29,4 @@ "author": {

"sf": "0.1.3",
"optimist": "~0.3.4"
"optimist": "~0.3.4",
"node-gyp": "0.6.2"
},

@@ -32,0 +33,0 @@ "engines": {

@@ -47,2 +47,17 @@ <pre>

This assumes you have everything on your system necessary to compile ANY native module for Node.js. This may not be the case, though, so please ensure the following are true for your system before filing an issue about "Does not install". For all operatings systems, please ensure you have Python 2.x installed AND not 3.0, node-gyp (what we use to compile) requires Python 2.x.
### Windows:
Ensure you have Visual Studio 2010 installed. If you have any version OTHER THAN VS 2010, please read this: https://github.com/TooTallNate/node-gyp/issues/44
### Mac OS X:
Ensure that you have at a minimum the xCode Command Line Tools installed appropriate for your system configuration. If you recently upgrade OS, it probably removed your installation of Command Line Tools, please verify before submitting a ticket.
### Linux:
You know what you need for you system, basically your appropriate analog of build-essential. Keep rocking!
To Use

@@ -49,0 +64,0 @@ ------

11

serialport.js

@@ -154,6 +154,8 @@ "use strict";

SerialPort.prototype.close = function (callback) {
var self = this;
var fd = this.fd;
this.fd = 0;
if (this.closing) {
if (self.closing) {
return;

@@ -169,5 +171,4 @@ }

this.closing = true;
self.closing = true;
try {
var self = this;
if (self.readStream) {

@@ -185,6 +186,6 @@ self.readStream.destroy();

self.emit('close');
this.closing = false;
self.closing = false;
});
} catch (ex) {
this.closing = false;
self.closing = false;
throw ex;

@@ -191,0 +192,0 @@ }

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