Skip to content

4.0.0

Latest
Compare
Choose a tag to compare
@Pustur Pustur released this 17 Feb 23:33

Added

  • Exported types that the end user may need

Changed

  • BREAKING Renamed parseStringSync into parseString. The old async parseString has been removed

  • BREAKING In case of a system message the author property will be now set to null as opposed to the string "System"

  • Ship ESM and CJS versions, as well as a version for browsers. All files are minified. The new structure is the following:

    dist/
    ├── index.cjs       # CommonJS
    ├── index.d.ts      # Types
    ├── index.global.js # Browser without ESM
    └── index.js        # ESM
  • Replaced jest with vitest

  • Replaced rollup with tsup