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 4.0.2 to 4.0.3

5

lib/Message.js

@@ -14,3 +14,6 @@ 'use strict';

this.address = address;
this.args = args;
this.args = [];
args.forEach((arg) => {
this.append(arg);
});
}

@@ -17,0 +20,0 @@

2

package.json
{
"name": "node-osc",
"description": "pyOSC inspired library",
"version": "4.0.2",
"version": "4.0.3",
"main": "lib/index.js",

@@ -6,0 +6,0 @@ "author": {

@@ -30,6 +30,6 @@ 'use strict';

const client = new osc.Client('0.0.0.0', 3333);
const m = new osc.Message('/address', 'testing', 123);
const m = new osc.Message('/address', 'testing', 123, true);
oscServer.on('message', (msg) => {
const expected = ['/address', 'testing', 123];
const expected = ['/address', 'testing', 123, true];
t.deepEqual(msg, expected, `We reveived the payload: ${msg}`);

@@ -36,0 +36,0 @@ oscServer.close();

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