Skip to content

Commit 7c2ee36

Browse files
committed
Inverting line/columns
Aligning with WebAssembly/design#1051
1 parent 203e8bd commit 7c2ee36

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ module.exports = function (txt, opt) {
2828

2929
map.addMapping({
3030
generated: {
31-
line: offset,
32-
column: 0
31+
line: 1,
32+
column: offset
3333
},
3434
source: file,
3535
original: {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "txt2map4wasm",
3-
"version": "1.0.3",
3+
"version": "1.1.0",
44
"description": "Translates wasm text source map to JSON map",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)