reactive-md 0.5.3 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/CHANGELOG-ch.md +195 -165
  2. package/CHANGELOG.md +195 -165
  3. package/CONTRIBUTING-ch.md +67 -62
  4. package/CONTRIBUTING.md +69 -64
  5. package/README-ch.md +157 -155
  6. package/README-en.md +184 -181
  7. package/README.md +184 -181
  8. package/SECURITY-ch.md +81 -81
  9. package/SECURITY.md +81 -81
  10. package/THIRD_PARTY_NOTICES.md +585 -1
  11. package/bin/reactive-md.mjs +39 -39
  12. package/cli/args.mjs +181 -181
  13. package/cli/assets.mjs +390 -390
  14. package/cli/build.mjs +268 -268
  15. package/cli/document.mjs +130 -130
  16. package/cli/errors.mjs +61 -61
  17. package/cli/fs-utils.mjs +133 -133
  18. package/cli/glob.mjs +203 -203
  19. package/cli/help.mjs +138 -138
  20. package/cli/lint.mjs +177 -177
  21. package/cli/main.mjs +55 -55
  22. package/cli/migrate.mjs +368 -368
  23. package/cli/package.mjs +210 -210
  24. package/dist-library/{authoring-DJJjKYg9.js → authoring-BEVyth5X.js} +58 -58
  25. package/dist-library/compiler-Cm3ppMxG.js +46044 -0
  26. package/dist-library/react-Bh7_oxZp.js +59655 -0
  27. package/dist-library/reactive-md-authoring.js +2 -2
  28. package/dist-library/reactive-md-editor.js +13 -0
  29. package/dist-library/reactive-md-print.css +284 -284
  30. package/dist-library/reactive-md-react-unstyled.js +1 -1
  31. package/dist-library/reactive-md-react.js +1 -1
  32. package/dist-library/reactive-md.css +1 -1
  33. package/dist-library/reactive-md.js +123 -123
  34. package/dist-library/{runtime-DXtle_6c.js → runtime-DlFYQ4s_.js} +151 -151
  35. package/dist-library/types/editor/types.d.ts +2 -0
  36. package/dist-library/types/local/code-block.d.ts +3 -1
  37. package/dist-library/types/local/code-languages.d.ts +7 -0
  38. package/dist-library/types/local/compiled-data.d.ts +6 -0
  39. package/dist-library/types/local/compiler.d.ts +1 -0
  40. package/dist-library/types/local/diagnostics.d.ts +31 -0
  41. package/dist-library/types/local/diagram-layout.d.ts +69 -0
  42. package/dist-library/types/local/html-names.d.ts +6 -0
  43. package/dist-library/types/local/html-table.d.ts +25 -0
  44. package/dist-library/types/local/math-display.d.ts +22 -22
  45. package/dist-library/types/local/math-view.d.ts +6 -7
  46. package/dist-library/types/local/table-surface.d.ts +10 -0
  47. package/dist-library/types/local/types.d.ts +2 -0
  48. package/dist-library/types/local/visuals.d.ts +9 -0
  49. package/dist-standalone/reactive-md-standalone.css +1 -1
  50. package/dist-standalone/reactive-md-standalone.js +331 -51
  51. package/docs/README.md +84 -0
  52. package/docs/{compatibility-ch.md → compatibility/compatibility-ch.md} +121 -109
  53. package/docs/{compatibility-en.md → compatibility/compatibility-en.md} +121 -109
  54. package/docs/{source-versioning-ch.md → compatibility/source-versioning-ch.md} +159 -159
  55. package/docs/{source-versioning-en.md → compatibility/source-versioning-en.md} +159 -159
  56. package/docs/{component-development-ch.md → development/component-development-ch.md} +210 -210
  57. package/docs/{component-development-en.md → development/component-development-en.md} +210 -210
  58. package/docs/{component-protocol-ch.md → development/component-protocol-ch.md} +747 -747
  59. package/docs/{component-protocol-en.md → development/component-protocol-en.md} +747 -747
  60. package/docs/{performance-ch.md → development/performance-ch.md} +76 -76
  61. package/docs/{performance-en.md → development/performance-en.md} +76 -76
  62. package/docs/{releasing-ch.md → development/releasing-ch.md} +108 -108
  63. package/docs/{releasing-en.md → development/releasing-en.md} +108 -108
  64. package/docs/guides/local-guide-ch.md +513 -0
  65. package/docs/guides/local-guide-en.md +513 -0
  66. package/docs/{author-tools-ch.md → integration/author-tools-ch.md} +57 -57
  67. package/docs/{author-tools-en.md → integration/author-tools-en.md} +57 -57
  68. package/docs/{editor-ch.md → integration/editor-ch.md} +7 -6
  69. package/docs/{editor-en.md → integration/editor-en.md} +7 -6
  70. package/docs/{local-integration-ch.md → integration/local-integration-ch.md} +33 -15
  71. package/docs/{local-integration-en.md → integration/local-integration-en.md} +33 -15
  72. package/docs/{shareable-export-ch.md → integration/shareable-export-ch.md} +221 -209
  73. package/docs/{shareable-export-en.md → integration/shareable-export-en.md} +223 -211
  74. package/docs/{computations-formatting-ch.md → reference/computations-formatting-ch.md} +87 -87
  75. package/docs/{computations-formatting-en.md → reference/computations-formatting-en.md} +87 -87
  76. package/docs/{constraints-collections-ch.md → reference/constraints-collections-ch.md} +84 -84
  77. package/docs/{constraints-collections-en.md → reference/constraints-collections-en.md} +84 -84
  78. package/docs/{diagnostics-counting-ch.md → reference/diagnostics-counting-ch.md} +104 -84
  79. package/docs/{diagnostics-counting-en.md → reference/diagnostics-counting-en.md} +104 -84
  80. package/docs/{html-compatibility-ch.md → reference/html-compatibility-ch.md} +42 -4
  81. package/docs/{html-compatibility-en.md → reference/html-compatibility-en.md} +42 -4
  82. package/docs/{local-components-v2-ch.md → reference/local-components-v2-ch.md} +138 -138
  83. package/docs/{local-components-v2-en.md → reference/local-components-v2-en.md} +104 -104
  84. package/docs/{local-interaction-syntax-ch.md → reference/local-interaction-syntax-ch.md} +515 -492
  85. package/docs/{local-interaction-syntax-en.md → reference/local-interaction-syntax-en.md} +511 -488
  86. package/docs/{theme-protocol-ch.md → reference/theme-protocol-ch.md} +107 -107
  87. package/docs/{theme-protocol-en.md → reference/theme-protocol-en.md} +107 -107
  88. package/docs/{release-0.4.0-ch.md → releases/release-0.4.0-ch.md} +89 -89
  89. package/docs/{release-0.4.0-en.md → releases/release-0.4.0-en.md} +89 -89
  90. package/docs/{release-0.4.1-ch.md → releases/release-0.4.1-ch.md} +23 -23
  91. package/docs/{release-0.4.1-en.md → releases/release-0.4.1-en.md} +23 -23
  92. package/docs/{release-0.5.0-ch.md → releases/release-0.5.0-ch.md} +4 -4
  93. package/docs/{release-0.5.0-en.md → releases/release-0.5.0-en.md} +4 -4
  94. package/docs/{release-0.5.1-ch.md → releases/release-0.5.1-ch.md} +4 -4
  95. package/docs/{release-0.5.1-en.md → releases/release-0.5.1-en.md} +4 -4
  96. package/docs/{release-0.5.2-ch.md → releases/release-0.5.2-ch.md} +3 -3
  97. package/docs/{release-0.5.2-en.md → releases/release-0.5.2-en.md} +3 -3
  98. package/docs/{release-0.5.3-ch.md → releases/release-0.5.3-ch.md} +1 -1
  99. package/docs/{release-0.5.3-en.md → releases/release-0.5.3-en.md} +1 -1
  100. package/docs/releases/release-0.6.0-ch.md +57 -0
  101. package/docs/releases/release-0.6.0-en.md +57 -0
  102. package/docs/releases/release-0.6.1-ch.md +27 -0
  103. package/docs/releases/release-0.6.1-en.md +27 -0
  104. package/examples/conformance/README.md +53 -53
  105. package/examples/conformance/component-protocol-1.json +482 -482
  106. package/examples/conformance/component-protocol-1.schema.json +76 -76
  107. package/examples/conformance/local-draft-1.json +50 -50
  108. package/examples/conformance/local-draft-2.json +212 -212
  109. package/examples/integration/README.md +47 -45
  110. package/examples/integration/core/index.mjs +32 -32
  111. package/examples/integration/worker/index.html +19 -19
  112. package/examples/integration/worker/main.js +61 -61
  113. package/examples/integration/worker/package.json +13 -13
  114. package/examples/integration/worker/worker.js +3 -3
  115. package/examples/local/README.md +74 -74
  116. package/examples/local/charts.reactive.md +73 -73
  117. package/examples/local/html-compat.reactive.md +19 -0
  118. package/examples/local/recipes/invoice-zh.reactive.md +36 -36
  119. package/examples/local/recipes/invoice.reactive.md +36 -36
  120. package/examples/local/recipes/workshop-zh.reactive.md +33 -33
  121. package/examples/local/recipes/workshop.reactive.md +33 -33
  122. package/examples/local/showcase/README.md +25 -25
  123. package/examples/local/showcase/explore.reactive.md +102 -102
  124. package/examples/local/showcase/flow.reactive.md +86 -86
  125. package/examples/local/showcase/forms.reactive.md +126 -126
  126. package/examples/local/showcase/functions.reactive.md +119 -119
  127. package/examples/local/showcase/layout.reactive.md +100 -100
  128. package/examples/local/showcase/statistics.reactive.md +108 -108
  129. package/examples/local/showcase/tasks.reactive.md +89 -89
  130. package/examples/local/showcase/zh/explore.reactive.md +102 -102
  131. package/examples/local/showcase/zh/flow.reactive.md +86 -86
  132. package/examples/local/showcase/zh/forms.reactive.md +126 -126
  133. package/examples/local/showcase/zh/functions.reactive.md +119 -119
  134. package/examples/local/showcase/zh/layout.reactive.md +100 -100
  135. package/examples/local/showcase/zh/statistics.reactive.md +108 -108
  136. package/examples/local/showcase/zh/tasks.reactive.md +89 -89
  137. package/package.json +152 -145
  138. package/dist-library/compiler-UyPwGzJZ.js +0 -22109
  139. package/dist-library/react-fizgU3i8.js +0 -12764
  140. package/docs/local-guide-ch.md +0 -967
  141. package/docs/local-guide-en.md +0 -967
