New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bettercorp/service-base

Package Overview
Dependencies
Maintainers
2
Versions
443
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bettercorp/service-base - npm Package Compare versions

Comparing version 8.5.50 to 8.5.51

35

lib/serviceBase/events.js

@@ -208,4 +208,7 @@ "use strict";

this.log.reportStat(`on-broadcast-${eventsPluginName}-${pluginName}-${event}`, -1);
this.log.error("handleOnBroadcast error occured: ${error}", {
this.log.error("[{eventsPluginName}:{pluginName}:{event}:handleOnBroadcast] error occured: ${error}", {
error: exc.message ?? exc,
eventsPluginName,
pluginName,
event,
});

@@ -234,4 +237,7 @@ throw exc;

this.log.reportStat(`on-event-${eventsPluginName}-${pluginName}-${event}`, -1);
this.log.error("handleOnEvent error occured: ${error}", {
this.log.error("[{eventsPluginName}:{pluginName}:{event}:handleOnEvent] error occured: ${error}", {
error: exc.message ?? exc,
eventsPluginName,
pluginName,
event,
});

@@ -271,4 +277,7 @@ throw exc;

this.log.reportStat(`on-returnableevent-${eventsPluginName}-${pluginName}-${event}`, -1);
this.log.error("handleOnReturnableEvent error occured: ${error}", {
this.log.error("[{eventsPluginName}:{pluginName}:{event}:handleOnReturnableEvent] error occured: ${error}", {
error: exc.message ?? exc,
eventsPluginName,
pluginName,
event,
});

@@ -299,4 +308,7 @@ throw exc;

this.log.reportStat(`emit-eventandreturn-${plugin.pluginName}-${pluginName}-${event}`, -1);
this.log.error("emitEventAndReturn error occured: ${error}", {
this.log.error("[{eventsPluginName}:{pluginName}:{event}:emitEventAndReturn] error occured: ${error}", {
error: exc.message ?? exc,
eventsPluginName: plugin.pluginName,
pluginName,
event,
});

@@ -317,4 +329,7 @@ throw exc;

this.log.reportStat(`emit-eventandreturn-${plugin.pluginName}-${pluginName}-${event}-${serverId}`, -1);
this.log.error("emitEventAndReturnSpecific error occured: ${error}", {
this.log.error("[{eventsPluginName}:{pluginName}:{event}:emitEventAndReturnSpecific] error occured: ${error}", {
error: exc.message ?? exc,
eventsPluginName: plugin.pluginName,
pluginName,
event,
});

@@ -334,4 +349,7 @@ throw exc;

this.log.reportStat(`receivestream-${eventsPluginName}-${pluginName}-${event}`, -1);
this.log.error("handleOnReceiveStream error occured: ${error}", {
this.log.error("[{eventsPluginName}:{pluginName}:{event}:handleOnReceiveStream] error occured: ${error}", {
error: exc.message ?? exc,
eventsPluginName,
pluginName,
event,
});

@@ -356,4 +374,7 @@ throw exc;

this.log.reportStat(`sendstream-${plugin.pluginName}-${pluginName}-${event}`, -1);
this.log.error("sendStream error occured: ${error}", {
this.log.error("[{eventsPluginName}:{pluginName}:{streamId}:sendStream] error occured: ${error}", {
error: exc.message ?? exc,
eventsPluginName: plugin.pluginName,
pluginName,
streamId,
});

@@ -360,0 +381,0 @@ throw exc;

2

package.json

@@ -31,3 +31,3 @@ {

"main": "lib/index.js",
"version": "8.5.50",
"version": "8.5.51",
"bsb_project": true,

@@ -34,0 +34,0 @@ "bsbInit": {

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