build(site): [SITE-07] reproduce historical Unicode data and ship source notices

This commit is contained in:
Harvey Zhao committed 2026-09-15 13:53:24 +08:00
1 parent 1fed96a909
commit 65368809ee
38 files changed
+78160 -9

No files matched your search

+6
View File
@@ -125,6 +125,10 @@ Included component: WinJS-derived DOM helpers (Monaco core) unversioned adaptati
Source: https://github.com/winjs/winjs/tree/4329b1133b243d9ded3b5a1f98d096ee8e80e889
Included component: Unicode data (Monaco core) mixed historical inputs: 10.0.0d5, 13.0 drafts, Emoji 13.1
Source: https://github.com/alexdima/unicode-utils
- licenses/monaco-editor/LICENSE
- licenses/monaco-editor/ThirdPartyNotices.txt
- licenses/monaco-editor/codicons/LICENSE
@@ -154,6 +158,8 @@ Source: https://github.com/winjs/winjs/tree/4329b1133b243d9ded3b5a1f98d096ee8e80
- licenses/monaco-editor/core-path/ATTRIBUTION.md
- licenses/monaco-editor/core-dom/LICENSE.txt
- licenses/monaco-editor/core-dom/ATTRIBUTION.md
- licenses/monaco-editor/core-unicode/LICENSE.txt
- licenses/monaco-editor/core-unicode/ATTRIBUTION.md
## console legacy-vendor-with-TS-adapter
@@ -0,0 +1,15 @@
# Unicode data embedded in Monaco Editor 0.30.1
The editor and base worker contain generated Unicode data through Microsoft VS Code's vs/base/common/strings.ts. Existing Microsoft notices remain applicable to the surrounding code.
The original alexdima/unicode-utils generators reproduce all four selected data expressions from fixed VS Code commit 829382514cb1065f5ebb90f436e1c6103e153953 and both original Monaco source maps:
- RTL regular expression: UnicodeData-10.0.0d5.txt (draft), frozen at 5c256860b1e4e54b0375165b8451cf7cdabc953a. The version label comes from that commit's fetch recipe; this is not a claim about final Unicode 10.
- Emoji regular expression and imprecise code-point predicate: Emoji 13.1 emoji-test.txt and Unicode 13.0 UnicodeData.txt, frozen at 6d37cf4362203bfb5431c560cd8809b2cc3b51c1.
- Grapheme break tree: 5,034 integers from GraphemeBreakProperty-13.0.0d4.txt and the accompanying 2019 emoji-data.txt snapshot, frozen at 2068fd0695b2798d8debb3646c860f5d37ba75b2. Do not silently substitute final or later Unicode data.
Data files retain their original Unicode copyright headers. LICENSE.txt is the complete Unicode data/software license from unicode-org/unicodetools commit b1c21ef7e972ea0c783c19cf25494bde645fbf21, copyright 1991-2020 Unicode, Inc.; it is a fixed historical reference, not a claim that the generator distributed its own license file.
The generator repository's package.json identifies Alex Dima and declares MIT; that frozen tree has no standalone LICENSE file. Its lockfile resolves regexpu 3.3.0 despite conflicting dependency/devDependency ranges. Reproduction tools use the exact locked dependencies in an isolated cache; those tools and dependencies are not shipped with the site runtime.
The source/input hashes, recipes, archive integrity and reproduction command are maintained in refactor/baselines/monaco-unicode-provenance.json and scripts/site-vendor/monaco/README.md in the ArtPlayer source repository. This records data origins, not complete Unicode conformance or a complete historical Monaco build.
@@ -0,0 +1,46 @@
UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
See Terms of Use for definitions of Unicode Inc.'s
Data Files and Software.
NOTICE TO USER: Carefully read the following legal agreement.
BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S
DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"),
YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
TERMS AND CONDITIONS OF THIS AGREEMENT.
IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE
THE DATA FILES OR SOFTWARE.
COPYRIGHT AND PERMISSION NOTICE
Copyright © 1991-2020 Unicode, Inc. All rights reserved.
Distributed under the Terms of Use in https://www.unicode.org/copyright.html.
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Unicode data files and any associated documentation
(the "Data Files") or Unicode software and any associated documentation
(the "Software") to deal in the Data Files or Software
without restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, and/or sell copies of
the Data Files or Software, and to permit persons to whom the Data Files
or Software are furnished to do so, provided that either
(a) this copyright and permission notice appear with all copies
of the Data Files or Software, or
(b) this copyright and permission notice appear in associated
Documentation.
THE DATA FILES AND SOFTWARE ARE 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 OF THIRD PARTY RIGHTS.
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THE DATA FILES OR SOFTWARE.
Except as contained in this notice, the name of a copyright holder
shall not be used in advertising or otherwise to promote the sale,
use or other dealings in these Data Files or Software without prior
written authorization of the copyright holder.