more shims, path, crypto, url

This commit is contained in:
Nystik
2026-03-07 18:11:46 +01:00
parent 192c5fb093
commit 38427d4fe4
7 changed files with 156 additions and 0 deletions

5
shims/btime.js Normal file
View File

@@ -0,0 +1,5 @@
// Shim for the btime native module (file birth time)
// Obsidian wraps this in try/catch: try{this.btime=window.require("btime")}catch(e){}
// Returning null causes graceful degradation - mtime is used instead.
export const btimeShim = null;