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 May 9, 2024 via pnpm

gulp-sourcemaps 3.0.0

Sourcemap support for gulpjs.
Package summary
Share
3
issues
2
high severity
meta
2
1
moderate severity
vulnerability
1
4
licenses
33
MIT
15
ISC
1
(MIT OR Apache-2.0)
1
BSD-3-Clause
Package created
18 Apr 2014
Version published
11 Nov 2020
Maintainers
3
Total deps
50
Direct deps
11
License
ISC

Issues

3

2 high severity issues

high
via: debug-fabulous@1.1.0
via: css@3.0.0
Collapse
Expand

1 moderate severity issue

moderate
Recommendation: Upgrade to version 8.4.31 or later
via: @gulp-sourcemaps/identity-map@2.0.1
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
33 Packages, Including:
@gulp-sourcemaps/identity-map@2.0.1
@gulp-sourcemaps/map-sources@1.0.0
acorn@6.4.2
convert-source-map@1.9.0
core-util-is@1.0.3
css@3.0.0
debug-fabulous@1.1.0
debug@3.2.7
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.1.3
normalize-path@2.1.1
normalize-path@3.0.0
object-assign@4.1.1
postcss@7.0.39
process-nextick-args@2.0.1
readable-stream@2.3.8
readable-stream@3.6.2
safe-buffer@5.1.2
safe-buffer@5.2.1
source-map-resolve@0.6.0
string_decoder@1.1.1
string_decoder@1.3.0
strip-bom-string@1.0.0
through2@2.0.5
through2@3.0.2
util-deprecate@1.0.2
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
15 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@3.0.0
inherits@2.0.4
memoizee@0.4.15
next-tick@1.1.0
picocolors@0.2.1
remove-trailing-separator@1.1.0
timers-ext@0.1.7
type@2.7.2

(MIT OR Apache-2.0)

Permissive
1 Packages, Including:
atob@2.1.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
1 Packages, Including:
source-map@0.6.1
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

11
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-map2.0.12.48 kBMIT
prod
1
@gulp-sourcemaps/map-sources1.0.02.21 kBMIT
prod
acorn6.4.2251.52 kBMIT
prod
convert-source-map1.9.03.91 kBMIT
prod
css3.0.09.22 kBMIT
prod
1
debug-fabulous1.1.023.57 kBMIT
prod
1
detect-newline2.1.01.65 kBMIT
prod
graceful-fs4.2.119.57 kBISC
prod
source-map0.6.1194.96 kBBSD-3-Clause
prod
strip-bom-string1.0.02.39 kBMIT
prod
through22.0.53.96 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.