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

source-map-loader

Package Overview
Dependencies
Maintainers
1
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 0.1.2 to 0.1.3

4

index.js

@@ -58,5 +58,7 @@ /*

var sourcePrefix = map.sourceRoot ? map.sourceRoot + "/" : "";
map.sources = map.sources.map(function(s) { return sourcePrefix + s; });
map.sourceRoot = undefined;
var missingSources = map.sourcesContent ? map.sources.slice(map.sourcesContent.length) : map.sources;
async.map(missingSources, function(source, callback) {
resolve(context, loaderUtils.urlToRequest(sourcePrefix + source), function(err, result) {
resolve(context, loaderUtils.urlToRequest(source), function(err, result) {
if(err) {

@@ -63,0 +65,0 @@ emitWarning("Cannot find source file '" + source + "': " + err);

{
"name": "source-map-loader",
"version": "0.1.2",
"version": "0.1.3",
"author": "Tobias Koppers @sokra",

@@ -5,0 +5,0 @@ "description": "extracts inlined source map and offers it to webpack",

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