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

webpack-sources

Package Overview
Dependencies
Maintainers
5
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-sources - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

11

lib/applySourceMap.js

@@ -15,3 +15,3 @@ /*

sourceFile,
removeGeneratedCodeForSourceFile = false
removeGeneratedCodeForSourceFile
) {

@@ -90,3 +90,4 @@ // The following notations are used to name stuff:

(rightSourceContent = sourceMapConsumer.sourceContentFor(
rightSource
rightSource,
true
)))

@@ -136,4 +137,6 @@ ) {

rightSourceContentsSet["$" + source] = true;
var sourceContent = sourceMapConsumer.sourceContentFor(source);
l2rResult.setSourceContent(source, sourceContent);
var sourceContent = sourceMapConsumer.sourceContentFor(source, true);
if(sourceContent) {
l2rResult.setSourceContent(source, sourceContent);
}
}

@@ -140,0 +143,0 @@ return;

{
"name": "webpack-sources",
"version": "1.4.0",
"version": "1.4.1",
"description": "Source code handling classes for webpack",

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

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