Skip to content

2.0.3

Latest

Choose a tag to compare

@PoeticPolytech PoeticPolytech released this 28 Nov 08:03

What's Changed in 2.0.3

  • Linux & Cross-Platform Lockfile Compatibility: Regenerated package-lock.json via WSL2 so optional Linux build dependencies (such as @esbuild/linux-x64) are included alongside Windows dependencies for clean npm ci builds.
  • TypeScript & ESLint Safety Cleanup: Typed settings loading, duration formatting helper (pad), and moment formatting calls in main.ts to resolve @typescript-eslint/no-unsafe-* warnings.
  • Native Node Built-ins: Replaced the legacy builtin-modules package in esbuild.config.mjs and package.json with Node's built-in builtinModules from node:module.
  • Obsidian 1.13.0+ Settings Search: Added getSettingDefinitions() on ClockStopwatchSettingTab while keeping display() for compatibility with older Obsidian versions.
  • Right-Aligned Status Bar Layout: Added margin-left: auto on .sb-stopwatch-container in styles.css so the stopwatch and clock group toward the right side of the status bar.