GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: use Int32Array for signed VLQ delta accumulation in readMappings by alexander-akait · Pull Request #206 · webpack/webpack-sources

Conversation

@alexander-akait

@alexander-akait alexander-akait commented Apr 22, 2026

Copy link
Copy Markdown
Member

VLQ deltas are signed, so a sequence whose cumulative value goes
negative (e.g. malformed mappings) would wrap to a large unsigned
integer when stored in a Uint32Array. Switch the accumulator to
Int32Array so negative cumulative values round-trip correctly to
the onMapping callback. Also fix an "orignalColumn" typo in the
adjacent comment, and add a regression test.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@claude
fix: use Int32Array for signed VLQ delta accumulation in readMappings
fec6611
VLQ deltas are signed, so a sequence whose cumulative value goes
negative (e.g. malformed mappings) would wrap to a large unsigned
integer when stored in a Uint32Array. Switch the accumulator to
Int32Array so negative cumulative values round-trip correctly to
the onMapping callback. Also fix an "orignalColumn" typo in the
adjacent comment, and add a regression test.
@linux-foundation-easycla

linux-foundation-easycla Bot commented Apr 22, 2026

Copy link
Copy Markdown

CLA Not Signed

  • ❌ - login: @claude / name: Claude . The commit (fec6611) is not authorized under a signed CLA. Please click here to be authorized. For further assistance with EasyCLA, please submit a support request ticket.

claude[bot] reacted with eyes emoji
All reactions
  • 👀 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@changeset-bot

changeset-bot Bot commented Apr 22, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: fec6611

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
webpack-sources Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@codecov

codecov Bot commented Apr 22, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.79%. Comparing base (58420d1) to head (fec6611).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #206      +/-   ##
==========================================
- Coverage   97.87%   97.79%   -0.08%     
==========================================
  Files          25       25              
  Lines        1884     1908      +24     
  Branches      594      600       +6     
==========================================
+ Hits         1844     1866      +22     
- Misses         38       40       +2     
  Partials        2        2              
Flag Coverage Δ
integration 97.79% <100.00%> (-0.08%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@codspeed

codspeed Bot commented Apr 22, 2026

Copy link
Copy Markdown

Merging this PR will degrade performance by 31.93%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

❌ 2 regressed benchmarks
✅ 159 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
❌ prefix-source: getPrefix() 120.1 µs 176.3 µs -31.85%
❌ prefix-source: original() 120.5 µs 177.1 µs -31.93%

Comparing claude/review-pr-192-KIf9l (fec6611) with main (9788e55)

Open in CodSpeed
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@alexander-akait
alexander-akait merged commit adf17ec into main Apr 22, 2026
20 of 30 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@alexander-akait
alexander-akait deleted the claude/review-pr-192-KIf9l branch April 22, 2026 16:59
@github-actions github-actions Bot mentioned this pull request Apr 22, 2026
chore(release): new release #205
Merged
@alexander-akait alexander-akait mentioned this pull request Apr 22, 2026
fix: use Int32Array for signed VLQ delta decoding in readMappings #192
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@alexander-akait @claude
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.