Socket
Socket
Sign inDemoInstall

@barbershopio/sprucebot-node

Package Overview
Dependencies
2
Maintainers
5
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.1 to 2.0.2

13

index.js

@@ -478,17 +478,6 @@ const Https = require('./https')

validateEventContract(eventContract) {
if (
!eventContract ||
!eventContract.events ||
!eventContract.events.publish ||
!eventContract.events.subscribe
) {
if (!eventContract || !eventContract.events) {
console.warn(
'⚠️ The event contract is invalid. Check your config/default.js file. The "eventContracts" key must be of the form:'
)
console.log({
events: {
publish: [],
subscribe: []
}
})
throw new Error('INVALID_EVENT_CONTRACT')

@@ -495,0 +484,0 @@ }

2

package.json

@@ -6,3 +6,3 @@ {

},
"version": "2.0.1",
"version": "2.0.2",
"description":

@@ -9,0 +9,0 @@ "Jam with the Sprucebot API in your favorite scripting language. 🤓",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc