Skip to content

build(deps-dev): bump the npm-development-minor-patch group across 1 directory with 5 updates - #557

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/npm-development-minor-patch-b8f60eb1d4
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/npm-development-minor-patch-b8f60eb1d4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the npm-development-minor-patch group with 5 updates in the / directory:

Package From To
eslint-plugin-obsidianmd 0.5.1 0.6.0
oxfmt 0.78.0 0.79.0
oxlint 1.93.0 1.94.0
svelte 5.57.3 5.58.0
vitest 5.1.0 5.1.1

Updates eslint-plugin-obsidianmd from 0.5.1 to 0.6.0

Release notes

Sourced from eslint-plugin-obsidianmd's releases.

0.6.0

Upgrading from 0.5.x? See Upgrading to 0.6.0 for what changes.

Fixes found by linting the community plugins, about 10,300, with 0.5.1. The number of findings barely changes: on those plugins, 0.6.0 reports about 0.2% fewer. What changes is mostly what --fix and suggestions do. Rewrites that did not compile or changed what correct code does, such as window.setTimeout() where TypeScript has narrowed window, a timer ID cleared on another window than the one that set it, or a settings heading removed from the middle of the tab, are now suggestions or left alone, so --fix leaves a few more findings to resolve by hand. Two new rules: no-await-chainable, an error, reports await of a Setting or UI component, which never settles, and commands/check-callback-uses-checking warns about a checkCallback that ignores checking. One option changes: the sentence-case rules' acronyms adds to the built-in acronyms instead of replacing them. See Upgrading to 0.6.0.

