Comparing version 6.1.16 to 7.0.0
'use strict'; | ||
var dgram = require('dgram'); | ||
var node_dgram = require('node:dgram'); | ||
var oscMin = require('osc-min'); | ||
@@ -17,3 +17,3 @@ var Message = require('./Message.js'); | ||
this.port = port; | ||
this._sock = dgram.createSocket({ | ||
this._sock = node_dgram.createSocket({ | ||
type: 'udp4', | ||
@@ -20,0 +20,0 @@ reuseAddr: true |
'use strict'; | ||
var dgram = require('dgram'); | ||
var events = require('events'); | ||
var node_dgram = require('node:dgram'); | ||
var node_events = require('node:events'); | ||
var decode = require('./internal/decode.js'); | ||
class Server extends events.EventEmitter { | ||
class Server extends node_events.EventEmitter { | ||
constructor(port, host, cb) { | ||
@@ -14,3 +14,3 @@ super(); | ||
this.host = host; | ||
this._sock = dgram.createSocket({ | ||
this._sock = node_dgram.createSocket({ | ||
type: 'udp4', | ||
@@ -17,0 +17,0 @@ reuseAddr: true |
{ | ||
"name": "node-osc", | ||
"description": "pyOSC inspired library for sending and receiving OSC messages", | ||
"version": "6.1.16", | ||
"version": "7.0.0", | ||
"exports": { | ||
@@ -14,3 +14,3 @@ "require": "./dist/lib/index.js", | ||
"engines": { | ||
"node": "^12.22 || ^14.13 || >=16" | ||
"node": "^14.18 || ^16.13 || >=18" | ||
}, | ||
@@ -17,0 +17,0 @@ "license": "LGPL-2.1", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
72997
0