@file-viewer/ppt 0.2.0 → 0.3.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 CHANGED
@@ -1,196 +1,122 @@
1
- Flyfish Public Watermarked Binary License for @file-viewer/ppt
2
- Version 1.2, July 2026
3
- License policy identifier: flyfish-public-watermarked-binary-license-v1
1
+ Flyfish Public Watermarked Runtime License for @file-viewer/ppt
2
+ Version 2.0, July 2026
3
+ License policy identifier: flyfish-public-watermarked-binary-license-v2
4
4
 
5
5
  Copyright (c) 2026 Flyfish. All rights reserved except as expressly granted in this License.
6
6
 
7
- IMPORTANT: This is a proprietary binary-use license. It is not an open-source
8
- license. By downloading, installing, copying, accessing, or using the Public
9
- Package, You accept this License. If You do not accept it, do not use the Public
10
- Package and delete every copy under Your control.
7
+ IMPORTANT: This is a proprietary runtime license, not an open-source license.
8
+ By downloading, installing, copying, accessing, or using the Public Runtime,
9
+ You accept this License. If You do not accept it, do not use the Public Runtime.
11
10
 
12
11
  1. Definitions
13
12
 
14
- “Flyfish” means the copyright owner and licensor of the Public Package.
13
+ “Flyfish” means the copyright owner and licensor.
15
14
 
16
- “Public Package” means the official, unmodified @file-viewer/ppt binary npm
17
- package distributed by Flyfish under this License, including its JavaScript
18
- loader, native WebAssembly rendering module, declarations, documentation, and
19
- required Flyfish Viewer watermark.
15
+ “Public Runtime” means the official, unmodified @file-viewer/ppt public npm
16
+ package and its required JavaScript, Worker, WebAssembly, font, declaration,
17
+ manifest, documentation, notice, and Flyfish Viewer watermark files.
20
18
 
21
- “You” means an individual natural person acting solely in that person’s
22
- personal capacity. A company, legal entity, government body, school, nonprofit,
23
- team, employer, client, or other organization is not “You” under the free grant,
24
- even when an individual accesses the Public Package on its behalf.
19
+ “You” means any individual or organization using or distributing the Public
20
+ Runtime under this License.
25
21
 
26
- Personal Non-Commercial Use” means learning, private research, private testing,
27
- personal evaluation, or a personal non-revenue project that is not performed
28
- for, on behalf of, or in connection with any organization, employment, client,
29
- profession, trade, business, compensation, fee, fundraising, or commercial
30
- advantage.
22
+ Integrated Product” means an application, website, service, library, demo,
23
+ deployment bundle, or other product in which the Public Runtime is included as
24
+ a functional dependency for PowerPoint preview rather than offered as a
25
+ standalone substitute for @file-viewer/ppt.
31
26
 
32
- “Commercial Use” means every use that is not Personal Non-Commercial Use.
27
+ 2. Public watermarked grant
33
28
 
34
- 2. Limited free grant
29
+ Subject to this License, Flyfish grants You a worldwide, royalty-free,
30
+ non-exclusive, non-transferable license to:
35
31
 
36
- Subject to continuous compliance with this License, Flyfish grants You a
37
- limited, non-exclusive, non-transferable, non-sublicensable, revocable right to:
32
+ - download, install, copy, and execute the Public Runtime for any lawful
33
+ personal, organizational, educational, government, nonprofit, internal,
34
+ commercial, production, SaaS, hosted, customer-facing, or professional use;
35
+ - integrate and deploy the Public Runtime in an Integrated Product;
36
+ - bundle or copy the unmodified Public Runtime through npm, package managers,
37
+ build tools, private registries, static asset directories, Docker images,
38
+ offline installers, demos, Full packages, CDN/IIFE distributions,
39
+ copy-assets workflows, and GitHub Release artifacts;
40
+ - host, mirror, and redistribute the unmodified Public Runtime when reasonably
41
+ required to install, operate, deploy, or distribute an Integrated Product;
42
+ and
43
+ - charge for an Integrated Product or service that includes the Public Runtime.
38
44
 
