Skip to content
Source
Sign inSign up
TanStack/store

feat: add @tanstack/marko-store - a Marko v6 adapter for TanStack Store #340

Opendefunkt-dev(GitHub profile, opens in a new tab)wants to merge 32 commits intomain fromrefs/pull/340/headopened

Summary

This PR adds @tanstack/marko-store, a Marko v6 adapter for @tanstack/store, alongside the existing react / solid / svelte / vue / angular / preact / lit adapters in the monorepo. It exposes the store API as idiomatic Marko tags, re-exports the framework-agnostic @tanstack/store core, and supports Marko's full rendering model: client rendering, SSR with resume, per-request isolation, and progressive (out-of-order) streaming.

What's added

Package: packages/marko-store

Five tags plus a small internal helper:

  • <store-provider> — provides a per-request bundle of stores to descendants by a context key.
  • <store-context> — reads the provided bundle (for dispatching actions, etc.).
  • <store-selector> — subscribes to a store or atom and projects a slice, in from mode or context mode.
  • <store-atom> — two-way binding to a single writable atom from createAtom().
  • <stream-store-provider> — a provider for progressive streaming that builds a per-request bundle from data awaited inside a late <await> and keeps it live across the server-to-client boundary.
  • store-bus.ts — an internal publish bus (publishStore / subscribeStorePublish) used to reattach selectors when a provider parks its bundle during resume/streaming. The package re-exports the full @tanstack/store core (createStore, createAtom, Store, Derived, shallow, and so on) so Marko users have a single import.

Distribution mirrors the Marko-library convention: the tags ship as raw .marko source (files includes src/tags), so the consumer's Marko tooling reads their types directly. Each tag also ships a hand-written .d.marko declaration for robust type resolution in consumer projects under noUnusedLocals and referenced-file checking; only dist/index.d.ts is tsc-emitted (for the core re-export).

