Conversation
|
I think your error may be related to what I was looking at in https://github.com/GCHQDeveloper581/CyberChef/tree/fix-issue-XXXX |
|
Actually looking harder at the error returned, I think it's another issue I've (also previously) encountered with the root cause being that some Operations return a Value and others return a Promise. In the normal browser this seems to work out OK but when running under node it creates an issue. |
|
So I worked out the error was this: Which was caused by Jimp attempting to load the font file as XML (which it wasn't). It seems Jimp used to support BMFont text files, but now only supports BMFont XML files. I created a simple program using bmfont_rs to convert the files to XML: As the font files had incorrect negative |
GCHQDeveloper581
left a comment
There was a problem hiding this comment.
A couple of observations which I'd like explicit confirmation are intended/investigated before approving.
Incorporates 37 upstream commits from gchq/CyberChef master including: - Fix: Move Magic checks from Escape to Unescape Unicode Characters (gchq#2195) - Paste spreadsheets as text (gchq#2200) - Fix Roboto Mono font (gchq#2199) - Fix return of buffer for PNG QR image generation (gchq#2125) - Update JIMP (gchq#2171) - Bump v10.22.1 (gchq#2193) - Bump v10.22.0 (gchq#2189) - Fixed Percent delimiter for hex encoding (gchq#2137) - Added ability to paste Images from Clipboard (gchq#1876) - Quoted Printable improvements (gchq#2186) - Fix freeze when output text decoding fails (gchq#1573) - Fix import operations with special chars (gchq#1040) - Add Bech32 encode/decode operations - Various bug fixes and improvements Conflict resolution: - Workflow files: kept Node 24 + actions@v4 (local upgrade) - package.json: kept jsonwebtoken 9.0.0, fixJimpModule postinstall, added upstream 'tag' script - package-lock.json: kept local version (consistent with jimp 1.6.0 install) - sitemap.mjs: kept modern 'with' import assertion syntax - Code.mjs: kept escaped curly brace regex for Node 24 compatibility - newMinorVersion.mjs: added upstream ignoredAuthors constant https://claude.ai/code/session_011xozAMdxys1JF7nLRQsMtg


No description provided.