39
- - download and install the official Public Package;
40
- - execute it on any normal HTTP or HTTPS browser origin solely for Personal
41
- Non-Commercial Use; and
42
- - serve unmodified Public Package assets only as an integrated component of
43
- Your own Personal Non-Commercial Use project.
45
+ No paid license is required for these uses while the required Flyfish Viewer
46
+ watermark remains visible, complete, unobstructed, and unmodified in every
47
+ rendered slide and preview.
44
48
 
45
- The grant is conditioned on the Flyfish Viewer watermark remaining visible,
46
- complete, unobstructed, and unmodified in every rendered slide and preview.
47
- The grant does not include source code, source-delivery rights, redistribution
48
- rights, modification rights, derivative-work rights, or any commercial right.
49
+ Routine technical bundling, tree-shaking, compression, content hashing, and
50
+ minification are permitted when they do not change runtime behavior, bypass
51
+ integrity checks, remove notices, or alter the required watermark.
49
52
 
50
- 3. Commercial and organizational use
53
+ 3. Watermark-free commercial authorization
51
54
 
52
- You must obtain a separate written commercial license from Flyfish before any
53
- Commercial Use. Commercial Use includes, without limitation:
55
+ A separate written commercial authorization is required only to remove,
56
+ replace, hide, crop, cover, weaken, restyle, or otherwise alter the required
57
+ Flyfish Viewer watermark, or to receive a separately built watermark-free
58
+ runtime or source delivery. Commercial authorization applies only to the
59
+ entities, deployments, features, origins, term, and other scope stated in that
60
+ agreement.
54
61
 
55
- - any use by or for a company, organization, government body, school,
56
- nonprofit, team, employer, customer, or client, including internal evaluation;
57
- - production, intranet, extranet, SaaS, hosted, cloud, embedded, OEM, resale,
58
- consulting, customer-delivery, revenue-generating, fee-supported, sponsored,
59
- or professionally connected use;
60
- - integration into any product, service, project, procurement, sales demo, or
61
- workflow connected with business or compensated activity; and
62
- - any removal, hiding, obstruction, weakening, alteration, or replacement of
63
- the required Flyfish Viewer watermark or public-edition restrictions.
64
-
65
- A separately purchased commercial or enterprise agreement applies only to the
66
- features, deployments, origins, entities, term, and other scope expressly stated
67
- in that agreement. A commercial agreement does not amend this Public Package.
68
- Flyfish may instead provide a separately built commercial package.
69
-
70
- Purchase and authorization information:
71
- https://dev.flyfish.group/shop
62
+ Authorization information: https://dev.flyfish.group/shop
72
63
 
73
64
  4. Restrictions
74
65
 
75
- Except to the limited extent that mandatory law expressly permits despite this
76
- restriction, You may not, and may not enable or assist another person to:
77
-
78
- - redistribute, publish, mirror, sublicense, sell, rent, lease, transfer,
79
- repackage, or make the Public Package available as a standalone download,
80
- reusable dependency, CDN asset, hosted API, or service for third parties;
81
- - modify, translate, adapt, patch, or create derivative works from the Public
82
- Package, WebAssembly module, or watermark;
66
+ Except to the limited extent mandatory law permits despite these restrictions,
67
+ You may not, and may not enable another person to:
68
+
69
+ - sell, rent, sublicense, rebrand, rename, or publish the Public Runtime as a
70
+ standalone or competing package, download, API, hosted conversion service,
71
+ or product that substitutes for the official @file-viewer/ppt package;
72
+ - represent the Public Runtime as Your own engine, as open source, or as
73
+ licensed under Apache-2.0, MIT, BSD, GPL, or another open-source license;
74
+ - modify, translate, patch, adapt, or create derivative works from the Public
75
+ Runtime except for the routine integration transformations expressly allowed
76
+ in Section 2;
83
77
  - reverse engineer, decrypt, decompile, disassemble, extract, dump, recover, or