Examples: examples/marko/*

Five client-only parity examples mirroring the sibling adapters: simple, atoms, stores, store-actions, and store-context.

Three Marko-specific SSR examples demonstrating server behavior: ssr-resume (store stays live after resume), ssr-per-request-multi (per-request store isolation), and streaming (progressive streaming with a live store). These run on the standalone @marko/vite dev server; each README notes that a production deployment uses @marko/run (see Known limitations).

Docs: docs/framework/marko/*

A hand-written quick-start.md and a hand-authored tag reference (reference/index.md plus one page per tag under reference/tags/). The reference is hand-authored because the public API is .marko tags, which TypeDoc does not read; see the matching docs/config.json nav entries (Getting Started, Examples, API Reference, Store API Reference).

Design notes

  • Born-with-data (BWD) transport for streamed state. For data that resolves inside a late <await>, the store is created from the awaited value inside the await body; the value crosses to the client through the await subtree's resume scope. Marko's serializedGlobals is unsuitable here because it is written once at the first flush (the shell), before late awaits resolve, so globals set inside a late await read back as null on the client.
  • $global + publish-bus model for context. Context delivery (the bundle) plus a live store reference is modeled on the marko-query adapter's $global + bus pattern, not a tree-scoped context primitive. The bus lets a context-mode <store-selector> reattach the moment its provider parks the bundle during streaming or resume.
  • One provider per key. <store-provider> and <stream-store-provider> share an owner marker on the context key and throw on a duplicate, rather than silently clobbering the same box.
  • Production path is @marko/run. A standalone @marko/vite production build does not coordinate resume for the adapter; @marko/run does. This was verified by building a minimal @marko/run app and confirming store liveness and BWD streaming in a production build under real Chromium.

Testing

  • Unit and characterization tests under jsdom for the tag behaviors.
  • Eight Phase 3 streaming e2e tests in real Chromium across four specs: streaming-liveness and streaming-out-of-order (behavioral), and streaming-fill-render and streaming-fill-onmount (characterization).
  • e2e coverage for SSR resume and per-request isolation. All suites pass under the monorepo's test:ci pipeline (package build, marko-type-check, knip, eslint, jsdom tests, real-Chromium e2e).

Commands to use to test locally:

pnpm --filter @tanstack/marko-store build
pnpm --filter @tanstack/store build && pnpm --filter @tanstack/marko-store test:lib
pnpm --filter @tanstack/marko-store test:eslint 
pnpm --filter @tanstack/marko-store test:types
pnpm run test:ci

## to run e2e tests
cd packages/marko-store
pnpm test:e2e

## use the following to run examples
pnpm --filter @tanstack/store-example-marko-stores dev
pnpm --filter @tanstack/store-example-marko-simple dev
pnpm --filter @tanstack/store-example-marko-atoms dev
pnpm --filter @tanstack/store-example-marko-store-actions dev
pnpm --filter @tanstack/store-example-marko-store-context dev
pnpm --filter @tanstack/store-example-marko-ssr-resume dev
pnpm --filter @tanstack/store-example-marko-ssr-per-request-multi dev
pnpm --filter @tanstack/store-example-marko-streaming dev

Known limitations

  • SSR examples are dev-only. They run under the standalone @marko/vite dev server; a production Marko v6 app uses @marko/run, and the example READMEs say so. (@marko/run is currently beta at 0.10.0.)
  • No tree-scoped context primitive. Marko v6 has no context primitive that serializes arbitrary values across resume; the adapter uses the $global + bus model in the interim. This tracks Marko core discussion (issue #3155); let-global is the community interim pattern. The adapter solves the constrained case (a serializable bundle plus a live store reference), not general tree-scoped context.
  • Out-of-order streaming uses <try> + <@placeholder>. Marko v6 removed the client-reorder attribute on <await>, so out-of-order streaming is expressed with <try> and a placeholder.

Checklist

  • pnpm test:ci green in the monorepo
  • Changeset added (@tanstack/marko-store)
  • Docs nav entries merged into docs/config.json

Note

  • The changeset may look massive, but all of this are under packages/marko-store, examples/marko and docs/framework/marko.
  • A good amount of the files are tests and examples and e2e tests.
  • The actual code is under packages/marko-store/src
  • The additional files are package.json, pnpm-lock.yaml, pnpm-workspace.yaml, docs/config.json , .gitignore, .changeset/, .prettierrcandknip.json`
    1. coderabbitai[bot](GitHub profile, opens in a new tab)commented

      Important

      Review skipped

      Too many files!

      This PR contains 217 files, which is 67 over the limit of 150.

      To get a review, reduce the PR to 150 files or fewer by splitting it into smaller PRs or changing its base branch.

      Upgrade to a paid plan to raise the limit.

      This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry.

      ⚙️ Run configuration
      • Configuration used: Repository: TanStack/store/.coderabbit.yaml
      • Review profile: CHILL
      • Plan: Advanced
      • Run ID: 662952ce-ad1f-476f-a19b-fea2b6737078
      📥 Commits

      Reviewing files that changed from the base of the PR and between 53f30be1e43c8d7899ace08023705b34f5e533f8 and e001f624e6da4a0590fe36f16fba4535e0a7d164.

      ⛔ Files ignored due to path filters: 1
      • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
      📒 Files selected for processing: 217
      • .changeset/add-marko-store.md
      • .gitignore
      • .prettierrc
      • docs/config.json
      • docs/framework/marko/quick-start.md
      • docs/framework/marko/reference/index.md
      • docs/framework/marko/reference/tags/store-atom.md
      • docs/framework/marko/reference/tags/store-context.md
      • docs/framework/marko/reference/tags/store-provider.md
      • docs/framework/marko/reference/tags/store-selector.md
      • docs/framework/marko/reference/tags/stream-store-provider.md
      • examples/marko/README.md
      • examples/marko/atoms/.marko-run/routes.d.ts
      • examples/marko/atoms/README.md
      • examples/marko/atoms/e2e/atoms.spec.ts
      • examples/marko/atoms/marko.json
      • examples/marko/atoms/package.json
      • examples/marko/atoms/playwright.config.ts
      • examples/marko/atoms/src/App.marko
      • examples/marko/atoms/src/atom.ts
      • examples/marko/atoms/src/routes/+page.marko
      • examples/marko/atoms/tsconfig.json
      • examples/marko/atoms/vite.config.ts
      • examples/marko/simple/.marko-run/routes.d.ts
      • examples/marko/simple/README.md
      • examples/marko/simple/e2e/simple.spec.ts
      • examples/marko/simple/marko.json
      • examples/marko/simple/package.json
      • examples/marko/simple/playwright.config.ts
      • examples/marko/simple/src/App.marko
      • examples/marko/simple/src/Display.marko
      • examples/marko/simple/src/Increment.marko
      • examples/marko/simple/src/routes/+page.marko
      • examples/marko/simple/src/store.ts
      • examples/marko/simple/tsconfig.json
      • examples/marko/simple/vite.config.ts
      • examples/marko/ssr-per-request-multi/.marko-run/routes.d.ts
      • examples/marko/ssr-per-request-multi/README.md
      • examples/marko/ssr-per-request-multi/e2e/ssr-per-request-multi.spec.ts
      • examples/marko/ssr-per-request-multi/marko.json
      • examples/marko/ssr-per-request-multi/package.json
      • examples/marko/ssr-per-request-multi/playwright.config.ts
      • examples/marko/ssr-per-request-multi/src/routes/+page.marko
      • examples/marko/ssr-per-request-multi/src/routes/multi/+page.marko
      • examples/marko/ssr-per-request-multi/src/stores.ts
      • examples/marko/ssr-per-request-multi/tsconfig.json
      • examples/marko/ssr-per-request-multi/vite.config.ts
      • examples/marko/ssr-resume/.marko-run/routes.d.ts
      • examples/marko/ssr-resume/README.md
      • examples/marko/ssr-resume/e2e/ssr-resume.spec.ts
      • examples/marko/ssr-resume/marko.json
      • examples/marko/ssr-resume/package.json
      • examples/marko/ssr-resume/playwright.config.ts
      • examples/marko/ssr-resume/src/routes/+page.marko
      • examples/marko/ssr-resume/src/store.ts
      • examples/marko/ssr-resume/tsconfig.json
      • examples/marko/ssr-resume/vite.config.ts
      • examples/marko/store-actions/.marko-run/routes.d.ts
      • examples/marko/store-actions/README.md
      • examples/marko/store-actions/e2e/store-actions.spec.ts
      • examples/marko/store-actions/marko.json
      • examples/marko/store-actions/package.json
      • examples/marko/store-actions/playwright.config.ts
      • examples/marko/store-actions/src/App.marko
      • examples/marko/store-actions/src/routes/+page.marko
      • examples/marko/store-actions/src/store.ts
      • examples/marko/store-actions/tsconfig.json
      • examples/marko/store-actions/vite.config.ts
      • examples/marko/store-context/.marko-run/routes.d.ts
      • examples/marko/store-context/README.md
      • examples/marko/store-context/e2e/store-context.spec.ts
      • examples/marko/store-context/marko.json
      • examples/marko/store-context/package.json
      • examples/marko/store-context/playwright.config.ts
      • examples/marko/store-context/src/App.marko
      • examples/marko/store-context/src/AtomSummary.marko
      • examples/marko/store-context/src/CatCard.marko
      • examples/marko/store-context/src/DeepAtomEditor.marko
      • examples/marko/store-context/src/DogCard.marko
      • examples/marko/store-context/src/NestedAtomControls.marko
      • examples/marko/store-context/src/StoreButtons.marko
      • examples/marko/store-context/src/TotalCard.marko
      • examples/marko/store-context/src/routes/+page.marko
      • examples/marko/store-context/tsconfig.json
      • examples/marko/store-context/vite.config.ts
      • examples/marko/stores/.marko-run/routes.d.ts
      • examples/marko/stores/README.md
      • examples/marko/stores/e2e/stores.spec.ts
      • examples/marko/stores/marko.json
      • examples/marko/stores/package.json
      • examples/marko/stores/playwright.config.ts
      • examples/marko/stores/src/App.marko
      • examples/marko/stores/src/routes/+page.marko
      • examples/marko/stores/src/store.ts
      • examples/marko/stores/tsconfig.json
      • examples/marko/stores/vite.config.ts
      • examples/marko/streaming/.marko-run/routes.d.ts
      • examples/marko/streaming/README.md
      • examples/marko/streaming/e2e/streaming.spec.ts
      • examples/marko/streaming/marko.json
      • examples/marko/streaming/package.json
      • examples/marko/streaming/playwright.config.ts
      • examples/marko/streaming/src/routes/+page.marko
      • examples/marko/streaming/src/routes/out-of-order/+page.marko
      • examples/marko/streaming/tsconfig.json
      • examples/marko/streaming/vite.config.ts
      • knip.json
      • package.json
      • packages/marko-store/README.md
      • packages/marko-store/e2e/.marko-run/routes.d.ts
      • packages/marko-store/e2e/README.md
      • packages/marko-store/e2e/client-only-first-paint.spec.ts
      • packages/marko-store/e2e/gate-render-only.spec.ts
      • packages/marko-store/e2e/marko.json
      • packages/marko-store/e2e/package.json
      • packages/marko-store/e2e/payload.spec.ts
      • packages/marko-store/e2e/playwright.config.ts
      • packages/marko-store/e2e/src/context-store.ts
      • packages/marko-store/e2e/src/gate-store.ts
      • packages/marko-store/e2e/src/helper-eo.ts
      • packages/marko-store/e2e/src/routes/+page.marko
      • packages/marko-store/e2e/src/routes/client-only-first-paint/+page.marko
      • packages/marko-store/e2e/src/routes/context-above/+page.marko
      • packages/marko-store/e2e/src/routes/context-multi/+page.marko
      • packages/marko-store/e2e/src/routes/context-perreq/+page.marko
      • packages/marko-store/e2e/src/routes/context/+page.marko
      • packages/marko-store/e2e/src/routes/dup-try/+page.marko
      • packages/marko-store/e2e/src/routes/effect-order/+page.marko
      • packages/marko-store/e2e/src/routes/gate-render-only/+page.marko
      • packages/marko-store/e2e/src/routes/liveness/+page.marko
      • packages/marko-store/e2e/src/routes/multi/+page.marko
      • packages/marko-store/e2e/src/routes/ooo/+page.marko
      • packages/marko-store/e2e/src/routes/outside/+page.marko
      • packages/marko-store/e2e/src/routes/payload/+page.marko
      • packages/marko-store/e2e/src/routes/provider-collision/+page.marko
      • packages/marko-store/e2e/src/routes/streaming-fill-onmount/+page.marko
      • packages/marko-store/e2e/src/routes/streaming-fill-render/+page.marko
      • packages/marko-store/e2e/src/routes/streaming-liveness/+page.marko
      • packages/marko-store/e2e/src/routes/streaming-out-of-order/+page.marko
      • packages/marko-store/e2e/src/store.ts
      • packages/marko-store/e2e/src/streaming-store.ts
      • packages/marko-store/e2e/store-context-resume.spec.ts
      • packages/marko-store/e2e/store-resume-liveness.spec.ts
      • packages/marko-store/e2e/streaming-fill.spec.ts
      • packages/marko-store/e2e/streaming-helper-context-above.spec.ts
      • packages/marko-store/e2e/streaming-helper-dup-try.spec.ts
      • packages/marko-store/e2e/streaming-helper-effect-order.spec.ts
      • packages/marko-store/e2e/streaming-helper-liveness.spec.ts
      • packages/marko-store/e2e/streaming-helper-multi.spec.ts
      • packages/marko-store/e2e/streaming-helper-no-js.spec.ts
      • packages/marko-store/e2e/streaming-helper-ooo.spec.ts
      • packages/marko-store/e2e/streaming-helper-outside.spec.ts
      • packages/marko-store/e2e/streaming-helper-provider-collision.spec.ts
      • packages/marko-store/e2e/streaming-liveness.spec.ts
      • packages/marko-store/e2e/streaming-out-of-order.spec.ts
      • packages/marko-store/e2e/tsconfig.json
      • packages/marko-store/e2e/vite.config.ts
      • packages/marko-store/eslint.config.js
      • packages/marko-store/marko.json
      • packages/marko-store/package.json
      • packages/marko-store/src/index.ts
      • packages/marko-store/src/tags/store-atom.marko
      • packages/marko-store/src/tags/store-bus.ts
      • packages/marko-store/src/tags/store-context.marko
      • packages/marko-store/src/tags/store-provider.marko
      • packages/marko-store/src/tags/store-selector.marko
      • packages/marko-store/src/tags/stream-store-provider.marko
      • packages/marko-store/tests/fixtures/atom-host.marko
      • packages/marko-store/tests/fixtures/atom-late-context-host.marko
      • packages/marko-store/tests/fixtures/csr-stream-build-host.marko
      • packages/marko-store/tests/fixtures/csr-stream-multi-host.marko
      • packages/marko-store/tests/fixtures/ctx-customkey-host.marko
      • packages/marko-store/tests/fixtures/ctx-dup-provider-host.marko
      • packages/marko-store/tests/fixtures/ctx-getter-fed-host.marko
      • packages/marko-store/tests/fixtures/ctx-missing-provider-host.marko
      • packages/marko-store/tests/fixtures/ctx-multi-host.marko
      • packages/marko-store/tests/fixtures/ctx-nested-host.marko
      • packages/marko-store/tests/fixtures/ctx-no-provider-host.marko
      • packages/marko-store/tests/fixtures/ctx-selector-host.marko
      • packages/marko-store/tests/fixtures/ctx-ssr-host.marko
      • packages/marko-store/tests/fixtures/ctx-store.ts
      • packages/marko-store/tests/fixtures/ctx-write-host.marko
      • packages/marko-store/tests/fixtures/selector-both-host.marko
      • packages/marko-store/tests/fixtures/selector-custom-compare-host.marko
      • packages/marko-store/tests/fixtures/selector-host.marko
      • packages/marko-store/tests/fixtures/selector-no-selector-host.marko
      • packages/marko-store/tests/fixtures/selector-no-selector-swap-host.marko
      • packages/marko-store/tests/fixtures/selector-render-count-host.marko
      • packages/marko-store/tests/fixtures/selector-selector-swap-host.marko
      • packages/marko-store/tests/fixtures/selector-source-swap-host.marko
      • packages/marko-store/tests/fixtures/selector-swap-compare-host.marko
      • packages/marko-store/tests/fixtures/ssr-atom.marko
      • packages/marko-store/tests/fixtures/ssr-object-antipattern.marko
      • packages/marko-store/tests/fixtures/ssr-payload-host.marko
      • packages/marko-store/tests/fixtures/ssr-selector.marko
      • packages/marko-store/tests/fixtures/ssr-store.ts
      • packages/marko-store/tests/fixtures/ssr-stream-const-antipattern.marko
      • packages/marko-store/tests/fixtures/ssr-stream-ctx-above.marko
      • packages/marko-store/tests/fixtures/ssr-stream-dup.marko
      • packages/marko-store/tests/fixtures/ssr-stream-helper.marko
      • packages/marko-store/tests/index.test.ts
      • packages/marko-store/tests/marko.d.ts
      • packages/marko-store/tests/setup.ts
      • packages/marko-store/tests/ssr.test.ts
      • packages/marko-store/tests/store-bus.test.ts
      • packages/marko-store/tests/store-context-ssr.test.ts
      • packages/marko-store/tests/store-context-tags.test.ts
      • packages/marko-store/tests/stream-store-provider-client.test.ts
      • packages/marko-store/tests/stream-store-provider.test.ts
      • packages/marko-store/tests/tags.test.ts
      • packages/marko-store/tsconfig.build.json
      • packages/marko-store/tsconfig.json
      • packages/marko-store/tsconfig.marko.json
      • packages/marko-store/tsconfig.tags.json
      • packages/marko-store/tsdown.config.ts
      • packages/marko-store/vitest.config.ts
      • pnpm-workspace.yaml

      You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

      ✨ Finishing Touches
      🧪 Generate unit tests (beta)
      • Create PR with unit tests
      • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

      Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

      ❤️ Share
      Comment `@coderabbitai help` to get the list of available commands.
    2. socket-security[bot](GitHub profile, opens in a new tab)commented
    3. socket-security[bot](GitHub profile, opens in a new tab)commented

      Warning

      Review the following alerts detected in dependencies.

      According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

      Priority Alert  (click "▶" to expand/collapse) Action
      High priority
      High CVE: Browserslist: Unbounded memory growth (no cache eviction) via distinct query results, leading to eventual OOM

      CVE: GHSA-c83g-rgw3-j3cx Browserslist: Unbounded memory growth (no cache eviction) via distinct query results, leading to eventual OOM (HIGH)

      Affected versions: < 4.28.7

      Patched version: 4.28.7

      From: pnpm-lock.yaml → npm/@marko/run@0.10.0 → npm/browserslist@4.28.2

      ℹ Read more on: This package | This alert | What is a CVE?

      Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

      Suggestion: Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

      Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/browserslist@4.28.2. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

      Warn
      High priority
      High CVE: Browserslist: Uncaught crash / prototype write via untrusted npm browserslist-stats.json custom stats (normalizeStats)

      CVE: GHSA-73wf-gq98-2v4g Browserslist: Uncaught crash / prototype write via untrusted browserslist-stats.json custom stats (normalizeStats) (HIGH)

      Affected versions: < 4.28.7

      Patched version: 4.28.7

      From: pnpm-lock.yaml → npm/@marko/run@0.10.0 → npm/browserslist@4.28.2

      ℹ Read more on: This package | This alert | What is a CVE?

      Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

      Suggestion: Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

      Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/browserslist@4.28.2. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

      Warn
      High priority
      High CVE: npm compression vulnerable to Denial of Service via memory leak on premature response close

      CVE: GHSA-vc2v-76pw-4v95 compression vulnerable to Denial of Service via memory leak on premature response close (HIGH)

      Affected versions: < 1.8.2

      Patched version: 1.8.2

      From: pnpm-lock.yaml → npm/@marko/run@0.10.0 → npm/compression@1.8.1

      ℹ Read more on: This package | This alert | What is a CVE?

      Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

      Suggestion: Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

      Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/compression@1.8.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

      Warn
      High priority
      High CVE: Immutable: Hash-collision algorithmic complexity denial of service in Immutable.Map/Set

      CVE: GHSA-xvcm-6775-5m9r Immutable: Hash-collision algorithmic complexity denial of service in Immutable.Map/Set (HIGH)

      Affected versions: >= 4.0.0-beta.1 < 4.3.9; >= 5.0.0-beta.1 < 5.1.8; < 3.8.4

      Patched version: 5.1.8

      From: pnpm-lock.yaml → npm/vite@8.0.13 → npm/vite@6.4.3 → npm/immutable@5.1.5

      ℹ Read more on: This package | This alert | What is a CVE?

      Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

      Suggestion: Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

      Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/immutable@5.1.5. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

      Warn
      Medium priority
      High CVE: npm braces vulnerable to stack-exhaustion denial of service through deeply nested patterns

      CVE: GHSA-vfj7-8cjw-p6xm braces vulnerable to stack-exhaustion denial of service through deeply nested patterns (HIGH)

      Affected versions: <= 3.0.3

      Patched version: No patched versions

      From: pnpm-lock.yaml → npm/@marko/vite@6.1.0 → npm/braces@3.0.3

      ℹ Read more on: This package | This alert | What is a CVE?

      Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

      Suggestion: Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

      Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/braces@3.0.3. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

      Warn
      Low priority
      Low adoption: npm @marko/run-explorer

      Location: Package overview

      From: pnpm-lock.yaml → npm/@marko/run@0.10.0 → npm/@marko/run-explorer@2.0.4

      ℹ Read more on: This package | This alert | What are unpopular packages?

      Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

      Suggestion: Unpopular packages may have less maintenance and contain other problems.

      Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@marko/run-explorer@2.0.4. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

      Warn
      Low priority
      Low adoption: npm @marko/run

      Location: Package overview

      From: examples/marko/atoms/package.json → npm/@marko/run@0.10.0

      ℹ Read more on: This package | This alert | What are unpopular packages?

      Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

      Suggestion: Unpopular packages may have less maintenance and contain other problems.

      Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@marko/run@0.10.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

      Warn
      Low priority
      Low adoption: npm parse-node-args

      Location: Package overview

      From: pnpm-lock.yaml → npm/@marko/run@0.10.0 → npm/parse-node-args@1.1.3

      ℹ Read more on: This package | This alert | What are unpopular packages?

      Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

      Suggestion: Unpopular packages may have less maintenance and contain other problems.

      Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/parse-node-args@1.1.3. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

      Warn
      Low priority
      Low adoption: npm @marko/language-tools

      Location: Package overview

      From: examples/marko/atoms/package.json → npm/@marko/language-tools@2.6.0

      ℹ Read more on: This package | This alert | What are unpopular packages?

      Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

      Suggestion: Unpopular packages may have less maintenance and contain other problems.

      Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@marko/language-tools@2.6.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

      Warn
      Low priority
      Low adoption: npm @marko/type-check

      Location: Package overview

      From: examples/marko/atoms/package.json → npm/@marko/type-check@3.1.0

      ℹ Read more on: This package | This alert | What are unpopular packages?

      Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

      Suggestion: Unpopular packages may have less maintenance and contain other problems.

      Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@marko/type-check@3.1.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

      Warn
      Low priority
      Low adoption: npm prettier-plugin-marko

      Location: Package overview

      From: package.json → npm/prettier-plugin-marko@4.0.9

      ℹ Read more on: This package | This alert | What are unpopular packages?

      Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

      Suggestion: Unpopular packages may have less maintenance and contain other problems.

      Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/prettier-plugin-marko@4.0.9. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

      Warn

      View full report

    4. changeset-bot[bot](GitHub profile, opens in a new tab)commented

      🦋 Changeset detected

      Latest commit: e001f624e6da4a0590fe36f16fba4535e0a7d164

      The changes in this PR will be included in the next version bump.

      This PR includes changesets to release 1 package
      NameType
      @tanstack/marko-storeMinor

      Not sure what this means? Click here to learn what changesets are.

      Click here if you're a maintainer who wants to add another changeset to this PR

    5. nx-cloud[bot](GitHub profile, opens in a new tab)commented

      View your CI Pipeline Execution ↗ for commit e001f624e6da4a0590fe36f16fba4535e0a7d164

      CommandStatusDurationResult
      nx affected --targets=test:sherif,test:knip,tes...✅ Succeeded3m 31sView ↗
      nx run-many --target=build --exclude=examples/**✅ Succeeded3sView ↗

      ☁️ Nx Cloud last updated this comment at 2026-10-17 15:25:24 UTC

    6. pkg-pr-new[bot](GitHub profile, opens in a new tab)commented
      @tanstack/angular-store

      npm i https://pkg.pr.new/@tanstack/angular-store@340

      @tanstack/lit-store

      npm i https://pkg.pr.new/@tanstack/lit-store@340

      @tanstack/marko-store

      npm i https://pkg.pr.new/@tanstack/marko-store@340

      @tanstack/octane-store

      npm i https://pkg.pr.new/@tanstack/octane-store@340

      @tanstack/preact-store

      npm i https://pkg.pr.new/@tanstack/preact-store@340

      @tanstack/react-store

      npm i https://pkg.pr.new/@tanstack/react-store@340

      @tanstack/solid-store

      npm i https://pkg.pr.new/@tanstack/solid-store@340

      @tanstack/store

      npm i https://pkg.pr.new/@tanstack/store@340

      @tanstack/svelte-store

      npm i https://pkg.pr.new/@tanstack/svelte-store@340

      @tanstack/vue-store

      npm i https://pkg.pr.new/@tanstack/vue-store@340

      commit: e001f62

Sign in to join this conversation.