Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Apr 21, 2024 via pnpm

gulp-sourcemaps 2.6.0

Source map support for Gulp.js
Package summary
Share
5
issues
5
high severity
meta
5
4
licenses
35
MIT
14
ISC
2
BSD-3-Clause
1
(MIT OR Apache-2.0)
Package created
18 Apr 2014
Version published
10 Apr 2017
Maintainers
3
Total deps
52
Direct deps
12
License
ISC

Issues

5

5 high severity issues

high
via: debug-fabulous@0.1.2
via: @gulp-sourcemaps/identity-map@1.0.2 & others
via: @gulp-sourcemaps/identity-map@1.0.2 & others
via: @gulp-sourcemaps/identity-map@1.0.2 & others
via: @gulp-sourcemaps/identity-map@1.0.2 & others
Collapse
Expand

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
35 Packages, Including:
@gulp-sourcemaps/identity-map@1.0.2
@gulp-sourcemaps/map-sources@1.0.0
acorn@4.0.13
acorn@5.7.4
clone-stats@0.0.1
clone@1.0.4
convert-source-map@1.9.0
core-util-is@1.0.3
css@2.2.4
debug-fabulous@0.1.2
debug@2.6.9
decode-uri-component@0.2.2
detect-newline@2.1.0
es6-iterator@2.0.3
event-emitter@0.3.5
is-promise@2.2.2
isarray@1.0.0
lru-queue@0.1.0
ms@2.0.0
normalize-path@2.1.1
object-assign@4.1.1
process-nextick-args@2.0.1
readable-stream@2.3.8
replace-ext@0.0.1
resolve-url@0.2.1
safe-buffer@5.1.2
source-map-resolve@0.5.3
source-map-url@0.4.1
string_decoder@1.1.1
strip-bom-string@1.0.0
through2@2.0.5
urix@0.1.0
util-deprecate@1.0.2
vinyl@1.2.0
xtend@4.0.2

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
14 Packages, Including:
d@1.0.2
es5-ext@0.10.64
es6-symbol@3.1.4
es6-weak-map@2.0.3
esniff@2.0.1
ext@1.7.0
graceful-fs@4.2.11
gulp-sourcemaps@2.6.0
inherits@2.0.4
memoizee@0.4.15
next-tick@1.1.0
remove-trailing-separator@1.1.0
timers-ext@0.1.7
type@2.7.2

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
2 Packages, Including:
source-map@0.6.1
source-map@0.7.4

(MIT OR Apache-2.0)

Permissive
1 Packages, Including:
atob@2.1.2
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

12
All Dependencies CSV
β“˜ This is a list of gulp-sourcemaps 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
@gulp-sourcemaps/identity-map1.0.22.6 kBMIT
prod
4
@gulp-sourcemaps/map-sources1.0.02.21 kBMIT
prod
acorn4.0.13141.48 kBMIT
prod
convert-source-map1.9.03.91 kBMIT
prod
css2.2.49.15 kBMIT
prod
4
debug-fabulous0.1.22.94 kBMIT
prod
1
detect-newline2.1.01.65 kBMIT
prod
graceful-fs4.2.119.57 kBISC
prod
source-map0.7.463.54 kBBSD-3-Clause
prod
strip-bom-string1.0.02.39 kBMIT
prod
through22.0.53.96 kBMIT
prod
vinyl1.2.010.72 kBMIT
prod

Visualizations

Frequently Asked Questions

What does gulp-sourcemaps do?

Gulp-sourcemaps is a versatile JavaScript library that provides sourcemap support for gulpjs. The primary function of gulp-sourcemaps is to associate transformed source code with its original version, making it significantly easier to debug and trace the code. Sourcemaps are files that map the relationship between the original source files and the output files after undergoing transformations.

How do you use gulp-sourcemaps?

To use gulp-sourcemaps, you would typically require the library at the beginning of your gulp task file. After that, you can initialize sourcemaps with sourcemaps.init(), apply various gulp plugins for transformation, and then write the sourcemaps with sourcemaps.write().

Here's an example of how you'd use it:

var gulp = require('gulp');
var plugin1 = require('gulp-plugin1');
var plugin2 = require('gulp-plugin2');
var sourcemaps = require('gulp-sourcemaps');

function javascript() {
    gulp.src('src/**/*.js')
        .pipe(sourcemaps.init())
        .pipe(plugin1())
        .pipe(plugin2())
        .pipe(sourcemaps.write())
        .pipe(gulp.dest('dist'));
};

exports.javascript = javascript;

In this example, sourcemaps.init() and sourcemaps.write() are used to surround the transformation plugins (plugin1() and plugin2() in this case). The .pipe() function chains together these actions, and gulp.dest('dist') writes the transformed files and their sourcemaps to the 'dist' directory.

Where are the gulp-sourcemaps docs?

The documentation for gulp-sourcemaps can be found on their GitHub repository at git://github.com/gulp-sourcemaps/gulp-sourcemaps.git. The readme file there covers the basic usage of gulp-sourcemaps, available options, and examples. You can also find a list of plugins that support gulp-sourcemaps in the wiki of the GitHub repository.