84
- otherwise attempt to derive source code, keys, protected modules, algorithms,
85
- or non-public interfaces;
86
- - bypass, forge, replace, disable, or interfere with any policy gate, integrity
87
- check, encryption, feature restriction, watermark control, or other technical
88
- protection measure;
78
+ attempt to derive source code, keys, protected modules, algorithms, or
79
+ non-public interfaces;
80
+ - bypass, forge, replace, disable, or interfere with a policy gate, integrity
81
+ check, encryption measure, feature restriction, watermark control, or other
82
+ technical protection;
89
83
  - remove, hide, crop, cover, restyle, obscure, weaken, or interfere with the
90
- Flyfish Viewer watermark in the viewer output;
84
+ required Flyfish Viewer watermark without separate written authorization; or
91
85
  - remove or alter copyright, license, attribution, provenance, trademark, or
92
- commercial-use notices; or
93
- - represent the Public Package as open source or as licensed under Apache-2.0,
94
- MIT, BSD, GPL, or another open-source license.
95
-
96
- Installing the official package through npm and making reasonable backup copies
97
- solely for Your permitted use are not prohibited redistribution.
98
-
99
- Technical bundling, minification, and static-asset deployment are permitted only
100
- as necessary to operate Your own project within the Limited Free Grant, provided
101
- that the Public Package is not exposed or supplied as a reusable library,
102
- standalone dependency, mirror, download, API, or service, and provided that all
103
- license notices, integrity controls, and required watermarks remain intact.
104
-
105
- 5. Separate source deliveries and Apache-2.0 boundary
106
-
107
- This License applies only to the Public Package and does not grant rights under
108
- the Apache License 2.0 or any other open-source license.
109
-
110
- Any Apache License 2.0 terms that Flyfish may separately provide to a specific
111
- source-delivery customer apply only to the source files and scope expressly
112
- identified in that separate delivery. Those terms are not incorporated into,
113
- and do not extend to, this Public Package, its public WebAssembly distribution,
114
- the Flyfish Viewer watermark, or Flyfish trademarks.
115
- Nothing in this License changes rights already validly granted in a separate
116
- written delivery or license agreement.
117
-
118
- 6. Watermark and limited trademark permission
119
-
120
- The Flyfish name and Flyfish Viewer watermark are protected marks of Flyfish.
121
- Solely so You can comply with this License, Flyfish grants You a narrow,
122
- non-transferable permission to display the unmodified mandatory watermark as
123
- produced by the Public Package. No other trademark, branding, endorsement, or
124
- merchandising right is granted.
125
-
126
- Only a separately purchased and separately built commercial package may omit
127
- the public watermark. Possession of a license file, source delivery, package
128
- copy, or modified runtime does not by itself authorize watermark removal.
129
-
130
- 7. Ownership and reservation of rights
131
-
132
- Flyfish and its licensors retain all title, ownership, copyright, patent,
133
- trade-secret, trademark, and other intellectual-property rights in the Public
134
- Package. No right is granted by implication, estoppel, exhaustion, or otherwise.
135
- All rights not expressly granted are reserved.
136
-
137
- Third-party components, if expressly identified in accompanying notices, remain
138
- subject to their respective licenses solely for those identified components.
139
- No third-party notice expands the grant for Flyfish proprietary components.
140
-
141
- 8. Updates and policy changes
142
-
143
- Each version of the Public Package is governed by the LICENSE file shipped with
144
- that version. Flyfish may offer later versions under revised terms. Continuing
145
- to use an updated version constitutes acceptance of the terms shipped with that
146
- updated version.
147
-
148
- 9. Termination
149
-
150
- This License terminates automatically and immediately upon breach. On
151
- termination, You must stop all use and delete every copy under Your possession
152
- or control. Sections 3 through 7 and 9 through 11 survive termination.
153
- Termination does not limit any other remedy available to Flyfish.
154
-
155
- 10. Disclaimer and limitation of liability
156
-
157
- THE PUBLIC PACKAGE IS PROVIDED “AS IS” AND “AS AVAILABLE,” WITHOUT WARRANTIES OR
158
- CONDITIONS OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING TITLE, NON-INFRINGEMENT,
159
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, ACCURACY, AVAILABILITY, OR
160
- SECURITY. TO THE MAXIMUM EXTENT PERMITTED BY LAW, FLYFISH AND ITS LICENSORS WILL
161
- NOT BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, EXEMPLARY,
162
- PUNITIVE, OR COMMERCIAL DAMAGES, OR FOR LOSS OF DATA, PROFITS, REVENUE, GOODWILL,
163
- OR BUSINESS INTERRUPTION, ARISING FROM OR RELATED TO THE PUBLIC PACKAGE OR THIS
164
- LICENSE.
165
-
166
- 11. General
167
-
168
- This License is the complete agreement for the Public Package unless You and
169
- Flyfish have signed a separate written agreement that expressly governs the
170
- same use. If a provision is unenforceable, it will be limited to the minimum
171
- extent necessary and the remaining provisions will continue in effect. A waiver
172
- must be in writing and applies only to the stated instance. You may not assign
173
- this License. Headings are for convenience only.
174
-
175
- 12. Contact
176
-
177
- Commercial licensing: https://dev.flyfish.group/shop
178
- Support email: wybaby168@gmail.com
179
-
180
- 中文摘要(仅便于阅读;如与英文条款冲突,以英文条款为准)
181
-
182
- - 本 npm 公网包是 Flyfish 专有二进制发行版,不是开源软件,也不适用
183
- Apache-2.0。单独向特定源码客户交付的 Apache-2.0 条款,仅适用于该次交付中
184
- 明确列出的源码和范围,不会扩展到本公网 npm 包。
185
- - 免费授权对象仅为以个人身份行事的自然人,且仅限个人、非商用、非组织用途;
186
- 公司、组织、政府、学校、非营利机构、团队、雇主或客户的内部评估也属于商用。
187
- - 公网水印版不限制正常 HTTP/HTTPS origin,但每一页必须完整显示
188
- Flyfish Viewer 水印。不得删除、遮挡、裁剪、弱化或替换水印。
189
- - 不得再分发、镜像、转售、重打包、修改、反编译、解密、提取、伪造授权或绕过
190
- WASM、完整性校验、功能限制及其他技术保护措施。
191
- - 在免费授权范围内,仅为运行本人项目而进行必要的前端打包、压缩和静态资源部署
192
- 是允许的,但不得将本包作为可复用依赖、镜像、独立下载、API 或服务向第三方
193
- 提供,并且必须完整保留许可证声明、完整性保护和水印。
194
- - 商业、生产、内网、SaaS、托管、嵌入、OEM、客户项目、收费或其他业务用途,
195
- 必须先购买单独商业授权;只有单独构建的商业包可以不显示公网水印。
196
- - 商业授权购买地址:https://dev.flyfish.group/shop
86
+ third-party notices.
87
+
88
+ An exact official package mirror, cache, backup, or static copy used to install
89
+ or deploy an Integrated Product is not prohibited standalone redistribution.
90
+
91
+ 5. Proprietary and open-source boundary
92
+
93
+ This License applies only to the Public Runtime. It does not grant source code,
94
+ source-delivery, patent, trademark, or open-source rights. Apache-2.0 terms that
95
+ may apply to File Viewer or to a separately identified source delivery do not
96
+ extend to @file-viewer/ppt, its WebAssembly runtime, or Flyfish trademarks.
97
+
98
+ Third-party components identified in the NOTICE remain subject to their own
99
+ licenses. Those notices do not expand the grant for Flyfish proprietary code.
100
+
101
+ 6. Ownership and trademark
102
+
103
+ Flyfish and its licensors retain all title and intellectual-property rights in
104
+ the Public Runtime. The narrow permission to display the unmodified Flyfish
105
+ Viewer watermark does not grant any other trademark or endorsement right.
106
+
107
+ 7. Termination
108
+
109
+ This License terminates automatically if You materially violate it. Your rights
110
+ are reinstated when You cure the violation within 30 days after discovery,
111
+ unless Flyfish has notified You of a repeated or intentional violation.
112
+
113
+ 8. Disclaimer and limitation of liability
114
+
115
+ THE PUBLIC RUNTIME IS PROVIDED “AS IS”, WITHOUT WARRANTIES OR CONDITIONS OF ANY
116
+ KIND. TO THE MAXIMUM EXTENT PERMITTED BY LAW, FLYFISH IS NOT LIABLE FOR INDIRECT,
117
+ INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR EXEMPLARY DAMAGES ARISING FROM ITS USE.
118
+
119
+ 9. Entire license
120
+
121
+ This License is the complete public grant for the Public Runtime. A separate
122
+ written agreement controls only where it expressly grants additional rights.
package/NOTICE CHANGED
@@ -1,32 +1,32 @@
1
1
  @file-viewer/ppt
