use msgpackr instead of @ygoe/msgpack

This commit is contained in:
Elijah R
2024-06-25 20:09:34 -04:00
parent fe830afdeb
commit 3384e47e20
3 changed files with 15 additions and 10 deletions

View File

@@ -14,9 +14,9 @@
"@cvmts/cvm-rs": "*",
"@cvmts/qemu": "*",
"@maxmind/geoip2-node": "^5.0.0",
"@ygoe/msgpack": "^1.0.3",
"execa": "^8.0.1",
"mnemonist": "^0.39.5",
"msgpackr": "^1.10.2",
"sharp": "^0.33.3",
"toml": "^3.0.0",
"ws": "^8.14.1"

View File

@@ -15,7 +15,7 @@ import { Size, Rect, Logger } from '@cvmts/shared';
import { JPEGEncoder } from './JPEGEncoder.js';
import VM from './VM.js';
import { ReaderModel } from '@maxmind/geoip2-node';
import msgpack from "@ygoe/msgpack";
import * as msgpack from 'msgpackr';
import { CollabVMProtocolMessage, CollabVMProtocolMessageType } from './protocol/CollabVMProtocolMessage.js';
// Instead of strange hacks we can just use nodejs provided