Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
fix(legal): 让 macOS 第三方声明逐架构覆盖 libvips 预编译库 (#483)
zhanghengxd2a8b46923556
diff --git a/apps/desktop/resources/THIRD-PARTY-NOTICES.txt b/apps/desktop/resources/THIRD-PARTY-NOTICES.txtindex a2291a9ac4..b3e745a10a 100644--- a/apps/desktop/resources/THIRD-PARTY-NOTICES.txt+++ b/apps/desktop/resources/THIRD-PARTY-NOTICES.txt@@ -108,6 +108,92 @@ Exact bundled library versions:Corresponding build recipes and pinned upstream source locations are available at the exact sharp-libvips tag above. The bundled libvips version is 8.18.3.+------------------------------------------------------------------------------+@img/sharp-libvips-darwin-x64 embedded native libraries 1.3.2+License: LicenseRef-Sharp-Third-Party-Licenses+Source: https://github.com/lovell/sharp-libvips/tree/v1.3.2+------------------------------------------------------------------------------+# `@img/sharp-libvips-darwin-x64`++Prebuilt libvips and dependencies for use with sharp on macOS x64.++## Licensing++This software contains third-party libraries+used under the terms of the following licenses:++| Library | Used under the terms of |+|---------------|-----------------------------------------------------------------------------------------------------------|+| aom | BSD 2-Clause + [Alliance for Open Media Patent License 1.0](https://aomedia.org/license/patent-license/) |+| cairo | Mozilla Public License 2.0 |+| cgif | MIT License |+| expat | MIT License |+| fontconfig | [fontconfig License](https://gitlab.freedesktop.org/fontconfig/fontconfig/blob/main/COPYING) (BSD-like) |+| freetype | [freetype License](https://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/docs/FTL.TXT) (BSD-like) |+| fribidi | LGPLv3 |+| glib | LGPLv3 |+| harfbuzz | MIT License |+| highway | BSD 3-Clause |+| lcms | MIT License |+| libarchive | BSD 2-Clause |+| libexif | LGPLv3 |+| libffi | MIT License |+| libheif | LGPLv3 |+| libimagequant | [BSD 2-Clause](https://github.com/lovell/libimagequant/blob/main/COPYRIGHT) |+| libnsgif | MIT License |+| libpng | [libpng License](https://github.com/pnggroup/libpng/blob/master/LICENSE) |+| librsvg | LGPLv3 |+| libtiff | [libtiff License](https://gitlab.com/libtiff/libtiff/blob/master/LICENSE.md) (BSD-like) |+| libultrahdr | MIT License |+| libvips | LGPLv3 |+| libwebp | New BSD License |+| libxml2 | MIT License |+| mozjpeg | [zlib License, IJG License, BSD 3-Clause](https://github.com/mozilla/mozjpeg/blob/master/LICENSE.md) |+| pango | LGPLv3 |+| pixman | MIT License |+| proxy-libintl | LGPLv3 |+| zlib-ng | [zlib License](https://github.com/zlib-ng/zlib-ng/blob/develop/LICENSE.md) |++Use of libraries under the terms of the LGPLv3 is via the+"any later version" clause of the LGPLv2 or LGPLv2.1.++Please report any errors or omissions via+https://github.com/lovell/sharp-libvips/issues/new++Exact bundled library versions:+{+ "aom": "3.14.1",+ "archive": "3.8.8",+ "cairo": "1.18.4",+ "cgif": "0.5.3",+ "exif": "0.6.26",+ "expat": "2.8.2",+ "ffi": "3.6.0",+ "fontconfig": "2.18.1",+ "freetype": "2.14.3",+ "fribidi": "1.0.16",+ "glib": "2.89.1",+ "harfbuzz": "14.2.1",+ "heif": "1.23.1",+ "highway": "1.4.0",+ "imagequant": "2.4.1",+ "lcms": "2.19.1",+ "mozjpeg": "0826579",+ "pango": "1.58.0",+ "pixman": "0.46.4",+ "png": "1.6.58",+ "proxy-libintl": "0.5",+ "rsvg": "2.62.90",+ "tiff": "d01a94b",+ "uhdr": "1acdbed",+ "vips": "8.18.3",+ "webp": "1.6.0",+ "xml2": "2.15.3",+ "zlib-ng": "2.3.3"+}++Corresponding build recipes and pinned upstream source locations are available at the exact sharp-libvips tag above. The bundled libvips version is 8.18.3.+------------------------------------------------------------------------------@img/sharp-libvips-linux-arm64 embedded native libraries 1.3.2License: LicenseRef-Sharp-Third-Party-Licensesdiff --git a/docs/legal/notices/THIRD-PARTY-NOTICES.txt b/docs/legal/notices/THIRD-PARTY-NOTICES.txtindex c15256caa7..9188d9016c 100644--- a/docs/legal/notices/THIRD-PARTY-NOTICES.txt+++ b/docs/legal/notices/THIRD-PARTY-NOTICES.txt@@ -108,6 +108,92 @@ Exact bundled library versions:Corresponding build recipes and pinned upstream source locations are available at the exact sharp-libvips tag above. The bundled libvips version is 8.18.3.+------------------------------------------------------------------------------+@img/sharp-libvips-darwin-x64 embedded native libraries 1.3.2+License: LicenseRef-Sharp-Third-Party-Licenses+Source: https://github.com/lovell/sharp-libvips/tree/v1.3.2+------------------------------------------------------------------------------+# `@img/sharp-libvips-darwin-x64`++Prebuilt libvips and dependencies for use with sharp on macOS x64.++## Licensing++This software contains third-party libraries+used under the terms of the following licenses:++| Library | Used under the terms of |+|---------------|-----------------------------------------------------------------------------------------------------------|+| aom | BSD 2-Clause + [Alliance for Open Media Patent License 1.0](https://aomedia.org/license/patent-license/) |+| cairo | Mozilla Public License 2.0 |+| cgif | MIT License |+| expat | MIT License |+| fontconfig | [fontconfig License](https://gitlab.freedesktop.org/fontconfig/fontconfig/blob/main/COPYING) (BSD-like) |+| freetype | [freetype License](https://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/docs/FTL.TXT) (BSD-like) |+| fribidi | LGPLv3 |+| glib | LGPLv3 |+| harfbuzz | MIT License |+| highway | BSD 3-Clause |+| lcms | MIT License |+| libarchive | BSD 2-Clause |+| libexif | LGPLv3 |+| libffi | MIT License |+| libheif | LGPLv3 |+| libimagequant | [BSD 2-Clause](https://github.com/lovell/libimagequant/blob/main/COPYRIGHT) |+| libnsgif | MIT License |+| libpng | [libpng License](https://github.com/pnggroup/libpng/blob/master/LICENSE) |+| librsvg | LGPLv3 |+| libtiff | [libtiff License](https://gitlab.com/libtiff/libtiff/blob/master/LICENSE.md) (BSD-like) |+| libultrahdr | MIT License |+| libvips | LGPLv3 |+| libwebp | New BSD License |+| libxml2 | MIT License |+| mozjpeg | [zlib License, IJG License, BSD 3-Clause](https://github.com/mozilla/mozjpeg/blob/master/LICENSE.md) |+| pango | LGPLv3 |+| pixman | MIT License |+| proxy-libintl | LGPLv3 |+| zlib-ng | [zlib License](https://github.com/zlib-ng/zlib-ng/blob/develop/LICENSE.md) |++Use of libraries under the terms of the LGPLv3 is via the+"any later version" clause of the LGPLv2 or LGPLv2.1.++Please report any errors or omissions via+https://github.com/lovell/sharp-libvips/issues/new++Exact bundled library versions:+{+ "aom": "3.14.1",+ "archive": "3.8.8",+ "cairo": "1.18.4",+ "cgif": "0.5.3",+ "exif": "0.6.26",+ "expat": "2.8.2",+ "ffi": "3.6.0",+ "fontconfig": "2.18.1",+ "freetype": "2.14.3",+ "fribidi": "1.0.16",+ "glib": "2.89.1",+ "harfbuzz": "14.2.1",+ "heif": "1.23.1",+ "highway": "1.4.0",+ "imagequant": "2.4.1",+ "lcms": "2.19.1",+ "mozjpeg": "0826579",+ "pango": "1.58.0",+ "pixman": "0.46.4",+ "png": "1.6.58",+ "proxy-libintl": "0.5",+ "rsvg": "2.62.90",+ "tiff": "d01a94b",+ "uhdr": "1acdbed",+ "vips": "8.18.3",+ "webp": "1.6.0",+ "xml2": "2.15.3",+ "zlib-ng": "2.3.3"+}++Corresponding build recipes and pinned upstream source locations are available at the exact sharp-libvips tag above. The bundled libvips version is 8.18.3.+------------------------------------------------------------------------------@img/sharp-libvips-linux-arm64 embedded native libraries 1.3.2License: LicenseRef-Sharp-Third-Party-Licensesdiff --git a/docs/legal/notices/desktop-macos.txt b/docs/legal/notices/desktop-macos.txtindex 5655bf5332..551f6c6b91 100644--- a/docs/legal/notices/desktop-macos.txt+++ b/docs/legal/notices/desktop-macos.txt@@ -732,6 +732,92 @@ 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 THESOFTWARE.+------------------------------------------------------------------------------+@img/sharp-libvips-darwin-x64 embedded native libraries 1.3.2+License: LicenseRef-Sharp-Third-Party-Licenses+Source: https://github.com/lovell/sharp-libvips/tree/v1.3.2+------------------------------------------------------------------------------+# `@img/sharp-libvips-darwin-x64`++Prebuilt libvips and dependencies for use with sharp on macOS x64.++## Licensing++This software contains third-party libraries+used under the terms of the following licenses:++| Library | Used under the terms of |+|---------------|-----------------------------------------------------------------------------------------------------------|+| aom | BSD 2-Clause + [Alliance for Open Media Patent License 1.0](https://aomedia.org/license/patent-license/) |+| cairo | Mozilla Public License 2.0 |+| cgif | MIT License |+| expat | MIT License |+| fontconfig | [fontconfig License](https://gitlab.freedesktop.org/fontconfig/fontconfig/blob/main/COPYING) (BSD-like) |+| freetype | [freetype License](https://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/docs/FTL.TXT) (BSD-like) |+| fribidi | LGPLv3 |+| glib | LGPLv3 |+| harfbuzz | MIT License |+| highway | BSD 3-Clause |+| lcms | MIT License |+| libarchive | BSD 2-Clause |+| libexif | LGPLv3 |+| libffi | MIT License |+| libheif | LGPLv3 |+| libimagequant | [BSD 2-Clause](https://github.com/lovell/libimagequant/blob/main/COPYRIGHT) |+| libnsgif | MIT License |+| libpng | [libpng License](https://github.com/pnggroup/libpng/blob/master/LICENSE) |+| librsvg | LGPLv3 |+| libtiff | [libtiff License](https://gitlab.com/libtiff/libtiff/blob/master/LICENSE.md) (BSD-like) |+| libultrahdr | MIT License |+| libvips | LGPLv3 |+| libwebp | New BSD License |+| libxml2 | MIT License |+| mozjpeg | [zlib License, IJG License, BSD 3-Clause](https://github.com/mozilla/mozjpeg/blob/master/LICENSE.md) |+| pango | LGPLv3 |+| pixman | MIT License |+| proxy-libintl | LGPLv3 |+| zlib-ng | [zlib License](https://github.com/zlib-ng/zlib-ng/blob/develop/LICENSE.md) |++Use of libraries under the terms of the LGPLv3 is via the+"any later version" clause of the LGPLv2 or LGPLv2.1.++Please report any errors or omissions via+https://github.com/lovell/sharp-libvips/issues/new++Exact bundled library versions:+{+ "aom": "3.14.1",+ "archive": "3.8.8",+ "cairo": "1.18.4",+ "cgif": "0.5.3",+ "exif": "0.6.26",+ "expat": "2.8.2",+ "ffi": "3.6.0",+ "fontconfig": "2.18.1",+ "freetype": "2.14.3",+ "fribidi": "1.0.16",+ "glib": "2.89.1",+ "harfbuzz": "14.2.1",+ "heif": "1.23.1",+ "highway": "1.4.0",+ "imagequant": "2.4.1",+ "lcms": "2.19.1",+ "mozjpeg": "0826579",+ "pango": "1.58.0",+ "pixman": "0.46.4",+ "png": "1.6.58",+ "proxy-libintl": "0.5",+ "rsvg": "2.62.90",+ "tiff": "d01a94b",+ "uhdr": "1acdbed",+ "vips": "8.18.3",+ "webp": "1.6.0",+ "xml2": "2.15.3",+ "zlib-ng": "2.3.3"+}++Corresponding build recipes and pinned upstream source locations are available at the exact sharp-libvips tag above. The bundled libvips version is 8.18.3.+------------------------------------------------------------------------------@img/sharp-libvips-darwin-arm64 embedded native libraries 1.3.2License: LicenseRef-Sharp-Third-Party-Licensesdiff --git a/docs/legal/notices/sbom/desktop-macos.spdx.json b/docs/legal/notices/sbom/desktop-macos.spdx.jsonindex d9ef56d0fd..42b4e10ed9 100644--- a/docs/legal/notices/sbom/desktop-macos.spdx.json+++ b/docs/legal/notices/sbom/desktop-macos.spdx.json@@ -3,7 +3,7 @@"dataLicense": "CC0-1.0","SPDXID": "SPDXRef-DOCUMENT","name": "cindy-desktop-macos",- "documentNamespace": "https://cindy.app/spdx/desktop-macos/bb37c5ba08f1e1c53e11d37d0e252a58537978adb51c0a954c200ffe7f0bdf3d",+ "documentNamespace": "https://cindy.app/spdx/desktop-macos/3b3da6083be54d1a02f211b384e996fe863f75def512829c90ecda5ee685e5dc","creationInfo": {"created": "2026-07-25T09:00:18Z","creators": [@@ -21,6 +21,16 @@"licenseDeclared": "LicenseRef-Sharp-Third-Party-Licenses","copyrightText": "NOASSERTION"},+ {+ "name": "@img/sharp-libvips-darwin-x64 embedded native libraries",+ "SPDXID": "SPDXRef-Package-ec651a334874cc0c",+ "versionInfo": "1.3.2",+ "downloadLocation": "https://github.com/lovell/sharp-libvips/tree/v1.3.2",+ "filesAnalyzed": false,+ "licenseConcluded": "LicenseRef-Sharp-Third-Party-Licenses",+ "licenseDeclared": "LicenseRef-Sharp-Third-Party-Licenses",+ "copyrightText": "NOASSERTION"+ },{"name": "Code Island NotchPanelShape & mascot parameters (adapted)","SPDXID": "SPDXRef-Package-19432fe60a02f6f2",@@ -13405,6 +13415,11 @@"relationshipType": "DESCRIBES","relatedSpdxElement": "SPDXRef-Package-c24dccc9b1b6159e"},+ {+ "spdxElementId": "SPDXRef-DOCUMENT",+ "relationshipType": "DESCRIBES",+ "relatedSpdxElement": "SPDXRef-Package-ec651a334874cc0c"+ },{"spdxElementId": "SPDXRef-DOCUMENT","relationshipType": "DESCRIBES",@@ -17364,7 +17379,7 @@"hasExtractedLicensingInfos": [{"licenseId": "LicenseRef-Sharp-Third-Party-Licenses",- "extractedText": "# `@img/sharp-libvips-darwin-arm64`\n\nPrebuilt libvips and dependencies for use with sharp on macOS 64-bit ARM.\n\n## Licensing\n\nThis software contains third-party libraries\nused under the terms of the following licenses:\n\n| Library | Used under the terms of |\n|---------------|-----------------------------------------------------------------------------------------------------------|\n| aom | BSD 2-Clause + [Alliance for Open Media Patent License 1.0](https://aomedia.org/license/patent-license/) |\n| cairo | Mozilla Public License 2.0 |\n| cgif | MIT License |\n| expat | MIT License |\n| fontconfig | [fontconfig License](https://gitlab.freedesktop.org/fontconfig/fontconfig/blob/main/COPYING) (BSD-like) |\n| freetype | [freetype License](https://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/docs/FTL.TXT) (BSD-like) |\n| fribidi | LGPLv3 |\n| glib | LGPLv3 |\n| harfbuzz | MIT License |\n| highway | BSD 3-Clause |\n| lcms | MIT License |\n| libarchive | BSD 2-Clause |\n| libexif | LGPLv3 |\n| libffi | MIT License |\n| libheif | LGPLv3 |\n| libimagequant | [BSD 2-Clause](https://github.com/lovell/libimagequant/blob/main/COPYRIGHT) |\n| libnsgif | MIT License |\n| libpng | [libpng License](https://github.com/pnggroup/libpng/blob/master/LICENSE) |\n| librsvg | LGPLv3 |\n| libtiff | [libtiff License](https://gitlab.com/libtiff/libtiff/blob/master/LICENSE.md) (BSD-like) |\n| libultrahdr | MIT License |\n| libvips | LGPLv3 |\n| libwebp | New BSD License |\n| libxml2 | MIT License |\n| mozjpeg | [zlib License, IJG License, BSD 3-Clause](https://github.com/mozilla/mozjpeg/blob/master/LICENSE.md) |\n| pango | LGPLv3 |\n| pixman | MIT License |\n| proxy-libintl | LGPLv3 |\n| zlib-ng | [zlib License](https://github.com/zlib-ng/zlib-ng/blob/develop/LICENSE.md) |\n\nUse of libraries under the terms of the LGPLv3 is via the\n\"any later version\" clause of the LGPLv2 or LGPLv2.1.\n\nPlease report any errors or omissions via\nhttps://github.com/lovell/sharp-libvips/issues/new\n\nExact bundled library versions:\n{\n \"aom\": \"3.14.1\",\n \"archive\": \"3.8.8\",\n \"cairo\": \"1.18.4\",\n \"cgif\": \"0.5.3\",\n \"exif\": \"0.6.26\",\n \"expat\": \"2.8.2\",\n \"ffi\": \"3.6.0\",\n \"fontconfig\": \"2.18.1\",\n \"freetype\": \"2.14.3\",\n \"fribidi\": \"1.0.16\",\n \"glib\": \"2.89.1\",\n \"harfbuzz\": \"14.2.1\",\n \"heif\": \"1.23.1\",\n \"highway\": \"1.4.0\",\n \"imagequant\": \"2.4.1\",\n \"lcms\": \"2.19.1\",\n \"mozjpeg\": \"0826579\",\n \"pango\": \"1.58.0\",\n \"pixman\": \"0.46.4\",\n \"png\": \"1.6.58\",\n \"proxy-libintl\": \"0.5\",\n \"rsvg\": \"2.62.90\",\n \"tiff\": \"d01a94b\",\n \"uhdr\": \"1acdbed\",\n \"vips\": \"8.18.3\",\n \"webp\": \"1.6.0\",\n \"xml2\": \"2.15.3\",\n \"zlib-ng\": \"2.3.3\"\n}\n\nCorresponding build recipes and pinned upstream source locations are available at the exact sharp-libvips tag above. The bundled libvips version is 8.18.3."+ "extractedText": "### bundled:@img/sharp-libvips-darwin-arm64 embedded native [email protected]\n\n# `@img/sharp-libvips-darwin-arm64`\n\nPrebuilt libvips and dependencies for use with sharp on macOS 64-bit ARM.\n\n## Licensing\n\nThis software contains third-party libraries\nused under the terms of the following licenses:\n\n| Library | Used under the terms of |\n|---------------|-----------------------------------------------------------------------------------------------------------|\n| aom | BSD 2-Clause + [Alliance for Open Media Patent License 1.0](https://aomedia.org/license/patent-license/) |\n| cairo | Mozilla Public License 2.0 |\n| cgif | MIT License |\n| expat | MIT License |\n| fontconfig | [fontconfig License](https://gitlab.freedesktop.org/fontconfig/fontconfig/blob/main/COPYING) (BSD-like) |\n| freetype | [freetype License](https://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/docs/FTL.TXT) (BSD-like) |\n| fribidi | LGPLv3 |\n| glib | LGPLv3 |\n| harfbuzz | MIT License |\n| highway | BSD 3-Clause |\n| lcms | MIT License |\n| libarchive | BSD 2-Clause |\n| libexif | LGPLv3 |\n| libffi | MIT License |\n| libheif | LGPLv3 |\n| libimagequant | [BSD 2-Clause](https://github.com/lovell/libimagequant/blob/main/COPYRIGHT) |\n| libnsgif | MIT License |\n| libpng | [libpng License](https://github.com/pnggroup/libpng/blob/master/LICENSE) |\n| librsvg | LGPLv3 |\n| libtiff | [libtiff License](https://gitlab.com/libtiff/libtiff/blob/master/LICENSE.md) (BSD-like) |\n| libultrahdr | MIT License |\n| libvips | LGPLv3 |\n| libwebp | New BSD License |\n| libxml2 | MIT License |\n| mozjpeg | [zlib License, IJG License, BSD 3-Clause](https://github.com/mozilla/mozjpeg/blob/master/LICENSE.md) |\n| pango | LGPLv3 |\n| pixman | MIT License |\n| proxy-libintl | LGPLv3 |\n| zlib-ng | [zlib License](https://github.com/zlib-ng/zlib-ng/blob/develop/LICENSE.md) |\n\nUse of libraries under the terms of the LGPLv3 is via the\n\"any later version\" clause of the LGPLv2 or LGPLv2.1.\n\nPlease report any errors or omissions via\nhttps://github.com/lovell/sharp-libvips/issues/new\n\nExact bundled library versions:\n{\n \"aom\": \"3.14.1\",\n \"archive\": \"3.8.8\",\n \"cairo\": \"1.18.4\",\n \"cgif\": \"0.5.3\",\n \"exif\": \"0.6.26\",\n \"expat\": \"2.8.2\",\n \"ffi\": \"3.6.0\",\n \"fontconfig\": \"2.18.1\",\n \"freetype\": \"2.14.3\",\n \"fribidi\": \"1.0.16\",\n \"glib\": \"2.89.1\",\n \"harfbuzz\": \"14.2.1\",\n \"heif\": \"1.23.1\",\n \"highway\": \"1.4.0\",\n \"imagequant\": \"2.4.1\",\n \"lcms\": \"2.19.1\",\n \"mozjpeg\": \"0826579\",\n \"pango\": \"1.58.0\",\n \"pixman\": \"0.46.4\",\n \"png\": \"1.6.58\",\n \"proxy-libintl\": \"0.5\",\n \"rsvg\": \"2.62.90\",\n \"tiff\": \"d01a94b\",\n \"uhdr\": \"1acdbed\",\n \"vips\": \"8.18.3\",\n \"webp\": \"1.6.0\",\n \"xml2\": \"2.15.3\",\n \"zlib-ng\": \"2.3.3\"\n}\n\nCorresponding build recipes and pinned upstream source locations are available at the exact sharp-libvips tag above. The bundled libvips version is 8.18.3.\n\n------------------------------------------------------------------------\n\n### bundled:@img/sharp-libvips-darwin-x64 embedded native [email protected]\n\n# `@img/sharp-libvips-darwin-x64`\n\nPrebuilt libvips and dependencies for use with sharp on macOS x64.\n\n## Licensing\n\nThis software contains third-party libraries\nused under the terms of the following licenses:\n\n| Library | Used under the terms of |\n|---------------|-----------------------------------------------------------------------------------------------------------|\n| aom | BSD 2-Clause + [Alliance for Open Media Patent License 1.0](https://aomedia.org/license/patent-license/) |\n| cairo | Mozilla Public License 2.0 |\n| cgif | MIT License |\n| expat | MIT License |\n| fontconfig | [fontconfig License](https://gitlab.freedesktop.org/fontconfig/fontconfig/blob/main/COPYING) (BSD-like) |\n| freetype | [freetype License](https://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/docs/FTL.TXT) (BSD-like) |\n| fribidi | LGPLv3 |\n| glib | LGPLv3 |\n| harfbuzz | MIT License |\n| highway | BSD 3-Clause |\n| lcms | MIT License |\n| libarchive | BSD 2-Clause |\n| libexif | LGPLv3 |\n| libffi | MIT License |\n| libheif | LGPLv3 |\n| libimagequant | [BSD 2-Clause](https://github.com/lovell/libimagequant/blob/main/COPYRIGHT) |\n| libnsgif | MIT License |\n| libpng | [libpng License](https://github.com/pnggroup/libpng/blob/master/LICENSE) |\n| librsvg | LGPLv3 |\n| libtiff | [libtiff License](https://gitlab.com/libtiff/libtiff/blob/master/LICENSE.md) (BSD-like) |\n| libultrahdr | MIT License |\n| libvips | LGPLv3 |\n| libwebp | New BSD License |\n| libxml2 | MIT License |\n| mozjpeg | [zlib License, IJG License, BSD 3-Clause](https://github.com/mozilla/mozjpeg/blob/master/LICENSE.md) |\n| pango | LGPLv3 |\n| pixman | MIT License |\n| proxy-libintl | LGPLv3 |\n| zlib-ng | [zlib License](https://github.com/zlib-ng/zlib-ng/blob/develop/LICENSE.md) |\n\nUse of libraries under the terms of the LGPLv3 is via the\n\"any later version\" clause of the LGPLv2 or LGPLv2.1.\n\nPlease report any errors or omissions via\nhttps://github.com/lovell/sharp-libvips/issues/new\n\nExact bundled library versions:\n{\n \"aom\": \"3.14.1\",\n \"archive\": \"3.8.8\",\n \"cairo\": \"1.18.4\",\n \"cgif\": \"0.5.3\",\n \"exif\": \"0.6.26\",\n \"expat\": \"2.8.2\",\n \"ffi\": \"3.6.0\",\n \"fontconfig\": \"2.18.1\",\n \"freetype\": \"2.14.3\",\n \"fribidi\": \"1.0.16\",\n \"glib\": \"2.89.1\",\n \"harfbuzz\": \"14.2.1\",\n \"heif\": \"1.23.1\",\n \"highway\": \"1.4.0\",\n \"imagequant\": \"2.4.1\",\n \"lcms\": \"2.19.1\",\n \"mozjpeg\": \"0826579\",\n \"pango\": \"1.58.0\",\n \"pixman\": \"0.46.4\",\n \"png\": \"1.6.58\",\n \"proxy-libintl\": \"0.5\",\n \"rsvg\": \"2.62.90\",\n \"tiff\": \"d01a94b\",\n \"uhdr\": \"1acdbed\",\n \"vips\": \"8.18.3\",\n \"webp\": \"1.6.0\",\n \"xml2\": \"2.15.3\",\n \"zlib-ng\": \"2.3.3\"\n}\n\nCorresponding build recipes and pinned upstream source locations are available at the exact sharp-libvips tag above. The bundled libvips version is 8.18.3."},{"licenseId": "LicenseRef-Public-Domain",diff --git a/scripts/__tests__/third-party-notices.test.mjs b/scripts/__tests__/third-party-notices.test.mjsindex 07aa8cef54..fe24b99e9a 100644--- a/scripts/__tests__/third-party-notices.test.mjs+++ b/scripts/__tests__/third-party-notices.test.mjs@@ -56,6 +56,34 @@ test("generated artifact notices are platform-scoped and disclose restricted comassert.doesNotMatch(windows, /@codesandbox\/nodebox@0\.1\.8 —/);});+test("multi-arch desktop notices describe every architecture they ship with", () => {+ const macos = read("docs/legal/notices/desktop-macos.txt");+ const linux = read("docs/legal/notices/desktop-linux.txt");++ // 一个平台声明覆盖两个架构时,内嵌原生库的 README 和 versions.json 都是 per-arch 的:+ // 只读其中一份,另一个架构的分发物就会带着错误的架构描述发出去。+ assert.match(+ macos,+ /@img\/sharp-libvips-darwin-x64 embedded native libraries/,+ );+ assert.match(+ macos,+ /@img\/sharp-libvips-darwin-arm64 embedded native libraries/,+ );+ assert.match(macos, /for use with sharp on macOS x64\./);+ assert.match(macos, /for use with sharp on macOS 64-bit ARM\./);+ assert.match(+ linux,+ /@img\/sharp-libvips-linux-x64 embedded native libraries/,+ );+ assert.match(+ linux,+ /@img\/sharp-libvips-linux-arm64 embedded native libraries/,+ );+ assert.match(linux, /for use with sharp on Linux \(glibc\) x64\./);+ assert.match(linux, /for use with sharp on Linux \(glibc\) 64-bit ARM\./);+});+test("commercial distributions do not resolve forbidden Sustainable Use dependencies", () => {const lockfile = read("pnpm-lock.yaml");assert.doesNotMatch(lockfile, /@codesandbox\/nodebox/);diff --git a/scripts/generate-third-party-notices.mjs b/scripts/generate-third-party-notices.mjsindex f74de26650..2d32feac7f 100644--- a/scripts/generate-third-party-notices.mjs+++ b/scripts/generate-third-party-notices.mjs@@ -1279,7 +1279,10 @@ const artifactDefinitions = {"desktop-macos": {closure: desktopMacNpm,manual: [- ...buildDesktopCommonEntries(apacheText, "@img/sharp-libvips-darwin-arm64"),+ ...buildDesktopCommonEntries(apacheText, [+ "@img/sharp-libvips-darwin-x64",+ "@img/sharp-libvips-darwin-arm64",+ ]),...buildMacEntries(),],productName: "Cindy desktop application — macOS x64/arm64",