Added

  • commands/check-callback-uses-checking reports a checkCallback or editorCheckCallback in addCommand() that never reads its checking parameter. Obsidian calls it with checking set to true to ask whether the command is available, for example while the command palette is open, so such a callback runs its action on every check. It warns in the recommended config (#248).
  • no-await-chainable reports await of a Setting or a UI component (ButtonComponent, TextComponent and the other BaseComponent subclasses), and returning one from an async function. Their then(cb) is for chaining: it calls cb with the object and returns the object, so promise resolution calls it again forever, the await never settles and the app stops responding. @typescript-eslint/await-thenable does not catch it, because the objects are thenables. It is an error in the recommended config, for TypeScript files (#249).

Changed

  • no-unsupported-api names the fix in its report: raise minAppVersion to the version the API needs, or guard the use with requireApiVersion() and that version. Below 0.13.21, which first has requireApiVersion(), it suggests a check that the API exists instead, and for a superclass, such as class extends AbstractInputSuggest, or a newer signature that no such check proves, only raising minAppVersion (#250).
  • ui/sentence-case, ui/sentence-case-json and ui/sentence-case-locale-module add the acronyms option to the built-in acronyms instead of replacing them, so adding one no longer means listing all the built-in ones again. The new replaceDefaultAcronyms: true replaces them, as acronyms did. URI, UTC, GMT, ISO, OCR, TTS, RTL, LTR, AWS, MCP, RGB, RGBA, HSL, EPUB, ICS and OPML are now built in, and "TODO" in capitals is kept like "REST" (#285).
  • prefer-active-doc advises activeDocument.body, and offers it as a suggestion, for an element the code puts in document.body only for a moment, such as a download link (document.body.appendChild(a); a.click(); a.remove();) or a textarea for copying text: one it passes to appendChild(), append(), prepend(), insertBefore() or insertAdjacentElement() and also removes. The suggestion rewrites every document.body call for that element at once, removeChild() and contains() included, and is offered on each of them or on none: moving only the appendChild() left a removeChild() in a finally or a cleanup callback on the main window's body, where it threw NotFoundError in a popout window. It reported these as state of the whole window, told the author to set them up in each window from workspace.on("window-open"), and offered nothing. An element that is never removed, and anything put in document.head, are still reported that way (#278, #289).

Fixed

  • Fixes and suggestions that changed what correct code does, or did not compile:
    • no-global-this and prefer-window-timers no longer rewrite to window where TypeScript has narrowed window to a type without the property, which did not compile (TS2339): globalThis.setTimeout(cb, 100) in the else of if ("requestIdleCallback" in window) became window.setTimeout(…) on a window of type never, since Window declares requestIdleCallback. The same goes for code after if ("requestIdleCallback" in window) return;, and for typeof window and window instanceof X checks that rule the window out. Both rules still report the call there, with neither a fix nor a suggestion (#288).
    • prefer-window-timers no longer rewrites activeWindow.clearTimeout(id) and activeWindow.clearInterval(id) to window automatically, and offers it as a suggestion instead. A timer ID belongs to the window that set the timer: where activeWindow.setTimeout() in a popout window set it, window.clearTimeout(id) did not clear it (#266).
    • prefer-window-timers no longer rewrites activeWindow.setTimeout() and activeWindow.setInterval() to window automatically where their ID is kept, as in this.id = activeWindow.setInterval(…), and offers it as a suggestion instead. The matching activeWindow.clearInterval(this.id) gets only a suggestion, so after --fix the timer was set on the main window but cleared on whichever window was active, and might never be cleared. Where nothing can keep the ID, because the timer is the body of an arrow function whose caller ignores the result, as in new Promise((resolve) => activeWindow.setTimeout(resolve, ms)), it is still fixed: with type information, that is a callback whose type returns void; without it, a Promise executor or a forEach() callback. A timer in a function whose source the file turns into a string, as for an inline web worker (new Blob([(${body.toString()})()])), also gets a suggestion, as does no-global-this there: the worker has no window (#273, #286).
    • The recommended config treats a file named worker.ts (or worker.js and the other extensions), such as src/worker.ts, as web worker code, like *.worker.ts. prefer-window-timers rewrote its setTimeout() to window.setTimeout(), and no-global-this its globalThis to window, which a worker does not have (#267).
    • object-assign no longer suggests Object.assign({}, DEFAULT_SETTINGS, o) where the call is the body of an arrow function whose caller throws the result away, as in overrides.forEach((o) => Object.assign(DEFAULT_SETTINGS, o)). The code relies on the defaults being changed there, and with {} the call did nothing. With type information, such a caller is one whose callback type returns void; without it, forEach() or a Promise executor (#271, #286).
    • prefer-instanceof no longer autofixes a check whose value may be null behind a type assertion or declaration, which turned a check that was false into one that throws. With strictNullChecks, that is a value cast to a type without null from one that may be null, such as const next = e.relatedTarget as HTMLElement; without it, also a cast, a variable with a type annotation set from a nullable call, such as const input: Element = root.querySelector("input"), and a class field without an initializer that the constructor does not set. These now get the ?.instanceOf() suggestion. A check against an abstract class, or against a Node class whose constructor needs arguments, is no longer reported: el.instanceOf(Widget) did not compile, and instanceof finds a plugin's own class in every window. A check with a comment outside its operands is offered as a suggestion only, since the fix dropped the comment (#277).
    • prefer-create-el no longer reports document.createElement() and the other native calls in a fallback for where Obsidian's helpers are missing, as in a browser or under jsdom: the other branch of typeof createDiv === 'function' ? createDiv() : document.createElement('div'), a branch for typeof activeDocument === 'undefined', and the catch of a try that calls createEl(). It fixed them to the helper, which throws a ReferenceError exactly there. Where a comment sits between or around the arguments, such as createElement(/* TODO */ 'p'), the replacement, which would drop it, is offered as a suggestion instead of a fix. prefer-active-doc offers no activeDocument in such a fallback either (#276).
    • settings-tab/no-problematic-settings-headings reports a "General" or plugin-name heading only at the top of the settings tab, where nothing comes before it in display(). A heading right after an unconditional this.containerEl.empty() counts as at the top, whatever ran before the empty(). Lower down, as in a "General" section after an "Appearance" one, the heading starts a section of its own, and its fix removed it, which put that section's settings under the heading before it. The plugin's name is compared whole, so for a plugin named "Style Settings" a "Style" heading is no longer reported and removed. "settings" or "options" as what a verb acts on, as in "Export and import settings" or "Reset all settings", is no longer reported (#274, #286).
  • Fewer findings on correct code:
    • no-unsupported-api no longer reports workspace.requestSaveLayout(); below 0.16.0. It was a () => void before 0.16.0 typed it a Debouncer, and a call that passes nothing and ignores the result works on both. Reading its result, or calling cancel() on it, is still reported (#286).
    • no-unsupported-api recognises more guards. A read with a fallback, app.renderContext ?? null, works like the || it already allowed, and an optional access, app.secretStorage?.getSecret("token"), reads the newer member safely and runs the rest of the chain only on a release that has it, so neither member is reported. requireApiVersion() imported under another name or called from import * as obsidian, a check compared with true, a feature check held in a const, and a readonly field initialized with requireApiVersion() that the file assigns nowhere else also count as guards (#283).
    • no-unsupported-api reads a type alias in a member's type as the type it stands for when it compares the member with older typings. View.icon and View.getIcon() were typed string before 1.1.0 typed them IconName, which is type IconName = string, so this.icon = "dice" in an ItemView was reported as needing 1.1.0. It also treats the body of an onUserEnable() override, which only Obsidian 1.7.2 and later calls, as running on 1.7.2, as it does for onPaneMenu(), so this.app.workspace.ensureSideLeaf() there is no longer reported (#275).
    • no-static-styles-assignment no longer reports a fixed value written to a style object that, by type, is not an element's inline style, such as a plugin's own settings.style.theme = "compact". It matched any x.style.prop by name. With type information, a style object is now reported where its type is a CSSStyleDeclaration, has its cssText or setProperty(), or cannot tell, such as any; without it, as before, every one is (#272).
    • no-nodejs-modules counts an early exit in a switch case as a guard for the rest of that case, as one in a block is, so case "a": if (Platform.isMobile) return; require("fs"); is no longer reported. It still guards nothing in the cases after it, which switch can enter directly (#279).
    • no-forbidden-elements no longer reports a <style> or <link> in an iframe's document, which styles.css does not reach, so that it is the only way to style it: one created on iframe.contentWindow.document, or created elsewhere and only inserted into the iframe's document, as in iframe.contentDocument.head.appendChild(style). Only one created on iframe.contentDocument was allowed (#280).
    • editor-drop-paste no longer reports a handler that lets Obsidian insert the content and changes it afterwards, as in window.setTimeout(() => editor.setValue(tidy(editor.getValue()))): one that writes to its editor only in a callback to setTimeout(), then() and the like, or after an await, and does not read evt.clipboardData or evt.dataTransfer. It told such a handler to call evt.preventDefault(), which would cancel the paste or drop it relies on. A handler that reads the content and inserts it later, such as after an upload, is still reported (#281).
    • The recommended config gives test files and tool configs, which run in Node, the Node globals even where the plugin is not desktop-only, and every .cjs file module and exports. no-undef reported module.exports in jest.config.js and release.config.cjs, and process and __dirname in a script, as not defined. The typescript-eslint config the recommended config extends reads a .cjs file as an ES module, so module and exports were missing there too (#282).
    • commands/no-plugin-name-in-command-name no longer reports a command name that starts with the plugin name as a word of the sentence, with a word in lower case after it, as in "Zoom in" of the plugin "Zoom". commands/no-plugin-id-in-command-id no longer reports such a command's ID, as zoom-in, and no longer suggests an ID that leaves only a word such as in or out (#284).
    • commands/no-command-in-command-name no longer reports "command" as the last word after only a space, as in "Create slash command" or "Edit shell command", where it is the noun the command acts on; its suggestion would have renamed them "Create slash" and "Edit shell". commands/no-command-in-command-id reports a last "command" in the ID, as in create-slash-command, only where the command's name does without the word (#284).
    • ui/sentence-case, ui/sentence-case-json and ui/sentence-case-locale-module no longer lowercase words that keep a capital in English: the pronoun "I" ("Ask me before I delete a note"), weekdays, months and languages ("Week starts on Monday", "Translate to Japanese"), key names ("Press Enter", "Hold Shift", and "Tab" or "Home" where the words around them make them a key), letter ranges ("Name (A-Z)", "Sort A to Z") and, in the default loose mode, words in capitals that are not listed acronyms ("Copy Obsidian URI", "Use UTC time"), unless the whole text is in capitals. Keyboard shortcuts written with hyphens (Ctrl-S, Cmd-Shift-P) are skipped like those written with +, and ignoreWords applies to the parts of a hyphenated word, as in "Dataview-powered" (#285).
  • Findings the rules missed before:
    • prefer-active-doc reports document.createElementNS(svgNamespace, …) where minAppVersion is 0.15.0 or later but older than 1.1.0, which first has createSvg(). It left the call to prefer-create-el, which does not report it below that version, so neither rule did (#270).

... (truncated)

Changelog

Sourced from eslint-plugin-obsidianmd's changelog.

[0.6.0] - 2026-11-14

Fixes found by linting the community plugins, about 10,300, with 0.5.1. The number of findings barely changes: on those plugins, 0.6.0 reports about 0.2% fewer. What changes is mostly what --fix and suggestions do. Rewrites that did not compile or changed what correct code does, such as window.setTimeout() where TypeScript has narrowed window, a timer ID cleared on another window than the one that set it, or a settings heading removed from the middle of the tab, are now suggestions or left alone, so --fix leaves a few more findings to resolve by hand. Two new rules: no-await-chainable, an error, reports await of a Setting or UI component, which never settles, and commands/check-callback-uses-checking warns about a checkCallback that ignores checking. One option changes: the sentence-case rules' acronyms adds to the built-in acronyms instead of replacing them. See Upgrading to 0.6.0.

Added

  • commands/check-callback-uses-checking reports a checkCallback or editorCheckCallback in addCommand() that never reads its checking parameter. Obsidian calls it with checking set to true to ask whether the command is available, for example while the command palette is open, so such a callback runs its action on every check. It warns in the recommended config (#248).
  • no-await-chainable reports await of a Setting or a UI component (ButtonComponent, TextComponent and the other BaseComponent subclasses), and returning one from an async function. Their then(cb) is for chaining: it calls cb with the object and returns the object, so promise resolution calls it again forever, the await never settles and the app stops responding. @typescript-eslint/await-thenable does not catch it, because the objects are thenables. It is an error in the recommended config, for TypeScript files (#249).

Changed

  • no-unsupported-api names the fix in its report: raise minAppVersion to the version the API needs, or guard the use with requireApiVersion() and that version. Below 0.13.21, which first has requireApiVersion(), it suggests a check that the API exists instead, and for a superclass, such as class extends AbstractInputSuggest, or a newer signature that no such check proves, only raising minAppVersion (#250).
  • ui/sentence-case, ui/sentence-case-json and ui/sentence-case-locale-module add the acronyms option to the built-in acronyms instead of replacing them, so adding one no longer means listing all the built-in ones again. The new replaceDefaultAcronyms: true replaces them, as acronyms did. URI, UTC, GMT, ISO, OCR, TTS, RTL, LTR, AWS, MCP, RGB, RGBA, HSL, EPUB, ICS and OPML are now built in, and "TODO" in capitals is kept like "REST" (#285).
  • prefer-active-doc advises activeDocument.body, and offers it as a suggestion, for an element the code puts in document.body only for a moment, such as a download link (document.body.appendChild(a); a.click(); a.remove();) or a textarea for copying text: one it passes to appendChild(), append(), prepend(), insertBefore() or insertAdjacentElement() and also removes. The suggestion rewrites every document.body call for that element at once, removeChild() and contains() included, and is offered on each of them or on none: moving only the appendChild() left a removeChild() in a finally or a cleanup callback on the main window's body, where it threw NotFoundError in a popout window. It reported these as state of the whole window, told the author to set them up in each window from workspace.on("window-open"), and offered nothing. An element that is never removed, and anything put in document.head, are still reported that way (#278, #289).

Fixed

  • Fixes and suggestions that changed what correct code does, or did not compile:
    • no-global-this and prefer-window-timers no longer rewrite to window where TypeScript has narrowed window to a type without the property, which did not compile (TS2339): globalThis.setTimeout(cb, 100) in the else of if ("requestIdleCallback" in window) became window.setTimeout(…) on a window of type never, since Window declares requestIdleCallback. The same goes for code after if ("requestIdleCallback" in window) return;, and for typeof window and window instanceof X checks that rule the window out. Both rules still report the call there, with neither a fix nor a suggestion (#288).
    • prefer-window-timers no longer rewrites activeWindow.clearTimeout(id) and activeWindow.clearInterval(id) to window automatically, and offers it as a suggestion instead. A timer ID belongs to the window that set the timer: where activeWindow.setTimeout() in a popout window set it, window.clearTimeout(id) did not clear it (#266).
    • prefer-window-timers no longer rewrites activeWindow.setTimeout() and activeWindow.setInterval() to window automatically where their ID is kept, as in this.id = activeWindow.setInterval(…), and offers it as a suggestion instead. The matching activeWindow.clearInterval(this.id) gets only a suggestion, so after --fix the timer was set on the main window but cleared on whichever window was active, and might never be cleared. Where nothing can keep the ID, because the timer is the body of an arrow function whose caller ignores the result, as in new Promise((resolve) => activeWindow.setTimeout(resolve, ms)), it is still fixed: with type information, that is a callback whose type returns void; without it, a Promise executor or a forEach() callback. A timer in a function whose source the file turns into a string, as for an inline web worker (new Blob([(${body.toString()})()])), also gets a suggestion, as does no-global-this there: the worker has no window (#273, #286).
    • The recommended config treats a file named worker.ts (or worker.js and the other extensions), such as src/worker.ts, as web worker code, like *.worker.ts. prefer-window-timers rewrote its setTimeout() to window.setTimeout(), and no-global-this its globalThis to window, which a worker does not have (#267).
    • object-assign no longer suggests Object.assign({}, DEFAULT_SETTINGS, o) where the call is the body of an arrow function whose caller throws the result away, as in overrides.forEach((o) => Object.assign(DEFAULT_SETTINGS, o)). The code relies on the defaults being changed there, and with {} the call did nothing. With type information, such a caller is one whose callback type returns void; without it, forEach() or a Promise executor (#271, #286).
    • prefer-instanceof no longer autofixes a check whose value may be null behind a type assertion or declaration, which turned a check that was false into one that throws. With strictNullChecks, that is a value cast to a type without null from one that may be null, such as const next = e.relatedTarget as HTMLElement; without it, also a cast, a variable with a type annotation set from a nullable call, such as const input: Element = root.querySelector("input"), and a class field without an initializer that the constructor does not set. These now get the ?.instanceOf() suggestion. A check against an abstract class, or against a Node class whose constructor needs arguments, is no longer reported: el.instanceOf(Widget) did not compile, and instanceof finds a plugin's own class in every window. A check with a comment outside its operands is offered as a suggestion only, since the fix dropped the comment (#277).
    • prefer-create-el no longer reports document.createElement() and the other native calls in a fallback for where Obsidian's helpers are missing, as in a browser or under jsdom: the other branch of typeof createDiv === 'function' ? createDiv() : document.createElement('div'), a branch for typeof activeDocument === 'undefined', and the catch of a try that calls createEl(). It fixed them to the helper, which throws a ReferenceError exactly there. Where a comment sits between or around the arguments, such as createElement(/* TODO */ 'p'), the replacement, which would drop it, is offered as a suggestion instead of a fix. prefer-active-doc offers no activeDocument in such a fallback either (#276).
    • settings-tab/no-problematic-settings-headings reports a "General" or plugin-name heading only at the top of the settings tab, where nothing comes before it in display(). A heading right after an unconditional this.containerEl.empty() counts as at the top, whatever ran before the empty(). Lower down, as in a "General" section after an "Appearance" one, the heading starts a section of its own, and its fix removed it, which put that section's settings under the heading before it. The plugin's name is compared whole, so for a plugin named "Style Settings" a "Style" heading is no longer reported and removed. "settings" or "options" as what a verb acts on, as in "Export and import settings" or "Reset all settings", is no longer reported (#274, #286).
  • Fewer findings on correct code:
    • no-unsupported-api no longer reports workspace.requestSaveLayout(); below 0.16.0. It was a () => void before 0.16.0 typed it a Debouncer, and a call that passes nothing and ignores the result works on both. Reading its result, or calling cancel() on it, is still reported (#286).
    • no-unsupported-api recognises more guards. A read with a fallback, app.renderContext ?? null, works like the || it already allowed, and an optional access, app.secretStorage?.getSecret("token"), reads the newer member safely and runs the rest of the chain only on a release that has it, so neither member is reported. requireApiVersion() imported under another name or called from import * as obsidian, a check compared with true, a feature check held in a const, and a readonly field initialized with requireApiVersion() that the file assigns nowhere else also count as guards (#283).
    • no-unsupported-api reads a type alias in a member's type as the type it stands for when it compares the member with older typings. View.icon and View.getIcon() were typed string before 1.1.0 typed them IconName, which is type IconName = string, so this.icon = "dice" in an ItemView was reported as needing 1.1.0. It also treats the body of an onUserEnable() override, which only Obsidian 1.7.2 and later calls, as running on 1.7.2, as it does for onPaneMenu(), so this.app.workspace.ensureSideLeaf() there is no longer reported (#275).
    • no-static-styles-assignment no longer reports a fixed value written to a style object that, by type, is not an element's inline style, such as a plugin's own settings.style.theme = "compact". It matched any x.style.prop by name. With type information, a style object is now reported where its type is a CSSStyleDeclaration, has its cssText or setProperty(), or cannot tell, such as any; without it, as before, every one is (#272).
    • no-nodejs-modules counts an early exit in a switch case as a guard for the rest of that case, as one in a block is, so case "a": if (Platform.isMobile) return; require("fs"); is no longer reported. It still guards nothing in the cases after it, which switch can enter directly (#279).
    • no-forbidden-elements no longer reports a <style> or <link> in an iframe's document, which styles.css does not reach, so that it is the only way to style it: one created on iframe.contentWindow.document, or created elsewhere and only inserted into the iframe's document, as in iframe.contentDocument.head.appendChild(style). Only one created on iframe.contentDocument was allowed (#280).
    • editor-drop-paste no longer reports a handler that lets Obsidian insert the content and changes it afterwards, as in window.setTimeout(() => editor.setValue(tidy(editor.getValue()))): one that writes to its editor only in a callback to setTimeout(), then() and the like, or after an await, and does not read evt.clipboardData or evt.dataTransfer. It told such a handler to call evt.preventDefault(), which would cancel the paste or drop it relies on. A handler that reads the content and inserts it later, such as after an upload, is still reported (#281).
    • The recommended config gives test files and tool configs, which run in Node, the Node globals even where the plugin is not desktop-only, and every .cjs file module and exports. no-undef reported module.exports in jest.config.js and release.config.cjs, and process and __dirname in a script, as not defined. The typescript-eslint config the recommended config extends reads a .cjs file as an ES module, so module and exports were missing there too (#282).
    • commands/no-plugin-name-in-command-name no longer reports a command name that starts with the plugin name as a word of the sentence, with a word in lower case after it, as in "Zoom in" of the plugin "Zoom". commands/no-plugin-id-in-command-id no longer reports such a command's ID, as zoom-in, and no longer suggests an ID that leaves only a word such as in or out (#284).
    • commands/no-command-in-command-name no longer reports "command" as the last word after only a space, as in "Create slash command" or "Edit shell command", where it is the noun the command acts on; its suggestion would have renamed them "Create slash" and "Edit shell". commands/no-command-in-command-id reports a last "command" in the ID, as in create-slash-command, only where the command's name does without the word (#284).
    • ui/sentence-case, ui/sentence-case-json and ui/sentence-case-locale-module no longer lowercase words that keep a capital in English: the pronoun "I" ("Ask me before I delete a note"), weekdays, months and languages ("Week starts on Monday", "Translate to Japanese"), key names ("Press Enter", "Hold Shift", and "Tab" or "Home" where the words around them make them a key), letter ranges ("Name (A-Z)", "Sort A to Z") and, in the default loose mode, words in capitals that are not listed acronyms ("Copy Obsidian URI", "Use UTC time"), unless the whole text is in capitals. Keyboard shortcuts written with hyphens (Ctrl-S, Cmd-Shift-P) are skipped like those written with +, and ignoreWords applies to the parts of a hyphenated word, as in "Dataview-powered" (#285).
  • Findings the rules missed before:
    • prefer-active-doc reports document.createElementNS(svgNamespace, …) where minAppVersion is 0.15.0 or later but older than 1.1.0, which first has createSvg(). It left the call to prefer-create-el, which does not report it below that version, so neither rule did (#270).
    • no-unsupported-api reports a call to Workspace.duplicateLeaf(leaf) whose result is used, such as const copy = await workspace.duplicateLeaf(leaf), below 0.13.8. The overload is in the 0.9.7 typings, which allowed it from there, but it returned Promise<void> until 0.13.8, so the result was undefined. A call that discards the result, and a use of the method as a value, still need only 0.9.7 (#259).

... (truncated)

Commits
  • a998a59 chore: release 0.6.0 (#291)
  • 236dee6 chore(deps-dev): bump the dev group, with typescript-eslint on one version (#...
  • cb2034c chore(deps): bump eslint-plugin-depend from 1.3.1 to 1.5.0 (#235)
  • 4784af1 chore(deps): bump @​eslint-community/eslint-plugin-eslint-comments (#236)
  • a74530a chore(deps): bump semver from 7.7.4 to 7.8.5 (#237)
  • e0ba0b7 fix(prefer-active-doc): move an element's document.body uses together in one ...
  • dbdbdad fix(no-global-this, prefer-window-timers): no window rewrite where TypeScript...
  • f56e3d4 chore: fix the self-lint backlog and lint in CI (#287)
  • 85b87e3 fix: requestSaveLayout(), Promise-executor timers, headings after empty() (#286)
  • 37985bd fix(ui/sentence-case): keep the capitals English keeps (#285)
  • Additional commits viewable in compare view

Updates oxfmt from 0.78.0 to 0.79.0

Release notes

Sourced from oxfmt's releases.

oxfmt v0.79.0

🚀 Features

  • 21e1fc1 formatter_graphql: Support empty selection sets and braced unicode escapes (#29345) (leaysgur)
  • 292f216 oxfmt: Bump prettier to 3.10.1 (#29333) (leaysgur)

🐛 Bug Fixes

  • 552732b formatter: Fix parenthesized TSInstantiationExpression issue (#29389) (leaysgur)
  • 7e41638 parser: Keep whole parenthesized TSInstantiationExpression with preserve_parens: false (#29359) (leaysgur)
  • d41ed14 formatter: Keep the ; of a lone statement in a Vue event handler (#29354) (leaysgur)
  • 58d7356 formatter: Break a conditional type alias with a generic constructor type after = (#29411) (leaysgur)
  • 59b8eaa formatter: Print binaryish or yield args like return (#29407) (leaysgur)
  • d6632f3 formatter: Keep a comment after TSPropertySignature's : (#29393) (leaysgur)
  • cf50f9b formatter: Keep a blank line between dangling comments (#29392) (leaysgur)
  • e648de6 formatter: Print sequence in yield and unary like in return (#29353) (leaysgur)
  • 547684d formatter: Keep parens around < on the left of > (#29351) (leaysgur)
  • 16b84d3 formatter/htmlish: Print CDATA sections as nodes of their own (#29348) (leaysgur)
  • f9f2385 formatter_css: Print @supports selector() like rule selector (#29343) (leaysgur)
  • f31a8d1 formatter: Align union hug and conditional branch (#29261) (leaysgur)
  • 79064df formatter_htmlish/angular: Keep block params, ignore whole block (#29258) (leaysgur)
  • 4d50307 formatter_htmlish: Keep attrs holding character reference (#29257) (leaysgur)
  • 3205e84 formatter: Break after = for hugged type alias (#29256) (leaysgur)
  • bed54ab formatter_htmlish: Keep whitespace as written only between two CJ characters (#29171) (leaysgur)
  • 1905d2b formatter_markdown: Keep whitespace as written only between two CJ characters (#29170) (leaysgur)
  • a3660bb formatter_htmlish: Keep empty comment only element as-is (#29159) (leaysgur)
  • 49b832a formatter_htmlish/vue: Preserve v-for alias holding in|of (#29156) (leaysgur)

📚 Documentation

  • 63b9b38 formatter: Re-check divergences whose pins changed in Prettier 3.10 (#29412) (leaysgur)
  • 0467739 formatter: Classify js/ts conformance failures for prettier 3.10 (#29336) (leaysgur)
  • 9660ce4 oxfmt: Update htmlish and oxfmt divergences (#29334) (leaysgur)
Commits

Updates oxlint from 1.93.0 to 1.94.0

Release notes

Sourced from oxlint's releases.

oxlint v1.94.0

🚀 Features

  • db5bc6b linter: Output recommended flag in --rules JSON output (#29338) (Cam McHenry)
  • acd8814 linter/typescript/no-misused-promises: Add flagUnions option (#29380) (camc314)
  • fa492d6 minifier: Merge adjacent switch cases with identical bodies (#29316) (camc314)
  • ca3b2cb linter/vue/no-shared-component-data: Implement fixer (#29291) (Mikhail Baev)
  • bfe3498 linter: Mark oxc rules as recommended (#28091) (Cam McHenry)
  • 5da83ae linter/eslint/no-unused-vars: Suggest removing unused type parameters (#28762) (YanYunCY)
  • 6816662 linter/jsdoc/require-param-description: Implement suggestion (#29118) (Mikhail Baev)

🐛 Bug Fixes

  • 8d49552 linter/vitest/prefer-importing-vitest-globals: Insert imports after shebangs and directives (#29674) (camc314)
  • 4526cae linter: Drop ## Example headings from overrides config docs (#29670) (oxc-captain[bot])
  • 97ed4b7 linter: Mark undefined argument removal as dangerous (#29266) (周星星同学)
  • 58ef81d linter/typescript/prefer-function-type: Strip a trailing comma from the fixed signature (#28145) (NavpreetSSidhu)
  • dcb465f linter/jsx-a11y/prefer-tag-over-role: Allow role="img" on svg (#29440) (Nadir Ali)
  • 994ddc3 linter/eslint/no-div-regex: Offer regex rewrites as suggestions (#29493) (oxc-captain[bot])
  • dc5add7 linter/jsx-a11y/lang: Don't report a missing lang attribute (#29441) (Nadir Ali)
  • f010115 linter/jest/prefer-to-be,linter/vitest/prefer-to-be: Emit rewrites as suggestions (#29503) (oxc-captain[bot])
  • b31fb57 linter/eslint/no-new-wrappers: Offer wrapper rewrites as suggestions (#29494) (oxc-captain[bot])
  • 9abb941 linter/jsx-a11y/scope: Preserve effectful attribute values in safe fixes (#29507) (oxc-captain[bot])
  • a1664a9 linter/jsx-a11y/no-redundant-roles: Use the first valid ARIA role token (#29497) (oxc-captain[bot])
  • 64df21d linter/eslint/yoda: Skip safe fixes for relational regex comparisons (#29495) (oxc-captain[bot])
  • df8887a linter/typescript/no-import-type-side-effects: Make the import rewrite a suggestion (#29502) (oxc-captain[bot])
  • 2ce7f06 linter/jest/no-unneeded-async-expect-function,linter/vitest/no-unneeded-async-expect-function: Suggest unwrapping async callbacks (#29501) (oxc-captain[bot])
  • 45c2159 linter/eslint/no-regex-spaces: Offer regex rewrites as suggestions (#29499) (oxc-captain[bot])
  • 5167945 linter/vitest/prefer-import-in-mock: Preserve quotes and escapes in fixes (#29509) (oxc-captain[bot])
  • 7127aa6 linter/jest/prefer-called-with,linter/vitest/prefer-called-with: Offer matcher rewrites as suggestions (#29498) (oxc-captain[bot])
  • 5472a21 linter/typescript: Offer @​ts-ignore rewrites as suggestions (#29511) (oxc-captain[bot])
  • 523d59b linter/eslint/no-useless-escape: Demote useless escape fixes to suggestions (#29508) (oxc-captain[bot])
  • 7ce5692 linter/jest/prefer-todo,linter/vitest/prefer-todo: Restrict safe fixes (#29512) (oxc-captain[bot])
  • 0d3f45a linter/vitest/prefer-importing-vitest-globals: Avoid duplicate imports for type-only bindings (#29564) (Ahmed Alhaidary)
  • d22f2c2 linter/vitest/prefer-strict-boolean-matchers: Offer rewrites as suggestions (#29500) (oxc-captain[bot])
  • 2170319 linter/react/only-export-components: Classify export specifiers like declarations (#29520) (Rahul Kashyap)
  • 79c0b73 linter/eslint/prefer-object-spread: Skip proto sources and suggest unsafe rewrites (#29510) (oxc-captain[bot])
  • 69be73e linter/jsx-a11y: Match event handler props case-insensitively (#29570) (Nadir Ali)
  • 1ae09b9 linter/jsx-a11y/aria-unsupported-elements: Preserve effectful attribute values (#29506) (oxc-captain[bot])
  • 4092e2f linter/jsx-a11y/no-aria-hidden-on-focusable: Suggest removing aria-hidden (#29505) (oxc-captain[bot])
  • 4059ff7 linter/react/rules-of-hooks: Match namespaced additional effect hooks (#29517) (Boshen)
  • 65659e6 linter/react/no-unstable-nested-components: Ignore prop callbacks that return an object holding JSX (#29605) (Nadir Ali)
  • bff48d0 linter/unicorn/prefer-set-size: Keep a space after a keyword before [ (#29597) (Jingbo Chai)
  • 2bb4c72 linter/vitest/prefer-importing-vitest-globals: Skip value imports from non-Vitest sources (#29563) (Abdul karim mia)
  • a087125 linter/oxc/no-accumulating-spread: Check reduce callbacks that take the index or array (#29573) (Nadir Ali)
  • 1a6fa05 linter/eslint/no-useless-rename: Don't fix a parenthesized target with a default (#29602) (Jingbo Chai)
  • 121b55c linter/typescript/prefer-function-type: Don't fix or double-report export default interface (#29593) (Jingbo Chai)
  • 9a3d7a1 linter/unicorn/prefer-export-from: Don't offer a fix that drops other names from the export list (#29574) (Nadir Ali)
  • b188db6 linter/unicorn/prefer-response-static-json: Fix the suggestion when a comment follows new (#29591) (Jingbo Chai)
  • 915a851 linter/eslint/no-var: Don't fix when let or const changes behavior (#29590) (Jingbo Chai)

... (truncated)

Changelog

Sourced from oxlint's changelog.

[1.94.0] - 2026-11-16

🚀 Features

  • acd8814 linter/typescript/no-misused-promises: Add flagUnions option (#29380) (camc314)

📚 Documentation

  • cdb5ac4 oxlint: Remove experimental label from typeCheck (#29175) (Yuji Sugiura)

[1.92.0] - 2026-11-06

🚀 Features

  • b7d2c75 linter/eslint/no-redeclare: Add ignoreDeclarationMerge option (#28816) (Cam McHenry)

[1.91.0] - 2026-11-02

🚀 Features

  • 419c1b0 linter: Add allow and allowPattern options to react/capitalized-calls (Christian Vuerings)

[1.90.0] - 2026-10-27

🚀 Features

  • 831cdf1 oxlint: Require mininum oxlint-tsgolint version v7.0.2005 (#28118) (camc314)
  • d1b00f4 linter/typescript: Implement no-unsafe-enum-assignment rule (#28117) (camc314)
  • 165c91f linter/typescript/await-thenable: Support allowMixedPromiseArrays option (#28116) (camc314)

[1.89.0] - 2026-10-19

🐛 Bug Fixes

  • 9a424c2 oxlint,oxfmt: Correct Node.js TypeScript support range (#27699) (camc314)

[1.88.0] - 2026-10-13

🚀 Features

  • 3c361a7 linter/unicorn/prefer-query-selector: Add allowWithVariables option (#27346) (Mikhail Baev)

[1.86.0] - 2026-09-28

🚀 Features

  • 9d80eed linter/react/only-export-components: Support allowCompoundComponents (#27117) (Kuroda Kayn)
  • e05b155 linter: Add typescript/no-generated-empty-object-type (#26958) (camc314)

[1.82.0] - 2026-09-07

... (truncated)

Commits
  • 229b69b release(apps): oxlint v1.94.0 && oxfmt v0.79.0 (#29666)
  • 4526cae fix(linter): drop ## Example headings from overrides config docs (#29670)
  • acd8814 feat(linter/typescript/no-misused-promises): add flagUnions option (#29380)
  • cdb5ac4 docs(oxlint): remove experimental label from typeCheck (#29175)
  • 1ff7e3e chore(ci): remove code coverage reporting (#29166)
  • See full diff in compare view

Updates svelte from 5.57.3 to 5.58.0

Release notes

Sourced from svelte's releases.

svelte@5.58.0

Minor Changes

  • feat: include snippetName in render entries of the dev __svelte_meta stack (#19283)

  • feat: include the component instance an element was rendered in for Svelte devtools to track (#19286)

Patch Changes

  • perf: let the garbage collector free each component's AST after it is compiled (#19241)

  • fix: render the same <title> on the server as on the client and ignore titles inside failed boundaries (#19176)

  • fix: allow autocorrect on all elements (

@dependabot
dependabot Bot requested a review from chhoumann as a code owner November 26, 2026 12:23
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Deploying podnotes with  Cloudflare Pages  Cloudflare Pages

Latest commit: 24ca605
Status: ✅  Deploy successful!
Preview URL: https://8b1c553a.podnotes.pages.dev
Branch Preview URL: https://dependabot-npm-and-yarn-npm-nt0t.podnotes.pages.dev

View logs

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 26, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requesting changes: svelte 5.57.3 → 5.58.0 grows the shipped main.js past the size budget, so the required Test check is red. The rest of this group is fine on its own.

Scope. Dependabot build(deps-dev) group bump. Diff is package.json + package-lock.json only. Title would not cut a release.

Package From To Published 7-day gate
eslint-plugin-obsidianmd 0.5.1 0.6.0 2026-11-14 past
oxfmt 0.78.0 0.79.0 2026-11-16 past
oxlint 1.93.0 1.94.0 2026-11-16 past
svelte 5.57.3 5.58.0 2026-11-18 past
vitest 5.1.0 5.1.1 2026-11-18 past

What passed (Node 22.23.4, npm ci frozen). lint (--deny-warnings), format:check (462 files), typecheck, svelte-check 0/0, unit tests 125 files / 2993, tooling 9 files / 56. npm audit --omit=dev 0. Remaining full-audit moderates are the pre-existing minimatch GHSA-g3hv-75wg-m249 chain through eslint-plugin-obsidianmd → eslint-plugin-n / typescript-eslint; not in main.js.

eslint-plugin-obsidianmd 0.6.0 is lint-only. .oxlintrc.json still uses a hand-picked subset, so the new recommended rules (no-await-chainable, commands/check-callback-uses-checking) stay off. Enabled-rule changes are safer autofixes / fewer FPs. Local lint is green.

oxfmt 0.79.0 / oxlint 1.94.0 are formatter/linter CLI only (native bindings). Newly marked recommended oxc rules did not fire under categories.correctness. GitHub Lint and format is green.

vitest 5.1.1 is a patch (retry/pool/expect/coverage/browser). This suite is vitest --configLoader bundle in Node. GitHub Unit tests and Svelte checks and tooling tests are green.

Blocker: svelte 5.58.0. Svelte compiles into the plugin bundle. 5.58.0 is a minor of compile/runtime bugfixes plus DEV __svelte_meta / devtools fields. Production still emits one CJS main.js (require("obsidian") / module.exports = Plugin), but:

main.js raw: 334013 bytes; budget 333899 bytes; OVER by 114 bytes
main.js gzip (level 9): 109119 bytes; budget 109091 bytes; OVER by 28 bytes

GitHub Build and sizes failed with the same numbers, so the required Test rollup is red. Raising scripts/size.mjs in this lockfile-only PR is the wrong fix. svelte@5.58.1 (2026-11-20) is still inside the 7-day cooldown and is not a reason to take 5.58.0 over budget.

Do not merge this lockfile as-is. oxfmt / oxlint / eslint-plugin-obsidianmd / vitest can land without svelte. Leave svelte on 5.57.3 until a later bump fits the budget (or a dedicated PR raises it with a measured compile).

Obsidian E2E was not run: this is deps-dev, and the fail is the size gate rather than player/runtime behavior.

Open in Web View Automation 

Sent by Cursor Automation: Dependabot PRs

Comment thread package.json
"oxlint": "^1.94.0",
"postcss": "^8.5.33",
"svelte": "^5.57.3",
"svelte": "^5.58.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

svelte 5.57.3 → 5.58.0 is what breaks the required size gate. Local and GitHub npm run build && npm run size both report main.js 334013 raw / 109119 gzip (level 9), which is 114 / 28 bytes over the 333899 / 109091 budgets in scripts/size.mjs. The other four bumps in this group do not go into the bundle.

Keep svelte on ^5.57.3 for this Dependabot group (or ignore it until a later compile fits). Do not raise the budget in this lockfile-only PR.

…directory with 5 updates

Bumps the npm-development-minor-patch group with 5 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [eslint-plugin-obsidianmd](https://github.com/obsidianmd/eslint-plugin) | `0.5.1` | `0.6.0` |
| [oxfmt](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxfmt) | `0.78.0` | `0.79.0` |
| [oxlint](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxlint) | `1.93.0` | `1.94.0` |
| [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) | `5.57.3` | `5.58.0` |
| [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `5.1.0` | `5.1.1` |



Updates `eslint-plugin-obsidianmd` from 0.5.1 to 0.6.0
- [Release notes](https://github.com/obsidianmd/eslint-plugin/releases)
- [Changelog](https://github.com/obsidianmd/eslint-plugin/blob/master/CHANGELOG.md)
- [Commits](obsidianmd/eslint-plugin@0.5.1...0.6.0)

Updates `oxfmt` from 0.78.0 to 0.79.0
- [Release notes](https://github.com/oxc-project/oxc/releases)
- [Changelog](https://github.com/oxc-project/oxc/blob/main/npm/oxfmt/CHANGELOG.md)
- [Commits](https://github.com/oxc-project/oxc/commits/oxfmt_v0.79.0/npm/oxfmt)

Updates `oxlint` from 1.93.0 to 1.94.0
- [Release notes](https://github.com/oxc-project/oxc/releases)
- [Changelog](https://github.com/oxc-project/oxc/blob/main/npm/oxlint/CHANGELOG.md)
- [Commits](https://github.com/oxc-project/oxc/commits/oxlint_v1.94.0/npm/oxlint)

Updates `svelte` from 5.57.3 to 5.58.0
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.58.0/packages/svelte)

Updates `vitest` from 5.1.0 to 5.1.1
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.1.1/packages/vitest)

---
updated-dependencies:
- dependency-name: eslint-plugin-obsidianmd
  dependency-version: 0.6.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-development-minor-patch
- dependency-name: oxfmt
  dependency-version: 0.79.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-development-minor-patch
- dependency-name: oxlint
  dependency-version: 1.94.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-development-minor-patch
- dependency-name: svelte
  dependency-version: 5.58.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-development-minor-patch
- dependency-name: vitest
  dependency-version: 5.1.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-development-minor-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title build(deps-dev): bump the npm-development-minor-patch group with 5 updates build(deps-dev): bump the npm-development-minor-patch group across 1 directory with 5 updates Nov 26, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/npm-development-minor-patch-b8f60eb1d4 branch from 44d261d to 24ca605 Compare November 26, 2026 12:30

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants