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

@bugsnag/source-maps

Package Overview
Dependencies
Maintainers
9
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bugsnag/source-maps - npm Package Compare versions

Comparing version 2.3.2 to 2.3.3

6

dist/transformers/StripProjectRoot.js

@@ -42,6 +42,10 @@ "use strict";

return s;
// If the source path is a webpack path and we are running on Windows,
// we normalize the path separators to URI format
const isWebPackOnWindows = s.indexOf('webpack') > -1 && process.platform === 'win32';
const absoluteSourcePath = path_1.default.resolve(path_1.default.dirname(sourceMapPath), s.replace(/webpack:\/\/.*\/\.\//, `${projectRoot}/`));
return absoluteSourcePath.replace(projectRoot, '').replace(/^(\/|\\)/, '');
const strippedSourcePath = absoluteSourcePath.replace(projectRoot, '').replace(/^(\/|\\)/, '');
return isWebPackOnWindows ? strippedSourcePath.replace(/\\/g, '/') : strippedSourcePath;
});
}
//# sourceMappingURL=StripProjectRoot.js.map

2

package.json
{
"name": "@bugsnag/source-maps",
"version": "2.3.2",
"version": "2.3.3",
"description": "CLI and JS library for uploading source maps to Bugsnag",

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

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