Comparing version 0.0.10 to 0.0.11
@@ -66,2 +66,3 @@ (function() { | ||
// + `timetag` - numeric value | ||
// + `array` - array of _OSC Arguments_ | ||
// | ||
@@ -76,3 +77,4 @@ // Note that `type` is always a string - i.e. `"true"` rather than `true`. | ||
// If the argument is not an object, it will be interpreted as either | ||
// `string`, `float`, or `blob`, depending on its javascript type. | ||
// `string`, `float`, `array` or `blob`, depending on its javascript type | ||
// (String, Number, Array, Buffer, respectively) | ||
// | ||
@@ -79,0 +81,0 @@ // + An _OSC Bundle_ is represented as a javascript object with the following layout |
{ | ||
"name": "osc-min", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"main": "lib/index", | ||
@@ -8,3 +8,3 @@ "author": { | ||
"email": "russell.mcclellan@gmail.com", | ||
"url": "http://www.ghostfact.com" | ||
"url": "http://www.russellmcc.com" | ||
}, | ||
@@ -11,0 +11,0 @@ "description": "Simple utilities for open sound control in node.js", |
@@ -45,7 +45,8 @@ [![build status](https://secure.travis-ci.org/russellmcc/node-osc-min.png)](http://travis-ci.org/russellmcc/node-osc-min) | ||
sock = udp.createSocket("udp4", function(msg, rinfo) { | ||
var error; | ||
try { | ||
return console.log(osc.fromBuffer(msg)); | ||
} catch (error) { | ||
} catch (_error) { | ||
error = _error; | ||
return console.log("invalid OSC packet"); | ||
@@ -61,3 +62,2 @@ } | ||
sendHeartbeat = function() { | ||
@@ -83,5 +83,4 @@ var buf; | ||
sock = udp.createSocket("udp4", function(msg, rinfo) { | ||
var redirected; | ||
var error, redirected; | ||
try { | ||
@@ -92,3 +91,4 @@ redirected = osc.applyAddressTransform(msg, function(address) { | ||
return sock.send(redirected, 0, redirected.length, outport, "localhost"); | ||
} catch (error) { | ||
} catch (_error) { | ||
error = _error; | ||
return console.log("error redirecting: " + error); | ||
@@ -191,2 +191,3 @@ } | ||
+ `timetag` - numeric value | ||
+ `array` - array of _OSC Arguments_ | ||
@@ -201,3 +202,4 @@ Note that `type` is always a string - i.e. `"true"` rather than `true`. | ||
If the argument is not an object, it will be interpreted as either | ||
`string`, `float`, or `blob`, depending on its javascript type. | ||
`string`, `float`, `array` or `blob`, depending on its javascript type | ||
(String, Number, Array, Buffer, respectively) | ||
@@ -204,0 +206,0 @@ + An _OSC Bundle_ is represented as a javascript object with the following layout |
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
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
Network access
Supply chain riskThis module accesses the network.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
72221
20
314
214
5