Socket
Socket
Sign inDemoInstall

webpack-core

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-core - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

lib/PrefixSource.js

7

lib/SourceMapSource.js

@@ -10,8 +10,11 @@ /*

function SourceMapSource(value, name, sourceMap, innerSourceMap) {
function SourceMapSource(value, name, sourceMap, originalSource, innerSourceMap) {
if(innerSourceMap) {
innerSourceMap = new SourceMapConsumer(innerSourceMap);
sourceMap = SourceMapGenerator.fromSourceMap(new SourceMapConsumer(sourceMap));
while(innerSourceMap._sources.has(name) && innerSourceMap.sourceContentFor(name)) {
name += "*";
}
sourceMap.setSourceContent(name, originalSource);
sourceMap.applySourceMap(innerSourceMap, name);
sourceMap.removeSource(name);
sourceMap = sourceMap.toJSON();

@@ -18,0 +21,0 @@ }

{
"name": "webpack-core",
"version": "0.2.0",
"version": "0.2.1",
"author": "Tobias Koppers @sokra",

@@ -5,0 +5,0 @@ "description": "The core of webpack and enhanced-require.",

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