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

bugsnag-build-reporter

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bugsnag-build-reporter - npm Package Compare versions

Comparing version 1.0.0-1 to 1.0.0-2

4

lib/validate.js

@@ -0,5 +1,7 @@

const inspect = require('util').inspect
module.exports = schema => (opts, cb) => {
const errors = Object.keys(schema).reduce((accum, key) => {
if (schema[key].validate(opts[key])) return accum
return accum.concat({ key, message: schema[key].message, value: opts[key] })
return accum.concat({ key, message: schema[key].message, value: inspect(opts[key]) })
}, [])

@@ -6,0 +8,0 @@ if (!errors.length) return cb(null, opts)

{
"name": "bugsnag-build-reporter",
"version": "1.0.0-1",
"version": "1.0.0-2",
"description": "A tool for reporting your application's builds to Bugsnag",

@@ -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