Repository navigation
Description
Found during the 0.10.1 release review of #448 at 0ffdf5eaf89b4707b174e27559b1bcf4f94185e2 (base 2fb410a5ba52f0d29977725c934e2d35c1937aa4). Refs #47 and #253. The release preflight requires one issue per deprecation finding.
crypto-js@4.2.0 is already marked deprecated in the lockfile and the live npm metadata checked on 2026-10-10. The package is no longer maintained.
Dependency path: @nomicfoundation/hardhat-ledger@3.1.0 → @ledgerhq/evm-tools@1.15.0 → crypto-js@4.2.0.
Scope: Ledger integration tests. The Package checks job confirms this dependency is in the development tree only. All six fresh production installs (AWS/GCP/Azure with npm and pnpm) pass. This is a maintenance follow-up, not a blocker for 0.10.1 under the current documented deprecation policy.
Evidence: Package checks, Fresh install. Reproduce the notice with npm view crypto-js@4.2.0 deprecated and inspect the locked dependency path with pnpm why -r crypto-js on an installed checkout at this revision.
Suggested work: Keep Ledger coexistence coverage while moving the upstream dependency chain off CryptoJS. Prefer a supported upstream release; do not remove the integration tests just to hide this notice.
Acceptance:
- The release lockfile no longer contains this deprecated version in the affected chain, or an explicit, evidence-backed upstream constraint is documented here.
- The affected integration/example tests pass, as do package and fresh-install checks.
- No unsupported dependency override is introduced merely to silence the warning.
Activity
chore(examples): remove TypeChain from ethers regression fixture (#478)
aelmanaa commentedon Oct 15, 2026
Triage 2026-10-15: dev-only (through @nomicfoundation/hardhat-ledger). Blocked upstream: hardhat-ledger 3.1.0 accepts only @ledgerhq/evm-tools ^1.7.7, and Ledger's hw-transport-node-hid pins node-hid 2.1.2 (prebuild-install). Next step is an upstream request to Hardhat; tracked like the other event-triggered issues (maintenance, no milestone).
aelmanaa commentedon Oct 29, 2026
Upstream check on 2026-10-29, with
npm view: this is blocked upstream, and there is no supported fix without an override.@nomicfoundation/hardhat-ledger@3.1.1(latest, 2026-10-15) depends directly on@ledgerhq/evm-tools: ^1.7.7.@ledgerhq/evm-toolsstill pinscrypto-js: 4.2.0, including the latest, 1.15.1 (2026-10-01).@ledgerhq/evm-tools@2.0.0(2026-10-08) replaces it with@noble/hashes, and@ledgerhq/hw-app-eth@7.11.1already uses 2.0.0. The^1.7.7range in hardhat-ledger's own dependencies keeps 1.x in the tree, though.It clears when hardhat-ledger widens that range to
^2. Moving to hardhat-ledger 3.1.1 alone would not remove crypto-js, and it brings@nomicfoundation/hardhat-utils ^5, which #587 covers. I'm leaving this open to track the upstream change.🤖 Generated with Claude Code
aelmanaa commentedon Oct 30, 2026
Upstream status on 2026-10-30:
@ledgerhq/evm-tools2.0.0 droppedcrypto-jsfor@noble/hashes(LedgerHQ/ts-libs#137).hardhat-ledgerstill asks for^1.7.7. NomicFoundation/hardhat#8706 (open) removesevm-toolsfromhardhat-ledgeraltogether, butcrypto-jscomes back through@ledgerhq/context-module(^4.2.0, ingetSchemaHash.ts).The open request for that is LedgerHQ/device-sdk-ts#923 ("switch to @noble/hashes", no reply since 2025-07). We plan a PR for it. This issue closes once Hardhat ships #8706 and a
context-modulerelease withoutcrypto-jsexists.