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

webpack-bugsnag-plugins

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-bugsnag-plugins - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

5

CHANGELOG.md
# Changelog
## 1.4.1 (2019-08-12)
### Fixed
- Manually join paths rather than using `url.resolve()` as that doesn't work with the (\*) wildcard character (#37, fixes #35)
## 1.4.0 (2019-03-13)

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

2

package.json
{
"name": "webpack-bugsnag-plugins",
"version": "1.4.0",
"version": "1.4.1",
"description": "Webpack plugins for common Bugsnag actions",

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

'use strict'
const upload = require('bugsnag-sourcemaps').upload
const resolve = require('url').resolve
const parallel = require('run-parallel-limit')

@@ -77,10 +76,7 @@ const extname = require('path').extname

map: outputSourceMapLocation,
url: resolve(
url: '' +
// ensure publicPath has a trailing slash
publicPath.replace(/[^/]$/, '$&/'),
// ensure source doesn't have a leading slash (sometimes it does, e.g.
// in laravel-mix, but this throws off the url resolve() call) see issue
// for more detail: https://github.com/bugsnag/webpack-bugsnag-plugins/issues/11
source.replace(/^\//, '')
).toString()
publicPath.replace(/[^/]$/, '$&/') +
// remove leading / or ./ from source
source.replace(/^\.?\//, '')
}

@@ -87,0 +83,0 @@ }).filter(Boolean)

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