You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add backward compatibility for @fedify/fedify/vocab module
The @fedify/vocab package was split out from @fedify/fedify in
#517, but the original
@fedify/fedify/vocab module was completely removed, breaking
existing code.
This change restores the @fedify/fedify/vocab module as a
deprecated re-export of @fedify/vocab, allowing existing code
to continue working while users gradually migrate to importing
from @fedify/vocab directly. The module is marked with @deprecated
JSDoc tags to guide users toward the migration.
Changes include:
- Created packages/fedify/src/vocab/mod.ts that re-exports all
exports from @fedify/vocab with deprecation notice
- Added ./vocab export to deno.json for Deno environment
- Added ./vocab export to package.json for Node.js/Bun
- Added ./src/vocab/mod.ts to tsdown build entry points
- Updated CHANGES.md to document the deprecation
Related to #437 and
#517.
0 commit comments