Skip to content

Updating dependencies & TS definition - #6

Open
AlexLavoie42 wants to merge 4 commits into
ChrisLoer:masterfrom
AlexLavoie42:master
Open

Updating dependencies & TS definition#6
AlexLavoie42 wants to merge 4 commits into
ChrisLoer:masterfrom
AlexLavoie42:master

Conversation

@AlexLavoie42

Copy link
Copy Markdown

I was getting an error due to the old version of sqlite3, and I would also like to take advantage of the newer version of Supercluster. Unfortunately, Supercluster dropped support for commonjs entirely, so using require with the package no longer worked. I was able to get around this using rollup to create a different .cjs file that will be imported when using require. The esm package is no longer needed as well since we can import es modules directly in new versions of node.

I have also included a simple TS definition that I have been using since there does not appear to be one for the package in @types.

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.

1 participant