Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade katex from 0.9.0 to 0.11.1 #1

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

snyk-bot
Copy link

Snyk has created this PR to upgrade katex from 0.9.0 to 0.11.1.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
  • The recommended version is 9 versions ahead of your current version.
  • The recommended version was released 5 months ago, on 2019-09-18.
Release notes
Package name: katex
  • 0.11.1 - 2019-09-18

    Changed

    • [Security] Bump mixin-deep from 1.3.1 to 1.3.2 (#2090)
    • [Security] Bump eslint-utils from 1.3.1 to 1.4.2 (#2089)

    Fixed

    • Fix parse timing by separating consume() into fetch() and consume() (#2054)
    • Use current font for accents (#2066)
    • Fix \gray's macro definition (#2075)
  • 0.11.0 - 2019-08-13

    Added

    • BREAKING CHANGE: trust setting to indicate whether input text is trusted (#1794)
    • Add test for double square brackets to katex-spec (#1956)
    • Add option to render only MathML so that its visible (#1966)
    • Support {smallmatrix}, {subarray}, and \substack (#1969)
    • Enable minRuleThickness in rendering options (#1964)
    • Add \plim (#1952)
    • Support Unicode \digamma (#2010)
    • Support \operatorname* (#1899)
    • Support \includegraphics, with appropriate trust setting (#2053)
    • Add render-a11y-string add-on (#2062)

    Changed

    • DOC: Fix path to built file (#1976)
    • Remove unclosed TODO comment (#1979)
    • Add "Tutti Quanti Shelf" app to users page (#1997)
    • Document mhchem \cf not supported (use \ce instead) (#2008)
    • Replace greenkeeper badge with dependabot badge (#2022)
    • Add Unicode digamma to documentation (#2045)
    • Add katex-expression to libs page (#2049)
    • Suggest in documentation (#2052)
    • Unicode characters in math render in text mode (#2040)

    Fixed

    • Improve output of fonts in MathML (#1965)
    • Fix \pmb (#1924)
    • \color affects following \right, put array cells in their own groups (#1845)
    • Improve MathML for classes (#1929)
    • Prevent gaps in tall delimiters (#1986)
    • Fix \sqrt SVG path (#2009)
    • Do not force sizing groups to display inline-block (#2044)
    • Fix font choice in operators like \log (e.g. \boldsymbol{\log}) (#2041)
    • Fix argument font sizing in \fbox and \raisebox, fix font sizing in \TeX, \LaTeX, \KaTeX (#1787)
  • 0.10.2 - 2019-05-13

    Added

    • Approximate font metrics only when metrics don't exist (#1898)
    • Add KaTeX version to stylesheet and troubleshooting guide (#1893)
    • Add symbol double square brackets (#1947, #1954)
    • Support double-square curly braces (#1953)

    Changed

    • Upgrade minimum development Node version to v8 (#1861)
    • Disable @babel/env debug (#1874)
    • Add issue templates (#1862)
    • Added 'katex-element' (#1905)
    • Fix Users' logo and url (#1896)
    • Load fonts before running screenshotter (#1891)
    • Add Browserstack logo (#1879)
    • Added Android library (#1943)
    • Move custom colors used by Khan into macros.js (#1933)
    • Test for duplicate symbols/macros (#1955)
    • Include extensions mhchem & copy-tex in home-page (#1932)
    • Re-added code for \includegraphics but disabled the function until trust settings is merged (#1951)

    Fixed

    • Fix \Rho (#1870)
    • Fix nested \dfrac (#1825)
    • Improve MathML accents (#1877)
    • Improve MathML for \overset, \stackrel, and \underset (#1886)
    • Fix \not (U+E020) RBearing (width) (#1878)
    • Fix ApplyFunction character (#1890)
    • Improve MathML for \limits (#1897)
    • Improve MathML for \hphantom and \vphantom (#1883)
    • Improve MathML for \coloneqq, \dblcolon, \eqcolon, and \eqqcolon (#1889)
    • Improve MathML for \brace (#1884)
    • Fix \middle spacing (#1906)
    • Get a tall \middle\vert from MathML (#1911)
    • Improve more coloneq (#1902)
    • Make \smallint small in \displaystyle (#1907)
    • Improve MathML for characters in Unicode private use area (#1908)
    • Improve MathML for extensible arrows (#1901)
    • Improve MathML for \rule (#1912)
    • Improve MathML for fractions (#1882)
    • Improve MathML for \tag (#1915)
    • Improve MathML for \colorbox and \fcolorbox (#1914)
    • Improve MathML for environments (#1910)
    • Improve MathML for \genfrac barline (#1925)
    • Support \textup and \textmd (#1921)
    • Improve MathML for \not (#1923)
    • Improve MathML for \Bbbk (#1930)
    • Prevent inadvertent tall delims (#1948)
  • 0.10.1 - 2019-02-22

    Added

    • ECMAScript module for contrib (#1624)
    • mhchem extension (#1436)
    • auto-render: optional pre-process callback (#1784)
    • \argmax and \argmin (#1820)
    • \textbackslash and \textasciicircum (#1839)
    • leqno and fleqn support (#1814)

    Changed

    • Include only necessary fonts for target environment specified by Browserslist (#1674)

    Fixed

    • Support blackboard bold in text mode (#1757)
    • Fix spacings in semisimple groups (#1706)
    • Fix parsing comments (#1789)
    • Fix \ and \newline after operator (#1796)
    • Fix \hphantom width (#1809)
    • Remove double encoding in MathML (#1813)
    • Fix Unicode bigcup (#1836)
    • Fix \genfrac w/ empty delimiter arguments (#1816)
    • \fbox inherits default color (#1847)
    • Fix \not and \neq on Chrome 72 (#1852)
  • 0.10.0 - 2018-10-29

    KaTeX has a new domain, website, and documentation at https://katex.org!

    For the full list of changes since v0.9.0, see CHANGELOG.md.

    Added

    Changed

    Fixed

    • Remove duplicate defineFunction invocation for \mathop (#1701)
    • Fix tag positioning to live within katex-html parent (#1721)
    • Fix \mathit font and italic correction (#1700)
  • 0.10.0-rc.1 - 2018-08-22

    Same as v0.10.0-rc, but fixes #1652 non-transpiled ES6 module being an entry point.

  • 0.10.0-rc - 2018-08-19

    Possible breaking changes:

    • The folder structure of archives (tarball and zip) has been changed: files now reside at the root.
    • Only "http", "https", "mailto", and relative URLs are allowed in \href and \url by default.

    Bug fixes:

    • Update fonts to remove \neq and \notin glyphs (#1499)
    • Phantom text (#1449)
    • Fix arrowheads for mhchem <--> (#1451)
    • Set documentFragment.style to empty object (#1471)
    • Remove tree cloning before building HTML (#1470)
    • Fix \operatorname to support general math functions (#1461)
    • Use \not character without left side-bearing correction (#1267)
    • Remove codes that require expensive polyfill (#1469, #1563, #1591, #1597)
    • Fix \not vertical alignment (#1497)
    • Comments without terminating newlines, \href fixes, \url support (#1529)
    • Fix \textdaggerdbl (#1539)
    • Fix \neq (#1548, #1574)
    • Fix wide characters (#1549)
    • Fix \fbox (#1550)
    • Fix \Large roots (#1485)
    • index.html: replace font, make responsive, improve demo (#1547, #1577, #1615, #1601)

    New features:

    Other changes:

    • Port to @flow: buildMathML, parseNode (#1486, #1534, #1541, #1542, #1551, #1552, #1554, #1559, #1606, #1609, #1612, #1637)
    • Online screenshot diff/generation using CircleCI (#1187)
    • Add display/displayMode toggle on test page (#1193)
    • Change CDN links (#1243)
    • Changelog for KaTeX (#1322)
    • Move test helpers into common modules (#1318)
    • Add regenerate option to the screenshotter (#1220)
    • Upgrade to webpack 4 (#1337, #1435)
    • Automatic submodule updating via husky tool (#1391)
    • Refactor test helpers (#1336)
    • Change build directory to dist and cleanup NPM scripts (#1500, #1610)
    • Switch from nomnom to commander (#1496)
    • Add test job to CircleCI (#1235)
    • Switch npm to Yarn (#1522, #1528)
    • Improve release script & enable versioning documentation (#1521, #1603)
    • Enable stylelint-config-standard, lint CSS files (#1575)
    • Rename Screenshotter -> screenshotter (#1573)
  • 0.10.0-beta - 2018-06-11

    Bug fixes:

    • Cleanup MathML <mrow>, <mtext>, <mn> (#1338)
    • Add missing v prefix to the size badge URL (#1342)
    • Fix lap vertical alignment. (#1162)
    • Update contrib READMEs to jsdelivr v0.10.0-alpha (#1362)
    • Fix nested \tfrac (#1370)
    • Fix coloneq etc (#1372)
    • Fix wide character spacing (#1371)
    • Enable output modules to be used in browser or Node (#1401)
    • Fix auto-render \[…] bug (#1375)
    • Rewrite spacing commands as macros, improving MathML rendering (#1156)
    • Implement \neq and \notin via macros like LaTeX's (#1400)
    • Improve \cancel (#1398)
    • Fix ligatures vs. \tt (#1379)
    • Add min-height to \rule (#1417)
    • Automatic mrel/mbin spacing for \boldsymbol (#1388)

    New features:

    • Add regenerate option to the screenshotter (#1220)
    • \def support (and \gdef and \global\def) (#1348)
    • Support Unicode ⟂ ¬ ⊨ ‼ ∌ (#1377)
    • Support Unicode ≲ ⩽ ⪅ ≶ ⋚ ⪋ (#1389)
    • Change maxExpand limit to 1000 (#1383)
    • Support \cfrac (#1392)
    • Support \arraystretch as a macro definition (#1381)
    • Add ability to create a dashed vertical line in arrays, using ':' (#1395)
    • Add vertical kern to \vdots (#1402)
    • Support \widecheck (#1406)
    • Support \hdashline (#1407)
    • Implement \colon as amsmath does (#1410)
    • \newcommand, \renewcommand, \providecommand (#1382)
    • [plugin system] Add a utility function (setFontMetrics) to extend builtin fontMetrics (#1269)

    Other changes:

    • Move infix operator handling into functions/genfrac.js. (#1328)
    • Move environment delimiter handling to functions/environment.js. (#1329)
    • Move "raisebox" into functions/raisebox.js. (#1331)
    • Move "xArrow" into functions/arrow.js and add flow types. (#1327)
    • Move "horizBrace" into functions/horizBrace.js. (#1332)
    • Move HTML and MathML builders for symbol groups into src/functions/{symbolsOp,symbolsOrd}.js (#1334)
    • Move "spacing" builders to functions/symbolsSpacing.js. (#1335)
    • Move "ordgroup" and "tag" builders into functions/*. (#1339)
    • Update dependencies: less(-loader), uglifyjs-webpack-plugin, request (#1343)
    • Export htmlBuilder from accent, horizBrace, and op for supsub. (#1349)
    • Move "supsub" handers into functions/supsub.js and add flow types. (#1359)
    • Correct (type-wise) raisebox's usage of sizing's buildHtml. (#1361)
    • Update flow version and address type errors. (#1369)
    • Upgrade to webpack 4 (#1337)
    • Update dependencies to enable Greenkeeper 🌴 (#1368)
    • Make ParseNodeTypes more regular (#1373)
    • Enforce consistent object brace spacing (#1376)
    • Update package-lock.json (#1378)
    • Separate parsing of \left and \right for improved type safety. (#1386)
    • Make letter tests strict (#1385)
    • Update function handlers to return a ParseNode (#1393)
    • Update webpack-cli to the latest version 🚀 (#1397)
    • Replace ParseNode<*> with a more accurate AnyParseNode and fix flow errors (#1387)
    • Automatic submodule updating via husky tool (#1391)
    • chore(package): update flow-bin to version 0.74.0 (#1414)
    • Remove redundant \lbrack and \rbrack (#1416)
    • Edit \lbrack and \rbrack (#1420)
    • Port buildHTML to @flow. (#1408)
  • 0.10.0-alpha - 2018-05-20

    Bug fixes:

    • Nested Math in Non-Default Text Fix (#1111)
    • Fix contenteditable mode (#1179)
    • Work around negative space bug in Chrome (#1194)
    • Fix \nobreakspace, refactor "regular space" checking (#1200)
    • Fix cli.js: add nomnom dependency, add -u option (#1218)
    • Add metrics for \S and \P (#1224)
    • Fix anchor.toMarkup (#1246)
    • Specify height for SVG elements (#1252)
    • Include Bold-Italic fonts for \boldsymbol (#1257)
    • Fix space width in \texttt (#1261)
    • Fix \underset (#1277)
    • Switch makeGlue from .mord .rule to .mspace (#1295)
    • Stop throwing ParseError when throwOnError is false (#1169)
    • Fix extensible arrow sup vertical alignment (#1256)
    • Adjust \underset alignment and spacing (#1290)
    • Revert frac-lines to borders (#1249)
    • Fix underbrace (#1304)
    • Strict setting controls \newline display-mode behavior; fix MacroExpander space handling (#1314)

    New features:

    • unicodeTextInMathMode setting (#1117)
    • Support Unicode ° (#1203)
    • Add \yen support to text mode (#1208)
    • Support Unicode delimiters (#1207)
    • Support ( and fix instant mode switching for $, (, \text (#1213)
    • More Unicode letters (#1260)
    • Support Unicode \ll and \lll (#1273)
    • Add defineSymbol to the main katex object (#1263)
    • Greek caps (#1283)
    • Add version to katex object (#1279)
    • Support Unicode ≘≙≚≛≝≞≟ (#1274)
    • Support some Unicode Mathematical Alphanumeric Symbols (#1232)
    • \copyright, \textregistered, \textcircled support (#1073)
    • Tilde \textasciitilde and fix ~ in \verb (#1286)
    • Line breaks for inline formulas (#1287)
    • Support \hline (#1306)
    • Support for top-level \newline and \ in inline math (#1298)
    • Implement strict mode (replacing unicodeTextInMathMode) (#1278)
    • Allow all Unicode symbols in nonstrict mode (#1217)
    • Support \tag, \tag*, and \gdef (#1309)

    Other changes:

    • Add tests for __* internal interface (#1170)
    • Port delimiter.js to @flow. (#1177)
    • Add unicode-fonts as submodule (#1182)
    • Port spacingData and unicodeSymbols to @flow. (#1195)
    • Online screenshot diff/generation using CircleCI (#1187)
    • Implementing analyze script (#1197)
    • Add display/displayMode toggle on test page (#1193)
    • Format buildHTML groupType definitions in preparation for adding types (#1206)
    • Treat svg-wrapping spans differently from DOM-wrapping spans. (#1239)
    • List react-katex in Libraries (#1236)
    • Change CDN links (#1243)
    • Type correction to allow documentFragment to be children of span. (#1247)
    • Add size badge (#1253)
    • Fix typo in release.sh (#1280)
    • Alternate approach to capital Greek letters (#1285)
    • Remove special \verb space handling now that space is in Typewriter-Regular (#1258)
    • move retrieveBaseFontName and retrieveFontStylesName into retrieveTextFontName (#1300)
    • Update texcmp (#1297)
    • Document new error handling behavior (renderOnError) (#1302)
    • Make ParseNode value payload and defineFunction handler functions tpe-safe (#1276)
    • Cleanup domTree.js to re-use code (#1305)
    • One strut instead of two (#1307)
    • throwOnError documentation bug fix (#1308)
    • Documenting String.raw (#1198)
    • Make htmlBuilder and mathmlBuilder params type-safe. (#1312)
    • changelog for KaTeX - complete w/ links (#1322)
    • Move test helpers into common modules (#1318)
    • Move the rest of the ops from functions.js to functions/ops.js. (#1323)
    • Move "mclass" node logic to functions/mclass. (#1325)
    • Specify flow output types for htmlBuilder and mathmlBuilder. (#1324)
  • 0.9.0 - 2018-02-18

    Bug fixes:

    • Improve JS spacing (#1103)
    • Fix handling of Unicode characters ð, Å, å (#1157)
    • Padding over \sqrt and Paths for frac-line (#1143)

    New Features:

    • Italic Greek capital letters (#1118)
    • Add support for \mathring (#1125)
    • add support for unicode angle brackets, single vertical bar, double vertical bar (#1123)
    • Enable spacing functions in text mode (#1139)
    • Support Reaction Arrows (#1078)
    • Add \nobreakspace (#1145)
    • Support Unicode colon equals (#1151)
    • Support \underline in text mode (#1159)

    Other Changes:

    • add perf tests, fixes #1053 (#1054)
    • extract sizing and styling implicit functions (#1116)
    • move katex.less into src (#1120)
    • extract font functions and implicit color function (#1119)
    • Set webpack-dev-server host to 0.0.0.0 (#1122)
    • Enable hot module replacement(HMR) (#1100)
    • set up code coverage (#1140)
    • Remove Makefile and migrate to NPM scripts (#1135)
    • Update NPM scripts and documentation (#1146)
    • move metrics to katex-fonts submodule (#1134)
    • add .codecov.yml and disable patch coverage (#1164)
    • Add a paragraph about injection safety (#1161)
from katex GitHub release notes

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Production Build: Failed to minify the code Write a performance test harness and test suite
1 participant