@file-viewer/assets-design 3.0.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.
- package/LICENSE +160 -0
- package/README.en.md +3 -0
- package/README.md +3 -0
- package/bin/install.mjs +7 -0
- package/file-viewer.asset-pack.json +7 -0
- package/package.json +46 -0
- package/viewer/file-viewer-asset-pack.json +612 -0
- package/viewer/vendor/design/LICENSE.Carlito-OFL-1.1.txt +94 -0
- package/viewer/vendor/design/LICENSE.Cousine-OFL-1.1.txt +93 -0
- package/viewer/vendor/design/LICENSE.NotoSansSymbols2-OFL-1.1.txt +93 -0
- package/viewer/vendor/design/LICENSE.Tinos-OFL-1.1.txt +93 -0
- package/viewer/vendor/design/LICENSE.ag-psd-MIT.txt +24 -0
- package/viewer/vendor/design/LICENSE.base64-js-MIT.txt +21 -0
- package/viewer/vendor/design/LICENSE.fzstd-MIT.txt +21 -0
- package/viewer/vendor/design/LICENSE.illustrator-pgf-MIT.txt +9 -0
- package/viewer/vendor/design/LICENSE.introspect-wasm-MPL-2.0.txt +373 -0
- package/viewer/vendor/design/LICENSE.pako-MIT.txt +21 -0
- package/viewer/vendor/design/LICENSE.saxes-ISC.txt +57 -0
- package/viewer/vendor/design/LICENSE.stet-Apache-2.0.txt +190 -0
- package/viewer/vendor/design/LICENSE.stet-MIT.txt +21 -0
- package/viewer/vendor/design/LICENSE.webtoon-psd-MIT.txt +19 -0
- package/viewer/vendor/design/LICENSE.xmlchars-MIT.txt +18 -0
- package/viewer/vendor/design/LICENSE.xmldom-MIT.txt +8 -0
- package/viewer/vendor/design/THIRD_PARTY_NOTICES.md +91 -0
- package/viewer/vendor/design/adobe-container.worker.js +44 -0
- package/viewer/vendor/design/adobe-resource.worker.js +11 -0
- package/viewer/vendor/design/idml.worker.js +38 -0
- package/viewer/vendor/design/illustrator-pgf.worker.js +2 -0
- package/viewer/vendor/design/paged_introspect_wasm_bg.wasm +0 -0
- package/viewer/vendor/design/photoshop.worker.js +11 -0
- package/viewer/vendor/design/postscript.worker.js +1 -0
- package/viewer/vendor/design/stet_wasm_bg.wasm +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Copyright 2021-present NAVER WEBTOON
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
5
|
+
in the Software without restriction, including without limitation the rights
|
|
6
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
furnished to do so, subject to the following conditions:
|
|
9
|
+
|
|
10
|
+
The above copyright notice and this permission notice shall be included in
|
|
11
|
+
all copies or substantial portions of the Software.
|
|
12
|
+
|
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
+
THE SOFTWARE.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
Copyright Louis-Dominique Dubeau and contributors to xmlchars
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
4
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
5
|
+
the Software without restriction, including without limitation the rights to
|
|
6
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
7
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
8
|
+
subject to the following conditions:
|
|
9
|
+
|
|
10
|
+
The above copyright notice and this permission notice shall be included in all
|
|
11
|
+
copies or substantial portions of the Software.
|
|
12
|
+
|
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
15
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
16
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
17
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
18
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Copyright 2019 - present Christopher J. Brody and other contributors, as listed in: https://github.com/xmldom/xmldom/graphs/contributors
|
|
2
|
+
Copyright 2012 - 2017 @jindw <jindw@xidea.org> and other contributors, as listed in: https://github.com/jindw/xmldom/graphs/contributors
|
|
3
|
+
|
|
4
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
5
|
+
|
|
6
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
7
|
+
|
|
8
|
+
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.
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# Third-party notices
|
|
2
|
+
|
|
3
|
+
## illustrator-pgf 0.1.0
|
|
4
|
+
|
|
5
|
+
Source base: <https://github.com/flyfish-dev/illustrator-pgf/tree/a21bddfbb71bbe806b669c8ff5b2e30d8775a9a1>
|
|
6
|
+
|
|
7
|
+
The MIT-licensed native Illustrator PGF/private-source parser, Scene IR, Canvas renderer, and Worker runtime are bundled into the Illustrator Worker. File Viewer applies the reproducible `patches/illustrator-pgf@0.1.0.patch` interoperability patch for real Illustrator private-block boundaries, binary data, gradient marks, AI5 path/color aliases, opacity, and extended layer flags; it can be removed after those fixes are included in a later upstream release. The complete license is shipped as `LICENSES/illustrator-pgf-MIT.txt`. No Adobe SDK, Illustrator binary, font, ICC profile, fixture, or public-CDN runtime is redistributed by this dependency.
|
|
8
|
+
|
|
9
|
+
## fzstd 0.1.1
|
|
10
|
+
|
|
11
|
+
Source: <https://github.com/101arrowz/fzstd>
|
|
12
|
+
|
|
13
|
+
The MIT-licensed streaming zstd decoder is bundled only into the terminable Illustrator Worker so Illustrator 24+ private source can be decoded offline. File Viewer enforces the configured decoded-byte ceiling while chunks are emitted instead of retaining output beyond that ceiling. The complete license is shipped as `LICENSES/fzstd-MIT.txt`.
|
|
14
|
+
|
|
15
|
+
## ag-psd 31.0.2
|
|
16
|
+
|
|
17
|
+
Source: <https://github.com/Agamnentzar/ag-psd>
|
|
18
|
+
|
|
19
|
+
The MIT License (MIT)
|
|
20
|
+
|
|
21
|
+
Copyright (c) 2016 Agamnentzar
|
|
22
|
+
|
|
23
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
24
|
+
|
|
25
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
26
|
+
|
|
27
|
+
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.
|
|
28
|
+
|
|
29
|
+
The upstream license states that image and brush files included in that repository are not covered by the MIT license. This package redistributes no such fixture.
|
|
30
|
+
|
|
31
|
+
The complete upstream text is also shipped as `LICENSES/ag-psd-MIT.txt`.
|
|
32
|
+
|
|
33
|
+
## @webtoon/psd 0.4.0
|
|
34
|
+
|
|
35
|
+
Source: <https://github.com/webtoon/psd>
|
|
36
|
+
|
|
37
|
+
Copyright 2021-present NAVER WEBTOON
|
|
38
|
+
|
|
39
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
40
|
+
|
|
41
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
42
|
+
|
|
43
|
+
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.
|
|
44
|
+
|
|
45
|
+
The complete upstream text is also shipped as `LICENSES/webtoon-psd-MIT.txt`.
|
|
46
|
+
|
|
47
|
+
## base64-js 1.5.1
|
|
48
|
+
|
|
49
|
+
Source: <https://github.com/beatgammit/base64-js/tree/v1.5.1>
|
|
50
|
+
|
|
51
|
+
The MIT-licensed byte codec is bundled transitively through `ag-psd` in the Photoshop document and resource Workers. The complete upstream license is shipped as `LICENSES/base64-js-MIT.txt`.
|
|
52
|
+
|
|
53
|
+
## pako 2.1.0
|
|
54
|
+
|
|
55
|
+
Source: <https://github.com/nodeca/pako/tree/2.1.0>
|
|
56
|
+
|
|
57
|
+
The MIT-licensed DEFLATE implementation is bundled transitively through `ag-psd` in the Photoshop document and resource Workers. The complete upstream license is shipped as `LICENSES/pako-MIT.txt`.
|
|
58
|
+
|
|
59
|
+
## @paged-media/introspect-wasm 0.62.0
|
|
60
|
+
|
|
61
|
+
Source: <https://github.com/paged-media/core/tree/v0.62.0>
|
|
62
|
+
|
|
63
|
+
The package declares `MPL-2.0 OR LicenseRef-PMEL`. File Viewer elects the Mozilla Public License 2.0 option for the distributed JavaScript and WebAssembly runtime. The complete MPL-2.0 text is shipped as `LICENSES/MPL-2.0.txt` and copied next to the self-hosted IDML runtime assets.
|
|
64
|
+
|
|
65
|
+
No public CDN is used. The unmodified `paged_introspect_wasm.js` module is bundled into the IDML Worker and `paged_introspect_wasm_bg.wasm` is distributed as a separate local asset. Any future modification to an MPL-covered upstream file must keep the corresponding source available under MPL-2.0.
|
|
66
|
+
|
|
67
|
+
## @xmldom/xmldom 0.9.12
|
|
68
|
+
|
|
69
|
+
Source: <https://github.com/xmldom/xmldom/tree/0.9.12>
|
|
70
|
+
|
|
71
|
+
The MIT-licensed parser is bundled into the Adobe container Worker for strict, offline XFL XML parsing. File Viewer rejects DTD, ENTITY, and XML stylesheet declarations before parsing and enforces independent XML node, depth, attribute, and text budgets. The complete upstream license is shipped as `LICENSES/xmldom-MIT.txt`.
|
|
72
|
+
|
|
73
|
+
## saxes 6.0.0
|
|
74
|
+
|
|
75
|
+
Source: <https://github.com/lddubeau/saxes/tree/v6.0.0>
|
|
76
|
+
|
|
77
|
+
The ISC-licensed streaming XML parser is bundled into the Adobe container Worker for bounded ICML, IDMS, and legacy INX parsing. File Viewer applies independent UTF-8, declaration, DTD/entity, source-size, node, depth, attribute, text, story, page-item, path-point, style, and color limits before presenting parsed content. The complete upstream notice, including the inherited sax and historical `String.fromCodePoint` notices, is shipped as `LICENSES/saxes-ISC.txt`.
|
|
78
|
+
|
|
79
|
+
## xmlchars 2.2.0
|
|
80
|
+
|
|
81
|
+
Source: <https://github.com/lddubeau/xmlchars/tree/v2.2.0>
|
|
82
|
+
|
|
83
|
+
The MIT-licensed XML character classifier is bundled transitively through `saxes` in the Adobe container Worker. The complete upstream license is shipped as `LICENSES/xmlchars-MIT.txt`.
|
|
84
|
+
|
|
85
|
+
## Stet 0.7.0 / stet-wasm 0.2.0
|
|
86
|
+
|
|
87
|
+
Source: <https://github.com/AndyCappDev/stet/tree/3aaf0a76ebd0f9129a715dfa10614d8871d8e965>
|
|
88
|
+
|
|
89
|
+
Stet is licensed under `Apache-2.0 OR MIT`. Both complete license texts are shipped as `LICENSES/Stet-Apache-2.0.txt` and `LICENSES/Stet-MIT.txt`. File Viewer applies the reproducible patch documented in `POSTSCRIPT-WASM.md`: it adds a browser VM cap and virtual-font loading, removes every compiled reference to the upstream URW Base35 assets and Ghostscript `default_cmyk.icc`, and uses the PLRM DeviceCMYK formula fallback. The package does not redistribute those excluded upstream assets.
|
|
90
|
+
|
|
91
|
+
The embedded substitutes are Carlito, Tinos, Cousine, and Noto Sans Symbols 2. Each is distributed under SIL Open Font License 1.1; the corresponding complete texts are shipped in `LICENSES/*-OFL-1.1.txt`. Font binaries come from Google Fonts commit `ade3d1533e06b2b1462ffcde8e08b129627ca360`, and the Tinos project notice is pinned to `googlefonts/tinos` commit `3b4482a99b80ea5fc75f187b1be3120a3f5905b3`. Exact source hashes are enforced by `scripts/build-postscript-wasm.mjs`.
|