Closed MylesBorins closed 2 months ago
Related to #115
Remove the osc-min dependency and implement custom OSC encoding/decoding functions.
osc-min
Remove osc-min dependency
package.json
#decode
Update Client.mjs
Client.mjs
toBuffer
internal/osc.mjs
send
Update Server.mjs
Server.mjs
fromBuffer
message
Add internal/osc.mjs
Update rollup.config.mjs
rollup.config.mjs
external
walkLib
walkTest
Add tests for new implementation
test/test-osc.mjs
Remove old files
lib/internal/decode.mjs
test/test-decode.mjs
For more details, open the Copilot Workspace session.
Related to #115
Remove the
osc-min
dependency and implement custom OSC encoding/decoding functions.Remove
osc-min
dependencyosc-min
frompackage.json
.#decode
alias frompackage.json
.Update
Client.mjs
toBuffer
frominternal/osc.mjs
.send
method to use the newtoBuffer
function.Update
Server.mjs
fromBuffer
frominternal/osc.mjs
.message
event handler to use the newfromBuffer
function.Add
internal/osc.mjs
toBuffer
function to encode OSC messages.fromBuffer
function to decode OSC messages.Update
rollup.config.mjs
osc-min
and#decode
from theexternal
array in thewalkLib
function.osc-min
and#decode
from theexternal
array in thewalkTest
function.Add tests for new implementation
test/test-osc.mjs
with tests fortoBuffer
andfromBuffer
functions.Remove old files
lib/internal/decode.mjs
.test/test-decode.mjs
.For more details, open the Copilot Workspace session.