Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

svelte 5 compatibility: storage middleware #124

Conversation

FredViken
Copy link
Contributor

Replaced svelte/internal dependencies in src/lib/shared/index.ts to ensure Svelte 5 compatibility for the storage middleware.
Other utilities still depend on svelte/internal and require further updates.

Changes made:

  • Replaced is_client with typeof window !== 'undefined';
  • Add try-catch for get_current_component import

@ankurrsinghal ankurrsinghal merged commit f4a083b into ankurrsinghal:master Oct 24, 2024
@IsraPerez98 IsraPerez98 mentioned this pull request Oct 24, 2024
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.

2 participants