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.16.0-preview.3 to 0.16.0-preview.4

30

build/index.js

@@ -33,8 +33,8 @@ var __create = Object.create;

module.exports = __toCommonJS(src_exports);
var import_fs = __toESM(require("fs"));
var import_path = __toESM(require("path"));
var import_util = __toESM(require("util"));
var import_blessed = __toESM(require("blessed"));
var import_promises = __toESM(require("timers/promises"));
var import_minimist = __toESM(require("minimist"));
var import_fs = __toESM(require("fs"), 1);
var import_path = __toESM(require("path"), 1);
var import_util = __toESM(require("util"), 1);
var import_blessed = __toESM(require("blessed"), 1);
var import_promises = __toESM(require("timers/promises"), 1);
var import_minimist = __toESM(require("minimist"), 1);
var import_colyseus = require("colyseus.js");

@@ -247,2 +247,3 @@ function cli(main) {

screen.render();
const debug = console.debug;
const log = console.log;

@@ -252,2 +253,7 @@ const warn = console.warn;

const error = console.error;
console.debug = function(...args) {
logBox.content = `{grey-fg}${args.map((arg) => import_util.default.inspect(arg)).join(" ")}{/grey-fg}
${logBox.content}`;
screen.render();
};
console.log = function(...args) {

@@ -415,2 +421,8 @@ logBox.content = args.map((arg) => import_util.default.inspect(arg)).join(" ") + "\n" + logBox.content;

};
const _originalCreate = import_colyseus.Client.prototype.create;
import_colyseus.Client.prototype.create = async function() {
const room = await _originalCreate.apply(this, arguments);
handleClientJoin(room);
return room;
};
const _originalJoin = import_colyseus.Client.prototype.join;

@@ -422,2 +434,8 @@ import_colyseus.Client.prototype.join = async function() {

};
const _originalJoinById = import_colyseus.Client.prototype.joinById;
import_colyseus.Client.prototype.joinById = async function() {
const room = await _originalJoinById.apply(this, arguments);
handleClientJoin(room);
return room;
};
try {

@@ -424,0 +442,0 @@ (async () => {

3

package.json
{
"name": "@colyseus/loadtest",
"version": "0.16.0-preview.3",
"version": "0.16.0-preview.4",
"description": "Utility tool for load testing Colyseus.",
"type": "module",
"input": "./src/index.ts",

@@ -6,0 +7,0 @@ "main": "./build/index.js",

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