pilcrowOnPaper / oslo

A collection of auth-related utilities
https://oslo.js.org
MIT License
925 stars 30 forks source link

v1.2.0 breaks ElysiaJS app (lucia auth) #70

Closed cholasimmons closed 2 months ago

cholasimmons commented 2 months ago

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?

cholasimmons commented 2 months ago

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