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

gulp-sourcemaps

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-sourcemaps - npm Package Compare versions

Comparing version 1.5.1 to 1.5.2

8

index.js

@@ -210,3 +210,3 @@ 'use strict';

var comment;
var comment, sourceMappingURLPrefix;
if (!destPath) {

@@ -230,5 +230,7 @@ // encode source map into comment

if (typeof options.sourceMappingURLPrefix === 'function') {
options.sourceMappingURLPrefix = options.sourceMappingURLPrefix(file);
sourceMappingURLPrefix = options.sourceMappingURLPrefix(file);
} else {
sourceMappingURLPrefix = options.sourceMappingURLPrefix;
}
comment = comment.replace(/sourceMappingURL=\.*/, 'sourceMappingURL=' + options.sourceMappingURLPrefix);
comment = comment.replace(/sourceMappingURL=\.*/, 'sourceMappingURL=' + sourceMappingURLPrefix);
}

@@ -235,0 +237,0 @@ }

{
"name": "gulp-sourcemaps",
"version": "1.5.1",
"version": "1.5.2",
"description": "Source map support for Gulp.js",

@@ -5,0 +5,0 @@ "homepage": "http://github.com/floridoo/gulp-sourcemaps",

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