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

deed

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deed - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

2

index.js

@@ -28,2 +28,4 @@

this.push(this.buf === this.sig)
delete this.buf
delete this.sig
}

@@ -30,0 +32,0 @@

5

package.json
{
"name": "deed",
"version": "0.0.5",
"version": "0.0.6",
"description": "verify x-hub-signature",

@@ -34,5 +34,4 @@ "main": "index.js",

"engines": {
"node": "0.10.x",
"node": "0.11.x"
"node": ">=0.10"
}
}
# deed - verify x-hub-signature
The *deed* [Node.js](http://nodejs.org/) module verifies [X-Hub-Signature](http://pubsubhubbub.googlecode.com/git/pubsubhubbub-core-0.3.html#authednotify) headers which can be used to authorize `HTTP` requests like [GitHub webhooks](https://developer.github.com/v3/repos/hooks/) for example.
The Deed [Node.js](http://nodejs.org/) module verifies [X-Hub-Signature](http://pubsubhubbub.googlecode.com/git/pubsubhubbub-core-0.3.html#authednotify) headers which can be used to authorize `HTTP` requests like [GitHub webhooks](https://developer.github.com/v3/repos/hooks/) for example.

@@ -14,3 +14,2 @@ [![Build Status](https://secure.travis-ci.org/michaelnisi/deed.svg)](http://travis-ci.org/michaelnisi/deed) [![David DM](https://david-dm.org/michaelnisi/deed.svg)](http://david-dm.org/michaelnisi/deed)

;
http.createServer(function (req, res) {

@@ -36,3 +35,3 @@ deed('secret', req, function (er, req) {

The sole function exported by the *deed* module checks if the request body hashed with the secret matches the `X-Hub-Signature` header.
The sole function exported by Deed checks if the request body hashed with the secret matches the `X-Hub-Signature` header.

@@ -39,0 +38,0 @@ - `secret` The key to hash the payload.

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