combine-source-map
Advanced tools
Comparing version 0.7.1 to 0.7.2
{ | ||
"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 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26032
1
- Removedamdefine@1.0.1(transitive)
- Removedsource-map@0.4.2(transitive)
Updatedsource-map@~0.5.3