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
The library is now written in TypeScript (strict mode) and ships its
own type declarations — EditorJSOutput, EditorJSBlock, ParserConfig, CustomParsers, CustomEmbeds, ParserFunction are exported types.
Build moved from rollup+babel to tsup; artifacts
now live in dist/ (index.js ESM, index.cjs CommonJS, index.global.js
browser IIFE global edjsParser, index.d.ts types).
Package is ESM-first ("type": "module") with a modern exports map.
Fixed
src/utitlities.js filename typo — now src/utilities.ts (internal file).
Breaking
Deep imports such as require("editorjs-parser/build/Parser.node") no
longer exist — import the package root (require("editorjs-parser") / import edjsParser from "editorjs-parser"), which works unchanged.
Runtime behavior of the parser is unchanged — all pre-2.0 output
assertions pass byte-for-byte.