You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@types/gulp-sourcemaps

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/gulp-sourcemaps

TypeScript definitions for gulp-sourcemaps

Source
npmnpm
Version
0.0.37
Version published
Weekly downloads
145K
-17.55%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install --save @types/gulp-sourcemaps

Summary

This package contains type definitions for gulp-sourcemaps (https://github.com/gulp-sourcemaps/gulp-sourcemaps).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-sourcemaps.

index.d.ts

/// <reference types="node"/>

import File = require("vinyl");

interface InitOptions {
    loadMaps?: boolean | undefined;
    debug?: boolean | undefined;
}

interface WriteMapper {
    (file: string): string;
}

interface SourceMapMapper {
    (sourcePath: string, file: File): string;
}

interface SourceUrlMapper {
    (file: File): string;
}

interface MapFilenameMapper {
    (mapFilePath: string): string;
}

interface CloneOptions {
    contents?: boolean | undefined;
    deep?: boolean | undefined;
}

interface WriteOptions {
    addComment?: boolean | undefined;
    includeContent?: boolean | undefined;
    sourceRoot?: string | WriteMapper | undefined;
    sourceMappingURLPrefix?: string | WriteMapper | undefined;
    sourceMappingURL?: SourceUrlMapper | undefined;
    destPath?: string | undefined;
    mapFile?: MapFilenameMapper | undefined;
    charset?: BufferEncoding | undefined;
    clone?: boolean | CloneOptions | undefined;
}

export declare function init(opts?: InitOptions): NodeJS.ReadWriteStream;
export declare function mapSources(mapper?: SourceMapMapper): NodeJS.ReadWriteStream;
export declare function write(path?: string, opts?: WriteOptions): NodeJS.ReadWriteStream;
export declare function write(opts?: WriteOptions): NodeJS.ReadWriteStream;

Additional Details

  • Last updated: Wed, 18 Oct 2023 01:17:35 GMT
  • Dependencies: @types/node, @types/vinyl

Credits

These definitions were written by Phips Peter, and Concision.

FAQs

Package last updated on 18 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts