Comparing version 0.1.0 to 0.2.0
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.6.3 | ||
// Generated by CoffeeScript 1.8.0 | ||
var float_to_int, inport, osc, outport, sock, udp; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.6.3 | ||
// Generated by CoffeeScript 1.8.0 | ||
var inport, osc, outport, sock, udp; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.6.3 | ||
// Generated by CoffeeScript 1.8.0 | ||
var dgram, osc, outport, sendHeartbeat, udp; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.6.3 | ||
// Generated by CoffeeScript 1.8.0 | ||
var dgram, osc, outport, sendHeartbeat, udp; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.6.3 | ||
// Generated by CoffeeScript 1.8.0 | ||
var inport, osc, sock, udp; | ||
@@ -3,0 +3,0 @@ |
@@ -105,2 +105,7 @@ (function() { | ||
exports.fromBuffer = function(buffer, strict) { | ||
if (buffer instanceof ArrayBuffer) { | ||
buffer = new Buffer(new Uint8Array(buffer)); | ||
} else if (buffer instanceof Uint8Array) { | ||
buffer = new Buffer(buffer); | ||
} | ||
return utils.fromOscPacket(buffer, strict); | ||
@@ -107,0 +112,0 @@ }; |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.7.1 | ||
// Generated by CoffeeScript 1.8.0 | ||
(function() { | ||
@@ -3,0 +3,0 @@ var IsArray, StrictError, binpack, getArrayArg, isOscBundleBuffer, mapBundleList, oscTypeCodes, padding, toOscTypeAndArgs, |
{ | ||
"name": "osc-min", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"main": "lib/index", | ||
@@ -30,3 +30,5 @@ "author": { | ||
"mocha-lcov-reporter": "*", | ||
"coffee-script": ">=1.7.1 <2.0.0" | ||
"coffee-script": ">=1.7.1 <2.0.0", | ||
"browserify": "^6.1.0", | ||
"uglify-js": "^2.4.15" | ||
}, | ||
@@ -45,3 +47,3 @@ "config" : { | ||
"engines": { | ||
"node": ">=0.6.0" | ||
"node": ">=0.10.0" | ||
}, | ||
@@ -53,3 +55,4 @@ "scripts": { | ||
"doc": "cake doc", | ||
"prepublish" : "cake doc; coffee -c lib/osc-utilities.coffee" | ||
"prepublish" : "cake doc; coffee -c lib/osc-utilities.coffee", | ||
"browserify" : "cake browserify" | ||
}, | ||
@@ -56,0 +59,0 @@ "_id": "osc-min@0.0.5", |
@@ -40,2 +40,10 @@ [![build status](https://secure.travis-ci.org/russellmcc/node-osc-min.png)](http://travis-ci.org/russellmcc/node-osc-min) [![Coverage Status](https://coveralls.io/repos/russellmcc/node-osc-min/badge.png?branch=master)](https://coveralls.io/r/russellmcc/node-osc-min?branch=master) [![dependencies](https://david-dm.org/russellmcc/node-osc-min.png)](https://david-dm.org/russellmcc/node-osc-min) | ||
### for browser | ||
If you want to use this library in a browser, you can build a browserified file (`build/osc-min.js`) with | ||
``` | ||
npm install --dev | ||
npm run-script browserify | ||
``` | ||
---- | ||
@@ -42,0 +50,0 @@ ## Examples |
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
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
94283
941
225
5
8