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
67
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 44.0.4 to 44.0.5

12

dist/node-env-manager.js

@@ -170,8 +170,10 @@ "use strict";

host.removeEventListener('message', handleClientMessage);
try {
await (0, micro_rpc_1.rpcCall)(worker, 'terminate', 15000);
if (process.env.ENGINE_GRACEFUL_TERMINATION !== 'false') {
try {
await (0, micro_rpc_1.rpcCall)(worker, 'terminate', 15000);
}
catch (e) {
console.error(`failed terminating environment gracefully ${envName}, terminating worker.`, e);
}
}
catch (e) {
console.error(`failed terminating environment gracefully ${envName}, terminating worker.`, e);
}
await worker.terminate();

@@ -178,0 +180,0 @@ },

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

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

"@wixc3/common": "^16.2.0",
"@wixc3/engine-core": "^44.0.4",
"@wixc3/engine-core": "^44.0.5",
"@wixc3/patterns": "^16.2.0",

@@ -18,0 +18,0 @@ "create-listening-server": "^2.1.0",

@@ -225,6 +225,8 @@ import {

host.removeEventListener('message', handleClientMessage);
try {
await rpcCall(worker, 'terminate', 15000);
} catch (e) {
console.error(`failed terminating environment gracefully ${envName}, terminating worker.`, e);
if (process.env.ENGINE_GRACEFUL_TERMINATION !== 'false') {
try {
await rpcCall(worker, 'terminate', 15000);
} catch (e) {
console.error(`failed terminating environment gracefully ${envName}, terminating worker.`, e);
}
}

@@ -231,0 +233,0 @@ await worker.terminate();

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