Comparing version 2.0.2 to 2.0.3
'use strict'; | ||
var dgram = require('dgram'); | ||
var dgram = require('./safeDgram'); | ||
@@ -12,6 +12,3 @@ var min = require('osc-min'); | ||
this.port = port; | ||
this._sock = dgram.createSocket({ | ||
type: 'udp4', | ||
reuseAddr: true | ||
}); | ||
this._sock = dgram(); | ||
this.kill = function() { | ||
@@ -18,0 +15,0 @@ this._sock.close(); |
'use strict'; | ||
var dgram = require('dgram'); | ||
var dgram = require('./safeDgram'); | ||
var util = require('util'); | ||
@@ -14,6 +14,3 @@ var events = require('events'); | ||
this.host = host; | ||
this._sock = dgram.createSocket({ | ||
type: 'udp4', | ||
reuseAddr: true | ||
}); | ||
this._sock = dgram(); | ||
this._sock.bind(port); | ||
@@ -20,0 +17,0 @@ server = this; |
{ | ||
"name": "node-osc", | ||
"description": "pyOSC inspired library", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"main": "lib/index.js", | ||
@@ -32,3 +32,4 @@ "author": { | ||
"jspack": "0.0.4", | ||
"osc-min": "^1.1.1" | ||
"osc-min": "^1.1.1", | ||
"semver": "^5.1.0" | ||
}, | ||
@@ -35,0 +36,0 @@ "keywords": [ |
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
40921
14
384
1
3
+ Addedsemver@^5.1.0
+ Addedsemver@5.7.2(transitive)