Socket
Socket
Sign inDemoInstall

sourcemap-codec

Package Overview
Dependencies
0
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.4.2 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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc