JamieMason / JamieMason/shrinkpack

Integrities are concatenated

Open
#96 5 comments 0 reactions 0 assignees View on GitHub
Status: To Do Type: Fix
Dominant language
TypeScript
Stars
800
Forks
27
PR merge metrics
No merged PRs in 30d

Description

## Description

When run multiple times, the lock file changes every time, because the integrity strings are concatenated to the old integrity value.

## Suggested Solution

Replace the integrity value instead of adding to it.

## Help Needed

N/A

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the lock-file update path that writes integrity values, then reproduce the issue by running the tool multiple times and comparing the lock file. Done means each run replaces the integrity value rather than concatenating it, leaving the lock file unchanged after the first update.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.