Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@jridgewell/sourcemap-codec

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jridgewell/sourcemap-codec - npm Package Compare versions

Comparing version 1.4.10 to 1.4.11

18

dist/sourcemap-codec.umd.js

@@ -7,7 +7,7 @@ (function (global, factory) {

const comma = 44;
const semicolon = 59;
const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
const intToChar = new Uint8Array(65); // 65 possible chars.
const charToInteger = new Uint8Array(123); // z is 122 in ASCII
const comma = ','.charCodeAt(0);
const semicolon = ';'.charCodeAt(0);
const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
const intToChar = new Uint8Array(64); // 64 possible chars.
const charToInteger = new Uint8Array(128); // z is 122 in ASCII
for (let i = 0; i < chars.length; i++) {

@@ -96,3 +96,3 @@ const c = chars.charCodeAt(i);

if (shouldNegate) {
value = value === 0 ? -0x80000000 : -value;
value = -0x80000000 | -value;
}

@@ -118,3 +118,3 @@ state[j] += value;

const state = new Int32Array(5);
let buf = new Uint8Array(1000);
let buf = new Uint8Array(1024);
let pos = 0;

@@ -163,6 +163,6 @@ for (let i = 0; i < decoded.length; i++) {

do {
let clamped = num & 31;
let clamped = num & 0b011111;
num >>>= 5;
if (num > 0)
clamped |= 32;
clamped |= 0b100000;
buf[pos++] = intToChar[clamped];

@@ -169,0 +169,0 @@ } while (num > 0);

{
"name": "@jridgewell/sourcemap-codec",
"version": "1.4.10",
"version": "1.4.11",
"description": "Encode/decode sourcemap mappings",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc