Commit Graph

46 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
A
87059c37a0 replace bigint with number 2026-05-19 22:12:40 -03:00
A
c96de5ccbc fix esbuild and typing issues 2026-05-19 22:12:40 -03:00
adrian-fuertes
34db181af0
fix typos in sync messages and comments (startting -> starting) (#876)
Some checks failed
BuildCI / build (20.x) (push) Failing after 5m56s
2024-11-10 18:16:22 +08:00
Liam Swayne
6631a9c5eb
typo fixes (#870) 2024-11-10 18:14:16 +08:00
fyears
9ac7ecf828 fix undefined 2024-10-20 16:58:22 +08:00
fyears
df184ff9d8 correct way to deal with .obsidian and bookmarks 2024-09-30 18:11:08 +08:00
fyears
36d3018efb fix ignore logic 2024-09-29 10:09:49 +08:00
fyears
421b43d937 update complex logic for config 2024-09-29 09:32:04 +08:00
xvqinghong
17708359a1
fix bug of unwished synchronizing Config Directory and Bookmarks File (#816)
In the original code, if we set syncConfigDir to false, which means we don't want to sync this directory, but it will also cause `if( syncConfigDir && isInsideObsFolder(key, configDir) )` statement NEVER be entered.  Thus, in the original code, our setting is actually be ignored.
2024-09-29 09:20:27 +08:00
fyears
9acae1b077 fix google drive expire 2024-09-29 08:59:14 +08:00
fyears
74125f8dff fix config dir special empty condiction 2024-09-09 00:12:38 +08:00
fyears
ace16de20c add complex logic to allow list and ignore list 2024-09-09 00:00:12 +08:00
fyears
716e5aa6c5 not detect chars in name for now 2024-09-07 15:26:19 +08:00
fyears
ac9c2a9248 mini support to ctimeCli 2024-09-01 17:17:08 +08:00
fyears
b2dea5a351 add allow list mode 2024-09-01 16:48:35 +08:00
fyears
e9b9cd97ac check if folder/file name is valid 2024-09-01 16:15:42 +08:00
fyears
fccebb0594 fix error notice 2024-09-01 16:15:17 +08:00
fyears
ee4394873b upgrade check connections 2024-07-27 22:58:05 +08:00
fyears
f4b82204c1 update packages 2024-07-27 19:37:55 +08:00
fyears
ae4e67f3b4 fix smart conflict 2024-07-27 19:09:42 +08:00
fyears
254231e4bd add onedrive mtime error 2024-07-27 15:02:21 +08:00
fyears
12ed023cd1 add bookmarks sync 2024-07-14 17:04:05 +08:00
fyears
f256936bae slightly optimize two way merge 2024-07-13 23:19:39 +08:00
fyears
6ed04a651b simplify merge file 2024-07-13 23:11:54 +08:00
fyears
428e23941a fix feature detect 2024-07-13 23:03:55 +08:00
fyears
1012bf3d09 remove dup files 2024-07-13 16:31:09 +08:00
fyears
3c85fff17c fix bug in smart conflict and encryption 2024-07-13 13:57:12 +08:00
fyears
e74e49538e more logic for potentially the same files in smart conflict 2024-06-29 00:14:53 +08:00
fyears
11c66d7030 fix smart conflict for .obsidian 2024-06-28 23:17:41 +08:00
fyears
54c25a70ed add pro tag to onedrive 2024-06-23 18:09:48 +08:00
fyears
0463ae8222 onedrive full 2024-06-23 17:44:02 +08:00
fyears
cc0a286471 azblob 2024-06-22 21:03:43 +08:00
fyears
35f5355c8e optimize sync status bar 2024-06-17 00:15:33 +08:00
fyears
9b1a8f6068 push and pull add delete 2024-06-16 19:48:40 +08:00
fyears
a64b859e46 add koofr 2024-06-15 23:06:41 +08:00
fyears
5ed6fec6e9 fix pcloud bug 2024-06-14 01:26:14 +08:00
fyears
e3c53860f7 box refresh token refreshes itself 2024-06-14 00:41:50 +08:00
fyears
9f67d41786 fix folder sync 2024-06-12 23:02:26 +08:00
fyears
356c563e95 polish 2024-06-12 00:43:06 +08:00
fyears
2e09686675 add yandex disk pro 2024-06-11 00:01:36 +08:00
fyears
24b839227a pcloud 2024-06-09 22:37:55 +08:00
fyears
12e45a7f38 box sdk 2024-06-09 16:09:21 +08:00
fyears
d5c2f726f9 box 2024-06-09 13:37:55 +08:00
fyears
e116bb1deb google drive is usable now 2024-06-02 23:37:53 +08:00
fyears
06dad54d4c pro and smart conflict 2024-05-27 00:33:49 +08:00