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 +1 -3
- package/dist/test/test-e2e.js +4 -4
- package/package.json +1 -1
- package/test/test-e2e.mjs +4 -4
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
|
|
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
|
|
package/dist/test/test-e2e.js
CHANGED
|
@@ -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, '
|
|
22
|
-
const client = new nodeOsc.Client('
|
|
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, '
|
|
39
|
-
const client = new nodeOsc.Client('
|
|
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
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, '
|
|
21
|
-
const client = new Client('
|
|
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, '
|
|
38
|
-
const client = new Client('
|
|
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
|
|