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
68
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 45.2.0 to 45.2.1

5

dist/node-env-manager.d.ts

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

import { AnyEnvironment, MultiCounter } from '@wixc3/engine-core';
import { AnyEnvironment, BaseHost, IRunOptions, MultiCounter } from '@wixc3/engine-core';
import { IDisposable, SetMultiMap } from '@wixc3/patterns';

@@ -33,6 +33,7 @@ import { ILaunchHttpServerOptions } from './launch-http-server';

}>;
closeAll(): Promise<void>;
private runFeatureEnvironments;
private loadEnvironmentConfigurations;
private createEnvironmentFileUrl;
private initializeWorkerEnvironment;
initializeWorkerEnvironment(envName: string, runtimeOptions: IRunOptions, host: BaseHost | MessagePort, verbose: boolean): Promise<() => Promise<void>>;
collectMetricsFromAllOpenEnvironments(): Promise<{

@@ -39,0 +40,0 @@ marks: PerformanceEntry[];

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

disposeMetricsListener();
await Promise.all([...this.openEnvironments.values()].map((env) => env.dispose()));
await this.closeAll();
await host.dispose();

@@ -82,2 +82,5 @@ await close();

}
async closeAll() {
await Promise.all([...this.openEnvironments.values()].map((env) => env.dispose()));
}
async runFeatureEnvironments(verbose, runtimeOptions, host) {

@@ -84,0 +87,0 @@ const featureName = runtimeOptions.get('feature');

4

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

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

"@wixc3/common": "^17.1.1",
"@wixc3/engine-core": "^45.2.0",
"@wixc3/engine-core": "^45.2.1",
"@wixc3/isomorphic-worker": "^1.2.5",

@@ -18,0 +18,0 @@ "@wixc3/patterns": "^17.1.1",

import {
AnyEnvironment,
BaseHost,
ConfigModule,

@@ -94,3 +95,3 @@ IRunOptions,

disposeMetricsListener();
await Promise.all([...this.openEnvironments.values()].map((env) => env.dispose()));
await this.closeAll();
await host.dispose();

@@ -112,2 +113,6 @@ await close();

async closeAll() {
await Promise.all([...this.openEnvironments.values()].map((env) => env.dispose()));
}
private async runFeatureEnvironments(

@@ -168,6 +173,6 @@ verbose: boolean,

private async initializeWorkerEnvironment(
async initializeWorkerEnvironment(
envName: string,
runtimeOptions: IRunOptions,
host: WsServerHost,
host: BaseHost | MessagePort,
verbose: boolean,

@@ -194,2 +199,3 @@ ) {

}
async collectMetricsFromAllOpenEnvironments() {

@@ -220,3 +226,3 @@ const metrics = {

function connectWorkerToHost(envName: string, worker: ReturnType<typeof runWorker>, host: WsServerHost) {
function connectWorkerToHost(envName: string, worker: ReturnType<typeof runWorker>, host: BaseHost | MessagePort) {
type AnyMessage = { data?: any };

@@ -223,0 +229,0 @@ return new Promise<RunningNodeEnvironment>((res, rej) => {

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