New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@colyseus/core

Package Overview
Dependencies
Maintainers
1
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@colyseus/core - npm Package Compare versions

Comparing version 0.16.0-preview.9 to 0.16.0-preview.10

6

build/Protocol.js

@@ -73,3 +73,4 @@ var __defProp = Object.defineProperty;

import_schema.encode.utf8Write(sendBuffer, serializerId, it);
return Buffer.concat([sendBuffer.subarray(0, it.offset), handshake]);
handshake.copy(sendBuffer, it.offset, 0, handshake.byteLength);
return sendBuffer.subarray(0, it.offset + handshake.byteLength);
},

@@ -97,3 +98,4 @@ [11 /* ERROR */]: (code, message = "") => {

} else if (rawMessage !== void 0) {
return Buffer.concat([sendBuffer.subarray(0, it.offset), rawMessage]);
sendBuffer.set(rawMessage, it.offset);
return sendBuffer.subarray(0, it.offset + rawMessage.byteLength);
} else {

@@ -100,0 +102,0 @@ return sendBuffer.subarray(0, it.offset);

@@ -70,4 +70,4 @@ /// <reference types="node" />

reconnectionToken: string;
raw(data: ArrayLike<number>, options?: ISendOptions, cb?: (err?: Error) => void): void;
enqueueRaw(data: ArrayLike<number>, options?: ISendOptions): void;
raw(data: Uint8Array | Buffer, options?: ISendOptions, cb?: (err?: Error) => void): void;
enqueueRaw(data: Uint8Array | Buffer, options?: ISendOptions): void;
/**

@@ -74,0 +74,0 @@ * Send a type of message to the client. Messages are encoded with MsgPack and can hold any

{
"name": "@colyseus/core",
"version": "0.16.0-preview.9",
"version": "0.16.0-preview.10",
"description": "Multiplayer Framework for Node.js.",

@@ -5,0 +5,0 @@ "input": "./src/index.ts",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc