Claude Bot
cbf29c78e2
Strip registry URL prefix from tarball URLs in bun.lock
...
This change makes lockfiles more portable across different registries and
proxy configurations by storing tarball URLs as relative paths when they
start with the package's registry URL.
When writing the lockfile:
- If a tarball URL starts with the package's registry URL (from
scopeForPackageName), strip that prefix
- Store only the relative path (e.g., "/lodash/-/lodash-4.17.21.tgz")
When reading the lockfile:
- If a URL doesn't start with http:// or https://, treat it as relative
- Prepend the package's registry URL to reconstruct the full URL
This allows users with custom registries or proxies to share lockfiles
more easily without URL mismatches.
Manual testing shows:
- Default registry packages now have relative URLs (e.g., "/is-number/-/is-number-7.0.0.tgz")
- Packages resolved from different registries keep full URLs
- Reinstalling from lockfiles works correctly with --frozen-lockfile
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-31 07:58:24 +00:00
..
2025-10-08 18:00:38 -07:00
2025-09-24 02:42:57 -07:00
2025-10-04 05:56:21 -07:00
2025-10-04 02:59:47 -07:00
2025-08-12 17:07:46 -07:00
2024-09-11 16:47:38 -07:00
2025-10-07 08:17:13 -07:00
2025-10-08 18:00:38 -07:00
2025-08-14 16:36:44 -07:00
2025-07-14 00:47:53 -07:00
2025-09-22 05:30:34 -07:00
2025-10-08 18:00:38 -07:00
2024-09-03 21:32:52 -07:00
2025-07-25 16:17:50 -07:00
2025-10-08 18:00:38 -07:00
2024-09-03 21:32:52 -07:00
2025-09-25 19:03:22 -07:00
2025-09-27 00:45:29 -07:00
2025-07-14 00:47:53 -07:00
2025-10-08 18:00:38 -07:00
2025-10-08 18:00:38 -07:00
2025-10-08 18:00:38 -07:00
2025-10-31 07:58:24 +00:00
2025-09-27 00:45:29 -07:00
2025-10-19 23:28:59 -07:00
2025-10-08 18:00:38 -07:00
2025-07-15 22:14:00 -07:00
2025-09-09 21:42:01 -07:00
2025-07-07 11:21:36 -07:00
2025-09-22 05:30:34 -07:00
2025-10-08 18:00:38 -07:00
2025-09-30 13:25:50 -07:00
2025-07-14 00:47:53 -07:00
2025-09-26 15:23:32 -07:00
2025-10-08 12:13:06 -07:00
2025-08-27 06:39:11 -07:00
2025-08-27 06:39:11 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00
2025-10-08 18:00:38 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00
2025-10-08 18:00:38 -07:00
2025-07-14 00:47:53 -07:00
2025-10-04 00:31:47 -07:00
2025-01-20 23:17:52 -08:00
2025-08-12 17:07:46 -07:00
2025-09-27 00:45:29 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-08-21 14:53:50 -07:00
2025-10-08 18:00:38 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00
2025-10-20 19:48:47 -07:00
2025-09-09 21:42:01 -07:00
2025-10-08 18:00:38 -07:00
2025-09-24 02:42:57 -07:00
2025-10-06 02:58:04 -07:00
2025-01-03 08:21:00 -08:00
2025-08-21 14:53:50 -07:00
2025-08-12 17:07:46 -07:00
2025-08-12 17:07:46 -07:00
2025-10-20 16:32:04 -07:00
2025-07-14 00:47:53 -07:00
2024-10-12 02:37:51 -07:00
2024-06-12 16:50:57 -07:00
2025-10-21 14:18:39 -07:00
2025-05-08 23:22:16 -07:00
2025-08-12 17:07:46 -07:00
2024-05-27 02:17:43 -07:00
2025-10-08 01:51:25 -07:00
2025-09-09 21:42:01 -07:00
2025-07-16 01:01:10 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00