@@ -1,6 +1,6 @@
1
1
  # Third-party notices
2
2
 
3
- Reactive MD bundles its Markdown, HTML parsing and syntax-highlighting dependencies. The standalone HTML runtime also bundles React, React DOM and scheduler. This file preserves license texts for those installed dependency trees, including supporting type packages. The library React entry uses host-provided React and React DOM peers.
3
+ Reactive MD bundles its Markdown, HTML parsing, syntax-highlighting, diagram-layout and KaTeX math typesetting dependencies, including KaTeX fonts and the mhchem extension. The standalone HTML runtime also bundles React, React DOM and scheduler. This file preserves license texts for those installed dependency trees, including supporting type packages. The library React entry uses host-provided React and React DOM peers.
4
4
 
5
5
  Regenerate after dependency updates with `node scripts/generate-notices.mjs`.
6
6
 
@@ -231,6 +231,35 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
231
231
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
232
232
  ```
233
233
 
234
+ ## commander@15.0.0
235
+
236
+ Declared license: MIT
237
+
238
+ ```text
239
+ (The MIT License)
240
+
241
+ Copyright (c) 2011 TJ Holowaychuk <tj@vision-media.ca>
242
+
243
+ Permission is hereby granted, free of charge, to any person obtaining
244
+ a copy of this software and associated documentation files (the
245
+ 'Software'), to deal in the Software without restriction, including
246
+ without limitation the rights to use, copy, modify, merge, publish,
247
+ distribute, sublicense, and/or sell copies of the Software, and to
248
+ permit persons to whom the Software is furnished to do so, subject to
249
+ the following conditions:
250
+
251
+ The above copyright notice and this permission notice shall be
252
+ included in all copies or substantial portions of the Software.
253
+
254
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
255
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
256
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
257
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
258
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
259
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
260
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
261
+ ```
262
+
234
263
  ## debug@4.4.3
235
264
 
236
265
  Declared license: MIT
@@ -343,6 +372,278 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
343
372
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
344
373
  ```
