-
#171
c561739Thanks @rexxars! - Require Node.js 22.12 or later, and drop the legacymainandmodulefieldsThe package has been ESM-only for a while, but still carried
mainandmoduleentry points for resolvers that predateexports. Those are gone, so the package resolves throughexportsonly. -
#171
c561739Thanks @rexxars! -nestLists()now nests every list as deeply as itslevelsays it isList items can start at a level deeper than 1, and can skip any number of levels at a time.
nestLists()previously ignored both, so a level 3 item could end up as a list nested only one level deep, and items that later returned to a shallower level could fail to rejoin the list they belonged to and be emitted as a separate sibling list instead.The levels that were never authored are now generated, so nesting depth always matches
level. A generated list holds an empty list item inhtmlmode, since HTML can only nest a list inside a list item, and holds nothing but the deeper list indirectmode.This changes the output of
nestLists()for any input where a list starts deeper than level 1 or skips a level, and therefore changes the rendered output of anything built on it.
-
#123
2852611Thanks @stipsan! - Support for node versions older than v20.19 dropped -
#123
2852611Thanks @stipsan! - Upgrade @portabletext/types to v3
2.0.17 (2025-02-06)
- guard against
markDefsbeingnull(#92) (1f1644a) - typeError: Marking
markDefsas optional to resolve TS error when markDefs array is missing (#96) (eedd7c7)
2.0.16 (2024-11-02)
2.0.15 (2024-04-11)
2.0.14 (2024-04-05)
2.0.13 (2024-03-20)
2.0.12 (2024-03-18)
2.0.11 (2024-03-16)
2.0.10 (2023-10-10)
2.0.9 (2023-09-28)
2.0.8 (2023-08-23)
2.0.7 (2023-08-23)
- setup provenance (94ec5cf)
2.0.6 (2023-08-23)
2.0.5 (2023-08-23)
- add
node.modulecondition (1b369ba)
2.0.4 (2023-06-26)
- deps: update non-major (6a9347a)
2.0.3 (2023-06-26)
- refactor to
type: module(1dc6579)
2.0.2 (2023-06-23)
- remove ESM wrapper (not needed) (be72cb2)