#3550·emdash

Auth dependencies (arctic, @oslojs/*) are deprecated on npm; every install prints nine deprecation warnings

Author: AsifMahsudCreated Sep 28, 2026Updated Sep 28, 2026
Labelsbot:taskbot:awaiting-approval

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:

bash
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 of emdash (arctic is used by api/handlers/device-flow.ts and api/handlers/oauth-authorization.ts); @oslojs/jwt comes in through arctic.
  • @oslojs/[email protected] is a direct dependency of @emdash-cms/auth, bringing @oslojs/asn1, @oslojs/binary, @oslojs/cbor and 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

  1. npm init -y && npm install [email protected] @emdash-cms/[email protected]
  2. Observe the nine npm warn deprecated lines above.
  3. npm ls arctic @oslojs/webauthn @oslojs/crypto node-domexception shows every one under emdash / @emdash-cms/auth.
  4. npm view arctic deprecated and npm view @oslojs/webauthn deprecated confirm 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