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

@wixc3/engine-core-node

Package Overview
Dependencies
Maintainers
173
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 19.3.0 to 20.0.0

6

dist/local-env-inititializer.d.ts

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

import type { EnvironmentInitializer } from '@wixc3/engine-core';
import type { InitializerOptions } from '@wixc3/engine-core';
export declare const LOCAL_ENVIRONMENT_INITIALIZER_ENV_ID = "__engine-local-env__";

@@ -7,5 +7,5 @@ /**

*/
export declare const localNodeEnvironmentInitializer: EnvironmentInitializer<{
export declare const localNodeEnvironmentInitializer: ({ communication: com, env }: InitializerOptions) => {
id: string;
}>;
};
//# sourceMappingURL=local-env-inititializer.d.ts.map

@@ -9,3 +9,3 @@ "use strict";

*/
const localNodeEnvironmentInitializer = (com, env) => {
const localNodeEnvironmentInitializer = ({ communication: com, env }) => {
const baseEnvHost = com.getEnvironmentHost(exports.LOCAL_ENVIRONMENT_INITIALIZER_ENV_ID);

@@ -18,7 +18,7 @@ if (!baseEnvHost) {

}
return Promise.resolve({
return {
id: env.env,
});
};
};
exports.localNodeEnvironmentInitializer = localNodeEnvironmentInitializer;
//# sourceMappingURL=local-env-inititializer.js.map
{
"name": "@wixc3/engine-core-node",
"version": "19.3.0",
"version": "20.0.0",
"main": "dist/index.js",

@@ -11,6 +11,6 @@ "types": "dist/index.d.ts",

"dependencies": {
"@wixc3/engine-core": "^19.3.0",
"@wixc3/engine-core": "^20.0.0",
"create-listening-server": "^1.0.0",
"express": "^4.17.1",
"socket.io": "^4.1.2"
"socket.io": "^4.1.3"
},

@@ -17,0 +17,0 @@ "files": [

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

import type { EnvironmentInitializer } from '@wixc3/engine-core';
import type { InitializerOptions } from '@wixc3/engine-core';

@@ -9,3 +9,3 @@ export const LOCAL_ENVIRONMENT_INITIALIZER_ENV_ID = '__engine-local-env__';

*/
export const localNodeEnvironmentInitializer: EnvironmentInitializer<{ id: string }> = (com, env) => {
export const localNodeEnvironmentInitializer = ({ communication: com, env }: InitializerOptions) => {
const baseEnvHost = com.getEnvironmentHost(LOCAL_ENVIRONMENT_INITIALIZER_ENV_ID)!;

@@ -21,5 +21,5 @@ if (!baseEnvHost) {

return Promise.resolve({
return {
id: env.env,
});
};
};

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