Skip to content

Bump @marko/run from 0.11.4 to 0.11.5#168

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/marko/run-0.11.5
Open

Bump @marko/run from 0.11.4 to 0.11.5#168
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/marko/run-0.11.5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 17, 2026

Copy link
Copy Markdown
Contributor

Bumps @marko/run from 0.11.4 to 0.11.5.

Release notes

Sourced from @​marko/run's releases.

@​marko/run@​0.11.5

Patch Changes

  • 0f12e17: Fix Run.*() mutating shared handler functions and export internal types to resolve TS2883

    createDefineHandler previously assigned the caller-supplied handler directly as the returned handler object and then set .verb on it, which permanently tagged any reused utility function with the first verb it was registered under. Passing the same function to a second Run.*() call (e.g. a shared handler used in both Run.GET and Run.POST([...])) would then throw:

    Error: Expected verb POST but handler was defined with Run.GET
    

    The fix wraps single-function arguments in a new closure so .verb is set on the wrapper, leaving the original function unmodified and free to be reused across verbs.

    HandlerTypes, NormalizedHandlerFunction, and Typed are now re-exported from the package root. Without these exports, using the array overload of Run.*() on an exported handler constant produced TS2883 ("The inferred type cannot be named without a reference to …/runtime/types"), because TypeScript could not portably name those types in generated declaration files.

  • aaa8987: Warn in dev and build about route files that look routable but silently are not: a +type marker matching no routable type (e.g. +server.js, a wrong extension like +page.txt, a typo'd +pge.marko) points at the routable file list, and a $param name missing its +type suggests the fix. [flag] variant groups (e.g. @ebay/arc's header[mobile+android].js, or +page[mobile].marko) are ignored so they never read as broken routes. The "no http verb exports" warning also names any lowercase verb-like exports it found (e.g. get) and shows the Run.GET(handler) form.

  • 8ad1405: Remove Playwright from the test suite in favor of an in-process jsdom test browser, and make dev/preview server shutdown reliable — faster, less flaky tests.

Commits
  • 3ea73e3 [ci] release
  • aaa8987 feat: warn about non-routable lookalike route files
  • cf911bd fix: static adapter build resolving before crawled pages flushed to disk
  • 8ad1405 test: remove playwright in favor of an in-process jsdom test browser
  • 0f12e17 fix: prevent Run.*() from mutating shared handler functions, export types to ...
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@marko/run](https://github.com/marko-js/run) from 0.11.4 to 0.11.5.
- [Release notes](https://github.com/marko-js/run/releases)
- [Commits](https://github.com/marko-js/run/compare/@marko/run@0.11.4...@marko/run@0.11.5)

---
updated-dependencies:
- dependency-name: "@marko/run"
  dependency-version: 0.11.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 17, 2026
@dependabot
dependabot Bot requested a review from rdhar as a code owner July 17, 2026 05:23
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 17, 2026
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