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

source-map-loader

Package Overview
Dependencies
Maintainers
8
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

source-map-loader - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [1.0.1](https://github.com/webpack-contrib/source-map-loader/compare/v1.0.0...v1.0.1) (2020-06-30)
### Bug Fixes
* webpack protocol ([a2e4cd6](https://github.com/webpack-contrib/source-map-loader/commit/a2e4cd6be7f9ff9024c201093f1410431f7a48e9))
## [1.0.0](https://github.com/webpack-contrib/source-map-loader/compare/v0.2.4...v1.0.0) (2020-05-26)

@@ -7,0 +14,0 @@

4

dist/index.js

@@ -82,3 +82,5 @@ "use strict";

const originalSourceContent = map.sourcesContent && map.sourcesContent[i] ? map.sourcesContent[i] : null;
const skipReading = originalSourceContent !== null;
const skipReading = originalSourceContent !== null; // We do not skipReading here, because we need absolute paths in sources.
// This is necessary so that for sourceMaps with the same file structure in sources, name collisions do not occur.
// https://github.com/webpack-contrib/source-map-loader/issues/51

@@ -85,0 +87,0 @@ try {

@@ -150,2 +150,8 @@ "use strict";

if (skipReading) {
return {
sourceURL: url
};
}
if (protocol === 'file:') {

@@ -156,8 +162,3 @@ const pathFromURL = _url.default.fileURLToPath(url);

let sourceContent;
if (!skipReading) {
sourceContent = await fetchFromFilesystem(loaderContext, sourceURL);
}
const sourceContent = await fetchFromFilesystem(loaderContext, sourceURL);
return {

@@ -164,0 +165,0 @@ sourceURL,

{
"name": "source-map-loader",
"version": "1.0.0",
"version": "1.0.1",
"description": "extracts inlined source map and offers it to webpack",

@@ -5,0 +5,0 @@ "license": "MIT",

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