node-osc 8.0.8 → 8.0.9

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.
@@ -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
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
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
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var Message = require('./Message.js');
6
4
  var Bundle = require('./Bundle.js');
7
5
  var Server = require('./Server.js');
package/dist/test/util.js CHANGED
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  async function bootstrap(t) {
6
4
  const {default: getPorts, portNumbers} = await import('get-port');
7
5
  t.context.port = await getPorts({
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.8",
4
+ "version": "8.0.9",
5
5
  "exports": {
6
6
  "require": "./dist/lib/index.js",
7
7
  "default": "./lib/index.mjs"
@@ -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": "^2.79.1",
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',