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

@brocan/bouncer-github

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brocan/bouncer-github - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

2

package.json
{
"name": "@brocan/bouncer-github",
"version": "1.1.0",
"version": "1.2.0",
"description": "GitHub plugin for the Bouncer gateway.",

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

@@ -8,3 +8,3 @@ # Bouncer GitHub Plugin

* [hapi-pino](https://github.com/pinojs/hapi-pino/tree/v2.x.x)
* [hapi-hemera](https://github.com/hemerajs/hapi-hemera)
* [bouncer-messaging](../server/src/messaging/index.js)

@@ -11,0 +11,0 @@ ## Communication

@@ -9,16 +9,15 @@ const Joi = require('joi');

handler(request, reply) {
reply.act({
topic: 'build',
role: 'transform',
origin: 'github',
payload: request.payload
});
request.logger.debug('Received GitHub build request', request.payload);
reply.act({
reply.messaging.act({
topic: 'build',
role: 'transform',
origin: 'github',
payload: request.payload
payload: request.payload,
pubsub$: true
}, (err) => {
if (err) {
request.logger.warn(err);
}
});

@@ -51,6 +50,6 @@

GitHub.register.attributes = {
pkg: require('../package.json'),
dependencies: [ 'hapi-pino', 'hapi-hemera' ]
name: 'github',
dependencies: [ 'hapi-pino', 'bouncer-messaging' ]
};
module.exports = GitHub;
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