- Add Magic checks to Optical Character Recognition to detect common image formats via magic bytes
- Provide default args (show confidence, LSTM engine) when auto-suggested
Authored-by: Izai Alejandro Zalles Merino <zallesrene@gmail.com>
- Add Magic checks for common Morse format using forward slashes between words
- Cover dot/dash, underscore/dot, and dash/dot literal formats with slashes
Authored-by: Izai Alejandro Zalles Merino <zallesrene@gmail.com>
- Add detection checks for "From Base91" (regex heuristic), consistent with existing Base64/Base85 patterns
- Regenerate OperationConfig.json via script to keep metadata in sync
- Add unit tests for Base91 encode/decode and a Magic chain test for Base91
Authored-by: Izai Alejandro Zalles Merino <zallesrene@gmail.com>
Update chef.help() test to expect 15 results instead of 13
due to the addition of Base91 operations (ToBase91 and FromBase91)
which are now included when searching for 'base 64'.
- Add complete Base91 implementation based on Joachim Henke's basE91 algorithm
- Includes both encoding (ToBase91) and decoding (FromBase91) operations
- Uses 91 printable ASCII characters for optimal space efficiency
- Better space efficiency than Base64 while maintaining readability
- Proper error handling for invalid characters during decoding
- Full JSDoc documentation
Files added:
- src/core/lib/Base91.mjs - Core Base91 implementation library
- src/core/operations/ToBase91.mjs - Base91 encoding operation
- src/core/operations/FromBase91.mjs - Base91 decoding operation
- Updated Categories.json to include Base91 operations
Author: Izai Alejandro Zalles Merino <zallesrene@gmail.com>
Technical details:
- Algorithm: Based on basE91 by Joachim Henke (http://base91.sourceforge.net/)
- Alphabet: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789%&()*+,./:;<=>?@[]^_`{|}~"
- Input types: ArrayBuffer for encoding, string for decoding
- Output types: string for encoding, ArrayBuffer for decoding
Addresses bug report #2008
Added explicit support for octal IP addresses.
Changed approach to IPv4 regex to be string manipulation generated.
Added some unit tests for IP address parsing - probably not full coverage.
Added lookahead and lookbehind tricks to resolve warned issue that 1.2.3.256 would still be extracted as 1.2.3.25. Now only accepts valid IP addresses. Warning replaced with clause about infinite length dotted decimal forms.