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.2.7 to 1.2.8

12

index.js

@@ -89,6 +89,8 @@ 'use strict';

try {
console.log(PLUGIN_NAME + '-init: No source content for "' + source + '". Loading from file.');
if (options.debug)
console.log(PLUGIN_NAME + '-init: No source content for "' + source + '". Loading from file.');
sourceContent = fs.readFileSync(absPath).toString();
} catch (e) {
console.warn(PLUGIN_NAME + '-init: source file not found: ' + absPath);
if (options.debug)
console.warn(PLUGIN_NAME + '-init: source file not found: ' + absPath);
}

@@ -183,6 +185,8 @@ }

try {
console.log(PLUGIN_NAME + '-write: No source content for "' + sourceMap.sources[i] + '". Loading from file.');
if (options.debug)
console.log(PLUGIN_NAME + '-write: No source content for "' + sourceMap.sources[i] + '". Loading from file.');
sourceMap.sourcesContent[i] = fs.readFileSync(sourcePath).toString();
} catch (e) {
console.warn(PLUGIN_NAME + '-write: source file not found: ' + sourcePath);
if (options.debug)
console.warn(PLUGIN_NAME + '-write: source file not found: ' + sourcePath);
}

@@ -189,0 +193,0 @@ }

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

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

@@ -79,2 +79,5 @@ ## gulp-sourcemaps [![NPM version][npm-image]][npm-url] [![build status][travis-image]][travis-url] [![Test coverage][coveralls-image]][coveralls-url]

- `debug`
Set this to `true` to output debug messages (e.g. about missing source content).
### Write Options

@@ -157,2 +160,6 @@

- `debug`
Set this to `true` to output debug messages (e.g. about missing source content).
### Plugin developers only: How to add source map support to plugins

@@ -159,0 +166,0 @@

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