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

@wixc3/engine-runtime-node

Package Overview
Dependencies
Maintainers
176
Versions
202
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 21.1.1 to 21.1.2

2

dist/parse-cli-arguments.js

@@ -11,5 +11,5 @@ "use strict";

function parseCliArguments(args) {
return Object.fromEntries(Object.entries(minimist_1.default(args)).map(([key, value]) => ([exports.kebabCaseToCamelCase(key), value])));
return Object.fromEntries(Object.entries(minimist_1.default(args)).map(([key, value]) => [exports.kebabCaseToCamelCase(key), value]));
}
exports.parseCliArguments = parseCliArguments;
//# sourceMappingURL=parse-cli-arguments.js.map

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

const process_communication_1 = require("./process-communication");
const { preferredPort, socketServerOptions: socketServerOptionsJson, requiredPaths: requiredPathsJson, _: [providedPath = process.cwd()] } = parse_cli_arguments_1.parseCliArguments(process.argv.slice(1));
const { preferredPort, socketServerOptions: socketServerOptionsJson, requiredPaths: requiredPathsJson, _: [providedPath = process.cwd()], } = parse_cli_arguments_1.parseCliArguments(process.argv.slice(1));
const requiredPaths = JSON.parse(requiredPathsJson);

@@ -30,0 +30,0 @@ const socketServerOptions = JSON.parse(socketServerOptionsJson);

{
"name": "@wixc3/engine-runtime-node",
"version": "21.1.1",
"version": "21.1.2",
"main": "dist/index.js",

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

"@wixc3/cross-performance": "^21.0.0",
"@wixc3/engine-core": "^21.1.1",
"@wixc3/engine-core-node": "^21.1.1",
"@wixc3/engine-core": "^21.1.2",
"@wixc3/engine-core-node": "^21.1.2",
"create-listening-server": "^1.0.0",

@@ -15,0 +15,0 @@ "minimist": "^1.2.5",

# @wixc3/engine-runtime-node
Tools for running engine environments in node

@@ -36,2 +36,1 @@ import { flattenTree, EnvironmentTypes } from '@wixc3/engine-core';

}

@@ -127,3 +127,3 @@ import type { Socket } from 'net';

private socketServerOptions?: Partial<io.ServerOptions>
) { }
) {}

@@ -137,3 +137,2 @@ public async runServerEnvironments({

}: RunEnvironmentOptions) {
const runtimeConfigName = configName;

@@ -143,3 +142,3 @@ const featureId = `${featureName}${configName ? delimiter + configName : ''}`;

const { defaultRuntimeOptions, features } = this.options;
const featuresWithDefaults = new Map<string, Required<IStaticFeatureDefinition>>()
const featuresWithDefaults = new Map<string, Required<IStaticFeatureDefinition>>();
for (const [featureName, featureDef] of features.entries()) {

@@ -154,3 +153,3 @@ featuresWithDefaults.set(featureName, {

...featureDef,
})
});
}

@@ -199,4 +198,2 @@ const nodeEnvironments = resolveEnvironments(featureName, featuresWithDefaults, 'node');

for (const nodeEnv of nodeEnvironments) {

@@ -266,4 +263,4 @@ const { overrideConfigs, originalConfigName } = this.getOverrideConfig(

: envName
? overrideConfigProvider(envName)
: [];
? overrideConfigProvider(envName)
: [];
const overrideConfigs = [...overrideConfig];

@@ -270,0 +267,0 @@ if (configName) {

@@ -7,3 +7,3 @@ import parse from 'minimist';

export function parseCliArguments(args: string[]) {
return Object.fromEntries(Object.entries(parse(args)).map(([key, value]) => ([kebabCaseToCamelCase(key), value])))
return Object.fromEntries(Object.entries(parse(args)).map(([key, value]) => [kebabCaseToCamelCase(key), value]));
}

@@ -12,3 +12,3 @@ import { resolve, join } from 'path';

requiredPaths: requiredPathsJson,
_: [providedPath = process.cwd()]
_: [providedPath = process.cwd()],
} = parseCliArguments(process.argv.slice(1));

@@ -15,0 +15,0 @@ const requiredPaths = JSON.parse(requiredPathsJson as string) as string[];

@@ -22,5 +22,4 @@ import type { EnvironmentTypes, TopLevelConfig, BaseHost } from '@wixc3/engine-core';

export interface IExternalFeatureNodeDescriptor extends IExtenalFeatureDescriptor, IStaticFeatureDefinition {}
export interface IExternalFeatureNodeDescriptor extends IExtenalFeatureDescriptor, IStaticFeatureDefinition { }
export const isProcessMessage = (value: unknown): value is IProcessMessage<unknown> =>

@@ -126,3 +125,2 @@ typeof value === 'object' && value !== null && typeof (value as IProcessMessage<unknown>).id === 'string';

export interface IExternalDefinition {

@@ -129,0 +127,0 @@ /**

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

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