345
374
 
375
+ ## elkjs@0.12.0
376
+
377
+ Declared license: EPL-2.0 OR GPL-3.0-or-later
378
+
379
+ ELK source is available under the Eclipse Public License 2.0 at https://github.com/kieler/elkjs and https://github.com/eclipse-elk/elk.
380
+
381
+ ```text
382
+ # Eclipse Public License - v 2.0
383
+
384
+ THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE
385
+ PUBLIC LICENSE (“AGREEMENT”). ANY USE, REPRODUCTION OR DISTRIBUTION OF
386
+ THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
387
+
388
+ ## 1. DEFINITIONS
389
+
390
+ “Contribution” means:
391
+
392
+ - a\) in the case of the initial Contributor, the initial content
393
+ Distributed under this Agreement, and
394
+ - b\) in the case of each subsequent Contributor:
395
+ - i\) changes to the Program, and
396
+ - ii\) additions to the Program;
397
+
398
+ where such changes and/or additions to the Program originate from
399
+ and are Distributed by that particular Contributor. A Contribution
400
+ “originates” from a Contributor if it was added to the Program by
401
+ such Contributor itself or anyone acting on such Contributor's
402
+ behalf. Contributions do not include changes or additions to the
403
+ Program that are not Modified Works.
404
+
405
+ “Contributor” means any person or entity that Distributes the Program.
406
+
407
+ “Licensed Patents” mean patent claims licensable by a Contributor which
408
+ are necessarily infringed by the use or sale of its Contribution alone
409
+ or when combined with the Program.
410
+
411
+ “Program” means the Contributions Distributed in accordance with this
412
+ Agreement.
413
+
414
+ “Recipient” means anyone who receives the Program under this Agreement
415
+ or any Secondary License (as applicable), including Contributors.
416
+
417
+ “Derivative Works” shall mean any work, whether in Source Code or other
418
+ form, that is based on (or derived from) the Program and for which the
419
+ editorial revisions, annotations, elaborations, or other modifications
420
+ represent, as a whole, an original work of authorship.
421
+
422
+ “Modified Works” shall mean any work in Source Code or other form that
423
+ results from an addition to, deletion from, or modification of the
424
+ contents of the Program, including, for purposes of clarity any new file
425
+ in Source Code form that contains any contents of the Program. Modified
426
+ Works shall not include works that contain only declarations,
427
+ interfaces, types, classes, structures, or files of the Program solely
428
+ in each case in order to link to, bind by name, or subclass the Program
429
+ or Modified Works thereof.
430
+
431
+ “Distribute” means the acts of a) distributing or b) making available in
432
+ any manner that enables the transfer of a copy.
433
+
434
+ “Source Code” means the form of a Program preferred for making
435
+ modifications, including but not limited to software source code,
436
+ documentation source, and configuration files.
437
+
438
+ “Secondary License” means either the GNU General Public License, Version
439
+ 2.0, or any later versions of that license, including any exceptions or
440
+ additional permissions as identified by the initial Contributor.
441
+
442
+ ## 2. GRANT OF RIGHTS
443
+
444
+ - a\) Subject to the terms of this Agreement, each Contributor hereby
445
+ grants Recipient a non-exclusive, worldwide, royalty-free copyright
446
+ license to reproduce, prepare Derivative Works of, publicly display,
447
+ publicly perform, Distribute and sublicense the Contribution of such
448
+ Contributor, if any, and such Derivative Works.
449
+ - b\) Subject to the terms of this Agreement, each Contributor hereby
450
+ grants Recipient a non-exclusive, worldwide, royalty-free patent license
451
+ under Licensed Patents to make, use, sell, offer to sell, import and
452
+ otherwise transfer the Contribution of such Contributor, if any, in
453
+ Source Code or other form. This patent license shall apply to the
454
+ combination of the Contribution and the Program if, at the time the
455
+ Contribution is added by the Contributor, such addition of the
456
+ Contribution causes such combination to be covered by the
457
+ Licensed Patents. The patent license shall not apply to any other
458
+ combinations which include the Contribution. No hardware per se is
459
+ licensed hereunder.
460
+ - c\) Recipient understands that although each Contributor grants the
461
+ licenses to its Contributions set forth herein, no assurances are
462
+ provided by any Contributor that the Program does not infringe the
463
+ patent or other intellectual property rights of any other entity. Each
464
+ Contributor disclaims any liability to Recipient for claims brought by
465
+ any other entity based on infringement of intellectual property rights
466
+ or otherwise. As a condition to exercising the rights and licenses
467
+ granted hereunder, each Recipient hereby assumes sole responsibility to
468
+ secure any other intellectual property rights needed, if any. For
469
+ example, if a third party patent license is required to allow Recipient
470
+ to Distribute the Program, it is Recipient's responsibility to acquire
471
+ that license before distributing the Program.
472
+ - d\) Each Contributor represents that to its knowledge it has sufficient
473
+ copyright rights in its Contribution, if any, to grant the copyright
474
+ license set forth in this Agreement.
475
+ - e\) Notwithstanding the terms of any Secondary License, no Contributor
476
+ makes additional grants to any Recipient (other than those set forth in
477
+ this Agreement) as a result of such Recipient's receipt of the Program
478
+ under the terms of a Secondary License (if permitted under the terms of
479
+ Section 3).
480
+
481
+ ## 3. REQUIREMENTS
482
+
483
+ 3.1 If a Contributor Distributes the Program in any form, then:
484
+
485
+ - a\) the Program must also be made available as Source Code, in accordance
486
+ with section 3.2, and the Contributor must accompany the Program with a
487
+ statement that the Source Code for the Program is available under this
488
+ Agreement, and informs Recipients how to obtain it in a reasonable
489
+ manner on or through a medium customarily used for software exchange;
490
+ and
491
+ - b\) the Contributor may Distribute the Program under a license different
492
+ than this Agreement, provided that such license:
493
+ - i\) effectively disclaims on behalf of all other Contributors all
494
+ warranties and conditions, express and implied, including warranties or
495
+ conditions of title and non-infringement, and implied warranties or
496
+ conditions of merchantability and fitness for a particular purpose;
497
+ - ii\) effectively excludes on behalf of all other Contributors all
498
+ liability for damages, including direct, indirect, special, incidental
499
+ and consequential damages, such as lost profits;
500
+ - iii\) does not attempt to limit or alter the recipients' rights in the
501
+ Source Code under section 3.2; and
502
+ - iv\) requires any subsequent distribution of the Program by any party to
503
+ be under a license that satisfies the requirements of this section 3.
504
+
505
+ 3.2 When the Program is Distributed as Source Code:
506
+
507
+ - a\) it must be made available under this Agreement, or if the Program (i)
508
+ is combined with other material in a separate file or files made
509
+ available under a Secondary License, and (ii) the initial Contributor
510
+ attached to the Source Code the notice described in Exhibit A of this
511
+ Agreement, then the Program may be made available under the terms of
512
+ such Secondary Licenses, and
513
+ - b\) a copy of this Agreement must be included with each copy of
514
+ the Program.
515
+
516
+ 3.3 Contributors may not remove or alter any copyright, patent,
517
+ trademark, attribution notices, disclaimers of warranty, or limitations
518
+ of liability (‘notices’) contained within the Program from any copy of
519
+ the Program which they Distribute, provided that Contributors may add
520
+ their own appropriate notices.
521
+
522
+ ## 4. COMMERCIAL DISTRIBUTION
523
+
524
+ Commercial distributors of software may accept certain responsibilities
525
+ with respect to end users, business partners and the like. While this
526
+ license is intended to facilitate the commercial use of the Program, the
527
+ Contributor who includes the Program in a commercial product offering
528
+ should do so in a manner which does not create potential liability for
529
+ other Contributors. Therefore, if a Contributor includes the Program in
530
+ a commercial product offering, such Contributor (“Commercial
531
+ Contributor”) hereby agrees to defend and indemnify every other
532
+ Contributor (“Indemnified Contributor”) against any losses, damages and
533
+ costs (collectively “Losses”) arising from claims, lawsuits and other
534
+ legal actions brought by a third party against the Indemnified
535
+ Contributor to the extent caused by the acts or omissions of such
536
+ Commercial Contributor in connection with its distribution of the
537
+ Program in a commercial product offering. The obligations in this
538
+ section do not apply to any claims or Losses relating to any actual or
539
+ alleged intellectual property infringement. In order to qualify, an
540
+ Indemnified Contributor must: a) promptly notify the Commercial
541
+ Contributor in writing of such claim, and b) allow the Commercial
542
+ Contributor to control, and cooperate with the Commercial Contributor
543
+ in, the defense and any related settlement negotiations. The Indemnified
544
+ Contributor may participate in any such claim at its own expense.
545
+
546
+ For example, a Contributor might include the Program in a commercial
547
+ product offering, Product X. That Contributor is then a Commercial
548
+ Contributor. If that Commercial Contributor then makes performance
549
+ claims, or offers warranties related to Product X, those performance
550
+ claims and warranties are such Commercial Contributor's responsibility
551
+ alone. Under this section, the Commercial Contributor would have to
552
+ defend claims against the other Contributors related to those
553
+ performance claims and warranties, and if a court requires any other
554
+ Contributor to pay any damages as a result, the Commercial Contributor
555
+ must pay those damages.
556
+
557
+ ## 5. NO WARRANTY {#warranty}
558
+
559
+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT
560
+ PERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN “AS IS”
561
+ BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
562
+ IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF
563
+ TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
564
+ PURPOSE. Each Recipient is solely responsible for determining the
565
+ appropriateness of using and distributing the Program and assumes all
566
+ risks associated with its exercise of rights under this Agreement,
567
+ including but not limited to the risks and costs of program errors,
568
+ compliance with applicable laws, damage to or loss of data, programs or
569
+ equipment, and unavailability or interruption of operations.
570
+
571
+ ## 6. DISCLAIMER OF LIABILITY {#disclaimer}
572
+
573
+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT
574
+ PERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS
575
+ SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
576
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST
577
+ PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
578
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
579
+ ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE
580
+ EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE
581
+ POSSIBILITY OF SUCH DAMAGES.
582
+
583
+ ## 7. GENERAL
584
+
585
+ If any provision of this Agreement is invalid or unenforceable under
586
+ applicable law, it shall not affect the validity or enforceability of
587
+ the remainder of the terms of this Agreement, and without further action
588
+ by the parties hereto, such provision shall be reformed to the minimum
589
+ extent necessary to make such provision valid and enforceable.
590
+
591
+ If Recipient institutes patent litigation against any entity (including
592
+ a cross-claim or counterclaim in a lawsuit) alleging that the Program
593
+ itself (excluding combinations of the Program with other software or
594
+ hardware) infringes such Recipient's patent(s), then such Recipient's
595
+ rights granted under Section 2(b) shall terminate as of the date such
596
+ litigation is filed.
597
+
598
+ All Recipient's rights under this Agreement shall terminate if it fails
599
+ to comply with any of the material terms or conditions of this Agreement
600
+ and does not cure such failure in a reasonable period of time after
601
+ becoming aware of such noncompliance. If all Recipient's rights under
602
+ this Agreement terminate, Recipient agrees to cease use and distribution
603
+ of the Program as soon as reasonably practicable. However, Recipient's
604
+ obligations under this Agreement and any licenses granted by Recipient
605
+ relating to the Program shall continue and survive.
606
+
607
+ Everyone is permitted to copy and distribute copies of this Agreement,
608
+ but in order to avoid inconsistency the Agreement is copyrighted and may
609
+ only be modified in the following manner. The Agreement Steward reserves
610
+ the right to publish new versions (including revisions) of this
611
+ Agreement from time to time. No one other than the Agreement Steward has
612
+ the right to modify this Agreement. The Eclipse Foundation is the
613
+ initial Agreement Steward. The Eclipse Foundation may assign the
614
+ responsibility to serve as the Agreement Steward to a suitable separate
615
+ entity. Each new version of the Agreement will be given a distinguishing
616
+ version number. The Program (including Contributions) may always be
617
+ Distributed subject to the version of the Agreement under which it was
618
+ received. In addition, after a new version of the Agreement is
619
+ published, Contributor may elect to Distribute the Program (including
620
+ its Contributions) under the new version.
621
+
622
+ Except as expressly stated in Sections 2(a) and 2(b) above, Recipient
623
+ receives no rights or licenses to the intellectual property of any
624
+ Contributor under this Agreement, whether expressly, by implication,
625
+ estoppel or otherwise. All rights in the Program not expressly granted
626
+ under this Agreement are reserved. Nothing in this Agreement is intended
627
+ to be enforceable by any entity that is not a Contributor or Recipient.
628
+ No third-party beneficiary rights are created under this Agreement.
629
+
630
+ ## Exhibit A – Form of Secondary Licenses Notice {#exhibit-a}
631
+
632
+ “This Source Code may also be made available under the following
633
+ Secondary Licenses when the conditions for such availability set forth
634
+ in the Eclipse Public License, v. 2.0 are satisfied: GNU General Public License v3.0 or later”
635
+
636
+ > Simply including a copy of this Agreement, including this Exhibit A is
637
+ > not sufficient to license the Source Code under Secondary Licenses.
638
+ >
639
+ > If it is not possible or desirable to put the notice in a particular
640
+ > file, then You may include the notice in a location (such as a LICENSE
641
+ > file in a relevant directory) where a recipient would be likely to
642
+ > look for such a notice.
643
+ >
644
+ > You may add additional accurate notices of copyright ownership.
645
+ ```
646
+
346
647
  ## entities@8.1.0
