-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Would you like to work on a fix?
- Check this if you would like to implement a PR, we are more than happy to help you go through the process.
Current and expected behavior
Importing a chartjs component (e.g. Bar) with Svelte 5 ([email protected]) yields this error message:
Your application, or one of its dependencies, imported from 'svelte/internal', which was a private module used by Svelte 4 components that no longer exists in Svelte 5. It is not intended to be public API. If you're a library author and you used 'svelte/internal' deliberately, please raise an issue on https://github.com/sveltejs/svelte/issues detailing your use case.
I haven't looked any further than simply confirming the import in this library:
svelte-chartjs/src/utils/svelte.ts
Lines 1 to 6 in 4333128
import { | |
SvelteComponent, | |
bubble, | |
listen, | |
current_component, | |
} from 'svelte/internal'; |
Reproduction
[did not create shareable repro - merely confirmed svelte/internal is import]
chart.js version
4.4.2
svelte-chartjs version
3.1.5
Possible solution
No response
alimo, Heliodex, shahedsalehi, whitemaker, AhsanSarwar45 and 14 moreHeliodex, LukePeltier, iamgoddog, dmmulroy, heshdotcc and 1 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working