Auth dependencies (arctic, @oslojs/*) are deprecated on npm; every install prints nine deprecation warnings
Description
npm ci on a site pinned to [email protected] prints nine npm warn deprecated lines, all for transitive dependencies of emdash and @emdash-cms/auth:
npm warn deprecated @oslojs/[email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated @oslojs/[email protected]: Package no longer supported. ...
npm warn deprecated @oslojs/[email protected]: Package no longer supported. ...
npm warn deprecated @oslojs/[email protected]: Package no longer supported. ...
npm warn deprecated @oslojs/[email protected]: Package no longer supported. ...
npm warn deprecated [email protected]: Use your platform's native DOMException instead
npm warn deprecated @oslojs/[email protected]: Package no longer supported. ...
npm warn deprecated @oslojs/[email protected]: Package no longer supported. ...
npm warn deprecated [email protected]: Package no longer supported. ...Where they come from (npm ls):
[email protected]and@oslojs/[email protected]are direct dependencies ofemdash(arctic is used byapi/handlers/device-flow.tsandapi/handlers/oauth-authorization.ts);@oslojs/jwtcomes in through arctic.@oslojs/[email protected]is a direct dependency of@emdash-cms/auth, bringing@oslojs/asn1,@oslojs/binary,@oslojs/cborand a second copy of@oslojs/[email protected].[email protected]comes through@libsql/kysely-libsql→@libsql/client→@libsql/hrana-client→node-fetch@3→fetch-blob.
There is no version to override to: the latest publish of every @oslojs/* package and of arctic carries the same "no longer supported" notice (the author deprecated the whole oslo/arctic line), and [email protected] is deprecated as well. [email protected] and @emdash-cms/[email protected] declare the same arctic ^3.7.0, @oslojs/crypto ^1.0.1 and @oslojs/webauthn ^1.0.0 ranges, so the 1.0 line will print the same warnings.
Expected: a clean npm ci. More importantly, the passkey (WebAuthn), OAuth and device-flow code paths depend on libraries that will not receive fixes, which is a maintenance and security-response concern for a CMS that ships its own admin auth. Candidates that are maintained today: @simplewebauthn/server for WebAuthn, openid-client or oauth4webapi for OAuth, jose for JWT, and the Web Crypto API for what @oslojs/crypto covers. For node-domexception, a newer libsql client that no longer depends on node-fetch@3 would clear it.
Happy to test a release candidate on a Cloudflare Workers site that uses passkeys and magic links.
Steps to reproduce
npm init -y && npm install [email protected] @emdash-cms/[email protected]- Observe the nine
npm warn deprecatedlines above. npm ls arctic @oslojs/webauthn @oslojs/crypto node-domexceptionshows every one underemdash/@emdash-cms/auth.npm view arctic deprecatedandnpm view @oslojs/webauthn deprecatedconfirm the latest versions are deprecated too, so a consumer cannot override their way out.
Environment
- emdash version: 0.42.0 (also checked 1.0.1-rc.0 dependency declarations)
- Node.js version: 22 (CI) and 24.14 (local)
- Runtime: Cloudflare Workers (D1 + R2), also reproduces on Node
- OS: Linux (GitHub Actions ubuntu-latest) and macOS
Source: emdash-cms/emdash