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

bugsnag-sourcemaps

Package Overview
Dependencies
Maintainers
4
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bugsnag-sourcemaps - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

6

CHANGELOG.md

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

# 1.0.2
## Maintenance
* Support older versions of node (4.8+)
# 1.0.1

@@ -2,0 +8,0 @@

5

cli.js

@@ -7,3 +7,3 @@ #!/usr/bin/env node

const readPkgUp = require('read-pkg-up');
const { upload } = require('./');
const upload = require('./').upload;

@@ -97,3 +97,4 @@ const cli = meow(`

readPkgUp(conf.projectRoot || process.cwd())
.then(({ pkg }) => {
.then(arg => {
const pkg = arg && arg.pkg ? arg.pkg : null;
if (pkg) conf.appVersion = pkg.version;

@@ -100,0 +101,0 @@ })

9

index.js

@@ -0,1 +1,3 @@

'use strict';
const fs = require('graceful-fs');

@@ -245,3 +247,3 @@ const request = require('request');

* Any unknown options are simply added to the form data, to allow for any future options.
*
*
* Some options are omitted from the form data, as they are only used as configuration.

@@ -310,3 +312,6 @@ * E.g. "endpoint", "uploadSources", and "projectRoot".

*/
function sendRequest({ options, formData }) {
function sendRequest(args) {
// { options, formData }
const options = args.options
const formData = args.formData
return new Promise((resolve, reject) => {

@@ -313,0 +318,0 @@ request.post({

{
"name": "bugsnag-sourcemaps",
"version": "1.0.1",
"version": "1.0.2",
"keywords": [

@@ -8,5 +8,5 @@ "bugsnag",

],
"homepage": "https://github.com/jmshal/bugsnag-sourcemaps",
"homepage": "https://github.com/bugsnag/bugsnag-sourcemaps",
"bugs": {
"url": "https://github.com/jmshal/bugsnag-sourcemaps/issues"
"url": "https://github.com/bugsnag/bugsnag-sourcemaps/issues"
},

@@ -22,3 +22,3 @@ "bin": "cli.js",

"type": "git",
"url": "https://github.com/jmshal/bugsnag-sourcemaps.git"
"url": "https://github.com/bugsnag/bugsnag-sourcemaps.git"
},

@@ -54,4 +54,6 @@ "dependencies": {

],
"coverageReporters": ["lcov"]
"coverageReporters": [
"lcov"
]
}
}

@@ -15,3 +15,3 @@ # bugsnag-sourcemaps

```sh
$ npm install --save-dev bugsnag-sourcemaps
$ npm install --global bugsnag-sourcemaps
```

@@ -25,3 +25,3 @@

```shell
$ npm run bugsnag-sourcemaps -- --api-key YOUR_API_KEY_HERE \
$ bugsnag-sourcemaps upload --api-key YOUR_API_KEY_HERE \
--app-version 1.2.3 \

@@ -28,0 +28,0 @@ --minified-url 'http://example.com/assets/example.min.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