🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

sourcemap-codec

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sourcemap-codec - npm Package Compare versions

Comparing version

to
1.4.3

4

CHANGELOG.md
# 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 @@

6

dist/sourcemap-codec.es.js

@@ -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",