Mathpix / mathpix-markdown-it

Markdown rendering + Latex extras (equations, tables, ...), with conversion features, for the scientific community
MIT License
501 stars 44 forks source link

PR into master from dev/olga/222-SyntaxError-domino-lib-sloppy-js #257

Closed OlgaRedozubova closed 1 year ago

OlgaRedozubova commented 1 year ago

branch: dev/olga/222-SyntaxError-domino-lib-sloppy-js

Why:

Fixes SyntaxError /node_modules/domino/lib/sloppy.js: 'with' in strict mode (10:4) #222

What's being changed:

Uses domino fork https://github.com/Haringat/domino to fix SyntaxError /node_modules/domino/lib/sloppy.js: 'with' in strict mode

https://github.com/Mathpix/mathpix-markdown-it/blob/31cf430a1eed05fcacadd22ee92f528e3521763c/package.json#L49

The domino package contains a PR https://github.com/fgnass/domino/pull/180 to fix this issue, but it hasn't been merged into the master branch yet

Related Issues https://github.com/fgnass/domino/issues/170 https://github.com/fgnass/domino/issues/153