@youtyan/code-viewer 0.6.3 → 0.6.5

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.
@@ -7,13 +7,17 @@ the generated bundles next to this directory are produced at build / pack time.
7
7
  | Package | Version | Files | License |
8
8
  | --- | --- | --- | --- |
9
9
  | diff2html | 3.4.56 | `diff2html/diff2html.min.css`, `diff2html/diff2html-ui.min.js` | MIT, https://github.com/rtfpessoa/diff2html |
10
- | highlight.js | 11.9.0 | `highlight.js/highlight.min.js`, `highlight.js/styles/github*.min.css` | BSD-3-Clause, https://github.com/highlightjs/highlight.js |
11
- | Browser bundle dependencies | fixed by `bun.lock` | generated `../app.js`, `../mermaid.js`, `../shiki.js` | see `THIRD_PARTY_NOTICES.txt` |
10
+ | highlight.js styles | 11.9.0 | `highlight.js/LICENSE`, `highlight.js/styles/github*.min.css` | BSD-3-Clause, https://github.com/highlightjs/highlight.js |
11
+ | Browser bundle dependencies | fixed by `bun.lock` | generated `../app.js`, `../mermaid.js`, `../shiki.js`, `highlight.js/highlight.min.js` | see `THIRD_PARTY_NOTICES.txt` |
12
12
 
13
- `diff2html-ui.min.js` is the UI bundle from the npm package. `highlight.min.js`
14
- is the standard browser build for highlight.js 11.9.0.
13
+ `diff2html-ui.min.js` is the UI bundle from the npm package. The
14
+ `highlight.js/styles/*.min.css` theme files and `highlight.js/LICENSE` are
15
+ committed manually; they only need to be refreshed when upgrading the
16
+ `highlight.js` version pinned in `package.json`.
15
17
 
16
- `../app.js`, `../mermaid.js`, and `../shiki.js` are generated by
17
- `bun run build:web` and are included in npm tarballs, but are not tracked in git.
18
+ `../app.js`, `../mermaid.js`, `../shiki.js`, and `highlight.js/highlight.min.js`
19
+ are generated by `bun run build:web` (the last one registers every language
20
+ bundled with `highlight.js`, not just its CDN "common" subset) and are
21
+ included in npm tarballs, but are not tracked in git.
18
22
  `THIRD_PARTY_NOTICES.txt` is generated from the installed npm packages during
19
23
  the same build.
@@ -2,7 +2,7 @@ Third Party Notices
2
2
  ===================
3
3
 
4
4
  This file is generated by scripts/generate-third-party-notices.mjs.
5
- It covers npm packages pulled into the browser bundles generated as web/app.js, web/mermaid.js, and web/shiki.js.
5
+ It covers npm packages pulled into the browser bundles generated as web/app.js, web/mermaid.js, web/shiki.js, and web/vendor/highlight.js/highlight.min.js.
6
6
 
7
7
  Package Summary
8
8
  ---------------
@@ -126,6 +126,7 @@ Package Summary
126
126
  | hachure-fill | 0.5.2 | MIT | https://github.com/pshihn/hachure-fill#readme |
127
127
  | hast-util-to-html | 9.0.5 | MIT | syntax-tree/hast-util-to-html |
128
128
  | hast-util-whitespace | 3.0.0 | MIT | syntax-tree/hast-util-whitespace |
129
+ | highlight.js | 11.9.0 | BSD-3-Clause | https://highlightjs.org/ |
129
130
  | html-void-elements | 3.0.0 | MIT | wooorm/html-void-elements |
130
131
  | iconv-lite | 0.6.3 | MIT | https://github.com/ashtuchkin/iconv-lite |
131
132
  | internmap | 1.0.1 | ISC | https://github.com/mbostock/internmap/ |
@@ -5635,6 +5636,45 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
5635
5636
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
5636
5637
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
5637
5638
 
5639
+ highlight.js@11.9.0
5640
+ -------------------
5641
+
5642
+ License metadata: BSD-3-Clause
5643
+ Source: https://highlightjs.org/
5644
+ Package metadata: node_modules/highlight.js/package.json
5645
+
5646
+ File: node_modules/highlight.js/LICENSE
5647
+
5648
+ BSD 3-Clause License
5649
+
5650
+ Copyright (c) 2006, Ivan Sagalaev.
5651
+ All rights reserved.
5652
+
5653
+ Redistribution and use in source and binary forms, with or without
5654
+ modification, are permitted provided that the following conditions are met:
5655
+
5656
+ * Redistributions of source code must retain the above copyright notice, this
5657
+ list of conditions and the following disclaimer.
5658
+
5659
+ * Redistributions in binary form must reproduce the above copyright notice,
5660
+ this list of conditions and the following disclaimer in the documentation
5661
+ and/or other materials provided with the distribution.
5662
+
5663
+ * Neither the name of the copyright holder nor the names of its
5664
+ contributors may be used to endorse or promote products derived from
5665
+ this software without specific prior written permission.
5666
+
5667
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
5668
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
5669
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
5670
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
5671
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
5672
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
5673
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
5674
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
5675
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
5676
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5677
+
5638
5678
  html-void-elements@3.0.0
5639
5679
  ------------------------
5640
5680