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

@captain-hook/core

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@captain-hook/core - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

3

lib/CaptainHook.js

@@ -57,4 +57,5 @@ "use strict";

};
hash.update(Buffer.from(JSON.stringify(payload)));
payload = { ...payload,
hash: hash.update(Buffer.from(JSON.stringify(payload)))
hash: hash.digest('utf8')
};

@@ -61,0 +62,0 @@

{
"name": "@captain-hook/core",
"version": "0.2.3",
"version": "0.2.4",
"description": "web(hook hand)lers",

@@ -15,3 +15,3 @@ "author": "Luke Smetham",

},
"gitHead": "783fdd19cbd3456fc79083ef0a39458f1d9c5aa4"
"gitHead": "1e09b0916769a562870b3c51bfafa38440ebf948"
}

@@ -69,5 +69,7 @@ import crypto from 'crypto';

hash.update(Buffer.from(JSON.stringify(payload)));
payload = {
...payload,
hash: hash.update(Buffer.from(JSON.stringify(payload)))
hash: hash.digest('utf8')
};

@@ -74,0 +76,0 @@

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