openpencil/tools/checks/package-quality
MrHard 02fd53a8e0
fix(core): load fontoxpath under Node's ESM loader (#824)
* fix(core): load fontoxpath under Node's ESM loader

fontoxpath is CommonJS, so Node exposes its exports only on default and openpencil query / MCP query_nodes failed with 'evaluateXPathToNodes is not a function'. Closes #787.

* test(tools): run an XPath query in the package runtime smoke check

The Bun-run unit tests take fontoxpath's named exports, so they never covered the Node fallback to default.

* test(tools): also run matchByXPath in the XPath smoke scenario

* refactor(core): import fontoxpath types through one namespace import

---------

Co-authored-by: mrhard9090 <moltrax88@gmail.com>
Co-authored-by: Danila Poyarkov <dev@dannote.net>
2026-10-06 11:44:16 +00:00
..
src fix(core): load fontoxpath under Node's ESM loader (#824) 2026-10-06 11:44:16 +00:00
tests build(tools): group tools by role and gate them like the rest of the repo (#791) 2026-09-30 05:00:31 +04:00
package.json build: update dependencies (#873) 2026-10-04 12:48:24 +00:00