wendang 0.2.0 → 0.2.2

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,44 +1,21 @@
1
- Wendang 商业使用许可 1.0
2
-
3
- Copyright (c) 2026 ztes. All rights reserved.
4
-
5
- 本许可适用于 Wendang 项目及 wendang、wendang-vue 包中由 ztes 拥有版权的代码。
6
- 使用、复制或分发本软件即表示接受以下条款。
7
-
8
- 1. 允许的使用
9
- 在遵守本许可的前提下,授予您非独占、全球、免许可费的权利:
10
- a. 将本软件用于个人、内部或商业用途,包括收费产品、客户项目及 SaaS 服务;
11
- b. 为开发、集成、测试、维护和运行您的应用而复制本软件,并修改源码;
12
- c. 将原版或修改后的编译代码作为您的应用组成部分交付给客户或最终用户,
13
- 包括网站、浏览器应用、桌面应用、移动应用及服务端部署;
14
- d. 向受保密义务约束的雇员、承包商或客户提供维护上述应用所需的源码,
15
- 前提是这些接收者只能为该应用使用源码并遵守本许可。
16
- 您无需公开应用源码,也无需向 ztes 支付商业使用许可费。
17
-
18
- 2. 限制及保留的权利
19
- 本许可未授予您将本软件或其修改版作为独立库、SDK、编辑器组件包或源码
20
- 产品进行公开再发布、再许可、改名发布、出售或出租的权利。
21
- 上述限制不妨碍您销售或运营包含本软件的应用,也不妨碍按第 1 条交付应用。
22
- 超出本许可范围的独立分发或源码再许可,须另获 ztes 书面授权。
23
- 不得移除本软件中的版权、许可及第三方权利声明。本许可不授予商标权;
24
- 其他未明确授予的权利由各权利人保留。
25
-
26
- 3. 声明的保留
27
- 分发包含本软件的应用时,应在随附许可文件、第三方声明或应用关于页面中
28
- 保留本许可及版权声明。无需在应用主界面展示品牌或链接。
29
-
30
- 4. 第三方组件
31
- 第三方组件及其版权声明继续适用各自许可证,见 NOTICE.md 和
32
- third-party-notices/。本许可不限制第三方许可证已经授予的权利。
33
-
34
- 5. 终止
35
- 如违反本许可且未在收到书面通知后 30 日内纠正,本许可授予的权利终止。
36
- 终止不影响终止前已产生的义务及权利人的救济权。
37
-
38
- 6. 免责声明与责任限制
39
- 在适用法律允许的最大范围内,本软件按“现状”提供,不附带任何明示或
40
- 默示担保,包括适销性、特定用途适用性及不侵权担保。对于使用或无法使用
41
- 本软件产生的损害、数据丢失、利润损失或其他责任,作者及权利人不承担责任。
42
-
43
- 这是保留源码权利的商业使用许可,不是开源许可证。
44
- 授权联系:https://doc.yjmf.com
1
+ MIT License
2
+
3
+ Copyright (c) 2026 ztes
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/NOTICE.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Third-party notices
2
2
 
3
3
  Generated from the installed runtime dependency graph; package licenses remain unchanged.
4
- Wendang is licensed under the Wendang Commercial Use License; see LICENSE. Third-party components retain their own licenses.
4
+ Wendang is licensed under the MIT License; see LICENSE. Third-party components retain their own licenses.
5
5
 
6
6
  | Package | Version | Declared license | Included upstream notice |
7
7
  | --- | --- | --- | --- |
package/README.md CHANGED
@@ -169,4 +169,4 @@ if (model) {
169
169
 
170
170
  ## License
171
171
 
172
- 采用随包附带的 [Wendang 商业使用许可](LICENSE):允许免费商业使用、应用集成修改和随应用分发运行代码,无需公开应用源码。独立 SDK 或源码产品的再发布、再许可及出售需书面授权。
172
+ 采用随包附带的 [MIT 许可](LICENSE):可自由使用、修改、合并、发布、分发、再许可和/或销售本软件,只需保留版权声明与许可声明。
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "wendang",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "文档、工作表和思维导图的内容协议与校验核心。",
5
5
  "type": "module",
6
- "license": "SEE LICENSE IN LICENSE",
6
+ "license": "MIT",
7
7
  "main": "./dist/cjs/index.js",
8
8
  "module": "./dist/esm/index.js",
9
9
  "types": "./dist/types/index.d.ts",