Socket
Socket
Sign inDemoInstall

@wixc3/engine-core-node

Package Overview
Dependencies
Maintainers
142
Versions
231
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 6.0.0 to 6.0.1

4

cjs/init-engine-server.d.ts

@@ -1,3 +0,3 @@

import { NodeEnvironment } from '@wixc3/engine-core';
export declare function initEngineServer(preferredPort: number, clientEntry: string, pathToEditorDist: string, serverEntries?: string[], clientConfig?: unknown[], serverConfig?: unknown[], serverEnvironment?: NodeEnvironment<string>): Promise<number>;
import { Environment } from '@wixc3/engine-core';
export declare function initEngineServer(preferredPort: number, clientEntry: string, pathToEditorDist: string, serverEntries?: string[], clientConfig?: unknown[], serverConfig?: unknown[], serverEnvironment?: Environment): Promise<number>;
//# sourceMappingURL=init-engine-server.d.ts.map

@@ -27,7 +27,9 @@ "use strict";

runNodeEnvironment(serverEntries, httpServer, serverEnvironment, serverConfig);
clientConfig.push(engine_core_1.COM.use({
config: {
topology: serverEnvironment.getLocalTopology(port)
}
}));
// clientConfig.push(
// COM.use({
// config: {
// topology: serverEnvironment.getLocalTopology(port)
// }
// })
// );
}

@@ -34,0 +36,0 @@ app.get('/server-config.js', (_req, res) => {

{
"name": "@wixc3/engine-core-node",
"version": "6.0.0",
"version": "6.0.1",
"main": "cjs/index.js",

@@ -15,3 +15,3 @@ "types": "cjs/index.d.ts",

"dependencies": {
"@wixc3/engine-core": "^6.0.0",
"@wixc3/engine-core": "^6.0.1",
"create-listening-server": "^0.1.2",

@@ -18,0 +18,0 @@ "express": "^4.17.1",

@@ -1,2 +0,2 @@

import { COM, NodeEnvironment } from '@wixc3/engine-core';
import { COM, Environment } from '@wixc3/engine-core';
import { safeListeningHttpServer } from 'create-listening-server';

@@ -15,3 +15,3 @@ import express from 'express';

serverConfig: unknown[] = [],
serverEnvironment?: NodeEnvironment<string>
serverEnvironment?: Environment
) {

@@ -38,9 +38,9 @@ const app = express();

runNodeEnvironment(serverEntries, httpServer, serverEnvironment, serverConfig);
clientConfig.push(
COM.use({
config: {
topology: serverEnvironment.getLocalTopology(port)
}
})
);
// clientConfig.push(
// COM.use({
// config: {
// topology: serverEnvironment.getLocalTopology(port)
// }
// })
// );
}

@@ -63,3 +63,3 @@

server: Server,
serverEnvironment: NodeEnvironment<string>,
serverEnvironment: Environment,
serverConfig: unknown[]

@@ -66,0 +66,0 @@ ) {

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