node-osc 11.0.0 → 11.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -11,7 +11,7 @@ npm install node-osc
11
11
 
12
12
  ## Written using ESM supports CJS
13
13
 
14
- Supports the latest versions of Node.js 12, 14, and 16 in both ESM + CJS
14
+ Supports the latest versions of Node.js 20, 22, and 24 in both ESM + CJS
15
15
 
16
16
  ## Example
17
17
 
@@ -58,8 +58,6 @@ client.send(bundle));
58
58
 
59
59
  ### Listening for OSC bundles:
60
60
 
61
- **WARNING**: Bundle support is Experimental and subject to change at any point.
62
-
63
61
  ```js
64
62
  import { Server } from 'node-osc';
65
63
 
@@ -18,8 +18,8 @@ function skip(t) {
18
18
  tap.test('osc: argument message no callback', (t) => {
19
19
  if (flaky()) return skip(t);
20
20
 
21
- const oscServer = new nodeOsc.Server(t.context.port, '0.0.0.0');
22
- const client = new nodeOsc.Client('0.0.0.0', t.context.port);
21
+ const oscServer = new nodeOsc.Server(t.context.port, '127.0.0.1');
22
+ const client = new nodeOsc.Client('127.0.0.1', t.context.port);
23
23
 
24
24
  t.plan(1);
25
25
 
@@ -35,8 +35,8 @@ tap.test('osc: argument message no callback', (t) => {
35
35
  tap.test('osc: client with callback and message as arguments', (t) => {
36
36
  if (flaky()) return skip(t);
37
37
 
38
- const oscServer = new nodeOsc.Server(t.context.port, '0.0.0.0');
39
- const client = new nodeOsc.Client('0.0.0.0', t.context.port);
38
+ const oscServer = new nodeOsc.Server(t.context.port, '127.0.0.1');
39
+ const client = new nodeOsc.Client('127.0.0.1', t.context.port);
40
40
 
41
41
  t.plan(2);
42
42
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "node-osc",
3
3
  "description": "pyOSC inspired library for sending and receiving OSC messages",
4
- "version": "11.0.0",
4
+ "version": "11.1.0",
5
5
  "exports": {
6
6
  "require": "./dist/lib/index.js",
7
7
  "default": "./lib/index.mjs"
package/test/test-e2e.mjs CHANGED
@@ -17,8 +17,8 @@ function skip(t) {
17
17
  test('osc: argument message no callback', (t) => {
18
18
  if (flaky()) return skip(t);
19
19
 
20
- const oscServer = new Server(t.context.port, '0.0.0.0');
21
- const client = new Client('0.0.0.0', t.context.port);
20
+ const oscServer = new Server(t.context.port, '127.0.0.1');
21
+ const client = new Client('127.0.0.1', t.context.port);
22
22
 
23
23
  t.plan(1);
24
24
 
@@ -34,8 +34,8 @@ test('osc: argument message no callback', (t) => {
34
34
  test('osc: client with callback and message as arguments', (t) => {
35
35
  if (flaky()) return skip(t);
36
36
 
37
- const oscServer = new Server(t.context.port, '0.0.0.0');
38
- const client = new Client('0.0.0.0', t.context.port);
37
+ const oscServer = new Server(t.context.port, '127.0.0.1');
38
+ const client = new Client('127.0.0.1', t.context.port);
39
39
 
40
40
  t.plan(2);
41
41