Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

combine-source-map

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

combine-source-map - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2

4

package.json
{
"name": "combine-source-map",
"version": "0.7.1",
"version": "0.7.2",
"description": "Add source maps of multiple files, offset them and then combine them into one source map",

@@ -18,3 +18,3 @@ "main": "index.js",

"lodash.memoize": "~3.0.3",
"source-map": "0.4.2"
"source-map": "~0.5.3"
},

@@ -21,0 +21,0 @@ "devDependencies": {

@@ -111,21 +111,21 @@ 'use strict';

original: { line: 1, column: 0 },
source: 'foo.js', name: undefined },
source: 'foo.js', name: null },
{ generated: { line: 5, column: 0 },
original: { line: 2, column: 0 },
source: 'foo.js', name: undefined },
source: 'foo.js', name: null },
{ generated: { line: 6, column: 0 },
original: { line: 3, column: 0 },
source: 'foo.js', name: undefined },
source: 'foo.js', name: null },
{ generated: { line: 7, column: 0 },
original: { line: 4, column: 0 },
source: 'foo.js', name: undefined },
source: 'foo.js', name: null },
{ generated: { line: 8, column: 0 },
original: { line: 5, column: 0 },
source: 'foo.js', name: undefined },
source: 'foo.js', name: null },
{ generated: { line: 9, column: 0 },
original: { line: 6, column: 0 },
source: 'foo.js', name: undefined },
source: 'foo.js', name: null },
{ generated: { line: 10, column: 0 },
original: { line: 7, column: 0 },
source: 'foo.js', name: undefined } ]
source: 'foo.js', name: null } ]
, 'generates mappings offset by the given line'

@@ -181,15 +181,15 @@ )

source: 'one.js',
name: undefined },
name: null },
{ original: { column: 0, line: 1 },
generated: { column: 0, line: 2 },
source: 'two.js',
name: undefined },
name: null },
{ original: { column: 0, line: 1 },
generated: { column: 0, line: 3 },
source: 'three.js',
name: undefined },
name: null },
{ original: { column: 0, line: 1 },
generated: { column: 0, line: 4 },
source: 'four.js',
name: undefined } ], 'should properly map multiple files');
name: null } ], 'should properly map multiple files');
t.end()

@@ -267,15 +267,15 @@ });

source: 'src/package1/sub/one.js',
name: undefined },
name: null },
{ original: { column: 0, line: 1 },
generated: { column: 0, line: 2 },
source: 'src/package1/sub/two.js',
name: undefined },
name: null },
{ original: { column: 0, line: 1 },
generated: { column: 0, line: 3 },
source: 'src/package2/sub/three.js',
name: undefined },
name: null },
{ original: { column: 0, line: 1 },
generated: { column: 0, line: 4 },
source: 'src/package2/sub/four.js',
name: undefined } ], 'should properly map multiple files');
name: null } ], 'should properly map multiple files');
t.end()

@@ -324,7 +324,7 @@ });

source: 'a/b/one.js',
name: undefined },
name: null },
{ original: { column: 0, line: 1 },
generated: { column: 0, line: 2 },
source: 'a/b/two.js',
name: undefined } ], 'should properly map multiple files');
name: null } ], 'should properly map multiple files');
t.end()

@@ -331,0 +331,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