Socket
Socket
Sign inDemoInstall

@wixc3/engine-runtime-node

Package Overview
Dependencies
Maintainers
67
Versions
201
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wixc3/engine-runtime-node - npm Package Compare versions

Comparing version 44.0.5 to 44.0.6

11

dist/launch-http-server.js

@@ -50,3 +50,12 @@ "use strict";

app.use('/favicon.ico', noContentHandler);
const socketServer = new io.Server(httpServer, { cors: {}, ...socketServerOptions, transports: ['websocket'] });
const socketServer = new io.Server(httpServer, {
cors: {},
pingTimeout: 30 * 1000 * 60, // 30 minutes. our sockets does not run over network.
pingInterval: 10 * 1000 * 60, // 10 minutes. our sockets does not run over network.
httpCompression: false,
serveClient: false,
maxHttpBufferSize: 1e8, // 100 MB
...socketServerOptions,
transports: ['websocket'],
});
return {

@@ -53,0 +62,0 @@ close: async () => {

6

package.json
{
"name": "@wixc3/engine-runtime-node",
"version": "44.0.5",
"version": "44.0.6",
"main": "dist/index.js",

@@ -15,6 +15,6 @@ "exports": {

"@wixc3/common": "^16.2.0",
"@wixc3/engine-core": "^44.0.5",
"@wixc3/engine-core": "^44.0.6",
"@wixc3/patterns": "^16.2.0",
"create-listening-server": "^2.1.0",
"express": "^4.18.2",
"express": "^4.18.3",
"minimist": "^1.2.8",

@@ -21,0 +21,0 @@ "socket.io": "^4.7.4"

@@ -51,3 +51,12 @@ import express from 'express';

const socketServer = new io.Server(httpServer, { cors: {}, ...socketServerOptions, transports: ['websocket'] });
const socketServer = new io.Server(httpServer, {
cors: {},
pingTimeout: 30 * 1000 * 60, // 30 minutes. our sockets does not run over network.
pingInterval: 10 * 1000 * 60, // 10 minutes. our sockets does not run over network.
httpCompression: false,
serveClient: false,
maxHttpBufferSize: 1e8, // 100 MB
...socketServerOptions,
transports: ['websocket'],
});

@@ -54,0 +63,0 @@ return {

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