347
648
 
348
649
  Declared license: BSD-2-Clause
@@ -458,6 +759,34 @@ The above copyright notice and this permission notice shall be included in all c
458
759
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
459
760
  ```
460
761
 
762
+ ## katex@0.19.1
763
+
764
+ Declared license: MIT
765
+
766
+ ```text
767
+ The MIT License (MIT)
768
+
769
+ Copyright (c) 2013-2020 Khan Academy and other contributors
770
+
771
+ Permission is hereby granted, free of charge, to any person obtaining a copy
772
+ of this software and associated documentation files (the "Software"), to deal
773
+ in the Software without restriction, including without limitation the rights
774
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
775
+ copies of the Software, and to permit persons to whom the Software is
776
+ furnished to do so, subject to the following conditions:
777
+
778
+ The above copyright notice and this permission notice shall be included in all
779
+ copies or substantial portions of the Software.
780
+
781
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
782
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
783
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
784
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
785
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
786
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
787
+ SOFTWARE.
788
+ ```
789
+
461
790
  ## longest-streak@3.1.0
462
791
 
463
792
  Declared license: MIT
@@ -2186,3 +2515,258 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
2186
2515
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
2187
2516
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2188
2517
  ```
2518
+
2519
+ ## KaTeX mhchem extension: upstream attribution
2520
+
2521
+ The bundled mhchem extension includes code adapted from MathJax mhchem, licensed under Apache-2.0. Its upstream notice and license follow.
2522
+
2523
+ ```text
2524
+ /* eslint-disable */
2525
+ /* -*- Mode: JavaScript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
2526
+ /* vim: set ts=2 et sw=2 tw=80: */
2527
+
2528
+ /*************************************************************
2529
+ *
2530
+ * KaTeX mhchem.js
2531
+ *
2532
+ * This file implements a KaTeX version of mhchem version 3.3.0.
2533
+ * It is adapted from MathJax/extensions/TeX/mhchem.js
2534
+ * It differs from the MathJax version as follows:
2535
+ * 1. The interface is changed so that it can be called from KaTeX, not MathJax.
2536
+ * 2. \rlap and \llap are replaced with \mathrlap and \mathllap.
2537
+ * 3. Four lines of code are edited in order to use \raisebox instead of \raise.
2538
+ * 4. The reaction arrow code is simplified. All reaction arrows are rendered
2539
+ * using KaTeX extensible arrows instead of building non-extensible arrows.
2540
+ * 5. \tripledash vertical alignment is slightly adjusted.
2541
+ *
2542
+ * This code, as other KaTeX code, is released under the MIT license.
2543
+ *
2544
+ * /*************************************************************
2545
+ *
2546
+ * MathJax/extensions/TeX/mhchem.js
2547
+ *
2548
+ * Implements the \ce command for handling chemical formulas
2549
+ * from the mhchem LaTeX package.
2550
+ *
2551
+ * ---------------------------------------------------------------------
2552
+ *
2553
+ * Copyright (c) 2011-2015 The MathJax Consortium
2554
+ * Copyright (c) 2015-2018 Martin Hensel
2555
+ *
2556
+ * Licensed under the Apache License, Version 2.0 (the "License");
2557
+ * you may not use this file except in compliance with the License.
2558
+ * You may obtain a copy of the License at
2559
+ *
2560
+ * http://www.apache.org/licenses/LICENSE-2.0
2561
+ *
2562
+ * Unless required by applicable law or agreed to in writing, software
2563
+ * distributed under the License is distributed on an "AS IS" BASIS,
2564
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2565
+ * See the License for the specific language governing permissions and
2566
+ * limitations under the License.
2567
+ */
2568
+ ```
2569
+
2570
+ ```text
2571
+ Apache License
2572
+ Version 2.0, January 2004
2573
+ http://www.apache.org/licenses/
2574
+
2575
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
2576
+
2577
+ 1. Definitions.
2578
+
2579
+ "License" shall mean the terms and conditions for use, reproduction,
2580
+ and distribution as defined by Sections 1 through 9 of this document.
2581
+
2582
+ "Licensor" shall mean the copyright owner or entity authorized by
2583
+ the copyright owner that is granting the License.
2584
+
2585
+ "Legal Entity" shall mean the union of the acting entity and all
2586
+ other entities that control, are controlled by, or are under common
2587
+ control with that entity. For the purposes of this definition,
2588
+ "control" means (i) the power, direct or indirect, to cause the
2589
+ direction or management of such entity, whether by contract or
2590
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
2591
+ outstanding shares, or (iii) beneficial ownership of such entity.
2592
+
2593
+ "You" (or "Your") shall mean an individual or Legal Entity
2594
+ exercising permissions granted by this License.
2595
+
2596
+ "Source" form shall mean the preferred form for making modifications,
2597
+ including but not limited to software source code, documentation
2598
+ source, and configuration files.
2599
+
2600
+ "Object" form shall mean any form resulting from mechanical
2601
+ transformation or translation of a Source form, including but
2602
+ not limited to compiled object code, generated documentation,
2603
+ and conversions to other media types.
2604
+
2605
+ "Work" shall mean the work of authorship, whether in Source or
2606
+ Object form, made available under the License, as indicated by a
2607
+ copyright notice that is included in or attached to the work
2608
+ (an example is provided in the Appendix below).
2609
+
2610
+ "Derivative Works" shall mean any work, whether in Source or Object
2611
+ form, that is based on (or derived from) the Work and for which the
2612
+ editorial revisions, annotations, elaborations, or other modifications
2613
+ represent, as a whole, an original work of authorship. For the purposes
2614
+ of this License, Derivative Works shall not include works that remain
2615
+ separable from, or merely link (or bind by name) to the interfaces of,
2616
+ the Work and Derivative Works thereof.
2617
+
2618
+ "Contribution" shall mean any work of authorship, including
2619
+ the original version of the Work and any modifications or additions
2620
+ to that Work or Derivative Works thereof, that is intentionally
2621
+ submitted to Licensor for inclusion in the Work by the copyright owner
2622
+ or by an individual or Legal Entity authorized to submit on behalf of
2623
+ the copyright owner. For the purposes of this definition, "submitted"
2624
+ means any form of electronic, verbal, or written communication sent
2625
+ to the Licensor or its representatives, including but not limited to
2626
+ communication on electronic mailing lists, source code control systems,
2627
+ and issue tracking systems that are managed by, or on behalf of, the
2628
+ Licensor for the purpose of discussing and improving the Work, but
2629
+ excluding communication that is conspicuously marked or otherwise
2630
+ designated in writing by the copyright owner as "Not a Contribution."
2631
+
2632
+ "Contributor" shall mean Licensor and any individual or Legal Entity
2633
+ on behalf of whom a Contribution has been received by Licensor and
2634
+ subsequently incorporated within the Work.
2635
+
2636
+ 2. Grant of Copyright License. Subject to the terms and conditions of
2637
+ this License, each Contributor hereby grants to You a perpetual,
2638
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
2639
+ copyright license to reproduce, prepare Derivative Works of,
2640
+ publicly display, publicly perform, sublicense, and distribute the
2641
+ Work and such Derivative Works in Source or Object form.
2642
+
2643
+ 3. Grant of Patent License. Subject to the terms and conditions of
2644
+ this License, each Contributor hereby grants to You a perpetual,
2645
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
2646
+ (except as stated in this section) patent license to make, have made,
2647
+ use, offer to sell, sell, import, and otherwise transfer the Work,
2648
+ where such license applies only to those patent claims licensable
2649
+ by such Contributor that are necessarily infringed by their
2650
+ Contribution(s) alone or by combination of their Contribution(s)
2651
+ with the Work to which such Contribution(s) was submitted. If You
2652
+ institute patent litigation against any entity (including a
2653
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
2654
+ or a Contribution incorporated within the Work constitutes direct
2655
+ or contributory patent infringement, then any patent licenses
2656
+ granted to You under this License for that Work shall terminate
2657
+ as of the date such litigation is filed.
2658
+
2659
+ 4. Redistribution. You may reproduce and distribute copies of the
2660
+ Work or Derivative Works thereof in any medium, with or without
2661
+ modifications, and in Source or Object form, provided that You
2662
+ meet the following conditions:
2663
+
2664
+ (a) You must give any other recipients of the Work or
2665
+ Derivative Works a copy of this License; and
2666
+
2667
+ (b) You must cause any modified files to carry prominent notices
2668
+ stating that You changed the files; and
2669
+
2670
+ (c) You must retain, in the Source form of any Derivative Works
2671
+ that You distribute, all copyright, patent, trademark, and
2672
+ attribution notices from the Source form of the Work,
2673
+ excluding those notices that do not pertain to any part of
2674
+ the Derivative Works; and
2675
+
2676
+ (d) If the Work includes a "NOTICE" text file as part of its
2677
+ distribution, then any Derivative Works that You distribute must
2678
+ include a readable copy of the attribution notices contained
2679
+ within such NOTICE file, excluding those notices that do not
2680
+ pertain to any part of the Derivative Works, in at least one
2681
+ of the following places: within a NOTICE text file distributed
2682
+ as part of the Derivative Works; within the Source form or
2683
+ documentation, if provided along with the Derivative Works; or,
2684
+ within a display generated by the Derivative Works, if and
2685
+ wherever such third-party notices normally appear. The contents
2686
+ of the NOTICE file are for informational purposes only and
2687
+ do not modify the License. You may add Your own attribution
2688
+ notices within Derivative Works that You distribute, alongside
2689
+ or as an addendum to the NOTICE text from the Work, provided
2690
+ that such additional attribution notices cannot be construed
2691
+ as modifying the License.
2692
+
2693
+ You may add Your own copyright statement to Your modifications and
2694
+ may provide additional or different license terms and conditions
2695
+ for use, reproduction, or distribution of Your modifications, or
2696
+ for any such Derivative Works as a whole, provided Your use,
2697
+ reproduction, and distribution of the Work otherwise complies with
2698
+ the conditions stated in this License.
2699
+
2700
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
2701
+ any Contribution intentionally submitted for inclusion in the Work
2702
+ by You to the Licensor shall be under the terms and conditions of
2703
+ this License, without any additional terms or conditions.
2704
+ Notwithstanding the above, nothing herein shall supersede or modify
2705
+ the terms of any separate license agreement you may have executed
2706
+ with Licensor regarding such Contributions.
2707
+
2708
+ 6. Trademarks. This License does not grant permission to use the trade
2709
+ names, trademarks, service marks, or product names of the Licensor,
2710
+ except as required for reasonable and customary use in describing the
2711
+ origin of the Work and reproducing the content of the NOTICE file.
2712
+
2713
+ 7. Disclaimer of Warranty. Unless required by applicable law or
2714
+ agreed to in writing, Licensor provides the Work (and each
2715
+ Contributor provides its Contributions) on an "AS IS" BASIS,
2716
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
2717
+ implied, including, without limitation, any warranties or conditions
2718
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
2719
+ PARTICULAR PURPOSE. You are solely responsible for determining the
2720
+ appropriateness of using or redistributing the Work and assume any
2721
+ risks associated with Your exercise of permissions under this License.
2722
+
2723
+ 8. Limitation of Liability. In no event and under no legal theory,
2724
+ whether in tort (including negligence), contract, or otherwise,
2725
+ unless required by applicable law (such as deliberate and grossly
2726
+ negligent acts) or agreed to in writing, shall any Contributor be
2727
+ liable to You for damages, including any direct, indirect, special,
2728
+ incidental, or consequential damages of any character arising as a
2729
+ result of this License or out of the use or inability to use the
2730
+ Work (including but not limited to damages for loss of goodwill,
2731
+ work stoppage, computer failure or malfunction, or any and all
2732
+ other commercial damages or losses), even if such Contributor
2733
+ has been advised of the possibility of such damages.
2734
+
2735
+ 9. Accepting Warranty or Additional Liability. While redistributing
2736
+ the Work or Derivative Works thereof, You may choose to offer,
2737
+ and charge a fee for, acceptance of support, warranty, indemnity,
2738
+ or other liability obligations and/or rights consistent with this
2739
+ License. However, in accepting such obligations, You may act only
2740
+ on Your own behalf and on Your sole responsibility, not on behalf
2741
+ of any other Contributor, and only if You agree to indemnify,
2742
+ defend, and hold each Contributor harmless for any liability
2743
+ incurred by, or claims asserted against, such Contributor by reason
2744
+ of your accepting any such warranty or additional liability.
2745
+
2746
+ END OF TERMS AND CONDITIONS
2747
+
2748
+ APPENDIX: How to apply the Apache License to your work.
2749
+
2750
+ To apply the Apache License to your work, attach the following
2751
+ boilerplate notice, with the fields enclosed by brackets "{}"
2752
+ replaced with your own identifying information. (Don't include
2753
+ the brackets!) The text should be enclosed in the appropriate
2754
+ comment syntax for the file format. We also recommend that a
2755
+ file or class name and description of purpose be included on the
2756
+ same "printed page" as the copyright notice for easier
2757
+ identification within third-party archives.
2758
+
2759
+ Copyright {yyyy} {name of copyright owner}
2760
+
2761
+ Licensed under the Apache License, Version 2.0 (the "License");
2762
+ you may not use this file except in compliance with the License.
2763
+ You may obtain a copy of the License at
2764
+
2765
+ http://www.apache.org/licenses/LICENSE-2.0
2766
+
2767
+ Unless required by applicable law or agreed to in writing, software
2768
+ distributed under the License is distributed on an "AS IS" BASIS,
2769
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2770
+ See the License for the specific language governing permissions and
2771
+ limitations under the License.
2772
+ ```