Socket
Socket
Sign inDemoInstall

@builtioflow/uhm-nodejs-agent

Package Overview
Dependencies
139
Maintainers
5
Versions
52
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 10.16.5 to 10.16.6

18

lib/plugins/wmio/engine/WorkerManagerAdapter/WorkerPoolExecutorInterceptor.js

@@ -19,8 +19,12 @@ "use strict";

logger.debug("inside wmio engine WorkerPoolExecutor interceptor...");
if (originModule && originModule.WorkerPoolExecutor && originModule.WorkerPoolExecutor.prototype &&
originModule.WorkerPoolExecutor.prototype.uhmStart && originModule.WorkerPoolExecutor.prototype.uhmStop) {
instrumentation.enhanceMethod(originModule.WorkerPoolExecutor.prototype, "uhmStart", wrapUhmStart);
instrumentation.enhanceMethod(originModule.WorkerPoolExecutor.prototype, "uhmStop", wrapUhmStop);
} else {
logger.error("Error instrumenting WorkerPoolExecutor module");
try {
if (originModule && originModule.WorkerPoolExecutor && originModule.WorkerPoolExecutor.prototype &&
originModule.WorkerPoolExecutor.prototype.uhmStart && originModule.WorkerPoolExecutor.prototype.uhmStop) {
instrumentation.enhanceMethod(originModule.WorkerPoolExecutor.prototype, "uhmStart", wrapUhmStart);
instrumentation.enhanceMethod(originModule.WorkerPoolExecutor.prototype, "uhmStop", wrapUhmStop);
} else {
logger.error("Error instrumenting WorkerPoolExecutor module. Methods not found...");
}
} catch (error) {
logger.error("Error instrumenting WorkerPoolExecutor module. Error: %o", error);
}

@@ -221,2 +225,4 @@

}
return originModule;
};

@@ -16,8 +16,12 @@ "use strict";

logger.debug("inside wmio engine WTMAbstract interceptor...");
if (originModule && originModule.WTMAbstract && originModule.WTMAbstract.prototype &&
originModule.WTMAbstract.prototype.billStarted && originModule.WTMAbstract.prototype.billStopped) {
instrumentation.enhanceMethod(originModule.WTMAbstract.prototype, "billStarted", wrapBillStarted);
instrumentation.enhanceMethod(originModule.WTMAbstract.prototype, "billStopped", wrapBillStopped);
} else {
logger.error("Error instrumenting WTMAbstract module");
try {
if (originModule && originModule.WTMAbstract && originModule.WTMAbstract.prototype &&
originModule.WTMAbstract.prototype.billStarted && originModule.WTMAbstract.prototype.billStopped) {
instrumentation.enhanceMethod(originModule.WTMAbstract.prototype, "billStarted", wrapBillStarted);
instrumentation.enhanceMethod(originModule.WTMAbstract.prototype, "billStopped", wrapBillStopped);
} else {
logger.error("Error instrumenting WTMAbstract module. Methods not found...");
}
} catch (error) {
logger.error("Error instrumenting WTMAbstract module. Error: %o", error);
}

@@ -24,0 +28,0 @@

{
"name": "@builtioflow/uhm-nodejs-agent",
"version": "10.16.5",
"version": "10.16.6",
"description": "A nodejs agent for skyapm agents",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc