Commit Graph

14 Commits

Author SHA1 Message Date
Bruno Miiller
6a6f192942 Make build pass on Node 24 and reduce npm audit surface
Build fixes:
- tsconfig.json: moduleResolution "node" → "bundler" (resolves node-diff3
  v3.2.0 exports-only package); add "es2021" to lib for AggregateError
- webpack.config.js: NormalModuleReplacementPlugin to strip "node:" URI
  prefix so resolve.fallback browserify shims apply
- Remove "aggregate-error" import in src/main.ts, src/fsS3.ts,
  pro/src/sync.ts — use native global AggregateError (Node 15+, Electron
  98+, both satisfied by Obsidian runtime)
- .gitignore: ignore *.main.js webpack chunks

Audit reduction (22 → 4 low):
- Remove npm-check-updates devDep (use `npx ncu` ad-hoc) — kills 15 vulns
  from transitive cacache/sigstore/tar/pacote chain
- Pin to versions ≥ 30 days old (supply-chain hygiene): @types/node 24.12.2,
  c8 11.0.0, mocha 11.7.5, esbuild 0.28.0, crypto-browserify 3.12.1
- package.json overrides: elliptic@6.6.1, diff@9.0.0,
  serialize-javascript@7.0.5 to push transitive fixes
- Remaining 4 lows are all elliptic (advisory marks all versions
  vulnerable; no upstream fix available)
2026-05-19 22:57:29 -03:00
fyears
ee4394873b upgrade check connections 2024-07-27 22:58:05 +08:00
fyears
5c1a887b07 add more hints for s3 2024-06-22 23:33:27 +08:00
fyears
cc0a286471 azblob 2024-06-22 21:03:43 +08:00
fyears
b6d46d8b91 remove https detection 2024-05-27 00:35:55 +08:00
fyears
06dad54d4c pro and smart conflict 2024-05-27 00:33:49 +08:00
fyears
63c54d1956 check password using walkPartial instead of cache 2024-05-18 01:33:20 +08:00
fyears
2a3df8ab53 fix onedrive issue in enc 2024-05-08 22:37:34 +08:00
fyears
e66b0c71c4 fix format again 2024-05-08 22:04:21 +08:00
fyears
a081d09212 safe lint from biome 2024-05-08 00:20:15 +08:00
fyears
ed52a8542f fix s3 mtime problem 2024-05-06 23:41:48 +08:00
fyears
61a3fab219 webdis 2024-04-27 23:10:36 +08:00
fyears
df7b6e1848 allowing s3 synth folder 2024-04-27 12:01:30 +08:00
fyears
f33fa26c03 a large semi-rewrite of fs logic 2024-04-27 02:27:24 +08:00