@jridgewell/sourcemap-codec
Advanced tools
Comparing version 1.4.12 to 1.4.13
@@ -78,5 +78,4 @@ (function (global, factory) { | ||
function indexOf(mappings, index) { | ||
const len = mappings.length; | ||
const idx = index < len ? mappings.indexOf(';', index) : index; | ||
return idx === -1 ? len : idx; | ||
const idx = mappings.indexOf(';', index); | ||
return idx === -1 ? mappings.length : idx; | ||
} | ||
@@ -83,0 +82,0 @@ function decodeInteger(mappings, pos, state, j) { |
{ | ||
"name": "@jridgewell/sourcemap-codec", | ||
"version": "1.4.12", | ||
"version": "1.4.13", | ||
"description": "Encode/decode sourcemap mappings", | ||
@@ -17,2 +17,3 @@ "keywords": [ | ||
".": { | ||
"types": "./dist/types/sourcemap-codec.d.ts", | ||
"browser": "./dist/sourcemap-codec.umd.js", | ||
@@ -59,3 +60,3 @@ "import": "./dist/sourcemap-codec.mjs", | ||
"benchmark": "2.1.4", | ||
"c8": "7.11.0", | ||
"c8": "7.11.2", | ||
"eslint": "8.7.0", | ||
@@ -62,0 +63,0 @@ "eslint-config-prettier": "8.3.0", |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34526
340