* fix(auto-render): concatenate text nodes
Concatenate successive text nodes to prevent auto-render from skipping
math input when browsers split text nodes with long textContent.
* Remove siblings only when math found
Only remove siblings when math expressions were found to prevent removal
of nodes that do not contain math.
* Skip siblings if they do not contain math
* Fixed typo in comments
* Added first tests for large test nodes
* Expanded testing to compare renderMathInElement with renderMathInText
* Simplified text node test
* Change description of test
* Update contrib/auto-render/auto-render.js
Co-authored-by: marcoesters <marco.esters@duke.edu>
Co-authored-by: ylemkimon <y@ylem.kim>
* chore(deps): update jest monorepo to v27 [skip netlify]
* test: use jsdom environment for auto-render test
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ylemkimon <y@ylem.kim>
* rewrite of splitAtDelimiters.js -- new fix for #2523
* fix splitAtDelimiters test
* minor changes to splitAtDelimiters
* tweak the indentation a bit
Co-authored-by: Kevin Barabash <kevinb@khanacademy.org>
Co-authored-by: Kevin Barabash <kevinb7@gmail.com>
* Bump flow version
* Bump jest version
* Bump eslint version
* Bump rollup version
* Bump webpack version
* Bump misc dependencies and update lockfile
* Update lockfile
* Bump commander version
* Bump misc dependencies
* Bump istanbul version
* Bump docusaurus version
* Update lockfile
* Explicitly declare dependencies
* Bump caniuse-lite version
* Update lockfile
* Bump commander version
* Bump webpack and css-loader version
* Bump flow version
* Add optional pre-process callback to the auto-renderer.
* Rewrite `preProcess` callback signature.
* Add test.
* Make test future-proof.
* Add root folder to the node module paths.