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.3 to 1.0.4

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# 1.0.4
## Bug fixes
* Ensure correct values for `overwrite` are sent to API (#24)
* Ensure OS tempdir is used for temporary files (rather than the current directory) (#22)
# 1.0.3

@@ -2,0 +9,0 @@

@@ -62,2 +62,8 @@ #!/usr/bin/env node

],
boolean: [
'overwrite',
'upload-node-modules',
'upload-sources',
'add-wildcard-prefix',
],
});

@@ -64,0 +70,0 @@

11

index.js

@@ -6,2 +6,3 @@ 'use strict';

const path = require('path');
const os = require('os');

@@ -226,3 +227,3 @@ const DEFAULT_OPTIONS = {

if (options.stripProjectRoot) {
options.tempDir = fs.mkdtempSync('bugsnag-sourcemaps');
options.tempDir = fs.mkdtempSync(path.join(os.tmpdir(), 'bugsnag-sourcemaps'));
return transformSourcesMap(options);

@@ -301,2 +302,10 @@ }

}
case 'overwrite': {
// the presence of any value for this flag causes the API to interpret it as
// true, so only add it to the payload if it is truthy
if (options.overwrite) {
formData[name] = String(value);
}
break;
}
// Basic fields (strings/booleans) & future fields

@@ -303,0 +312,0 @@ default: {

2

package.json
{
"name": "bugsnag-sourcemaps",
"version": "1.0.3",
"version": "1.0.4",
"keywords": [

@@ -5,0 +5,0 @@ "bugsnag",

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