Skip to content

Drop unused fast-crc32c dependency#4735

Merged
soulgalore merged 1 commit into
mainfrom
remove-fast-crc32c
May 16, 2026
Merged

Drop unused fast-crc32c dependency#4735
soulgalore merged 1 commit into
mainfrom
remove-fast-crc32c

Conversation

@soulgalore
Copy link
Copy Markdown
Member

We used to pull in fast-crc32c because the old @google-cloud/storage
client could detect it as a native addon and use it to speed up CRC32C
hashing on uploads. The modern @google-cloud/storage (we're on 7.19)
ships its own pure-JS CRC32C implementation and no longer reads
fast-crc32c at all — it's not in its deps, optionalDependencies or
peerDependencies, and nothing in sitespeed.io imports it directly.

Removing it shrinks the dependency tree and stops shipping a native
addon that's no longer doing any work.

Co-authored-by: Claude noreply@anthropic.com

  We used to pull in fast-crc32c because the old @google-cloud/storage
  client could detect it as a native addon and use it to speed up CRC32C
  hashing on uploads. The modern @google-cloud/storage (we're on 7.19)
  ships its own pure-JS CRC32C implementation and no longer reads
  fast-crc32c at all — it's not in its deps, optionalDependencies or
  peerDependencies, and nothing in sitespeed.io imports it directly.

  Removing it shrinks the dependency tree and stops shipping a native
  addon that's no longer doing any work.

  Co-authored-by: Claude noreply@anthropic.com
@soulgalore soulgalore merged commit 5db680b into main May 16, 2026
12 checks passed
@soulgalore soulgalore deleted the remove-fast-crc32c branch May 16, 2026 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant