4.0.0
Added
- Exported types that the end user may need
Changed
-
BREAKING Renamed
parseStringSync
intoparseString
. The old asyncparseString
has been removed -
BREAKING In case of a system message the
author
property will be now set tonull
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