Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "mdbase-obsidian",
"name": "mdbase",
"version": "0.3.2",
"version": "0.4.0",
"minAppVersion": "1.11.4",
"description": "Edit mdbase types and mirror hosted collections through mdbase Connect.",
"author": "calluma",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mdbase-obsidian",
"version": "0.3.2",
"version": "0.4.0",
"description": "The Obsidian gateway to mdbase types and mdbase Connect",
"main": "main.js",
"type": "module",
Expand Down
7 changes: 4 additions & 3 deletions scripts/check-mobile.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ const gzipBytes = gzipSync(bundle).byteLength;
// Sync reliability adds ~25 KB raw / ~8 KB gzip: request deadlines and retry,
// the sync scheduler, automatic conflict settling with a three-way merge
// (node-diff3 is ~5 KB of that), device ownership and diagnostics.
// Leave a narrow margin above the resulting bundle.
const rawBudget = 800 * 1024;
const gzipBudget = 232 * 1024;
// The product budget is 5 MB (raw and gzip); this check still guards against
// Node-only imports and runaway growth.
const rawBudget = 5 * 1024 * 1024;
const gzipBudget = 5 * 1024 * 1024;
const forbidden = [
/require\((["'])node:(?:fs|path|crypto|os|worker_threads|child_process)\1\)/,
/require\((["'])(?:fs|path|crypto|os|worker_threads|child_process)\1\)/,
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"0.1.0": "1.5.0",
"0.3.0": "1.11.4",
"0.3.1": "1.11.4",
"0.3.2": "1.11.4"
"0.3.2": "1.11.4",
"0.4.0": "1.11.4"
}
Loading