pilcrowonpaper/oslo

v1.2.0 breaks ElysiaJS app (lucia auth)

cholasimmons opened this issue · 1 comments

I finished working on an Elysia JS web app using Lucia Auth, Lucia has some dependencies on Oslo.
Everything was working perfectly til un update to my Oslo package from 1.1.3 to 1.2.0, now my server cannot initialize, throwing the error:

1 | (function (entry, fetcher)
    ^
SyntaxError: Export named 'base32' not found in module '...\node_modules\lucia\node_modules\oslo\dist\encoding\index.js'.
error: script "start" exited with code 1

Has the base32 function been replaced or just deprecated?

My bad, just realized Lucia was updated to 3.2.0 which works around this 🫢