Socket
Socket
Sign inDemoInstall

@honeybadger-io/webpack

Package Overview
Dependencies
55
Maintainers
5
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.1 to 1.1.2

4

dist/HoneybadgerSourceMapPlugin.js

@@ -131,4 +131,2 @@ 'use strict';

sourceFile = sourceFile.replace(/^\//, '');
var req = _request2.default.post(_constants.ENDPOINT, function (err, res, body) {

@@ -159,3 +157,3 @@ if (!err && res.statusCode === 201) {

form.append('api_key', this.apiKey);
form.append('minified_url', this.assetsUrl + '/' + sourceFile);
form.append('minified_url', this.assetsUrl + '/' + sourceFile.replace(/^\//, ''));
form.append('minified_file', compilation.assets[sourceFile].source(), {

@@ -162,0 +160,0 @@ filename: sourceFile,

{
"name": "@honeybadger-io/webpack",
"version": "1.1.1",
"version": "1.1.2",
"description": "Webpack plugin to upload source maps to Honeybadger's API - http://docs.honeybadger.io/guides/source-maps.html",

@@ -5,0 +5,0 @@ "main": "./dist/HoneybadgerSourceMapPlugin.js",

@@ -73,4 +73,2 @@ import async from 'async';

uploadSourceMap(compilation, { sourceFile, sourceMap }, done) {
sourceFile = sourceFile.replace(/^\//, '')
const req = request.post(ENDPOINT, (err, res, body) => {

@@ -99,3 +97,3 @@ if (!err && res.statusCode === 201) {

form.append('api_key', this.apiKey);
form.append('minified_url', `${this.assetsUrl}/${sourceFile}`);
form.append('minified_url', `${this.assetsUrl}/${sourceFile.replace(/^\//, '')}`);
form.append('minified_file', compilation.assets[sourceFile].source(), {

@@ -102,0 +100,0 @@ filename: sourceFile,

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc