heic-to (HEIC / HEIF photo decoder used by wm_photo.js) What it is heic-to 1.6.6 by Hopper Gee, https://github.com/hoppergee/heic-to (npm package heic-to@1.6.6). It bundles libheif 1.23.6 (https://github.com/strukturag/libheif, (c) struktur AG) and the libde265 HEVC decoder (https://github.com/strukturag/libde265, (c) struktur AG / Dirk Farin), compiled to JavaScript with Emscripten. No HEVC encoder is included. License GNU Lesser General Public License 3.0 or later (heic-to, libheif and libde265). The license text, with the GNU GPL 3.0 it builds on, is in LICENSE.txt in this folder. How WATCHMAN uses it heic-to.csp.js is a separate file, loaded only when a HEIC/HEIF photo is imported (wm_photo.js). You may replace it with your own build of heic-to / libheif: keep the file name and have it set window.HeicTo = { heicTo, isHeic } (the heic-to API). Change made by WATCHMAN Suite LLC (2026-10-23) Upstream file: dist/csp/heic-to.min.js (the build without unsafe-eval). Changed: the last line "export{B as heicTo,v as isHeic};" was replaced by "window.HeicTo={heicTo:B,isHeic:v};" and the file is wrapped in (function(){ ... })(); plus a comment header. The library code itself is unchanged. Source code heic-to: https://github.com/hoppergee/heic-to/tree/v1.6.6 and https://registry.npmjs.org/heic-to/-/heic-to-1.6.6.tgz libheif: https://github.com/strukturag/libheif/releases/tag/v1.23.6 libde265: https://github.com/strukturag/libde265 On request WATCHMAN Suite LLC will also provide a copy of these sources. Upstream file SHA-256 (dist/csp/heic-to.min.js): f6657aa9470a6068e6e59713818c8bfe21882365fceac77c597f9b0bfed3e0c8