New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@v2awesome/source-map-composer

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@v2awesome/source-map-composer

compose muilt chained sourcemap into one, connect target with source

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

source-map-composer

v2awesome GitHub license GitHub issues travis-ci

merge final sourceMap with intermediate sourceMap, generate new one connect target with origin.

how to use

npm install @v2awesome/source-map-composer

import {composeSourceMap} from 'source-map-composer'

/**
 * composeSourcemap
 * compose sourcemap into one, the sourcemap should be desc sorted passed into function
 *
 * @param {...string[]} paths desc sorted sorucemap'path, last path should be the origin sourcemap, and involed first
 *
 * @returns {(Promise<void | string>)} composed sourcemap
 */
composeSourceMap(paths)

why this packages?

In my case: typescript(origin) -> es6module(intermediate) --rollup--> target (umd). This flow will produce two sourceMap, ts_es6_sourceMap, and es6_target_sourceMap, target's sourceMap will no longer track to the orign source.

why you need this package

FAQs

Package last updated on 27 May 2018

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