kumiori 0.3.0 → 0.5.0
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.
- package/CHANGELOG.en.md +176 -14
- package/CHANGELOG.md +165 -3
- package/README.en.md +59 -302
- package/README.md +59 -302
- package/THIRD_PARTY_NOTICES.md +362 -6
- package/dist-browser/THIRD_PARTY_NOTICES.md +362 -6
- package/dist-browser/chunks/{UTIF-D5qoainF.js → UTIF-KG0m1IdM.js} +4 -4
- package/dist-browser/chunks/{ccitt-7WmwG6OA.js → ccitt-VTTPFdAq.js} +5 -5
- package/dist-browser/chunks/{cgm-DUIP-hbA.js → cgm-ConNL6R-.js} +5 -5
- package/dist-browser/chunks/{el-monoton-BVsCvfmZ.js → el-monoton-RX3dXQyi.js} +4 -4
- package/dist-browser/chunks/{en-gb-Cjtf0A6r.js → en-gb-CWSEx_aY.js} +4 -4
- package/dist-browser/chunks/{en-us-B_UiZPbu.js → en-us-DAXlLA12.js} +4 -4
- package/dist-browser/chunks/{eps-_CPowVcQ.js → eps-Dngej5a8.js} +6 -6
- package/dist-browser/chunks/{epsInfo-BUAZ97F-.js → epsInfo-DpkWEFcD.js} +3 -3
- package/dist-browser/chunks/esm-Bur2GgqP.js +1537 -0
- package/dist-browser/chunks/esm-BwQHdGL5.js +11959 -0
- package/dist-browser/chunks/{export-contract-OHP-GNO0.js → export-contract-Dizj1UsO.js} +3 -3
- package/dist-browser/chunks/{la-7qtmi2aU.js → la-I5rV_oNf.js} +4 -4
- package/dist-browser/chunks/{load-BRpJTflg.js → load-Cb6TEIjm.js} +2724 -2698
- package/dist-browser/chunks/{matrix-BcBTRcOc.js → matrix-C-5rhIt0.js} +2 -2
- package/dist-browser/chunks/{metafile-BikFmcYd.js → metafile-CnBftNGE.js} +4 -4
- package/dist-browser/chunks/{pako-Dl02IHsa.js → pako-uucVXsP5.js} +3 -3
- package/{dist-lib/pixels-ByXzkjlj.js → dist-browser/chunks/pixels-CmBhR0Gf.js} +2 -2
- package/dist-browser/chunks/{rolldown-runtime-Bra2mvh4.js → rolldown-runtime-DMd8KBjB.js} +20 -6
- package/dist-browser/chunks/{ru-BMiVc5Ts.js → ru-DZuNnLHw.js} +4 -4
- package/dist-browser/chunks/{sniff-B_ueafAB.js → sniff-CYNZW-f9.js} +1608 -1573
- package/dist-browser/chunks/{strokeOutline-DA-aSg5C.js → strokeOutline-DSM8B9ds.js} +4 -4
- package/dist-browser/chunks/{uk-ChOFgYc8.js → uk-Dy8Pyatw.js} +4 -4
- package/dist-browser/kumiori.js +67359 -56612
- package/dist-cli/THIRD_PARTY_NOTICES.md +362 -6
- package/dist-cli/assets/{cgm-CVN2h83E.js → cgm-KDeQnQKd.js} +4 -3
- package/dist-cli/assets/drawioPin--INN4wXl.js +2026 -0
- package/dist-cli/assets/{drawioStencil-Bzai2moR.js → drawioStencil-BfKkpoEe.js} +28 -11
- package/dist-cli/assets/{eps-BK1bEizE.js → eps-OJOdWnxf.js} +4 -3
- package/dist-cli/assets/{load-BwlOZ5Bc.js → load-DKJw5pc8.js} +26 -11
- package/dist-cli/assets/{metafile-DmYDB8sR.js → metafile-0xNymmpL.js} +4 -3
- package/dist-cli/assets/pixels-KdRNvKJI.js +1286 -0
- package/dist-cli/cli.js +52885 -36886
- package/dist-lib/THIRD_PARTY_NOTICES.md +362 -6
- package/dist-lib/{api-DB-5PKHp.js → api-BCRMQoJy.js} +42967 -32176
- package/dist-lib/{cgm-CkwJobkQ.js → cgm-GzRHYfjQ.js} +19 -19
- package/dist-lib/{eps-D9WVND82.js → eps-wXi2WEGi.js} +158 -158
- package/dist-lib/{epsInfo-BUAZ97F-.js → epsInfo-DpkWEFcD.js} +3 -3
- package/dist-lib/index.js +11 -11
- package/dist-lib/{load-plWCtVUv.js → load-Dkw362LJ.js} +2699 -2673
- package/dist-lib/{metafile-BOfMQbwN.js → metafile-21bqsyGl.js} +8 -8
- package/dist-lib/node.js +53 -48
- package/{dist-browser/chunks/pixels-ByXzkjlj.js → dist-lib/pixels-CmBhR0Gf.js} +2 -2
- package/dist-lib/types/api.d.ts +149 -18
- package/dist-lib/types/areaResources.d.ts +9 -1
- package/dist-lib/types/areaTree.d.ts +5 -2
- package/dist-lib/types/assets.d.ts +37 -1
- package/dist-lib/types/canvasRenderer.d.ts +35 -1
- package/dist-lib/types/color.d.ts +4 -1
- package/dist-lib/types/colorGlyph.d.ts +4 -4
- package/dist-lib/types/colorGlyphCanvas.d.ts +2 -1
- package/dist-lib/types/colorGlyphPdf.d.ts +11 -4
- package/dist-lib/types/colorGlyphSvg.d.ts +8 -0
- package/dist-lib/types/compat.d.ts +12 -0
- package/dist-lib/types/cssCascade.d.ts +40 -3
- package/dist-lib/types/cssSelector.d.ts +67 -3
- package/dist-lib/types/cssText.d.ts +23 -0
- package/dist-lib/types/diagnostics.d.ts +83 -0
- package/dist-lib/types/drawio/drawioHashes.d.ts +9 -0
- package/dist-lib/types/drawio/drawioPin.d.ts +11 -0
- package/dist-lib/types/drawio/drawioStencil.d.ts +22 -5
- package/dist-lib/types/drawio/options.d.ts +6 -1
- package/dist-lib/types/errors.d.ts +57 -0
- package/dist-lib/types/foContext.d.ts +19 -0
- package/dist-lib/types/foDom.d.ts +7 -0
- package/dist-lib/types/foExpr.d.ts +7 -0
- package/dist-lib/types/foPageMaster.d.ts +2 -0
- package/dist-lib/types/fontLoader.d.ts +3 -1
- package/dist-lib/types/fontManager.d.ts +6 -5
- package/dist-lib/types/fontkitShaping.d.ts +9 -9
- package/dist-lib/types/footnotes.d.ts +21 -2
- package/dist-lib/types/geometry.d.ts +5 -0
- package/dist-lib/types/gridTracks.d.ts +51 -0
- package/dist-lib/types/htmlImport.d.ts +71 -17
- package/dist-lib/types/htmlPaged.d.ts +12 -1
- package/dist-lib/types/htmlParserStack.d.ts +0 -13
- package/dist-lib/types/htmlPrepare.d.ts +10 -2
- package/dist-lib/types/iccRegistry.d.ts +16 -0
- package/dist-lib/types/imageFormats.d.ts +5 -1
- package/dist-lib/types/index.d.ts +29 -8
- package/dist-lib/types/indexCitation.d.ts +4 -6
- package/dist-lib/types/inlineFlatten.d.ts +1 -1
- package/dist-lib/types/inlineLayout.d.ts +60 -13
- package/dist-lib/types/layoutEngine.d.ts +170 -8
- package/dist-lib/types/linkPolicy.d.ts +6 -2
- package/dist-lib/types/linkedomModules.d.ts +4 -0
- package/dist-lib/types/lnode.d.ts +28 -0
- package/dist-lib/types/node.d.ts +10 -6
- package/dist-lib/types/nodeFonts.d.ts +4 -1
- package/dist-lib/types/pageFlow.d.ts +34 -0
- package/dist-lib/types/pageRaster.d.ts +153 -0
- package/dist-lib/types/paint.d.ts +21 -3
- package/dist-lib/types/pdfContentStreams.d.ts +9 -0
- package/dist-lib/types/pdfFlatten.d.ts +169 -0
- package/dist-lib/types/pdfLibPatches.d.ts +44 -4
- package/dist-lib/types/pdfRenderer.d.ts +110 -14
- package/dist-lib/types/pdfStandard.d.ts +75 -14
- package/dist-lib/types/pdfTags.d.ts +106 -0
- package/dist-lib/types/pdfaVerify.d.ts +2 -0
- package/dist-lib/types/pdfxVerify.d.ts +56 -0
- package/dist-lib/types/resourceUse.d.ts +16 -0
- package/dist-lib/types/resources.d.ts +9 -0
- package/dist-lib/types/sourceLocation.d.ts +44 -0
- package/dist-lib/types/sourceRef.d.ts +26 -2
- package/dist-lib/types/srgbIcc.d.ts +16 -0
- package/dist-lib/types/structure.d.ts +65 -0
- package/dist-lib/types/structureBuilder.d.ts +109 -0
- package/dist-lib/types/svg.d.ts +8 -1
- package/dist-lib/types/svgFilterRaster.d.ts +89 -1
- package/dist-lib/types/svgFilterSubregion.d.ts +2 -2
- package/dist-lib/types/svgRenderer.d.ts +47 -0
- package/dist-lib/types/types.d.ts +451 -15
- package/dist-lib/types/warichu.d.ts +109 -0
- package/dist-lib/types/xmlParse.d.ts +10 -0
- package/dist-lib/types/xslfoImport.d.ts +12 -2
- package/package.json +2 -1
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -4,19 +4,22 @@ Kumiori の配布物に含まれる、または Kumiori の実行に使われる
|
|
|
4
4
|
ライセンスの本文と著作権表示は、各パッケージ (node_modules の中) のファイルから、書き換えずに転記しています。
|
|
5
5
|
パッケージにライセンスのファイルが無いものは、その事実と、パッケージの中の表示だけを書いています。
|
|
6
6
|
|
|
7
|
-
- 対象の版: このリポジトリの `package-lock.json` で入る版 (
|
|
7
|
+
- 対象の版: このリポジトリの `package-lock.json` で入る版 (下の各節に版を書いています。14 節は `tools/api-docs/package-lock.json` で入る版)
|
|
8
8
|
- この文書は、ライセンスの解釈や法的な判断を示すものではありません。
|
|
9
9
|
|
|
10
10
|
## 1. ブラウザ向けの配布物 (`dist/`・`dist-browser/`) に含まれるもの
|
|
11
11
|
|
|
12
12
|
次の 2 つのブラウザ向けの配布物は、この節のパッケージを取り込んでいます (2026-11-16 に、ビルドのソースマップで取り込まれたパッケージを確かめました)。
|
|
13
13
|
|
|
14
|
-
- 画面 (`npm run build` の `dist/`。GitHub Pages に置くもの)
|
|
15
|
-
- ブラウザで単体で動くライブラリ (`npm run build:browser` の `dist-browser/`。npm の `kumiori/browser`)。この節のパッケージに加えて、下の 2 節の @xmldom/xmldom も取り込んでいます (XSL-FO を読むため)
|
|
14
|
+
- 画面 (`npm run build` の `dist/`。GitHub Pages に置くもの)。この節のパッケージに加えて、下の 2 節の @xmldom/xmldom も取り込んでいます (XSL-FO と XHTML を読むため。2026-11-21 に、ビルドのソースマップで確かめました)。
|
|
15
|
+
- ブラウザで単体で動くライブラリ (`npm run build:browser` の `dist-browser/`。npm の `kumiori/browser`)。この節のパッケージに加えて、下の 2 節の @xmldom/xmldom も取り込んでいます (XSL-FO を読むため)。
|
|
16
|
+
また、Web Worker の中で HTML・SVG を読むときだけ読み込む別ファイル (`chunks/esm-*.js`) に、下の 2 節の linkedom と、その依存 (htmlparser2・css-select・css-what・nth-check・boolbase・domhandler・domutils・domelementtype・dom-serializer・entities・cssomnom・uhyphen。2 節に挙げた版のすべて) を取り込んでいます (2026-11-19 に、ビルドのソースマップで確かめました。2 節の html-escaper は、使われないので取り込まれません)
|
|
16
17
|
|
|
17
18
|
draw.io の図を描く処理 (`src/drawio/`。図が出てきたときだけ読み込む別のチャンク) は、roughjs (hachure-fill・path-data-parser・points-on-curve・points-on-path を含む) を取り込んでいます。
|
|
18
19
|
その処理には、draw.io と mxGraph から移したコードが入っています (表示は下の 13 節)。そのチャンクの JavaScript のファイルの先頭にも、draw.io と mxGraph の著作権表示を書いています。
|
|
19
20
|
|
|
21
|
+
GitHub Pages の画面の下に置く API の説明書 (`dist/api/`) に含まれるものは、下の 14 節に書いています。
|
|
22
|
+
|
|
20
23
|
ライブラリ (`npm run build:lib` の `dist-lib/`。npm の `kumiori`) は依存パッケージを取り込まず、実行時に node_modules から読み込みます (下の 2 節と同じ)。
|
|
21
24
|
|
|
22
25
|
### pdf-lib 1.17.1
|
|
@@ -2015,10 +2018,110 @@ pdf-lib のパッケージには、Apache License 2.0 の本文は入ってい
|
|
|
2015
2018
|
limitations under the License.
|
|
2016
2019
|
```
|
|
2017
2020
|
|
|
2021
|
+
### 1.6 バンドラーが出力に書き込む手助けのコード (rolldown 1.2.18・vite 8.3.8)
|
|
2022
|
+
|
|
2023
|
+
- package.json の license: `MIT` (rolldown・vite とも)
|
|
2024
|
+
- 場所: `node_modules/rolldown`・`node_modules/vite`
|
|
2025
|
+
|
|
2026
|
+
画面 (`dist/`) とブラウザで単体で動くライブラリ (`dist-browser/`) を作るバンドラーは、出力に数十行の定型の手助けのコードを書き込みます。
|
|
2027
|
+
rolldown は CommonJS の包みを ES モジュールとして読むためのコード (`rolldown-runtime-*.js` など。`__commonJS`・`__toESM`・`__export` などの関数) を、
|
|
2028
|
+
Vite は、画面の出力に、別のチャンクを先読みするコード (`modulepreload` の補いと、動的な読み込みの前に先読みする手助け) を、
|
|
2029
|
+
ブラウザで単体で動くライブラリの出力に、入っていない任意の依存 (linkedom の `canvas`) を読もうとしたときに誤りを投げる数行の代わり
|
|
2030
|
+
(ソースマップの名前は `__vite-optional-peer-dep:canvas:linkedom`。`chunks/esm-*.js` に入ります) を書き込みます
|
|
2031
|
+
(2026-11-21 に、`npm run build`・`npm run build:browser` の出力と、`--sourcemap` を付けて作ったソースマップの `sources` で確かめました)。
|
|
2032
|
+
どちらも MIT のライセンスのコードなので、その表示をここに書きます。
|
|
2033
|
+
rolldown の手助けのコード (`\0rolldown/runtime.js`) は、esbuild の手助けのコードと同じ形のもので、rolldown のパッケージの
|
|
2034
|
+
`node_modules/rolldown/THIRD-PARTY-LICENSE` に、esbuild の MIT のライセンスの表示があるので、それも下に写します。
|
|
2035
|
+
|
|
2036
|
+
`node_modules/rolldown/LICENSE` の本文:
|
|
2037
|
+
|
|
2038
|
+
```text
|
|
2039
|
+
MIT License
|
|
2040
|
+
|
|
2041
|
+
Copyright (c) 2024-present VoidZero Inc. & Contributors
|
|
2042
|
+
|
|
2043
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2044
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
2045
|
+
in the Software without restriction, including without limitation the rights
|
|
2046
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
2047
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
2048
|
+
furnished to do so, subject to the following conditions:
|
|
2049
|
+
|
|
2050
|
+
The above copyright notice and this permission notice shall be included in all
|
|
2051
|
+
copies or substantial portions of the Software.
|
|
2052
|
+
|
|
2053
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2054
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
2055
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2056
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2057
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2058
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
2059
|
+
SOFTWARE.
|
|
2060
|
+
|
|
2061
|
+
end of terms and conditions
|
|
2062
|
+
|
|
2063
|
+
The licenses of externally maintained libraries from which parts of the Software is derived are listed [here](https://github.com/rolldown/rolldown/blob/main/THIRD-PARTY-LICENSE).
|
|
2064
|
+
```
|
|
2065
|
+
|
|
2066
|
+
`node_modules/rolldown/THIRD-PARTY-LICENSE` のうち、esbuild の表示 (手助けのコードの元の形の著作権の行とライセンスの本文):
|
|
2067
|
+
|
|
2068
|
+
```text
|
|
2069
|
+
MIT License
|
|
2070
|
+
|
|
2071
|
+
Copyright (c) 2020 Evan Wallace
|
|
2072
|
+
|
|
2073
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2074
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
2075
|
+
in the Software without restriction, including without limitation the rights
|
|
2076
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
2077
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
2078
|
+
furnished to do so, subject to the following conditions:
|
|
2079
|
+
|
|
2080
|
+
The above copyright notice and this permission notice shall be included in all
|
|
2081
|
+
copies or substantial portions of the Software.
|
|
2082
|
+
|
|
2083
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2084
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
2085
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2086
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2087
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2088
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
2089
|
+
SOFTWARE.
|
|
2090
|
+
```
|
|
2091
|
+
|
|
2092
|
+
`node_modules/vite/LICENSE.md` の初めの、Vite 本体のライセンスの部分 (その後ろの「Licenses of bundled dependencies」以降は、Vite のパッケージに同梱された依存の表示で、出力には入りません):
|
|
2093
|
+
|
|
2094
|
+
```text
|
|
2095
|
+
# Vite core license
|
|
2096
|
+
Vite is released under the MIT license:
|
|
2097
|
+
|
|
2098
|
+
MIT License
|
|
2099
|
+
|
|
2100
|
+
Copyright (c) 2019-present, VoidZero Inc. and Vite contributors
|
|
2101
|
+
|
|
2102
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2103
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
2104
|
+
in the Software without restriction, including without limitation the rights
|
|
2105
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
2106
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
2107
|
+
furnished to do so, subject to the following conditions:
|
|
2108
|
+
|
|
2109
|
+
The above copyright notice and this permission notice shall be included in all
|
|
2110
|
+
copies or substantial portions of the Software.
|
|
2111
|
+
|
|
2112
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2113
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
2114
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2115
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2116
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2117
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
2118
|
+
SOFTWARE.
|
|
2119
|
+
```
|
|
2120
|
+
|
|
2018
2121
|
## 2. Node のコマンド (`dist-cli/cli.js`) とライブラリ (`dist-lib/`) を配布するときの依存
|
|
2019
2122
|
|
|
2020
2123
|
Node のコマンドとライブラリのビルドでは、次のパッケージはバンドルに入らず、実行時に node_modules から読み込まれます (上の 1 のパッケージも同じ)。npm の `kumiori` を入れると、これらも依存として一緒に入ります。
|
|
2021
|
-
このうち @xmldom/xmldom は、ブラウザで単体で動くライブラリ (`dist-browser/`) に取り込まれます (上の 1)。
|
|
2124
|
+
このうち @xmldom/xmldom と、linkedom とその依存 (html-escaper を除く) は、ブラウザで単体で動くライブラリ (`dist-browser/`) に取り込まれます (上の 1)。
|
|
2022
2125
|
|
|
2023
2126
|
### @xmldom/xmldom 0.9.12
|
|
2024
2127
|
|
|
@@ -2795,11 +2898,11 @@ authorization of the copyright holder.
|
|
|
2795
2898
|
|
|
2796
2899
|
## 7. Kumiori のコードに写した W3C の文書の CSS (CSS Counter Styles 3 の定義済みの数え方)
|
|
2797
2900
|
|
|
2798
|
-
`src/counterStylePredefined.ts` の `@counter-style` の規則 (§6 Simple Predefined Counter Styles と、§7.1.1 和文・§7.1.2 韓国語の規則) は、W3C の文書 CSS Counter Styles Level 3
|
|
2901
|
+
`src/counterStylePredefined.ts` の `@counter-style` の規則 (§6 Simple Predefined Counter Styles と、§7.1.1 和文・§7.1.2 韓国語の規則) は、W3C の文書 CSS Counter Styles Level 3 の例の規則を写したものです (規則 (記述子と値) は書き換えていません。注釈のうち、字を並べただけのもの (記号の字の一覧) は写したまま残し、英文の注釈 (hebrew・disclosure-open・disclosure-closed・韓国語の 3 つ) だけを、日本語の要約に置き換えています)。
|
|
2799
2902
|
|
|
2800
2903
|
This software includes material copied from or derived from CSS Counter Styles Level 3 (https://www.w3.org/TR/2021/CR-css-counter-styles-3-20210727/). Copyright © 2021 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
2801
2904
|
|
|
2802
|
-
- 文書の取得元: https://www.w3.org/TR/css-counter-styles-3/ (取得日 2026-11-06。2026-11-07 に取り直した文書の版は W3C Candidate Recommendation Snapshot 27 July 2021、https://www.w3.org/TR/2021/CR-css-counter-styles-3-20210727/ で、Kumiori の規則 49
|
|
2905
|
+
- 文書の取得元: https://www.w3.org/TR/css-counter-styles-3/ (取得日 2026-11-06。2026-11-07 に取り直した文書の版は W3C Candidate Recommendation Snapshot 27 July 2021、https://www.w3.org/TR/2021/CR-css-counter-styles-3-20210727/ で、Kumiori の規則 49 個は、記述子と値がすべて、その文書の例の規則と同じだった (規則についての比べで、空白の違いを無視した。英文の注釈はその後で日本語に置き換えたので、注釈はいまは例と違う))
|
|
2803
2906
|
- 文書の著作権表示 (原文): 「Copyright © 2021 W3C® (MIT, ERCIM, Keio, Beihang). W3C liability, trademark and permissive document license rules apply.」。permissive document license のリンク先は https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document (https://www.w3.org/copyright/software-license-2015/ に転送される)
|
|
2804
2907
|
- 下はそのライセンスの本文です。取得元: https://www.w3.org/copyright/software-license-2015/ (取得日 2026-11-07)。HTML から文字だけを取り出しました (語句は書き換えていません。見出しと段落の区切りは改行にしています。末尾の版の一覧と変更点の説明は含めていません)。
|
|
2805
2908
|
|
|
@@ -3092,3 +3195,256 @@ Kumiori に移した `shapes/` の形を移した v24.7.5 (2024-07-25) には、
|
|
|
3092
3195
|
|
|
3093
3196
|
そのため、`src/main/webapp/shapes/` の下のファイルは v24.7.5 から移し (13.1 節の表の「版」)、v24.7.5 より後に足されたものは入れていません。
|
|
3094
3197
|
`shapes/` の外 (`js/grapheditor/`・`js/diagramly/`・`mxgraph/src/`) のファイルは、v32.6.10 でも Apache License 2.0 だけなので、v32.6.10 から移しています。
|
|
3198
|
+
|
|
3199
|
+
## 14. GitHub Pages の API の説明書 (`dist/api/`) に含まれるもの
|
|
3200
|
+
|
|
3201
|
+
GitHub Pages には、画面 (上の 1) の下の `api/` に、API の説明書 (型の宣言のコメントから作る一覧の頁。`npm run docs:api`) を置きます。
|
|
3202
|
+
説明書は TypeDoc で作り、頁の JavaScript (`assets/main.js` など)・CSS・アイコンは TypeDoc のものです。`assets/main.js` には lunr (頁の中の検索) が取り込まれています
|
|
3203
|
+
(2026-11-20 に、`assets/main.js` の終わりの、取り込んだパッケージの表示 (Bundled license information) で確かめました)。
|
|
3204
|
+
TypeDoc とそれが使うパッケージは、リポジトリの直下の依存と分けて、`tools/api-docs` の `package.json`・`package-lock.json` で入れます。npm の `kumiori` には入りません。
|
|
3205
|
+
TypeDoc 0.28.20 が使う minimatch (10.2.6) には、`tools/api-docs` の `npm audit` に moderate の知らせ (GHSA-g3hv-75wg-m249。glob の展開の増幅によるサービス拒否。直った版は 11.0.1 から) が出ます。
|
|
3206
|
+
説明書を作るときに手元で使うだけで、TypeDoc に渡す glob は `typedoc.json` の決まった値なので、外から届く経路はありません。minimatch は説明書の頁 (`dist/api/`) にも npm の `kumiori` にも入りません
|
|
3207
|
+
(2026-11-21 に、頁の中に minimatch の字が無いことと、`npm pack --dry-run` の一覧に `tools/` が無いことで確かめました)。
|
|
3208
|
+
`npm audit fix --force` は TypeDoc を 0.23.25 に下げ、minimatch を 11 に上書きすると TypeDoc 0.28.20 が動かない (`mini.matchOne is not a function`。minimatch 11 で無くなった関数を使う) ので、上げていません。
|
|
3209
|
+
TypeDoc が minimatch 11 を使う版を出したら、上げて、この節の版と本文を合わせます。
|
|
3210
|
+
|
|
3211
|
+
### 14.1 typedoc (0.28.20)
|
|
3212
|
+
|
|
3213
|
+
- package.json の license: `Apache-2.0`
|
|
3214
|
+
- 場所: `tools/api-docs/node_modules/typedoc`
|
|
3215
|
+
- パッケージに著作権表示のファイル (NOTICE など) はありません。`LICENSE` は Apache License 2.0 の本文です
|
|
3216
|
+
|
|
3217
|
+
`tools/api-docs/node_modules/typedoc/LICENSE` の本文:
|
|
3218
|
+
|
|
3219
|
+
```text
|
|
3220
|
+
Apache License
|
|
3221
|
+
Version 2.0, January 2004
|
|
3222
|
+
http://www.apache.org/licenses/
|
|
3223
|
+
|
|
3224
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
3225
|
+
|
|
3226
|
+
1. Definitions.
|
|
3227
|
+
|
|
3228
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
3229
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
3230
|
+
|
|
3231
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
3232
|
+
the copyright owner that is granting the License.
|
|
3233
|
+
|
|
3234
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
3235
|
+
other entities that control, are controlled by, or are under common
|
|
3236
|
+
control with that entity. For the purposes of this definition,
|
|
3237
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
3238
|
+
direction or management of such entity, whether by contract or
|
|
3239
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
3240
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
3241
|
+
|
|
3242
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
3243
|
+
exercising permissions granted by this License.
|
|
3244
|
+
|
|
3245
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
3246
|
+
including but not limited to software source code, documentation
|
|
3247
|
+
source, and configuration files.
|
|
3248
|
+
|
|
3249
|
+
"Object" form shall mean any form resulting from mechanical
|
|
3250
|
+
transformation or translation of a Source form, including but
|
|
3251
|
+
not limited to compiled object code, generated documentation,
|
|
3252
|
+
and conversions to other media types.
|
|
3253
|
+
|
|
3254
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
3255
|
+
Object form, made available under the License, as indicated by a
|
|
3256
|
+
copyright notice that is included in or attached to the work
|
|
3257
|
+
(an example is provided in the Appendix below).
|
|
3258
|
+
|
|
3259
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
3260
|
+
form, that is based on (or derived from) the Work and for which the
|
|
3261
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
3262
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
3263
|
+
of this License, Derivative Works shall not include works that remain
|
|
3264
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
3265
|
+
the Work and Derivative Works thereof.
|
|
3266
|
+
|
|
3267
|
+
"Contribution" shall mean any work of authorship, including
|
|
3268
|
+
the original version of the Work and any modifications or additions
|
|
3269
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
3270
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
3271
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
3272
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
3273
|
+
means any form of electronic, verbal, or written communication sent
|
|
3274
|
+
to the Licensor or its representatives, including but not limited to
|
|
3275
|
+
communication on electronic mailing lists, source code control systems,
|
|
3276
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
3277
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
3278
|
+
excluding communication that is conspicuously marked or otherwise
|
|
3279
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
3280
|
+
|
|
3281
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
3282
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
3283
|
+
subsequently incorporated within the Work.
|
|
3284
|
+
|
|
3285
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
3286
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
3287
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
3288
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
3289
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
3290
|
+
Work and such Derivative Works in Source or Object form.
|
|
3291
|
+
|
|
3292
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
3293
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
3294
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
3295
|
+
(except as stated in this section) patent license to make, have made,
|
|
3296
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
3297
|
+
where such license applies only to those patent claims licensable
|
|
3298
|
+
by such Contributor that are necessarily infringed by their
|
|
3299
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
3300
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
3301
|
+
institute patent litigation against any entity (including a
|
|
3302
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
3303
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
3304
|
+
or contributory patent infringement, then any patent licenses
|
|
3305
|
+
granted to You under this License for that Work shall terminate
|
|
3306
|
+
as of the date such litigation is filed.
|
|
3307
|
+
|
|
3308
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
3309
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
3310
|
+
modifications, and in Source or Object form, provided that You
|
|
3311
|
+
meet the following conditions:
|
|
3312
|
+
|
|
3313
|
+
(a) You must give any other recipients of the Work or
|
|
3314
|
+
Derivative Works a copy of this License; and
|
|
3315
|
+
|
|
3316
|
+
(b) You must cause any modified files to carry prominent notices
|
|
3317
|
+
stating that You changed the files; and
|
|
3318
|
+
|
|
3319
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
3320
|
+
that You distribute, all copyright, patent, trademark, and
|
|
3321
|
+
attribution notices from the Source form of the Work,
|
|
3322
|
+
excluding those notices that do not pertain to any part of
|
|
3323
|
+
the Derivative Works; and
|
|
3324
|
+
|
|
3325
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
3326
|
+
distribution, then any Derivative Works that You distribute must
|
|
3327
|
+
include a readable copy of the attribution notices contained
|
|
3328
|
+
within such NOTICE file, excluding those notices that do not
|
|
3329
|
+
pertain to any part of the Derivative Works, in at least one
|
|
3330
|
+
of the following places: within a NOTICE text file distributed
|
|
3331
|
+
as part of the Derivative Works; within the Source form or
|
|
3332
|
+
documentation, if provided along with the Derivative Works; or,
|
|
3333
|
+
within a display generated by the Derivative Works, if and
|
|
3334
|
+
wherever such third-party notices normally appear. The contents
|
|
3335
|
+
of the NOTICE file are for informational purposes only and
|
|
3336
|
+
do not modify the License. You may add Your own attribution
|
|
3337
|
+
notices within Derivative Works that You distribute, alongside
|
|
3338
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
3339
|
+
that such additional attribution notices cannot be construed
|
|
3340
|
+
as modifying the License.
|
|
3341
|
+
|
|
3342
|
+
You may add Your own copyright statement to Your modifications and
|
|
3343
|
+
may provide additional or different license terms and conditions
|
|
3344
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
3345
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
3346
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
3347
|
+
the conditions stated in this License.
|
|
3348
|
+
|
|
3349
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
3350
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
3351
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
3352
|
+
this License, without any additional terms or conditions.
|
|
3353
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
3354
|
+
the terms of any separate license agreement you may have executed
|
|
3355
|
+
with Licensor regarding such Contributions.
|
|
3356
|
+
|
|
3357
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
3358
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
3359
|
+
except as required for reasonable and customary use in describing the
|
|
3360
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
3361
|
+
|
|
3362
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
3363
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
3364
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
3365
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
3366
|
+
implied, including, without limitation, any warranties or conditions
|
|
3367
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
3368
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
3369
|
+
appropriateness of using or redistributing the Work and assume any
|
|
3370
|
+
risks associated with Your exercise of permissions under this License.
|
|
3371
|
+
|
|
3372
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
3373
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
3374
|
+
unless required by applicable law (such as deliberate and grossly
|
|
3375
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
3376
|
+
liable to You for damages, including any direct, indirect, special,
|
|
3377
|
+
incidental, or consequential damages of any character arising as a
|
|
3378
|
+
result of this License or out of the use or inability to use the
|
|
3379
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
3380
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
3381
|
+
other commercial damages or losses), even if such Contributor
|
|
3382
|
+
has been advised of the possibility of such damages.
|
|
3383
|
+
|
|
3384
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
3385
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
3386
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
3387
|
+
or other liability obligations and/or rights consistent with this
|
|
3388
|
+
License. However, in accepting such obligations, You may act only
|
|
3389
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
3390
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
3391
|
+
defend, and hold each Contributor harmless for any liability
|
|
3392
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
3393
|
+
of your accepting any such warranty or additional liability.
|
|
3394
|
+
|
|
3395
|
+
END OF TERMS AND CONDITIONS
|
|
3396
|
+
|
|
3397
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
3398
|
+
|
|
3399
|
+
To apply the Apache License to your work, attach the following
|
|
3400
|
+
boilerplate notice, with the fields enclosed by brackets "{}"
|
|
3401
|
+
replaced with your own identifying information. (Don't include
|
|
3402
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
3403
|
+
comment syntax for the file format. We also recommend that a
|
|
3404
|
+
file or class name and description of purpose be included on the
|
|
3405
|
+
same "printed page" as the copyright notice for easier
|
|
3406
|
+
identification within third-party archives.
|
|
3407
|
+
|
|
3408
|
+
Copyright {yyyy} {name of copyright owner}
|
|
3409
|
+
|
|
3410
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
3411
|
+
you may not use this file except in compliance with the License.
|
|
3412
|
+
You may obtain a copy of the License at
|
|
3413
|
+
|
|
3414
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
3415
|
+
|
|
3416
|
+
Unless required by applicable law or agreed to in writing, software
|
|
3417
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
3418
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3419
|
+
See the License for the specific language governing permissions and
|
|
3420
|
+
limitations under the License.
|
|
3421
|
+
```
|
|
3422
|
+
|
|
3423
|
+
### 14.2 lunr (2.3.9)
|
|
3424
|
+
|
|
3425
|
+
- package.json の license: `MIT`
|
|
3426
|
+
- 場所: `tools/api-docs/node_modules/lunr`
|
|
3427
|
+
|
|
3428
|
+
`tools/api-docs/node_modules/lunr/LICENSE` の本文:
|
|
3429
|
+
|
|
3430
|
+
```text
|
|
3431
|
+
Copyright (C) 2013 by Oliver Nightingale
|
|
3432
|
+
|
|
3433
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
3434
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
3435
|
+
in the Software without restriction, including without limitation the rights
|
|
3436
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
3437
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
3438
|
+
furnished to do so, subject to the following conditions:
|
|
3439
|
+
|
|
3440
|
+
The above copyright notice and this permission notice shall be included in
|
|
3441
|
+
all copies or substantial portions of the Software.
|
|
3442
|
+
|
|
3443
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
3444
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
3445
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
3446
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
3447
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
3448
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
3449
|
+
THE SOFTWARE.
|
|
3450
|
+
```
|