@sublang/spex 4.0.0 → 4.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/package.json
CHANGED
|
@@ -49,7 +49,8 @@
|
|
|
49
49
|
"sha256-f0690fbe5613097f3d0d1196fec5323a21a6b62bc3875068c38d09c74c5658c4",
|
|
50
50
|
"sha256-3ea1ba444666c05895c05d7f33056137b5dab8f6cdbdb80eb057a338fdf8eb4b",
|
|
51
51
|
"sha256-7a08e109f0314e9b3297d2d791b635afb183c0815775690690497a9ac720a95b",
|
|
52
|
-
"sha256-0fdea7c594fe52e33c78f30afd2edc3e53414a8ee666a1a4acdaf64ee05487b0"
|
|
52
|
+
"sha256-0fdea7c594fe52e33c78f30afd2edc3e53414a8ee666a1a4acdaf64ee05487b0",
|
|
53
|
+
"sha256-b059af6fb2ddc8ec81628bab0b14d0deb1974b6ec840d5b9cabdfeebcab0f077"
|
|
53
54
|
],
|
|
54
55
|
"specs/intents/000-spdx-headers.md": [
|
|
55
56
|
"sha256-a5ae7e8e31e4292a9364ba7947b2fbf27836e9f88dc80436557191550fe1bd34",
|
|
@@ -68,6 +69,7 @@
|
|
|
68
69
|
"sha256-a22cc1cc543e0fa56cc42be4a96383b7866235d7b9bd1c27e2d4bb95e67b5667"
|
|
69
70
|
],
|
|
70
71
|
"i18n/zh/specs/packages/licensing.md": [
|
|
71
|
-
"sha256-b8219306bb5f6e33a548430c96301f0fa6b14bad36f3cb5ef72dc5338ea81aba"
|
|
72
|
+
"sha256-b8219306bb5f6e33a548430c96301f0fa6b14bad36f3cb5ef72dc5338ea81aba",
|
|
73
|
+
"sha256-661cc3ffb6651021ca417eec0e6555315fdea4bcae7d880aa694772634c37bed"
|
|
72
74
|
]
|
|
73
75
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- SPDX-License-Identifier: Apache-2.0 -->
|
|
2
2
|
<!-- SPDX-FileCopyrightText: 2026 SubLang International <https://sublang.ai> -->
|
|
3
|
-
<!-- spex-i18n-source: specs/packages/licensing.md sha256-
|
|
3
|
+
<!-- spex-i18n-source: specs/packages/licensing.md sha256-b059af6fb2ddc8ec81628bab0b14d0deb1974b6ec840d5b9cabdfeebcab0f077 -->
|
|
4
4
|
|
|
5
5
|
# licensing: 许可证头
|
|
6
6
|
|
|
@@ -72,3 +72,7 @@
|
|
|
72
72
|
### licensing-8
|
|
73
73
|
|
|
74
74
|
给定文件已包含上游 SPDX 行且项目许可证不同,当运行纳入准备流程,验证应断言每条上游行均逐字节保留,且任何缺失的必需行均采用上游数据而非项目许可证数据 [[licensing-5](#licensing-5)]。
|
|
75
|
+
|
|
76
|
+
### licensing-10
|
|
77
|
+
|
|
78
|
+
给定项目自编文件需要两种 SPDX 头且不含上游 SPDX 行,当运行仓库纳入准备流程,集成验证应断言这些文件在任何 shebang 之后的第一个注释块使用各文件原生的注释语法,注明项目自己的许可证和版权持有人,采用文件首次纳入项目的年份,且不含未解析的许可证或持有人占位符 [[licensing-9](#licensing-9)]。
|
|
@@ -71,3 +71,7 @@ Where the file has comment syntax, is included by the licensing scope [[licensin
|
|
|
71
71
|
### licensing-8
|
|
72
72
|
|
|
73
73
|
Where a file already contains upstream SPDX lines and the project license differs, when inclusion preparation runs, the verification shall assert byte-for-byte preservation of every upstream line and use of upstream rather than project license data for any missing required line [[licensing-5](#licensing-5)].
|
|
74
|
+
|
|
75
|
+
### licensing-10
|
|
76
|
+
|
|
77
|
+
Where project-authored files require both SPDX headers and carry no upstream SPDX lines, when repository inclusion preparation runs, integration verification shall assert that their first comment block after any shebang uses each file's native comment syntax, names the project's license and copyright holder, uses the year of first inclusion, and contains no unresolved license or holder placeholders [[licensing-9](#licensing-9)].
|