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

octopie

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

octopie - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

14

lib/server.js

@@ -7,13 +7,5 @@ var express = require('express')

app.post('/', function(req, res) {
try {
var payload = JSON.parse(req.body.payload)
, event = req.header('x-github-event')
console.log('Received event', event, payload)
app.emit(event, payload)
res.send('OK')
} catch(e) {
console.error(e)
req.status(422).send('Malformed payload')
}
var event = req.header('x-github-event')
app.emit(event, req.body)
res.send('OK')
})

@@ -20,0 +12,0 @@

{
"name": "octopie",
"version": "1.1.1",
"version": "1.1.2",
"description": "An easy way to add GitHub hooks to your project",

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

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