node-osc 8.0.8 → 8.0.10
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.
|
@@ -20,10 +20,12 @@ jobs:
|
|
|
20
20
|
node-version: 18
|
|
21
21
|
registry-url: 'https://registry.npmjs.org'
|
|
22
22
|
cache: npm
|
|
23
|
+
- name: Install latest npm version
|
|
24
|
+
run: npm install -g npm@latest
|
|
23
25
|
- name: Install dependencies and build
|
|
24
26
|
run: npm ci
|
|
25
27
|
- name: Publish package
|
|
26
|
-
run: npm
|
|
28
|
+
run: npm publish --provenance
|
|
27
29
|
env:
|
|
28
30
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
29
31
|
|
package/dist/lib/Client.js
CHANGED
|
@@ -4,11 +4,7 @@ var node_dgram = require('node:dgram');
|
|
|
4
4
|
var oscMin = require('osc-min');
|
|
5
5
|
var Message = require('./Message.js');
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
var oscMin__default = /*#__PURE__*/_interopDefaultLegacy(oscMin);
|
|
10
|
-
|
|
11
|
-
const { toBuffer } = oscMin__default["default"];
|
|
7
|
+
const { toBuffer } = oscMin;
|
|
12
8
|
|
|
13
9
|
class Client {
|
|
14
10
|
constructor(host, port) {
|
package/dist/lib/index.js
CHANGED
package/dist/test/util.js
CHANGED
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": "8.0.
|
|
4
|
+
"version": "8.0.10",
|
|
5
5
|
"exports": {
|
|
6
6
|
"require": "./dist/lib/index.js",
|
|
7
7
|
"default": "./lib/index.mjs"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
],
|
|
35
35
|
"repository": {
|
|
36
36
|
"type": "git",
|
|
37
|
-
"url": "git://github.com/MylesBorins/node-osc.git"
|
|
37
|
+
"url": "git+https://github.com/MylesBorins/node-osc.git"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"osc-min": "^1.1.1"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"c8": "^7.12.0",
|
|
44
44
|
"eslint": "^8.24.0",
|
|
45
45
|
"get-port": "^6.1.2",
|
|
46
|
-
"rollup": "^
|
|
46
|
+
"rollup": "^3.10.1",
|
|
47
47
|
"tap": "^16.3.0"
|
|
48
48
|
}
|
|
49
49
|
}
|
package/rollup.config.mjs
CHANGED
|
@@ -47,12 +47,12 @@ function walkLib(config) {
|
|
|
47
47
|
entryFileNames: '[name].js',
|
|
48
48
|
dir,
|
|
49
49
|
format: 'cjs',
|
|
50
|
+
preserveModules: true,
|
|
50
51
|
exports: 'auto'
|
|
51
52
|
},
|
|
52
|
-
preserveModules: true,
|
|
53
53
|
external: [
|
|
54
|
-
'dgram',
|
|
55
|
-
'events',
|
|
54
|
+
'node:dgram',
|
|
55
|
+
'node:events',
|
|
56
56
|
'osc-min',
|
|
57
57
|
'jspack'
|
|
58
58
|
]
|
|
@@ -70,11 +70,11 @@ function walkTest(config) {
|
|
|
70
70
|
entryFileNames: '[name].js',
|
|
71
71
|
dir,
|
|
72
72
|
format: 'cjs',
|
|
73
|
-
exports: 'auto'
|
|
73
|
+
exports: 'auto',
|
|
74
|
+
preserveModules: true
|
|
74
75
|
},
|
|
75
|
-
preserveModules: true,
|
|
76
76
|
external: [
|
|
77
|
-
'dgram',
|
|
77
|
+
'node:dgram',
|
|
78
78
|
'get-port',
|
|
79
79
|
'node-osc',
|
|
80
80
|
'osc-min',
|