Commit graph

94 commits

Author SHA1 Message Date
Aaron Bockelie
4359153d0b chore: Bump version to 0.11.42 2026-07-13 18:48:38 -05:00
Aaron Bockelie
7276b65683 chore: Bump version to 0.11.41 2026-07-13 18:33:19 -05:00
Aaron Bockelie
2349a2b13d chore: Bump version to 0.11.40 2026-07-05 13:15:57 -05:00
Aaron Bockelie
df9b913ee1 chore: Bump version to 0.11.39 2026-07-04 00:05:17 -05:00
Aaron Bockelie
b6a54dae04 chore: Bump version to 0.11.38 2026-07-03 23:31:34 -05:00
Aaron Bockelie
88f0ce5efd chore: Bump version to 0.11.37 2026-07-03 21:30:21 -05:00
Aaron Bockelie
fc47349e18 chore(deps): upgrade dev toolchain — eslint 10, typescript 6, and grouped bumps
Incorporates the open dependabot dev-dependency PRs as one coherent, tightly
verified upgrade rather than five separate rebase/CI cycles, since they interact
across the build/lint toolchain:

- eslint 9.39.2 → 10.5.0 and @eslint/js 9.39.2 → 10.0.1 (#235 + #236 — these are
  coupled: @eslint/js@10 peer-requires eslint@10, so #236 could only ever resolve
  alongside #235; neither lands alone)
- typescript 5.9.3 → 6.0.3 (#237)
- typescript-eslint / @typescript-eslint/utils 8.60.1 → 8.62.0, esbuild
  0.28.0 → 0.28.1, globals 17.6.0 → 17.7.0, obsidian 1.13.0 → 1.13.1 (#246,
  which also subsumes the standalone esbuild bump in #233)
- actions/checkout v6 → v7 across all workflows (#240)

TypeScript 6 turns two tsconfig deprecations into errors. Fixed by modernizing
the config, not suppressing — Obsidian's community-plugin source review forbids
`ignoreDeprecations`-style escape hatches and rewards tight configs:

- dropped `baseUrl: "."` (TS5101) — unused; every local import is relative
- `moduleResolution: "node"` → `"bundler"` (TS5107) — the correct modern value
  for an esbuild-bundled project with extensionless imports (node16/nodenext
  would force `.js` extensions and break every relative import)

Also ran `npm audit fix` (security fixes are hold-exempt) clearing two dev/test
transitive advisories (@babel/core file-read, js-yaml merge-key DoS) that were
pre-existing on main via the jest/istanbul chain — `npm audit` now reports 0.

Verified tight: `npm run build && npm run lint && npm test` all green, 352/352
tests pass, no rule suppressions added.
2026-07-03 21:13:32 -05:00
Aaron Bockelie
6e1e7b6137 chore: Bump version to 0.11.36 2026-06-24 10:50:54 -05:00
Aaron Bockelie
d7e5e70168
Merge pull request #245 from aaronsb/dependabot/npm_and_yarn/hono-4.12.27
chore(deps): bump hono from 4.12.23 to 4.12.27
2026-06-24 08:50:06 -07:00
Aaron Bockelie
9dc74f063f chore: Bump version to 0.11.35 2026-06-24 10:08:42 -05:00
dependabot[bot]
34c4813b8d
chore(deps): bump hono from 4.12.23 to 4.12.27
Bumps [hono](https://github.com/honojs/hono) from 4.12.23 to 4.12.27.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.12.23...v4.12.27)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.27
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-24 14:28:36 +00:00
Aaron Bockelie
d8860751fb chore: Bump version to 0.11.34 2026-06-24 09:27:19 -05:00
Aaron Bockelie
3b5ef72a6f
Merge pull request #218 from aaronsb/dependabot/npm_and_yarn/hono-4.12.23
chore(deps): bump hono from 4.12.18 to 4.12.23
2026-06-09 11:38:08 -05:00
Aaron Bockelie
dc6f476856 chore: Bump version to 0.11.33 2026-06-09 11:16:22 -05:00
Aaron Bockelie
ac8946aa95 chore(deps-dev): bump development-dependencies group
Supersedes #217 (dependabot). Brings the dev toolchain current:
@types/node 25.3→25.9, @typescript-eslint/utils + typescript-eslint
8.56→8.60, esbuild 0.27→0.28, globals 17.3→17.6, jest 30.2→30.4,
jiti 2.6→2.7, obsidian 1.12.2→1.13.0, ts-jest 29.1→29.4.

The typescript-eslint 8.60 and obsidian 1.13.0 type bumps surface new
lint findings; cleared in the follow-up commit.
2026-06-09 11:06:05 -05:00
Aaron Bockelie
7b6dd03367 chore: Bump version to 0.11.32 2026-06-05 17:42:50 -05:00
Aaron Bockelie
9830341804
Merge pull request #209 from aaronsb/dependabot/npm_and_yarn/qs-6.15.2
chore(deps): Bump qs from 6.14.2 to 6.15.2
2026-06-05 17:07:24 -05:00
dependabot[bot]
99c46a2ba7
chore(deps): bump hono from 4.12.18 to 4.12.23
Bumps [hono](https://github.com/honojs/hono) from 4.12.18 to 4.12.23.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.12.18...v4.12.23)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.23
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-04 20:41:43 +00:00
dependabot[bot]
43786033a2
chore(deps): bump yaml
Bumps the production-dependencies group with 1 update in the / directory: [yaml](https://github.com/eemeli/yaml).


Updates `yaml` from 2.8.4 to 2.9.0
- [Release notes](https://github.com/eemeli/yaml/releases)
- [Commits](https://github.com/eemeli/yaml/compare/v2.8.4...v2.9.0)

---
updated-dependencies:
- dependency-name: yaml
  dependency-version: 2.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: production-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-02 03:25:15 +00:00
Aaron Bockelie
37dd230b85 chore: Bump version to 0.11.31 2026-05-25 14:58:16 -05:00
Aaron Bockelie
4fddaab955 chore: Bump version to 0.11.30 2026-05-24 17:08:33 -05:00
dependabot[bot]
c760a4d113
chore(deps): Bump qs from 6.14.2 to 6.15.2
Bumps [qs](https://github.com/ljharb/qs) from 6.14.2 to 6.15.2.
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.14.2...v6.15.2)

---
updated-dependencies:
- dependency-name: qs
  dependency-version: 6.15.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-23 12:47:43 +00:00
Aaron Bockelie
759ad09a9d chore: Bump version to 0.11.29 2026-05-18 22:50:53 -05:00
Aaron Bockelie
7f41399752 chore: Bump version to 0.11.28 2026-05-18 21:55:41 -05:00
Aaron Bockelie
3598294749 chore: Bump version to 0.11.27 2026-05-18 21:25:06 -05:00
Aaron Bockelie
c46d5e13b2 chore: Bump version to 0.11.26 2026-05-16 23:51:53 -05:00
Aaron Bockelie
b9d99edfd7 feat(bases): replace new Function with expression-eval (ADR-201)
PR2 of 2 for #180 (ADR-201). Closes the arbitrary-code-execution vector
reachable through a synced/shared `.base` file.

- Drop `new Function('context', 'with(context){return ${expr}}')` (and its
  no-implied-eval eslint-disable) from expression-evaluator.ts.
- Parse with expression-eval@5.0.1 (jsep grammar: no eval/Function/new, no
  global scope; member denylist built in). Pinned exact; jsep 0.3.5 is its
  audited transitive parser. Both >7d old; npm audit 0 vulns.
- Defense-in-depth AST pre-walk (assertNoForbiddenAccess): rejects
  constructor/__proto__/prototype member access (Identifier AND computed
  ["constructor"] forms) and ThisExpression, independent of the library's
  internal list — ADR-201's explicit, tested no-globals property lives in
  our code, not a transitive dep.
- createEvalContext and all helpers untouched → behavioural parity.

Differential corpus (tests/bases-expression-evaluator.test.ts, from PR1):
57 EVAL_CASES still green = expression-eval == old new Function for every
realistic Bases construct; the formerly-executing escapes (2/42/99 under
new Function) now fail closed; SECURITY set never reaches a function, the
real global, or a value.

No behavioural change for legitimate `.base` expressions. Breaking only by
design: the RCE vectors, `this`, and prototype-chain access are now
refused. Clears the Obsidian "Dynamic Code Execution" finding.

209/209 tests; build + lint clean. Refs #180, ADR-201
2026-05-16 22:57:43 -05:00
Aaron Bockelie
aa346d4c9a chore: Bump version to 0.11.25 2026-05-16 14:23:03 -05:00
Aaron Bockelie
366d329140 refactor(bases): migrate js-yaml → maintained yaml package
Closes #174. Obsidian source-code review flagged js-yaml (unmaintained) for
replacement. Rewire bases-api.ts's 5 call sites onto yaml-bridge; drop
js-yaml + @types/js-yaml. yaml pinned to 2.8.4 (published 2026-05-02, clears
the project's 7-day supply-chain hold; 2.9.0 was 5 days old). Existing
overrides.yaml reconciled to $yaml so the direct dep governs transitive
resolution. Behaviour-equivalence proven by the differential corpus.
2026-05-16 14:08:46 -05:00
Aaron Bockelie
164e44bf0b chore: Bump version to 0.11.24 2026-05-16 13:43:43 -05:00
Aaron Bockelie
abaa9106fb build: replace builtin-modules with native node:module builtinModules
Obsidian source-code review flags builtin-modules as a package to replace.
node:module has exposed builtinModules natively since Node 6.x; esbuild only
used it to externalize Node builtins from the bundle. Behavior-equivalent
swap, devDependency removed.
2026-05-16 12:45:28 -05:00
Aaron Bockelie
7a0051d301 chore: Bump version to 0.11.23 2026-05-16 12:26:28 -05:00
Aaron Bockelie
70884bbcad chore: Bump version to 0.11.22 2026-05-16 12:15:51 -05:00
Aaron Bockelie
1c6fae133f chore(deps-dev): bump eslint-plugin-obsidianmd to ^0.3.0
Matches the version Dependabot is proposing in #153 so the lint-config
support below lands in main ahead of the broader dev-deps bundle merging.
2026-05-15 15:00:44 -05:00
Aaron Bockelie
dfa5affad7 chore: Bump version to 0.11.20 2026-05-15 13:58:25 -05:00
Aaron Bockelie
61417387d3 chore: Bump version to 0.11.19 2026-05-15 13:42:45 -05:00
Aaron Bockelie
6e8b6f2a3e chore: Bump version to 0.11.18 2026-05-15 13:20:32 -05:00
Aaron Bockelie
b79ca5fdb9 chore(deps): Clear residual audit vulnerabilities + pin yaml
After merging the dependabot batch, npm audit still flagged 5
transitive vulns (4 high, 1 moderate). Running npm audit fix lifts
deep deps to patched ranges and resolves all of them — except it
tries to land yaml@2.9.0 which was published 2026-05-11, inside the
7-day hold window.

Added a package.json override to pin yaml to ~2.8.4 (published
2026-05-02, 13 days aged). 2.8.4 already fixes the CVE-flagged
"Stack Overflow via deeply nested YAML collections" (range
2.0.0-2.8.2), and we get the safety of an aged release.

Final state: 0 vulnerabilities, 127/127 tests still green, all
upgrades respect the 7-day rule.
2026-05-15 13:08:53 -05:00
Aaron Bockelie
30ab1e600b
Merge pull request #151 from aaronsb/dependabot/npm_and_yarn/hono-4.12.18
chore(deps): Bump hono from 4.12.7 to 4.12.18
2026-05-15 13:05:26 -05:00
Aaron Bockelie
3fbee05776
Merge pull request #149 from aaronsb/dependabot/npm_and_yarn/multi-7bdfbe8666
chore(deps): Bump ip-address and express-rate-limit
2026-05-15 13:04:50 -05:00
Aaron Bockelie
8d572ceb1d
Merge pull request #121 from aaronsb/dependabot/npm_and_yarn/hono/node-server-1.19.13
chore(deps): Bump @hono/node-server from 1.19.10 to 1.19.14
2026-05-15 13:04:44 -05:00
dependabot[bot]
9c604fce97
chore(deps): Bump hono from 4.12.7 to 4.12.18
Bumps [hono](https://github.com/honojs/hono) from 4.12.7 to 4.12.18.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.12.7...v4.12.18)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.18
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-15 18:03:52 +00:00
dependabot[bot]
aaadb839e2
chore(deps): Bump ip-address and express-rate-limit
Bumps [ip-address](https://github.com/beaugunderson/ip-address) and [express-rate-limit](https://github.com/express-rate-limit/express-rate-limit). These dependencies needed to be updated together.

Updates `ip-address` from 10.1.0 to 10.2.0
- [Commits](https://github.com/beaugunderson/ip-address/commits)

Updates `express-rate-limit` from 8.3.1 to 8.5.2
- [Release notes](https://github.com/express-rate-limit/express-rate-limit/releases)
- [Commits](https://github.com/express-rate-limit/express-rate-limit/compare/v8.3.1...v8.5.2)

---
updated-dependencies:
- dependency-name: express-rate-limit
  dependency-version: 8.5.1
  dependency-type: indirect
- dependency-name: ip-address
  dependency-version: 10.2.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-15 18:03:45 +00:00
dependabot[bot]
f462645b37
chore(deps): Bump @hono/node-server from 1.19.10 to 1.19.14
Bumps [@hono/node-server](https://github.com/honojs/node-server) from 1.19.10 to 1.19.14.
- [Release notes](https://github.com/honojs/node-server/releases)
- [Commits](https://github.com/honojs/node-server/compare/v1.19.10...v1.19.14)

---
updated-dependencies:
- dependency-name: "@hono/node-server"
  dependency-version: 1.19.13
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-15 18:03:42 +00:00
Aaron Bockelie
2695a0a199
Merge pull request #148 from aaronsb/dependabot/npm_and_yarn/production-dependencies-d2df441f24
chore(deps): Bump the production-dependencies group across 1 directory with 5 updates
2026-05-15 13:03:29 -05:00
Aaron Bockelie
5ed215e41f
Merge pull request #114 from aaronsb/dependabot/npm_and_yarn/brace-expansion-1.1.13
chore(deps-dev): Bump brace-expansion from 1.1.12 to 5.0.6
2026-05-15 13:02:56 -05:00
Aaron Bockelie
b4c5ac9967
Merge pull request #110 from aaronsb/dependabot/npm_and_yarn/flatted-3.4.2
chore(deps-dev): Bump flatted from 3.3.3 to 3.4.2
2026-05-15 13:02:45 -05:00
dependabot[bot]
71f0856c32
chore(deps): Bump the production-dependencies group across 1 directory with 5 updates
Bumps the production-dependencies group with 5 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/typescript-sdk) | `1.26.0` | `1.29.0` |
| [minimatch](https://github.com/isaacs/minimatch) | `10.2.2` | `10.2.5` |
| [node-forge](https://github.com/digitalbazaar/forge) | `1.3.3` | `1.4.0` |
| [turndown](https://github.com/mixmark-io/turndown) | `7.2.2` | `7.2.4` |
| [zod](https://github.com/colinhacks/zod) | `4.3.6` | `4.4.3` |



Updates `@modelcontextprotocol/sdk` from 1.26.0 to 1.29.0
- [Release notes](https://github.com/modelcontextprotocol/typescript-sdk/releases)
- [Commits](https://github.com/modelcontextprotocol/typescript-sdk/compare/v1.26.0...v1.29.0)

Updates `minimatch` from 10.2.2 to 10.2.5
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v10.2.2...v10.2.5)

Updates `node-forge` from 1.3.3 to 1.4.0
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.3.3...v1.4.0)

Updates `turndown` from 7.2.2 to 7.2.4
- [Release notes](https://github.com/mixmark-io/turndown/releases)
- [Commits](https://github.com/mixmark-io/turndown/compare/v7.2.2...v7.2.4)

Updates `zod` from 4.3.6 to 4.4.3
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](https://github.com/colinhacks/zod/compare/v4.3.6...v4.4.3)

---
updated-dependencies:
- dependency-name: "@modelcontextprotocol/sdk"
  dependency-version: 1.29.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: production-dependencies
- dependency-name: minimatch
  dependency-version: 10.2.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: production-dependencies
- dependency-name: node-forge
  dependency-version: 1.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: production-dependencies
- dependency-name: turndown
  dependency-version: 7.2.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: production-dependencies
- dependency-name: zod
  dependency-version: 4.4.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: production-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-15 18:00:34 +00:00
dependabot[bot]
3bf6b6e9f3
chore(deps-dev): Bump handlebars from 4.7.8 to 4.7.9
Bumps [handlebars](https://github.com/handlebars-lang/handlebars.js) from 4.7.8 to 4.7.9.
- [Release notes](https://github.com/handlebars-lang/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/v4.7.9/release-notes.md)
- [Commits](https://github.com/handlebars-lang/handlebars.js/compare/v4.7.8...v4.7.9)

---
updated-dependencies:
- dependency-name: handlebars
  dependency-version: 4.7.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-15 18:00:19 +00:00
dependabot[bot]
73a6307d05
chore(deps-dev): Bump brace-expansion from 1.1.12 to 5.0.6
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.12 to 5.0.6.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v1.1.12...v5.0.6)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.13
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-15 18:00:08 +00:00