Skip to content

Latest commit

 

History

History
80 lines (64 loc) · 4.23 KB

File metadata and controls

80 lines (64 loc) · 4.23 KB

Third-Party Notices

This product includes software developed by third parties. All components below are under permissive licenses (MIT, BSD-2-Clause, Apache-2.0, MPL-2.0, OFL-1.1); none is copyleft.

Standard license texts: MIT, BSD-2-Clause, Apache-2.0, MPL-2.0. The OFL requires its text to travel with the fonts, so it is included in full: licenses/KaTeX-fonts-OFL-1.1.txt.

Swift dependencies (fetched at build time)

swift-markdown — Apache-2.0

swift-cmark (gfm branch) — BSD-2-Clause and MIT

Pulled in transitively by swift-markdown. Multi-licensed, with several named holders:

  • BSD-2-Clause: Copyright (c) 2014, John MacFarlane (cmark core)
  • MIT: Copyright (c) 2012, Github, Inc. (buffer); Copyright (c) 2012, Vicent Marti (houdini); Copyright (c) 2008-2009, Björn Höhrmann and Public Software Group (utf8 decoder); Copyright (c) 2015, Karl Dubost (normalization)
  • https://github.com/swiftlang/swift-cmark

Vendored files (copied into this repository)

mermaid v10.9.6 — MIT

  • Copyright: Knut Sveidqvist and mermaid contributors
  • https://github.com/mermaid-js/mermaid
  • Bundled verbatim as Resources/mermaid.min.js (sha256 eda3a0ad572bbe69a318c1be0163e8233dd824f3f12939e5168feba207767151, byte-identical to the official mermaid@10.9.6/dist/mermaid.min.js). Used transiently in an offscreen WebKit view, only on a diagram cache miss.

KaTeX v0.17.0 — MIT (JavaScript)

  • Copyright (c) 2013-2020 Khan Academy and other contributors
  • https://github.com/KaTeX/KaTeX
  • Bundled verbatim as Resources/katex.min.js (from katex@0.17.0/dist/katex.min.js). Used transiently in an offscreen WebKit view, only on a formula cache miss.

KaTeX fonts — SIL Open Font License 1.1

Not covered by KaTeX's MIT licence, which is for its code only. Verified by reading the licence field (name ID 13) out of the shipped font binaries; all 20 carry the same notice.

  • Copyright (c) 2009-2010, Design Science, Inc. (www.mathjax.org)
  • Copyright (c) 2014-2018 Khan Academy (www.khanacademy.org), with Reserved Font Name KaTeX_*
  • Derived from MathJax's TeX fonts.
  • The 20 KaTeX_*.woff2 files are embedded as data: URIs inside Resources/katex-inlined.min.css (generated by Scripts/build-katex-css.sh) — embedding them is still redistribution, so the full licence ships alongside: licenses/KaTeX-fonts-OFL-1.1.txt, copied into the app bundle too.

Libraries embedded inside Resources/mermaid.min.js

That file is mermaid's pre-bundled distribution, so it also contains these projects verbatim. They are listed here because copying the bundle copies them too.

Library License Copyright
js-yaml MIT Vitaly Puzrin and contributors
DOMPurify Apache-2.0 or MPL-2.0 (dual — either may be chosen) Dr.-Ing. Mario Heiderich, Cure53
KaTeX MIT Khan Academy and contributors (code only — mermaid bundles no fonts; ours are listed above)
cytoscape.js MIT The Cytoscape Consortium
dagre / dagre-d3 MIT Chris Pettitt and contributors
D3 ISC Mike Bostock

Smaller snippets carrying their own notices inside the same bundle:

  • Thenable (Promises/A+ shim) — MIT, Copyright (c) 2013-2014 Ralf S. Engelschall
  • bezier-easing — MIT, Copyright Gaetan Renaudeau
  • Spring physics adapted from Framer.js — MIT, Copyright Koen Bok

Notes on scope

  • Sources/ and Scripts/ contain no copied or ported third-party code (audited by grepping for copyright/provenance markers — no hits).
  • The app icon (Resources/AppIcon.icns, Resources/AppIcon-1024.png) is original work.
  • The only third-party fonts bundled are KaTeX's, above (OFL-1.1). Everything else the reader draws uses the fonts already on the Mac.