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

@pioneer-platform/pioneer-events

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pioneer-platform/pioneer-events - npm Package Compare versions

Comparing version 7.0.5 to 7.0.6

__tests__/test-module.js

9

lib/index.js

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

SOCKET.on('connect', function () {
log.info(tag, 'Connected!');
log.debug(tag, 'Connected!');
SOCKET.emit('join', { username: config.username, queryKey: config.queryKey });

@@ -124,2 +124,5 @@ });

}
else {
//emit everything
}
//TODO blocks

@@ -129,2 +132,6 @@ //TODO payments

});
SOCKET.on('invocation', function (message) {
log.info('invocation: ', message);
emitter.emit('message', message);
});
return [2 /*return*/, emitter];

@@ -131,0 +138,0 @@ }

2

package.json
{
"name": "@pioneer-platform/pioneer-events",
"version": "7.0.5",
"version": "7.0.6",
"main": "./lib/index.js",

@@ -5,0 +5,0 @@ "types": "./lib/main.d.ts",

@@ -57,5 +57,6 @@ /*

SOCKET = io.connect(URL_PIONEER_WS, {reconnect: true, rejectUnauthorized: false});
//connect
SOCKET.on('connect', function () {
log.info(tag,'Connected!');
log.debug(tag,'Connected!');
SOCKET.emit('join',{username:config.username,queryKey:config.queryKey})

@@ -80,2 +81,4 @@ });

//else add to approve queue
} else {
//emit everything
}

@@ -93,2 +96,8 @@

SOCKET.on('invocation', function (message:any) {
log.info('invocation: ',message);
emitter.emit('message',message)
});
return emitter

@@ -95,0 +104,0 @@ } catch (e) {

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