Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@colyseus/loadtest

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@colyseus/loadtest - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

package.json
{
"name": "@colyseus/loadtest",
"version": "0.2.0",
"version": "0.2.1",
"description": "Utility tool for load testing Colyseus.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -274,6 +274,6 @@ import * as path from "path";

// overwrite original send function to trap sent bytes.
const _send = room.connection.send;
room.connection.send = function(data) {
bytesSent += data.length;
_send.call(room.connection, data);
const _send = room.connection.ws.send;
room.connection.ws.send = function(data) {
bytesSent += data.byteLength;
_send.call(room.connection.ws, data);
}

@@ -280,0 +280,0 @@

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