Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-osc

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-osc - npm Package Compare versions

Comparing version 2.1.0 to 3.0.0

7

lib/Client.js
'use strict';
var dgram = require('./safeDgram');
var dgram = require('dgram');

@@ -12,3 +12,6 @@ var min = require('osc-min');

this.port = port;
this._sock = dgram();
this._sock = dgram.createSocket({
type: 'udp4',
reuseAddr: true
});
this.kill = function() {

@@ -15,0 +18,0 @@ this._sock.close();

'use strict';
var dgram = require('./safeDgram');
var dgram = require('dgram');
var util = require('util');

@@ -14,3 +14,6 @@ var events = require('events');

this.host = host;
this._sock = dgram();
this._sock = dgram.createSocket({
type: 'udp4',
reuseAddr: true
});
this._sock.bind(port);

@@ -17,0 +20,0 @@ server = this;

{
"name": "node-osc",
"description": "pyOSC inspired library",
"version": "2.1.0",
"version": "3.0.0",
"main": "lib/index.js",

@@ -10,2 +10,5 @@ "author": {

},
"engines": {
"node": ">6"
},
"license": "LGPL-2.1",

@@ -33,4 +36,3 @@ "scripts": {

"jspack": "0.0.4",
"osc-min": "^1.1.1",
"semver": "^5.1.0"
"osc-min": "^1.1.1"
},

@@ -46,5 +48,5 @@ "keywords": [

"devDependencies": {
"eslint": "^3.18.0",
"tap": "^10.3.0"
"eslint": "^5.9.0",
"tap": "^12.1.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