nanoid causes issues when compiling with esbuild #1324
Closed
boris-glumpler
started this conversation in
General
Replies: 1 comment
-
In case someone else stumbles across this, there is |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been working on a plugin for a Milkdown editor component for FilamentPHP. The plugin skeleton includes an
esbuild
script, which throws an error when trying to compile the scripts:I've traced this down to the
nanoid
dependency in@milkdown/utils
where it's being used as a backup value for a timer.nanoid
also provides a non-secure version as well for environments without hardware random generators. Does the timer need to be secure or could this be changed? If yes, then I'd be happy to PR this.Cheers!
Beta Was this translation helpful? Give feedback.
All reactions