sourcemap-codec
Advanced tools
Comparing version 1.4.2 to 1.4.3
# sourcemap-codec changelog | ||
## 1.4.3 | ||
* Use Uint16Array to prevent overflow ([#75](https://github.com/Rich-Harris/sourcemap-codec/pull/75)) | ||
## 1.4.2 | ||
@@ -4,0 +8,0 @@ |
@@ -19,3 +19,3 @@ var charToInteger = {}; | ||
if (segment.length) | ||
line.push(new Int8Array(segment)); | ||
line.push(new Int16Array(segment)); | ||
segment = []; | ||
@@ -26,3 +26,3 @@ j = 0; | ||
if (segment.length) | ||
line.push(new Int8Array(segment)); | ||
line.push(new Int16Array(segment)); | ||
segment = []; | ||
@@ -75,3 +75,3 @@ j = 0; | ||
if (segment.length) | ||
line.push(new Int8Array(segment)); | ||
line.push(new Int16Array(segment)); | ||
decoded.push(line); | ||
@@ -78,0 +78,0 @@ return decoded; |
@@ -25,3 +25,3 @@ (function (global, factory) { | ||
if (segment.length) | ||
line.push(new Int8Array(segment)); | ||
line.push(new Int16Array(segment)); | ||
segment = []; | ||
@@ -32,3 +32,3 @@ j = 0; | ||
if (segment.length) | ||
line.push(new Int8Array(segment)); | ||
line.push(new Int16Array(segment)); | ||
segment = []; | ||
@@ -81,3 +81,3 @@ j = 0; | ||
if (segment.length) | ||
line.push(new Int8Array(segment)); | ||
line.push(new Int16Array(segment)); | ||
decoded.push(line); | ||
@@ -84,0 +84,0 @@ return decoded; |
{ | ||
"name": "sourcemap-codec", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"description": "Encode/decode sourcemap mappings", | ||
@@ -5,0 +5,0 @@ "main": "dist/sourcemap-codec.umd.js", |
15077