Changed
- Fengari Lua runtime switched to browser-only fork — replaced upstream
fengari(v0.1.5) with a browser/Obsidian-only fork that strips all Node.js dependencies. Eliminates community scanner warnings for "Direct Filesystem Access" (require('fs')), "Shell Execution" (require('child_process')), and "System Identity Information" (process.env.USER/HOSTNAME) that originated from fengari's bundled Node.js code paths (never executed at runtime but present in the bundle). (DIFFERENCES.md)- Removed from fork:
liolib.js(Luaiolibrary),loadlib.js(Luapackage/require()system), Node.js branches fromloslib.js/ldblib.js/lauxlib.js/lbaselib.js/luaconf.js - Removed npm dependencies:
readline-sync,tmp(keptsprintf-jsforstring.format) - Retained browser-safe
oslibrary functions:os.date,os.time,os.difftime,os.clock,os.setlocale - Retained
debuglibrary (minusdebug.debug()interactive REPL):debug.traceback,debug.getinfo,debug.sethook, etc. - Fixed crash-on-mobile bug: upstream's unconditional
process.env.FENGARICONFaccess at module load time throwsReferenceErroron non-Electron platforms - Bundle impact: Fengari runtime reduced from +238KB to +201KB minified (-37KB / -15.5%), +179KB to +165KB gzipped (-14KB / -7.7%)
print()now always usesconsole.log(previously usedprocess.stdout.writein Electron)luaL_loadfilexstubbed to return error (plugin already disabledloadfile/dofileat Lua level)- Dependency pattern matches codemirror-vim fork:
"fengari": "https://github.com/saberzero1/fengari.git"inpackage.json
- Removed from fork:
Full Changelog: 0.34.0...0.35.0