Comparing version 2.0.6 to 2.0.8
/*! | ||
* Copyright © 2011 Peter Magnusson. | ||
* Copyright © 2011-2013 Peter Magnusson. | ||
* All rights reserved. | ||
@@ -58,3 +58,3 @@ */ | ||
payloadToStorage(packet.payload, packet.payload_operand | ||
, packet.header.REQ_OFFSET_CLIENT | ||
, packet.header.REQ_OFFSET_SERVER | ||
, packet.header.REQ_SIZE); | ||
@@ -79,2 +79,3 @@ } | ||
this._addQueue = function(address, packet, callback){ | ||
if(typeof(address)!='object') address={address:address, port:EASYIP_PORT}; | ||
sendQueue.push({address:address, packet:packet, callback:callback}); | ||
@@ -158,2 +159,6 @@ m._sendQueue(); | ||
server.on("close", function(){ | ||
m.emit("close"); | ||
}); | ||
this.storage.on("changing", function(operand, index, from, to){ | ||
@@ -160,0 +165,0 @@ m.emit("changing", operand, index, from, to); |
@@ -62,3 +62,3 @@ /*! | ||
Header.parse = function(buf){ | ||
header = jspack.Unpack(HEADER_FORMAT, buf, 0); | ||
var header = jspack.Unpack(HEADER_FORMAT, buf, 0); | ||
return new Header(header); | ||
@@ -65,0 +65,0 @@ }; |
{ | ||
"author": "Peter Magnusson <kmpm@birchroad.net>", | ||
"name": "easyip", | ||
"description": "Node library for the Fest Easy-IP protocoll", | ||
"version": "2.0.6", | ||
"description": "Node library for the Festo Easy-IP protocoll", | ||
"version": "2.0.8", | ||
"homepage": "http://github.com/birchroad/node-easyip", | ||
@@ -7,0 +7,0 @@ "repository": { |
@@ -6,8 +6,9 @@ Node.js library for Festo Easy-IP protocol | ||
## Disclaimer | ||
This library is certanly not stable even though the protocol itself is | ||
It is used in production but not yet documented as much as I would like to. | ||
## Installation | ||
node-easyip is not available as a npm module yet. You have to check out the source. | ||
npm install easyip | ||
### Dependencies | ||
@@ -36,3 +37,3 @@ [node-jspack](http://github.com/birchroad/node-jspack) | ||
Copyright (c) 2011 Peter Magnusson <kmpm@birchroad.net> | ||
Copyright (c) 2011-2013 Peter Magnusson <kmpm@birchroad.net> | ||
@@ -39,0 +40,0 @@ Permission is hereby granted, free of charge, to any person obtaining |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances 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
45264
19
1279
56
3