Commit Graph

56 Commits

Author SHA1 Message Date
ylemkimon
8a24907518 build(deps): update dependencies (#2301)
* 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
2020-07-25 11:38:29 -07:00
dependabot-preview[bot]
d1ad2e0b8b [Security] Bump codecov from 3.6.5 to 3.7.1 (#2328) 2020-07-21 07:32:46 +00:00
dependabot-preview[bot]
08df797afa [Security] Bump handlebars from 4.5.3 to 4.7.6 (#2256)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.5.3 to 4.7.6. **This update includes a security fix.**
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.5.3...v4.7.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-08 18:41:42 -04:00
dependabot-preview[bot]
1c0f55950c [Security] Bump websocket-extensions from 0.1.3 to 0.1.4 (#2268)
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4. **This update includes a security fix.**
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-08 18:33:49 -04:00
ylemkimon
3272472ffe Use babel-plugin-preval instead of own unicodeMake for unicodeSymbols (#2153)
* Use babel-plugin-preval instead of own unicodeMake for unicodeSymbols

* Fix circular dependency transpiling issue

* Flow type unicodeSymbols.js

Co-authored-by: Erik Demaine <edemaine@mit.edu>
2020-07-08 17:58:11 -04:00
dependabot-preview[bot]
284ccc602a [Security] Bump acorn from 5.7.3 to 5.7.4 (#2217)
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4. **This update includes a security fix.**
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-21 22:51:15 +09:00
dependabot-preview[bot]
213f317fca [Security] Bump codecov from 3.2.0 to 3.6.5 (#2202) 2020-02-21 13:48:33 +00:00
dependabot-preview[bot]
754e79a12e [Security] Bump handlebars from 4.1.2 to 4.5.3 (#2181) 2019-12-27 16:26:29 +00:00
dependabot-preview[bot]
981a9ea3a0 [Security] Bump https-proxy-agent from 2.2.1 to 2.2.4 (#2158)
Bumps [https-proxy-agent](https://github.com/TooTallNate/node-https-proxy-agent) from 2.2.1 to 2.2.4. **This update includes security fixes.**
- [Release notes](https://github.com/TooTallNate/node-https-proxy-agent/releases)
- [Commits](https://github.com/TooTallNate/node-https-proxy-agent/compare/2.2.1...2.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-19 14:37:52 +09:00
ylemkimon
4ec2806b3e Drop IE 9/10 support (#2136)
* Drop IE 9/10 support

* Remove IE-related comments

They no longer apply.

* Update browserslist

* Exclude old Safari (5.1)
2019-11-01 18:43:47 -04:00
dependabot-preview[bot]
a790a69bd2 [Security] Bump mixin-deep from 1.3.1 to 1.3.2 (#2090) 2019-09-03 14:33:08 +00:00
dependabot-preview[bot]
ef6f52f5cd [Security] Bump eslint-utils from 1.3.1 to 1.4.2 (#2089)
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.2. **This update includes a security fix.**
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.3.1...v1.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-27 11:11:30 -04:00
Kevin Barabash
151376e8aa Port katex-a11y.js to KaTeX (#2062)
* copy katex-a11y.js from webapp to contrib/to-a11y-string.js

* first pass of updating to-a11y-string to use flow

* Set up test harness and write some tests
- add flow types for jest
- create wallaby config file
- add prettier as a dep and set up .prettierrc so that we use .toMatchInlineSnapshot() and have jest insert the snapshot for us
- add lots of TODOs (I'll create tickets for these later)

* Add some  to get the tests passing for now

* remove commented out parts of wallaby.js config file

* remove some stale strings, fix flow issue, add more coverage

* add , add few more tests, handle middle

* fix minor nits in tests

* rename to-a11y-string to render-a11y-string, updatte webpack config to build extension

* add test for \boxed

* remove commented out code
2019-08-02 11:24:51 -04:00
dependabot[bot]
45539c2e9c Bump handlebars from 4.1.0 to 4.1.2 (#2036)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.0 to 4.1.2.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.0...v4.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-13 22:01:53 -04:00
dependabot[bot]
e055ca8a33 Bump webpack-bundle-analyzer from 3.0.4 to 3.3.2 (#2037)
Bumps [webpack-bundle-analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer) from 3.0.4 to 3.3.2.
- [Release notes](https://github.com/webpack-contrib/webpack-bundle-analyzer/releases)
- [Changelog](https://github.com/webpack-contrib/webpack-bundle-analyzer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/webpack-bundle-analyzer/compare/v3.0.4...v3.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-13 21:56:31 -04:00
dependabot-preview[bot]
95d2690322 Bump flow-bin from 0.93.0 to 0.102.0 (#2013)
* Bump flow-bin from 0.93.0 to 0.102.0

Bumps [flow-bin](https://github.com/flowtype/flow-bin) from 0.93.0 to 0.102.0.
- [Release notes](https://github.com/flowtype/flow-bin/releases)
- [Commits](https://github.com/flowtype/flow-bin/compare/v0.93.0...v0.102.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump flow-bin from 0.93.0 to 0.102.0

Bumps [flow-bin](https://github.com/flowtype/flow-bin) from 0.93.0 to 0.102.0.
- [Release notes](https://github.com/flowtype/flow-bin/releases)
- [Commits](https://github.com/flowtype/flow-bin/compare/v0.93.0...v0.102.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* fix issue with flow after upgrading
2019-07-13 20:17:19 -04:00
dependabot-preview[bot]
0a55eb8a64 Bump commander from 2.19.0 to 2.20.0 (#2020)
Bumps [commander](https://github.com/tj/commander.js) from 2.19.0 to 2.20.0.
- [Release notes](https://github.com/tj/commander.js/releases)
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tj/commander.js/compare/v2.19.0...v2.20.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-13 19:56:53 -04:00
dependabot-preview[bot]
9182b8aae4 Bump eslint-plugin-flowtype from 3.4.2 to 3.10.4 (#2023)
Bumps [eslint-plugin-flowtype](https://github.com/gajus/eslint-plugin-flowtype) from 3.4.2 to 3.10.4.
- [Release notes](https://github.com/gajus/eslint-plugin-flowtype/releases)
- [Commits](https://github.com/gajus/eslint-plugin-flowtype/compare/v3.4.2...v3.10.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-13 19:45:06 -04:00
dependabot-preview[bot]
89042d80e3 Bump css-loader from 2.1.0 to 3.0.0 (#2021)
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 2.1.0 to 3.0.0.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v2.1.0...v3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-13 19:36:24 -04:00
dependabot-preview[bot]
d98164dd42 [Security] Bump lodash from 4.17.11 to 4.17.14 (#2030)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14. **This update includes security fixes.**
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-13 19:27:43 -04:00
dependabot-preview[bot]
403a728df5 Bump istanbul-lib-coverage from 2.0.3 to 2.0.5 (#2017)
Bumps [istanbul-lib-coverage](https://github.com/istanbuljs/istanbuljs) from 2.0.3 to 2.0.5.
- [Release notes](https://github.com/istanbuljs/istanbuljs/releases)
- [Commits](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-coverage@2.0.3...istanbul-lib-coverage@2.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-08 23:28:38 -04:00
dependabot-preview[bot]
572fa9cc32 Bump babel-plugin-istanbul from 5.1.1 to 5.1.4 (#2012)
Bumps [babel-plugin-istanbul](https://github.com/istanbuljs/babel-plugin-istanbul) from 5.1.1 to 5.1.4.
- [Release notes](https://github.com/istanbuljs/babel-plugin-istanbul/releases)
- [Changelog](https://github.com/istanbuljs/babel-plugin-istanbul/blob/master/CHANGELOG.md)
- [Commits](https://github.com/istanbuljs/babel-plugin-istanbul/compare/v5.1.1...v5.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-08 23:16:15 -04:00
dependabot-preview[bot]
a1b6d4d655 Bump eslint from 5.14.1 to 5.16.0 (#2016)
Bumps [eslint](https://github.com/eslint/eslint) from 5.14.1 to 5.16.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v5.14.1...v5.16.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-08 22:51:43 -04:00
ylemkimon
9c05e208ea Upgrade dependencies and remove yarn check (#1851)
* Remove Yarn check

Yarn check is buggy and will be removed in the future

* Upgrade dependencies

* Add --frozen-lockfile to CI
2019-02-20 14:56:06 -05:00
Erik Demaine
647c661db0 Remove double encoding in MathML via Unicode MathML spaces (#1813)
* Remove double encoding in MathML via Unicode MathML spaces

We used to have a complex mechanic for escaping strings, marking them as
`needsEscape = false`, and then not escaping those strings (for
combining strings in `\operatorname`).  But this doesn't really work
with `render`ing directly to a node, as `document.createTextNode` can't
be stopped from escaping.

I've thus removed this mechanic, which required the following changes:

* Switch MathML "smart space" encoding to use Unicode instead of
  `&LongNames;` (which weren't working with `render` for the same reason).
* Hack our HTML/MathML serializer to not use `String.trim`, which wrecks
  havoc with emitted Unicode spaces.

Now `toText()` doesn't escape, so strings concatenate in unescaped form,
and `toHTML()` only does the necessary escaping.  Thus fix #1782.

* Fix src/utils.js

Co-Authored-By: edemaine <edemaine@mit.edu>

* Fix src/mathMLTree.js documentation

Co-Authored-By: edemaine <edemaine@mit.edu>

* Remove trim hack thanks to diffable-html@4.0.0

* Switch back to jest-serializer-html

* Update mathMLTree.js
2019-01-02 01:55:44 +09:00
Kevin Barabash
1a7ce6cf15 update flow to 0.89 (#1808)
* update flow to 0.89

* only use a single core when running tests on circleci
2018-12-26 17:57:28 -05:00
ylemkimon
45a58f8d30 Update lockfile, fix test reporting, throwOnError on yarn start test page (#1798)
* Update lockfile

* Fix test reporting

* Set throwOnError on `yarn start` test page
2018-12-23 18:46:25 -05:00
ylemkimon
ce3840d4ce Include only necessary fonts for target environment specified by Browserslist (#1674)
* Include only necessary fonts for target environment specified by Browserslist

Allow WOFF and WOFF2 to be controlled using environment variables

* Fix links

* Fix merge error

* Update dependencies

* Replace uglifyjs-webpack-plugin with terser-webpack-plugin

* Do not set `targets` if !isESMBuild
2018-12-02 17:51:13 -05:00
ylemkimon
f628ca142b Generate ECMAScript module for contrib (#1624)
* Create separate entry point of copy-tex for webpack

* Update katex.webpack.js comment

* Generate ECMAScript for contrib

* Update dependencies

* Comment out documentations
2018-10-31 11:37:54 +09:00
greenkeeper[bot]
ca38cbf8b2 Update flow-bin to the latest version 🚀 (#1754)
* chore(package): update flow-bin to version 0.84.0

* chore(package): update lockfile yarn.lock

* Update config.yml

* Update config.yml

* Update lockfile
2018-10-29 16:58:23 +09:00
greenkeeper[bot]
de961dedd5 Update eslint-plugin-flowtype to the latest version 🚀 (#1743)
* chore(package): update eslint-plugin-flowtype to version 3.0.0

* chore(package): update lockfile yarn.lock
2018-10-13 20:03:39 -04:00
greenkeeper[bot]
94d433805a chore(package): update eslint-plugin-transform-runtime-aliasing to version 2.0.0 (#1742)
* chore(package): update eslint-plugin-transform-runtime-aliasing to version 2.0.0

* chore(package): update lockfile yarn.lock
2018-10-13 23:49:57 +09:00
greenkeeper[bot]
274dfdae4f Update flow-bin to the latest version 🚀 (#1737)
* chore(package): update flow-bin to version 0.83.0

* chore(package): update lockfile yarn.lock
2018-10-12 22:06:12 -04:00
ylemkimon
5e4c0bec74 chore(package): update babel-eslint to version 10.0.1 (#1729)
* chore(package): update babel-eslint to version 10.0.1

Closes #1728

* chore(package): update lockfile yarn.lock
2018-10-12 21:38:33 -04:00
greenkeeper[bot]
68fdb52733 Update query-string to the latest version 🚀 (#1734)
* chore(package): update query-string to version 6.2.0

* chore(package): update lockfile yarn.lock
2018-10-10 14:00:14 +09:00
greenkeeper[bot]
0cbfaef32d Update flow-bin to the latest version 🚀 (#1733)
* chore(package): update flow-bin to version 0.82.0

* chore(package): update lockfile yarn.lock
2018-10-02 11:04:42 +09:00
greenkeeper[bot]
c52d3bee70 Update rollup to the latest version 🚀 (#1716)
* chore(package): update rollup to version 0.66.0

* chore(package): update lockfile yarn.lock
2018-09-16 17:48:47 +09:00
greenkeeper[bot]
6151907ecb Update uglifyjs-webpack-plugin to the latest version 🚀 (#1714)
* chore(package): update uglifyjs-webpack-plugin to version 2.0.0

* chore(package): update lockfile yarn.lock
2018-09-16 15:23:33 +09:00
greenkeeper[bot]
db5d75db07 Update flow-bin to the latest version 🚀 (#1715)
* chore(package): update flow-bin to version 0.81.0

* chore(package): update lockfile yarn.lock
2018-09-16 00:37:40 +09:00
ylemkimon
1cf3cd6fe5 Remove greenkeeper-lockfile (#1710) 2018-09-12 22:01:30 +09:00
greenkeeper[bot]
91553c1dfe Update webpack-bundle-analyzer to the latest version 🚀 (#1709)
* chore(package): update webpack-bundle-analyzer to version 3.0.0

* chore(package): update lockfile

* chore(package): update lockfile

https://npm.im/greenkeeper-lockfile
2018-09-11 23:47:55 -04:00
ylemkimon
7f7d063e73 chore(package): update file-loader to version 2.0.0 (#1697) 2018-09-04 21:55:46 -04:00
greenkeeper[bot]
a88310e51d chore(package): update style-loader to version 0.23.0 (#1668)
* chore(package): update style-loader to version 0.23.0

* chore(package): update lockfile

https://npm.im/greenkeeper-lockfile
2018-09-04 09:06:52 +09:00
ylemkimon
4178639ea5 Upgrade to Babel 7 (#1595)
* Upgrade to Babel 7

* Update dependencies

* Remove `modules` and `useEsModules` as module support is automatically detected

Target browsers supporting ESM in the ESM build.

* Disable corejs aliasing (polyfill)

* Fix package.json and update lockfile

* Bump CircleCI cache version

* Remove `Object.values()` use for Node 6 compatability

* Remove redundant arguments to @babel/register

* Update rollup and rollup-plugin-babel

* Add ignore option to no-transform-runtime-aliasing

Ignore JSON.stringify, parseInt, and ParseFloat

* Upgrade babel-loader to 8.0.1

* Use api.env() in Babel configuration

* Upgrade babel-loader to 8.0.2
2018-09-03 17:19:12 -04:00
greenkeeper[bot]
5585187abb Update flow-bin to the latest version 🚀 (#1689)
* chore(package): update flow-bin to version 0.80.0

* chore(package): update lockfile

https://npm.im/greenkeeper-lockfile
2018-09-01 11:10:02 +09:00
greenkeeper[bot]
16f79435b3 Update rollup to the latest version 🚀 (#1663)
* chore(package): update rollup to version 0.65.0

* chore(package): update lockfile

https://npm.im/greenkeeper-lockfile
2018-08-25 23:13:21 +09:00
ylemkimon
93b1b7947c Fix scrollspy.js & use query-string@5 to support IE (#1621)
* Fix scrollspy.js syntax error on IE

* Use query-string@5 to support IE
2018-08-18 21:25:37 +09:00
greenkeeper[bot]
46e7939fa9 chore(package): update flow-bin to version 0.79.0 (#1628)
* chore(package): update flow-bin to version 0.79.0

* chore(package): update lockfile

https://npm.im/greenkeeper-lockfile
2018-08-17 20:00:14 +09:00
ylemkimon
f829ebc692 Improve prestart and tests (#1610)
* screenshotter: replace promisify(fs) and mkdirp with fs-extra

* screenshotter: replace selenium.promise with builtin Promise

* Lint all JavaScript files in the root

* unicodeMake: replace console.log with writeFile(string)

* unicodeMake: check timestamp, do not build if up-to-date

* Replace check-dependencies with yarn check

* Exclude src/unicodeMake.js from coverage

* Add (missing) dependencies

* Skip CircleCI if only unrelated has been changed

* Fix commit range

* Use fs-extra in update-sri
2018-08-17 16:29:27 +09:00
greenkeeper[bot]
4e53f9d059 Update eslint-plugin-transform-runtime-aliasing to the latest version 🚀 (#1608)
* chore(package): update eslint-plugin-transform-runtime-aliasing to version 1.0.0

* chore(package): update lockfile

https://npm.im/greenkeeper-lockfile
2018-08-13 18:30:46 +09:00