2
2
  Copyright 2026 Flyfish.
3
3
 
4
- PROPRIETARY PUBLIC BINARY DISTRIBUTION — NOT OPEN SOURCE
4
+ PROPRIETARY PUBLIC WATERMARKED RUNTIME — NOT OPEN SOURCE
5
5
 
6
- This npm package is governed only by the included Flyfish Public Watermarked
7
- Binary License. It is not licensed under Apache-2.0. Apache-2.0 terms supplied
8
- under a separate written source-code delivery apply only to the files and scope
9
- expressly identified in that separate delivery and do not extend to this npm
10
- package.
6
+ This npm package is governed by the included Flyfish Public Watermarked Runtime
7
+ License. It is not licensed under Apache-2.0. Apache-2.0 terms that may apply to
8
+ File Viewer or a separately identified source delivery do not extend to this
9
+ runtime.
11
10
 
12
- Free use is limited to an individual natural person acting solely in a personal,
13
- non-commercial, non-organizational capacity. Use by or for any company,
14
- organization, government body, school, nonprofit, team, employer, customer, or
15
- client requires a purchased commercial license.
11
+ The unmodified public runtime may be used by individuals and organizations for
12
+ personal, internal, commercial, production, SaaS, hosted, and customer-facing
13
+ applications. It may be bundled, copied, hosted, mirrored, and redistributed as
14
+ an integrated dependency of File Viewer or another application, including npm,
15
+ Full, CDN/IIFE, Docker, offline, copy-assets, and GitHub Release distributions.
16
16
 
