Skip to content

Fix: pin lru-cache to prevent LRU constructor crash (#113)#127

Open
JohnMcLear wants to merge 1 commit intomainfrom
fix/lru-cache-version
Open

Fix: pin lru-cache to prevent LRU constructor crash (#113)#127
JohnMcLear wants to merge 1 commit intomainfrom
fix/lru-cache-version

Conversation

@JohnMcLear
Copy link
Copy Markdown
Member

Summary

Fixes #113TypeError: LRU is not a constructor

openid-client depends on lru-cache ^6.0.0, but pnpm deduplication can resolve v7+ where the API changed. Pinning lru-cache ^6.0.0 as a direct dependency ensures the correct version.

🤖 Generated with Claude Code

openid-client depends on lru-cache ^6.0.0, but pnpm deduplication
can resolve a v7+ version where the constructor API changed, causing
"LRU is not a constructor" at startup.

Adding lru-cache as a direct dependency ensures v6.x is installed.

Fixes #113

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant