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.2 to 1.0.3

4

CHANGELOG.md
# Changelog
## 1.0.3 (2020-04-07)
- Prefer remote named `origin` when detecting source control info (#7)
## 1.0.2 (2019-05-23)

@@ -4,0 +8,0 @@

@@ -83,2 +83,9 @@ const findNearest = require('find-nearest-file')

cb => exec('git rev-parse HEAD', { cwd }, cb),
cb => {
// eslint-disable-next-line
exec('git remote get-url origin', { cwd }, (err, data) => {
// ignore this error in case origin doesn't exist
cb(null, data)
})
},
cb => exec('git remote -v', { cwd }, cb)

@@ -88,3 +95,3 @@ ], (err, data) => {

revision: data[0] ? data[0].trim() : null,
repository: data[1] ? data[1].split(/\t|\s|\n/)[1] : null
repository: data[1] ? data[1].trim() : (data[2] ? data[2].split(/\t|\s|\n/)[1] : null)
})

@@ -91,0 +98,0 @@ })

2

package.json
{
"name": "bugsnag-build-reporter",
"version": "1.0.2",
"version": "1.0.3",
"description": "A tool for reporting your application’s builds to Bugsnag",

@@ -5,0 +5,0 @@ "keywords": [

# bugsnag-build-reporter
[![Build status](https://travis-ci.org/bugsnag/bugsnag-build-reporter-node.svg?branch=master)](https://travis-ci.org/bugsnag/bugsnag-build-reporter-node)
[![Build status](https://travis-ci.com/bugsnag/bugsnag-build-reporter-node.svg?branch=master)](https://travis-ci.com/bugsnag/bugsnag-build-reporter-node)
[![NPM](https://img.shields.io/npm/v/bugsnag-build-reporter.svg)](https://npmjs.org/package/bugsnag-build-reporter)

@@ -4,0 +4,0 @@

Sorry, the diff of this file is not supported yet

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