17
17
  Every public rendering must display the unmodified Flyfish Viewer watermark.
18
- Only a separately purchased and separately built commercial package may omit
19
- that watermark.
18
+ Only separate written commercial authorization may permit removing, replacing,
19
+ hiding, or weakening that watermark or using a watermark-free build.
20
20
 
21
- This package contains a native PPT parsing and Canvas rasterization WebAssembly
22
- runtime plus generated public declarations. It does not include a customer
23
- runtime license, license-signing secret, commercial watermark-removal
24
- capability, source-delivery rights, or readable parser/renderer source.
21
+ The package contains a native PPT parsing and Canvas rasterization WebAssembly
22
+ runtime plus generated public declarations. It does not include source-delivery
23
+ rights, watermark-removal capability, or readable parser/renderer source.
25
24
 
26
- Commercial licensing: https://dev.flyfish.group/shop
25
+ Commercial watermark authorization: https://dev.flyfish.group/shop
27
26
 
28
- The native engine embeds deterministic fallback fonts. Their copyright notices
29
- and full font licenses are appended to this NOTICE in the published package.
27
+ The package ships deterministic fallback font resources separately from the
28
+ native engine. Their copyright notices and full font licenses are appended to
29
+ this NOTICE in the published package.
30
30
 
31
31
  THIRD-PARTY FONT NOTICES
32
32