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

node-apparatus

Package Overview
Dependencies
Maintainers
0
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-apparatus - npm Package Compare versions

Comparing version 0.1.10 to 0.1.11

2

dist/src/stateful-threads/stateful-proxy-manager.js

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

if (workerIdx === 0 && this.selfWorker !== undefined) {
return this.selfWorker[methodName](...methodArguments);
return await this.selfWorker[methodName](...methodArguments);
}

@@ -70,0 +70,0 @@ else {

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

}
receiveCommands(workMessage) {
async receiveCommands(workMessage) {
let methodInvocation;

@@ -32,3 +32,3 @@ try {

if (methodInvocation.methodName === i_proxy_method_js_1.DisposeMethodPayload.methodName) {
this[Symbol.asyncDispose]();
await this[Symbol.asyncDispose]();
return;

@@ -39,3 +39,3 @@ }

}
methodInvocation.returnValue = this[methodInvocation.methodName](...methodInvocation.methodArguments);
methodInvocation.returnValue = await this[methodInvocation.methodName](...methodInvocation.methodArguments);
this.messagePort.postMessage((0, i_proxy_method_js_1.serialize)(methodInvocation));

@@ -42,0 +42,0 @@ }

{
"name": "node-apparatus",
"version": "0.1.10",
"version": "0.1.11",
"description": "A mix of common components needed for awesome node experience",

@@ -5,0 +5,0 @@ "main": "dist/src/index.js",

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