A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
[lint] oxc pre-commit (#8985)
Myles Scolnick03bb7ae54daf
diff --git a/.oxfmtrc.json b/.oxfmtrc.jsonindex 4c4e1183b1..f70a0ab3eb 100644--- a/.oxfmtrc.json+++ b/.oxfmtrc.json@@ -14,6 +14,8 @@"singleAttributePerLine": false,"endOfLine": "lf","ignorePatterns": [+ "*.md",+ "frontend/**/*.html","*.json","*.jsonc","tests/**",@@ -23,6 +25,7 @@".github/**","**/e2e-tests/**","*.yaml",+ "*.toml","*.yml"]}diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlindex 2622980340..76cb7a2d0c 100644--- a/.pre-commit-config.yaml+++ b/.pre-commit-config.yaml@@ -39,3 +39,18 @@ repos:# Run the formatter- id: ruff-format+ # TODO: add back. this throws errors: thread 'tokio-rt-worker' (169) panicked at crates/oxc_allocator/src/pool/fixed_size.rs:112:67+ # - repo: https://github.com/oxc-project/mirrors-oxlint+ # rev: v1.56.0+ # hooks:+ # - id: oxlint+ # args: [--fix, --quiet]+ # files: ^(frontend/src/|packages/)++ - repo: https://github.com/oxc-project/mirrors-oxfmt+ rev: v0.42.0+ hooks:+ - id: oxfmt+ args: [--write, --config, .oxfmtrc.json]+ files: ^(frontend/src/|packages/)+ 'types_or': [javascript, jsx, ts, tsx]diff --git a/CITATION.cff b/CITATION.cffindex 629cf40cb2..783978337e 100644--- a/CITATION.cff+++ b/CITATION.cff@@ -26,7 +26,7 @@ keywords:- notebooks- dagtype: software-url: 'https://marimo.io/'+url: "https://marimo.io/"license: Apache-2.0message: "If you use this software, please cite it using these metadata."repository-code: "https://github.com/marimo-team/marimo"diff --git a/frontend/.oxlintrc.json b/frontend/.oxlintrc.jsonindex 77566efa20..1769b43729 100644--- a/frontend/.oxlintrc.json+++ b/frontend/.oxlintrc.json@@ -5,8 +5,6 @@"unicorn","react","vitest",- "import",- "node","jsx-a11y"],"jsPlugins": [@@ -42,7 +40,6 @@"eqeqeq": ["error", "smart"],"curly": "error","array-callback-return": "warn",- "prefer-arrow-callback": "error",// === TypeScript (from ESLint @typescript-eslint) ==="typescript/consistent-generic-constructors": "error",@@ -69,7 +66,8 @@"react/jsx-boolean-value": ["error", "always"],"react/jsx-pascal-case": "error",// From Biome: noUselessFragments- "react/no-useless-fragment": "error",+ // TODO: re-enable as error+ "react/jsx-no-useless-fragment": "warn",// From Biome: useSelfClosingElements"react/self-closing-comp": "error",@@ -77,13 +75,9 @@// From Biome: useHookAtTopLevel"react-hooks/rules-of-hooks": "warn",- // === Import ===- // From Biome: noUnusedImports- "import/no-unused-imports": "error",-- // === Node ===+ // === Unicorn ===// From Biome: useNodejsImportProtocol- "node/prefer-node-protocol": "error",+ "unicorn/prefer-node-protocol": "error",// === Vitest ==="vitest/expect-expect": "warn",diff --git a/frontend/.pnpmfile.cjs b/frontend/.pnpmfile.cjsindex 6966d8c36e..de1a34074f 100644--- a/frontend/.pnpmfile.cjs+++ b/frontend/.pnpmfile.cjs@@ -1,3 +1,4 @@+// oxlint-disable typescript/no-dynamic-deleteconst IGNORE = ["vue", "solid-js", "svelte", "solid-swr-store"];module.exports = {diff --git a/frontend/lint/marimo-plugin.js b/frontend/lint/marimo-plugin.jsindex 74451472b3..e668b2bf4a 100644--- a/frontend/lint/marimo-plugin.js+++ b/frontend/lint/marimo-plugin.js@@ -140,8 +140,7 @@ const atomWithStorageArgs = {return {CallExpression(node) {const callee = node.callee;- const name =- callee.type === "Identifier" ? callee.name : null;+ const name = callee.type === "Identifier" ? callee.name : null;if (name !== "atomWithStorage") {return;diff --git a/frontend/package.json b/frontend/package.jsonindex e717ce36f8..55cedd88c8 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -171,10 +171,9 @@"build": "cross-env vite build","test": "vitest","typecheck": "tsgo",- "format": "oxfmt --config ../.oxfmtrc.json src",- "format:check": "oxfmt --config ../.oxfmtrc.json --check src",+ "format": "oxfmt --config ../.oxfmtrc.json","lint": "run-s lint:oxlint lint:stylelint",- "lint:oxlint": "oxlint --fix src",+ "lint:oxlint": "oxlint --fix","lint:stylelint": "stylelint src/**/*.css --fix","preview": "vite preview","dev:quarto": "VITE_MARIMO_ISLANDS=true vite",@@ -216,7 +215,7 @@"msw": "^2.12.7","npm-run-all2": "^6.2.6","oxfmt": "^0.42.0",- "oxlint": "^1.57.0",+ "oxlint": "^1.58.0","postcss": "^8.5.6","postcss-plugin-namespace": "^0.0.3","react": "^19.2.4",diff --git a/frontend/src/__tests__/main.test.tsx b/frontend/src/__tests__/main.test.tsxindex 2400a6d594..101c778dea 100644--- a/frontend/src/__tests__/main.test.tsx+++ b/frontend/src/__tests__/main.test.tsx@@ -45,20 +45,18 @@ describe("main", () => {store.set(configOverridesAtom, {});});- it.each([- "edit",- "read",- "home",- "run",- ])("should mount with mode %s", (_mode) => {- const el = document.createElement("div");- mount({ mode: "edit" }, el);-- expect(store.get(viewStateAtom).mode).toBe("edit");- expect(store.get(filenameAtom)).toBeDefined();- expect(store.get(marimoVersionAtom)).toBe("unknown");- expect(store.get(showCodeInRunModeAtom)).toBe(true);- });+ it.each(["edit", "read", "home", "run"])(+ "should mount with mode %s",+ (_mode) => {+ const el = document.createElement("div");+ mount({ mode: "edit" }, el);++ expect(store.get(viewStateAtom).mode).toBe("edit");+ expect(store.get(filenameAtom)).toBeDefined();+ expect(store.get(marimoVersionAtom)).toBe("unknown");+ expect(store.get(showCodeInRunModeAtom)).toBe(true);+ },+ );it("should not mount with invalid mode", () => {const el = document.createElement("div");diff --git a/frontend/src/components/ai/ai-provider-icon.tsx b/frontend/src/components/ai/ai-provider-icon.tsxindex 350015c4e8..e09f52ae4a 100644--- a/frontend/src/components/ai/ai-provider-icon.tsx+++ b/frontend/src/components/ai/ai-provider-icon.tsx@@ -36,8 +36,7 @@ const icons: Record<ProviderId | ExternalAgentId, string> = {opencode: OpencodeIcon,};-export interface AiProviderIconProps- extends React.HTMLAttributes<HTMLImageElement> {+export interface AiProviderIconProps extends React.HTMLAttributes<HTMLImageElement> {provider: keyof typeof icons | "openai-compatible";className?: string;}diff --git a/frontend/src/components/data-table/cell-selection/types.ts b/frontend/src/components/data-table/cell-selection/types.tsindex e1e093f330..c64509edd8 100644--- a/frontend/src/components/data-table/cell-selection/types.ts+++ b/frontend/src/components/data-table/cell-selection/types.ts@@ -40,8 +40,9 @@ export interface CellSelectionInstance<TData extends RowData> {declare module "@tanstack/react-table" {interface TableState extends CellSelectionTableState {}- interface TableOptionsResolved<TData extends RowData>- extends CellSelectionOptions {}+ interface TableOptionsResolved<+ TData extends RowData,+ > extends CellSelectionOptions {}interface Table<TData extends RowData> extends CellSelectionInstance<TData> {}diff --git a/frontend/src/components/data-table/column-formatting/types.ts b/frontend/src/components/data-table/column-formatting/types.tsindex 6cf77386c8..2c2d086797 100644--- a/frontend/src/components/data-table/column-formatting/types.ts+++ b/frontend/src/components/data-table/column-formatting/types.ts@@ -48,8 +48,9 @@ declare module "@tanstack/react-table" {//merge column formatting's state with the existing table stateinterface TableState extends ColumnFormattingTableState {}//merge column formatting's options with the existing table options- interface TableOptionsResolved<TData extends RowData>- extends ColumnFormattingOptions {}+ interface TableOptionsResolved<+ TData extends RowData,+ > extends ColumnFormattingOptions {}//merge column formatting's instance APIs with the existing table instance APIsinterface Column<TData extends RowData> extends ColumnFormattingInstance {}}diff --git a/frontend/src/components/data-table/column-header.tsx b/frontend/src/components/data-table/column-header.tsxindex 08f51a059b..09246caf9d 100644--- a/frontend/src/components/data-table/column-header.tsx+++ b/frontend/src/components/data-table/column-header.tsx@@ -63,8 +63,10 @@ import { stringifyUnknownValue } from "./utils";const TOP_K_ROWS = 30;-interface DataTableColumnHeaderProps<TData, TValue>- extends React.HTMLAttributes<HTMLDivElement> {+interface DataTableColumnHeaderProps<+ TData,+ TValue,+> extends React.HTMLAttributes<HTMLDivElement> {column: Column<TData, TValue>;header: React.ReactNode;justify?: "left" | "center" | "right";diff --git a/frontend/src/components/data-table/column-wrapping/types.ts b/frontend/src/components/data-table/column-wrapping/types.tsindex 8a1cf13939..53429fb74e 100644--- a/frontend/src/components/data-table/column-wrapping/types.ts+++ b/frontend/src/components/data-table/column-wrapping/types.ts@@ -22,8 +22,9 @@ export interface ColumnWrappingInstance {declare module "@tanstack/react-table" {interface TableState extends ColumnWrappingTableState {}- interface TableOptionsResolved<TData extends RowData>- extends ColumnWrappingOptions {}+ interface TableOptionsResolved<+ TData extends RowData,+ > extends ColumnWrappingOptions {}interface Column<TData extends RowData> extends ColumnWrappingInstance {}}diff --git a/frontend/src/components/data-table/copy-column/types.ts b/frontend/src/components/data-table/copy-column/types.tsindex 604489c3eb..53655fa6b4 100644--- a/frontend/src/components/data-table/copy-column/types.ts+++ b/frontend/src/components/data-table/copy-column/types.ts@@ -12,8 +12,9 @@ export interface CopyColumnInstance {// Use declaration merging to add our new feature APIsdeclare module "@tanstack/react-table" {- interface TableOptionsResolved<TData extends RowData>- extends CopyColumnOptions {}+ interface TableOptionsResolved<+ TData extends RowData,+ > extends CopyColumnOptions {}interface Column<TData extends RowData> extends CopyColumnInstance {}}diff --git a/frontend/src/components/data-table/focus-row/types.ts b/frontend/src/components/data-table/focus-row/types.tsindex 956b739a25..b00e19899e 100644--- a/frontend/src/components/data-table/focus-row/types.ts+++ b/frontend/src/components/data-table/focus-row/types.ts@@ -25,8 +25,9 @@ export interface FocusRowInstance {declare module "@tanstack/react-table" {interface TableState extends FocusRowTableState {}- interface TableOptionsResolved<TData extends RowData>- extends FocusRowOptions {}+ interface TableOptionsResolved<+ TData extends RowData,+ > extends FocusRowOptions {}interface Row<TData extends RowData> extends FocusRowInstance {}}diff --git a/frontend/src/components/data-table/range-focus/__tests__/atoms.test.ts b/frontend/src/components/data-table/range-focus/__tests__/atoms.test.tsindex 568460f4ce..3ef2529b0f 100644--- a/frontend/src/components/data-table/range-focus/__tests__/atoms.test.ts+++ b/frontend/src/components/data-table/range-focus/__tests__/atoms.test.ts@@ -56,18 +56,18 @@ function createMockCell(}function createMockTable(): Table<T> {- const mockToggleSelected = vi.fn().mockImplementation(function (this: {- isSelected: boolean;- }) {- this.isSelected = !this.isSelected;- return { isSelected: this.isSelected };- });+ const mockToggleSelected = vi+ .fn()+ .mockImplementation(function (this: { isSelected: boolean }) {+ this.isSelected = !this.isSelected;+ return { isSelected: this.isSelected };+ });- const mockGetIsSelected = vi.fn().mockImplementation(function (this: {- isSelected: boolean;- }) {- return this.isSelected;- });+ const mockGetIsSelected = vi+ .fn()+ .mockImplementation(function (this: { isSelected: boolean }) {+ return this.isSelected;+ });const rows = [{diff --git a/frontend/src/components/data-table/range-focus/__tests__/use-cell-range-selection.test.ts b/frontend/src/components/data-table/range-focus/__tests__/use-cell-range-selection.test.tsindex 06ef2b3331..fe21f5e754 100644--- a/frontend/src/components/data-table/range-focus/__tests__/use-cell-range-selection.test.ts+++ b/frontend/src/components/data-table/range-focus/__tests__/use-cell-range-selection.test.ts@@ -23,17 +23,15 @@ describe("isInteractiveTarget", () => {expect(isInteractiveTarget(createMouseEvent(span, cell))).toBe(false);});- it.each([- "input",- "button",- "select",- "textarea",- ])("returns true when clicking a <%s>", (tag) => {- const cell = document.createElement("td");- const el = document.createElement(tag);- cell.append(el);- expect(isInteractiveTarget(createMouseEvent(el, cell))).toBe(true);- });+ it.each(["input", "button", "select", "textarea"])(+ "returns true when clicking a <%s>",+ (tag) => {+ const cell = document.createElement("td");+ const el = document.createElement(tag);+ cell.append(el);+ expect(isInteractiveTarget(createMouseEvent(el, cell))).toBe(true);+ },+ );it("returns true when clicking an <a> link", () => {const cell = document.createElement("td");diff --git a/frontend/src/components/editor/__tests__/data-attributes.test.tsx b/frontend/src/components/editor/__tests__/data-attributes.test.tsxindex 1bc28d8ac0..5bb8803df5 100644--- a/frontend/src/components/editor/__tests__/data-attributes.test.tsx+++ b/frontend/src/components/editor/__tests__/data-attributes.test.tsx@@ -33,108 +33,107 @@ beforeAll(() => {});describe("Cell data attributes", () => {- it.each([- "edit",- "read",- "present",- ])("should render cell with data-cell-id and data-cell-name in %s mode", (mode) => {- const { store, wrapper } = createTestWrapper();- const cid = cellId("test");- const cellName = "test_cell";+ it.each(["edit", "read", "present"])(+ "should render cell with data-cell-id and data-cell-name in %s mode",+ (mode) => {+ const { store, wrapper } = createTestWrapper();+ const cid = cellId("test");+ const cellName = "test_cell";- const userConfig: UserConfig = {- display: {- cell_output: "below",- code_editor_font_size: 14,- dataframes: "rich",- default_table_page_size: 10,- default_table_max_columns: 10,- default_width: "normal",- theme: "light",- reference_highlighting: false,- },- keymap: { preset: "default" },- completion: {- activate_on_typing: true,- signature_hint_on_typing: false,- copilot: false,- },- formatting: { line_length: 88 },- package_management: { manager: "pip" },- runtime: {- auto_instantiate: false,- default_sql_output: "native",- auto_reload: "off",- on_cell_change: "lazy",- watcher_on_save: "lazy",- reactive_tests: true,- output_max_bytes: 1_000_000,- std_stream_max_bytes: 1_000_000,- pythonpath: [],- dotenv: [".env"],- },- server: {- browser: "default",- follow_symlink: false,- },- save: { autosave: "off", autosave_delay: 1000, format_on_save: false },- ai: {},- } as UserConfig;+ const userConfig: UserConfig = {+ display: {+ cell_output: "below",+ code_editor_font_size: 14,+ dataframes: "rich",+ default_table_page_size: 10,+ default_table_max_columns: 10,+ default_width: "normal",+ theme: "light",+ reference_highlighting: false,+ },+ keymap: { preset: "default" },+ completion: {+ activate_on_typing: true,+ signature_hint_on_typing: false,+ copilot: false,+ },+ formatting: { line_length: 88 },+ package_management: { manager: "pip" },+ runtime: {+ auto_instantiate: false,+ default_sql_output: "native",+ auto_reload: "off",+ on_cell_change: "lazy",+ watcher_on_save: "lazy",+ reactive_tests: true,+ output_max_bytes: 1_000_000,+ std_stream_max_bytes: 1_000_000,+ pythonpath: [],+ dotenv: [".env"],+ },+ server: {+ browser: "default",+ follow_symlink: false,+ },+ save: { autosave: "off", autosave_delay: 1000, format_on_save: false },+ ai: {},+ } as UserConfig;- const notebook = MockNotebook.notebookState({- cellData: {- [cid]: {- code: "",- name: cellName,- edited: false,- serializedEditorState: null,- config: {- disabled: false,- hide_code: false,- column: null,+ const notebook = MockNotebook.notebookState({+ cellData: {+ [cid]: {+ code: "",+ name: cellName,+ edited: false,+ serializedEditorState: null,+ config: {+ disabled: false,+ hide_code: false,+ column: null,+ },},},- },- });+ });- notebook.cellRuntime[cid] = createCellRuntimeState({- status: "idle",- output: null,- consoleOutputs: [],- interrupted: false,- errored: false,- stopped: false,- staleInputs: false,- runStartTimestamp: null,- lastRunStartTimestamp: null,- runElapsedTimeMs: null,- debuggerActive: false,- outline: null,- });+ notebook.cellRuntime[cid] = createCellRuntimeState({+ status: "idle",+ output: null,+ consoleOutputs: [],+ interrupted: false,+ errored: false,+ stopped: false,+ staleInputs: false,+ runStartTimestamp: null,+ lastRunStartTimestamp: null,+ runElapsedTimeMs: null,+ debuggerActive: false,+ outline: null,+ });- store.set(notebookAtom, notebook);+ store.set(notebookAtom, notebook);- const { container } = render(- <TooltipProvider>- <Cell- cellId={cid}- mode={mode as AppMode}- canDelete={true}- userConfig={userConfig}- isCollapsed={false}- collapseCount={0}- canMoveX={false}- theme="light"- showPlaceholder={false}- />- </TooltipProvider>,- { wrapper },- );+ const { container } = render(+ <TooltipProvider>+ <Cell+ cellId={cid}+ mode={mode as AppMode}+ canDelete={true}+ userConfig={userConfig}+ isCollapsed={false}+ collapseCount={0}+ canMoveX={false}+ theme="light"+ showPlaceholder={false}+ />+ </TooltipProvider>,+ { wrapper },+ );- const cellElement = container.querySelector(`[data-cell-id="${cid}"]`);- expect(cellElement).toBeTruthy();- expect(cellElement?.getAttribute("data-cell-name")).toBe(cellName);- });+ const cellElement = container.querySelector(`[data-cell-id="${cid}"]`);+ expect(cellElement).toBeTruthy();+ expect(cellElement?.getAttribute("data-cell-name")).toBe(cellName);+ },+ );});describe("Output data attributes", () => {diff --git a/frontend/src/components/editor/actions/name-cell-input.tsx b/frontend/src/components/editor/actions/name-cell-input.tsxindex 6e991fe0cc..cebbfac39f 100644--- a/frontend/src/components/editor/actions/name-cell-input.tsx+++ b/frontend/src/components/editor/actions/name-cell-input.tsx@@ -14,8 +14,10 @@ import { useOnMount } from "@/hooks/useLifecycle";import { cn } from "@/utils/cn";import { Events } from "@/utils/events";-interface Props- extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange"> {+interface Props extends Omit<+ React.InputHTMLAttributes<HTMLInputElement>,+ "onChange"+> {value: string;onChange: (newName: string) => void;placeholder?: string;diff --git a/frontend/src/components/editor/actions/useCellActionButton.tsx b/frontend/src/components/editor/actions/useCellActionButton.tsxindex a8a1efafaa..2971a8915a 100644--- a/frontend/src/components/editor/actions/useCellActionButton.tsx+++ b/frontend/src/components/editor/actions/useCellActionButton.tsx@@ -65,8 +65,10 @@ import { useSplitCellCallback } from "../cell/useSplitCell";import { NameCellInput } from "./name-cell-input";import type { ActionButton } from "./types";-export interface CellActionButtonProps- extends Pick<CellData, "name" | "config"> {+export interface CellActionButtonProps extends Pick<+ CellData,+ "name" | "config"+> {cellId: CellId;status: RuntimeState;hasOutput: boolean;diff --git a/frontend/src/components/editor/cell/CellStatus.tsx b/frontend/src/components/editor/cell/CellStatus.tsxindex 2b3d5adfa5..7ce5c032fa 100644--- a/frontend/src/components/editor/cell/CellStatus.tsx+++ b/frontend/src/components/editor/cell/CellStatus.tsx@@ -16,11 +16,10 @@ import "./cell-status.css";import { formatDistanceToNow } from "date-fns";import { Time } from "@/utils/time";-export interface CellStatusComponentProps- extends Pick<- CellRuntimeState,- "status" | "runStartTimestamp" | "interrupted" | "lastRunStartTimestamp"- > {+export interface CellStatusComponentProps extends Pick<+ CellRuntimeState,+ "status" | "runStartTimestamp" | "interrupted" | "lastRunStartTimestamp"+> {editing: boolean;edited: boolean;disabled: boolean;diff --git a/frontend/src/components/editor/cell/cell-context-menu.tsx b/frontend/src/components/editor/cell/cell-context-menu.tsxindex cfb3a98120..0b9ae22232 100644--- a/frontend/src/components/editor/cell/cell-context-menu.tsx+++ b/frontend/src/components/editor/cell/cell-context-menu.tsx@@ -34,8 +34,10 @@ import {useCellActionButtons,} from "../actions/useCellActionButton";-interface Props- extends Pick<CellActionButtonProps, "cellId" | "getEditorView"> {+interface Props extends Pick<+ CellActionButtonProps,+ "cellId" | "getEditorView"+> {children: React.ReactNode;}diff --git a/frontend/src/components/editor/cell/code/cell-editor.tsx b/frontend/src/components/editor/cell/code/cell-editor.tsxindex 827bf9d5d7..732c902cf4 100644--- a/frontend/src/components/editor/cell/code/cell-editor.tsx+++ b/frontend/src/components/editor/cell/code/cell-editor.tsx@@ -47,7 +47,8 @@ import { useSplitCellCallback } from "../useSplitCell";import { LanguageToggles } from "./language-toggle";export interface CellEditorProps- extends Pick<CellRuntimeState, "status">,+ extends+ Pick<CellRuntimeState, "status">,Pick<CellData, "id" | "code" | "serializedEditorState" | "config"> {runCell: () => void;theme: Theme;diff --git a/frontend/src/components/editor/cell/toolbar.tsx b/frontend/src/components/editor/cell/toolbar.tsxindex ee564c6e69..e1f2cb2681 100644--- a/frontend/src/components/editor/cell/toolbar.tsx+++ b/frontend/src/components/editor/cell/toolbar.tsx@@ -27,7 +27,8 @@ const toolbarItemVariants = cva();interface ToolbarItemProps- extends VariantProps<typeof toolbarItemVariants>,+ extends+ VariantProps<typeof toolbarItemVariants>,React.HTMLAttributes<HTMLButtonElement> {tooltip: React.ReactNode;disabled?: boolean;diff --git a/frontend/src/components/editor/renderers/vertical-layout/vertical-layout.tsx b/frontend/src/components/editor/renderers/vertical-layout/vertical-layout.tsxindex 647a5a8d0c..6030b4ae75 100644--- a/frontend/src/components/editor/renderers/vertical-layout/vertical-layout.tsx+++ b/frontend/src/components/editor/renderers/vertical-layout/vertical-layout.tsx@@ -311,18 +311,17 @@ const ActionButtons: React.FC<{);};-interface VerticalCellProps- extends Pick<- CellRuntimeState,- | "output"- | "consoleOutputs"- | "status"- | "stopped"- | "errored"- | "interrupted"- | "staleInputs"- | "runStartTimestamp"- > {+interface VerticalCellProps extends Pick<+ CellRuntimeState,+ | "output"+ | "consoleOutputs"+ | "status"+ | "stopped"+ | "errored"+ | "interrupted"+ | "staleInputs"+ | "runStartTimestamp"+> {cellOutputArea: "above" | "below";cellId: CellId;config: CellConfig;diff --git a/frontend/src/components/storage/__tests__/storage-snippets.test.ts b/frontend/src/components/storage/__tests__/storage-snippets.test.tsindex 95804660de..95b75d99b6 100644--- a/frontend/src/components/storage/__tests__/storage-snippets.test.ts+++ b/frontend/src/components/storage/__tests__/storage-snippets.test.ts@@ -147,9 +147,8 @@ describe("download-file snippet", () => {});it("obstore gcs backend", () => {- expect(- downloadSnippet.getCode(makeCtx({ protocol: "gcs" })),- ).toMatchInlineSnapshot(`+ expect(downloadSnippet.getCode(makeCtx({ protocol: "gcs" })))+ .toMatchInlineSnapshot(`"from datetime import timedeltafrom obstore import sign@@ -162,9 +161,8 @@ describe("download-file snippet", () => {});it("obstore cloudflare backend", () => {- expect(- downloadSnippet.getCode(makeCtx({ protocol: "cloudflare" })),- ).toMatchInlineSnapshot(`+ expect(downloadSnippet.getCode(makeCtx({ protocol: "cloudflare" })))+ .toMatchInlineSnapshot(`"from datetime import timedeltafrom obstore import signdiff --git a/frontend/src/components/tracing/tracing.test.tsx b/frontend/src/components/tracing/tracing.test.tsxindex 0cd1737881..92337caa22 100644--- a/frontend/src/components/tracing/tracing.test.tsx+++ b/frontend/src/components/tracing/tracing.test.tsx@@ -5,36 +5,36 @@ import { formatChartTime } from "./utils";describe("formatChartTime", () => {beforeAll(() => {// Mock Date to always use UTC- vi.spyOn(global.Date.prototype, "getFullYear").mockImplementation(function (- this: Date,- ) {- return this.getUTCFullYear();- });- vi.spyOn(global.Date.prototype, "getMonth").mockImplementation(function (- this: Date,- ) {- return this.getUTCMonth();- });- vi.spyOn(global.Date.prototype, "getDate").mockImplementation(function (- this: Date,- ) {- return this.getUTCDate();- });- vi.spyOn(global.Date.prototype, "getHours").mockImplementation(function (- this: Date,- ) {- return this.getUTCHours();- });- vi.spyOn(global.Date.prototype, "getMinutes").mockImplementation(function (- this: Date,- ) {- return this.getUTCMinutes();- });- vi.spyOn(global.Date.prototype, "getSeconds").mockImplementation(function (- this: Date,- ) {- return this.getUTCSeconds();- });+ vi.spyOn(global.Date.prototype, "getFullYear").mockImplementation(+ function (this: Date) {+ return this.getUTCFullYear();+ },+ );+ vi.spyOn(global.Date.prototype, "getMonth").mockImplementation(+ function (this: Date) {+ return this.getUTCMonth();+ },+ );+ vi.spyOn(global.Date.prototype, "getDate").mockImplementation(+ function (this: Date) {+ return this.getUTCDate();+ },+ );+ vi.spyOn(global.Date.prototype, "getHours").mockImplementation(+ function (this: Date) {+ return this.getUTCHours();+ },+ );+ vi.spyOn(global.Date.prototype, "getMinutes").mockImplementation(+ function (this: Date) {+ return this.getUTCMinutes();+ },+ );+ vi.spyOn(global.Date.prototype, "getSeconds").mockImplementation(+ function (this: Date) {+ return this.getUTCSeconds();+ },+ );vi.spyOn(global.Date.prototype, "getMilliseconds").mockImplementation(function (this: Date) {return this.getUTCMilliseconds();diff --git a/frontend/src/components/ui/badge.tsx b/frontend/src/components/ui/badge.tsxindex bb3e80b8f0..6c33f46e45 100644--- a/frontend/src/components/ui/badge.tsx+++ b/frontend/src/components/ui/badge.tsx@@ -29,7 +29,8 @@ const badgeVariants = cva();export interface BadgeProps- extends React.HTMLAttributes<HTMLDivElement>,+ extends+ React.HTMLAttributes<HTMLDivElement>,VariantProps<typeof badgeVariants> {}const Badge = ({ className, variant, ...props }: BadgeProps) => {diff --git a/frontend/src/components/ui/button.tsx b/frontend/src/components/ui/button.tsxindex 6a3aa8d681..e31a99c208 100644--- a/frontend/src/components/ui/button.tsx+++ b/frontend/src/components/ui/button.tsx@@ -92,7 +92,8 @@ const buttonVariants = cva();export interface ButtonProps- extends React.ButtonHTMLAttributes<HTMLButtonElement>,+ extends+ React.ButtonHTMLAttributes<HTMLButtonElement>,Omit<VariantProps<typeof buttonVariants>, "disabled"> {asChild?: boolean;keyboardShortcut?: string;diff --git a/frontend/src/components/ui/calendar.tsx b/frontend/src/components/ui/calendar.tsxindex 85ea32cfc0..a6e980c826 100644--- a/frontend/src/components/ui/calendar.tsx+++ b/frontend/src/components/ui/calendar.tsx@@ -183,8 +183,9 @@ const Calendar = <T extends AriaDateValue>({);};-interface RangeCalendarProps<T extends AriaDateValue>- extends AriaRangeCalendarProps<T> {+interface RangeCalendarProps<+ T extends AriaDateValue,+> extends AriaRangeCalendarProps<T> {errorMessage?: string;}diff --git a/frontend/src/components/ui/combobox.tsx b/frontend/src/components/ui/combobox.tsxindex 6485d80aef..7fe490518a 100644--- a/frontend/src/components/ui/combobox.tsx+++ b/frontend/src/components/ui/combobox.tsx@@ -230,7 +230,8 @@ interface ComboboxItemOptions<TValue> {}export interface ComboboxItemProps<TValue>- extends ComboboxItemOptions<TValue>,+ extends+ ComboboxItemOptions<TValue>,Omit<React.ComponentProps<typeof CommandItem>,keyof ComboboxItemOptions<TValue> | "onSelect" | "role"diff --git a/frontend/src/components/ui/date-input.tsx b/frontend/src/components/ui/date-input.tsxindex 62f74bb367..3457ddda4b 100644--- a/frontend/src/components/ui/date-input.tsx+++ b/frontend/src/components/ui/date-input.tsx@@ -41,8 +41,7 @@ const DateSegment = ({ className, ...props }: AriaDateSegmentProps) => {};interface DateInputProps- extends AriaDateInputProps,- VariantProps<typeof fieldGroupVariants> {}+ extends AriaDateInputProps, VariantProps<typeof fieldGroupVariants> {}const DateInput = ({className,@@ -61,8 +60,9 @@ const DateInput = ({);};-interface DateFieldProps<T extends AriaDateValue>- extends AriaDateFieldProps<T> {+interface DateFieldProps<+ T extends AriaDateValue,+> extends AriaDateFieldProps<T> {label?: string;description?: string;errorMessage?: string | ((validation: AriaValidationResult) => string);@@ -94,8 +94,9 @@ const DateField = <T extends AriaDateValue>({);};-interface TimeFieldProps<T extends AriaTimeValue>- extends AriaTimeFieldProps<T> {+interface TimeFieldProps<+ T extends AriaTimeValue,+> extends AriaTimeFieldProps<T> {label?: string;description?: string;errorMessage?: string | ((validation: AriaValidationResult) => string);diff --git a/frontend/src/components/ui/date-picker.tsx b/frontend/src/components/ui/date-picker.tsxindex 52aee6bd74..2c5c750d61 100644--- a/frontend/src/components/ui/date-picker.tsx+++ b/frontend/src/components/ui/date-picker.tsx@@ -51,8 +51,9 @@ const DatePickerContent = ({</Popover>);-interface DatePickerProps<T extends AriaDateValue>- extends AriaDatePickerProps<T> {+interface DatePickerProps<+ T extends AriaDateValue,+> extends AriaDatePickerProps<T> {label?: string;description?: string;errorMessage?: string | ((validation: AriaValidationResult) => string);@@ -115,8 +116,9 @@ const DatePicker = <T extends AriaDateValue>({);};-interface DateRangePickerProps<T extends AriaDateValue>- extends AriaDateRangePickerProps<T> {+interface DateRangePickerProps<+ T extends AriaDateValue,+> extends AriaDateRangePickerProps<T> {label?: string;description?: string;errorMessage?: string | ((validation: AriaValidationResult) => string);diff --git a/frontend/src/components/ui/field.tsx b/frontend/src/components/ui/field.tsxindex a6d4550453..1e0e46ef5e 100644--- a/frontend/src/components/ui/field.tsx+++ b/frontend/src/components/ui/field.tsx@@ -66,8 +66,7 @@ const fieldGroupVariants = cva("", {});interface GroupProps- extends AriaGroupProps,- VariantProps<typeof fieldGroupVariants> {}+ extends AriaGroupProps, VariantProps<typeof fieldGroupVariants> {}const FieldGroup = ({ className, variant, ...props }: GroupProps) => {return (diff --git a/frontend/src/components/ui/progress.tsx b/frontend/src/components/ui/progress.tsxindex 59d1a98b49..4fb8dccb0b 100644--- a/frontend/src/components/ui/progress.tsx+++ b/frontend/src/components/ui/progress.tsx@@ -5,8 +5,9 @@ import * as React from "react";import { cn } from "@/utils/cn";-interface ProgressProps- extends React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root> {+interface ProgressProps extends React.ComponentPropsWithoutRef<+ typeof ProgressPrimitive.Root+> {/*** When true, shows an indeterminate animated progress bar.*/diff --git a/frontend/src/components/ui/query-param-preserving-link.tsx b/frontend/src/components/ui/query-param-preserving-link.tsxindex c667024384..2dca6b6ea5 100644--- a/frontend/src/components/ui/query-param-preserving-link.tsx+++ b/frontend/src/components/ui/query-param-preserving-link.tsx@@ -3,8 +3,10 @@import React, { useRef } from "react";import { usePress } from "react-aria";-interface QueryParamPreservingLinkProps- extends Omit<React.HTMLAttributes<HTMLAnchorElement>, "href"> {+interface QueryParamPreservingLinkProps extends Omit<+ React.HTMLAttributes<HTMLAnchorElement>,+ "href"+> {href: string;children: React.ReactNode;}diff --git a/frontend/src/components/ui/sheet.tsx b/frontend/src/components/ui/sheet.tsxindex 72ffaeecf9..0006dfba56 100644--- a/frontend/src/components/ui/sheet.tsx+++ b/frontend/src/components/ui/sheet.tsx@@ -51,7 +51,8 @@ const sheetVariants = cva();interface SheetContentProps- extends React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>,+ extends+ React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>,VariantProps<typeof sheetVariants> {}const SheetContent = React.forwardRef<diff --git a/frontend/src/components/ui/textarea.tsx b/frontend/src/components/ui/textarea.tsxindex 448807deb4..a25468b3a5 100644--- a/frontend/src/components/ui/textarea.tsx+++ b/frontend/src/components/ui/textarea.tsx@@ -6,8 +6,7 @@ import { useDebounceControlledState } from "@/hooks/useDebounce";import { cn } from "@/utils/cn";import { Events } from "@/utils/events";-export interface TextareaProps- extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {+export interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {bottomAdornment?: React.ReactNode;}diff --git a/frontend/src/core/ai/context/providers/cell-output.ts b/frontend/src/core/ai/context/providers/cell-output.tsindex 279afbb2b2..e28ca69022 100644--- a/frontend/src/core/ai/context/providers/cell-output.ts+++ b/frontend/src/core/ai/context/providers/cell-output.ts@@ -34,8 +34,7 @@ export interface CellOutputData {// For the context provider// Currently, we enforce that cellOutput is present.interface CellOutputContextData- extends CellOutputData,- Record<string, unknown> {+ extends CellOutputData, Record<string, unknown> {cellOutput: BaseOutput;}diff --git a/frontend/src/core/ai/tools/edit-notebook-tool.ts b/frontend/src/core/ai/tools/edit-notebook-tool.tsindex fd205d8d4a..74aa589261 100644--- a/frontend/src/core/ai/tools/edit-notebook-tool.ts+++ b/frontend/src/core/ai/tools/edit-notebook-tool.ts@@ -72,9 +72,10 @@ type EditNotebookInput = z.infer<typeof editNotebookSchema>;type EditOperation = EditNotebookInput["edit"];export type EditType = EditOperation["type"];-export class EditNotebookTool- implements AiTool<EditNotebookInput, ToolOutputBase>-{+export class EditNotebookTool implements AiTool<+ EditNotebookInput,+ ToolOutputBase+> {readonly name = "edit_notebook_tool";readonly description = description;readonly schema = editNotebookSchema;diff --git a/frontend/src/core/ai/tools/run-cells-tool.ts b/frontend/src/core/ai/tools/run-cells-tool.tsindex 820b704a22..d616bc43ae 100644--- a/frontend/src/core/ai/tools/run-cells-tool.ts+++ b/frontend/src/core/ai/tools/run-cells-tool.ts@@ -50,9 +50,10 @@ const filePartSchema = z.object({mediaType: z.string(),}) satisfies z.ZodType<FileUIPart>;-export class RunStaleCellsTool- implements AiTool<EmptyToolInput, RunStaleCellsOutput>-{+export class RunStaleCellsTool implements AiTool<+ EmptyToolInput,+ RunStaleCellsOutput+> {readonly name = "run_stale_cells_tool";readonly description = description;readonly schema = z.object({});diff --git a/frontend/src/core/cells/__tests__/add-missing-import.test.ts b/frontend/src/core/cells/__tests__/add-missing-import.test.tsindex 69db7cc8e6..eab252b320 100644--- a/frontend/src/core/cells/__tests__/add-missing-import.test.ts+++ b/frontend/src/core/cells/__tests__/add-missing-import.test.ts@@ -48,28 +48,29 @@ describe("maybeAddMissingImport", () => {"import marimo as mo\nimport marimo as mo","import marimo as mo",];- it.each(- VALID_IMPORTS,- )("should not add an import if the import statement already exists in the notebook", (code) => {- const appStore = createStore();- appStore.set(variablesAtom, {} as Variables);- appStore.set(- notebookAtom,- MockNotebook.notebookState({- cellData: {- [Cell1]: { code: code },- },- }),- );- const onAddImport = vi.fn();- maybeAddMissingImport({- moduleName: "marimo",- variableName: "mo",- onAddImport,- appStore,- });- expect(onAddImport).not.toHaveBeenCalled();- });+ it.each(VALID_IMPORTS)(+ "should not add an import if the import statement already exists in the notebook",+ (code) => {+ const appStore = createStore();+ appStore.set(variablesAtom, {} as Variables);+ appStore.set(+ notebookAtom,+ MockNotebook.notebookState({+ cellData: {+ [Cell1]: { code: code },+ },+ }),+ );+ const onAddImport = vi.fn();+ maybeAddMissingImport({+ moduleName: "marimo",+ variableName: "mo",+ onAddImport,+ appStore,+ });+ expect(onAddImport).not.toHaveBeenCalled();+ },+ );it("should add an import if the variable is not in the variables state and the import statement does not exist in the notebook", () => {const appStore = createStore();diff --git a/frontend/src/core/cells/__tests__/cell.test.ts b/frontend/src/core/cells/__tests__/cell.test.tsindex ce0ae60e42..ccd8aa45d3 100644--- a/frontend/src/core/cells/__tests__/cell.test.ts+++ b/frontend/src/core/cells/__tests__/cell.test.ts@@ -43,19 +43,20 @@ describe("outputIsLoading", () => {});describe("outputIsStale", () => {- it.each(- STATUSES,- )("should return true if the cell is edited and status is %s", (status) => {- const cell = {- status: status,- staleInputs: true,- output: null,- runStartTimestamp: null,- interrupted: false,- };- const edited = true;- expect(outputIsStale(cell, edited)).toBe(true);- });+ it.each(STATUSES)(+ "should return true if the cell is edited and status is %s",+ (status) => {+ const cell = {+ status: status,+ staleInputs: true,+ output: null,+ runStartTimestamp: null,+ interrupted: false,+ };+ const edited = true;+ expect(outputIsStale(cell, edited)).toBe(true);+ },+ );it("should return true if the cell is loading", () => {const cell = {diff --git a/frontend/src/core/codemirror/cells/__tests__/extensions.test.ts b/frontend/src/core/codemirror/cells/__tests__/extensions.test.tsindex 2668102c5a..8dd18b3d62 100644--- a/frontend/src/core/codemirror/cells/__tests__/extensions.test.ts+++ b/frontend/src/core/codemirror/cells/__tests__/extensions.test.ts@@ -18,24 +18,22 @@ function createTransaction(spec: TransactionSpec) {}describe("shouldAutorunMarkdownUpdate", () => {- it.each([- "input.type",- "delete.backward",- "undo",- "redo",- ])("accepts local %s transactions", (userEvent) => {- const transaction = createTransaction({- changes: { from: 0, insert: "#" },- annotations: [Transaction.userEvent.of(userEvent)],- });+ it.each(["input.type", "delete.backward", "undo", "redo"])(+ "accepts local %s transactions",+ (userEvent) => {+ const transaction = createTransaction({+ changes: { from: 0, insert: "#" },+ annotations: [Transaction.userEvent.of(userEvent)],+ });- expect(- shouldAutorunMarkdownUpdate({- docChanged: transaction.docChanged,- transactions: [transaction],- }),- ).toBe(true);- });+ expect(+ shouldAutorunMarkdownUpdate({+ docChanged: transaction.docChanged,+ transactions: [transaction],+ }),+ ).toBe(true);+ },+ );it("ignores formatting changes", () => {const transaction = createTransaction({diff --git a/frontend/src/core/codemirror/language/languages/markdown.ts b/frontend/src/core/codemirror/language/languages/markdown.tsindex da3b4660d6..bdeb17a31b 100644--- a/frontend/src/core/codemirror/language/languages/markdown.ts+++ b/frontend/src/core/codemirror/language/languages/markdown.ts@@ -38,9 +38,7 @@ export const MARKDOWN_INITIAL_HIDE_CODE = true;/*** Language adapter for Markdown.*/-export class MarkdownLanguageAdapter- implements LanguageAdapter<MarkdownLanguageAdapterMetadata>-{+export class MarkdownLanguageAdapter implements LanguageAdapter<MarkdownLanguageAdapterMetadata> {private parser = new MarkdownParser();readonly type = "markdown";diff --git a/frontend/src/core/codemirror/language/languages/python.ts b/frontend/src/core/codemirror/language/languages/python.tsindex 8e1db9d766..257fe9f1c6 100644--- a/frontend/src/core/codemirror/language/languages/python.ts+++ b/frontend/src/core/codemirror/language/languages/python.ts@@ -184,7 +184,7 @@ const tyLspClient = once((_: LSPConfig) => {const pyreflyClient = once((lspConfig: LSPConfig & { diagnostics: DiagnosticsConfig }) => {// oxlint-disable-next-line prefer-const -- reassigned after closure capture- let resyncCallback: (() => Promise<void>) | undefined;+ let resyncCallback: (() => Promise<void>) | undefined;const transport = createTransport("pyrefly", async () => {await resyncCallback?.();diff --git a/frontend/src/core/codemirror/language/languages/sql/completion-sources.tsx b/frontend/src/core/codemirror/language/languages/sql/completion-sources.tsxindex 65e3ecbc9d..e849df635b 100644--- a/frontend/src/core/codemirror/language/languages/sql/completion-sources.tsx+++ b/frontend/src/core/codemirror/language/languages/sql/completion-sources.tsx@@ -91,13 +91,11 @@ export function customKeywordCompletionSource(): CompletionSource {// e.g. lazily load keyword docsconst getKeywordDocs = once(async (): Promise<Record<string, unknown>> => {- const keywords = await import(- "@marimo-team/codemirror-sql/data/common-keywords.json"- );+ const keywords =+ await import("@marimo-team/codemirror-sql/data/common-keywords.json");// Include DuckDB for now, but we can remove this once we have a better way to handle dialect-specific keywords- const duckdbKeywords = await import(- "@marimo-team/codemirror-sql/data/duckdb-keywords.json"- );+ const duckdbKeywords =+ await import("@marimo-team/codemirror-sql/data/duckdb-keywords.json");return {...keywords.default.keywords,...duckdbKeywords.default.keywords,diff --git a/frontend/src/core/codemirror/language/languages/sql/sql.ts b/frontend/src/core/codemirror/language/languages/sql/sql.tsindex ccf042fc6c..435f1173f4 100644--- a/frontend/src/core/codemirror/language/languages/sql/sql.ts+++ b/frontend/src/core/codemirror/language/languages/sql/sql.ts@@ -77,9 +77,7 @@ function getLatestEngine(): ConnectionName {/*** Language adapter for SQL.*/-export class SQLLanguageAdapter- implements LanguageAdapter<SQLLanguageAdapterMetadata>-{+export class SQLLanguageAdapter implements LanguageAdapter<SQLLanguageAdapterMetadata> {private parser = new SQLParser();readonly type = "sql";sqlModeEnabled: boolean;diff --git a/frontend/src/core/codemirror/reactive-references/__tests__/analyzer.test.ts b/frontend/src/core/codemirror/reactive-references/__tests__/analyzer.test.tsindex d801cd8165..cd45cfcdc0 100644--- a/frontend/src/core/codemirror/reactive-references/__tests__/analyzer.test.ts+++ b/frontend/src/core/codemirror/reactive-references/__tests__/analyzer.test.ts@@ -45,9 +45,8 @@ def foo(x):});test("should handle lambda parameters", () => {- expect(- runHighlight(["a", "b"], "result = lambda a: a + b"),- ).toMatchInlineSnapshot(`+ expect(runHighlight(["a", "b"], "result = lambda a: a + b"))+ .toMatchInlineSnapshot(`"result = lambda a: a + b^@@ -56,9 +55,8 @@ def foo(x):});test("should handle comprehension variables", () => {- expect(- runHighlight(["a", "data"], "result = [a for a in data]"),- ).toMatchInlineSnapshot(`+ expect(runHighlight(["a", "data"], "result = [a for a in data]"))+ .toMatchInlineSnapshot(`"result = [a for a in data]^^^^@@ -146,9 +144,8 @@ def factorial(n):});test("function param vs global", () => {- expect(- runHighlight(["a", "b"], "def foo(a): return a + b"),- ).toMatchInlineSnapshot(`+ expect(runHighlight(["a", "b"], "def foo(a): return a + b"))+ .toMatchInlineSnapshot(`"def foo(a): return a + b^@@ -157,9 +154,8 @@ def factorial(n):});test("lambda param vs global", () => {- expect(- runHighlight(["x", "b"], "func = lambda x: x + b"),- ).toMatchInlineSnapshot(`+ expect(runHighlight(["x", "b"], "func = lambda x: x + b"))+ .toMatchInlineSnapshot(`"func = lambda x: x + b^@@ -168,9 +164,8 @@ def factorial(n):});test("lambda with multiple params", () => {- expect(- runHighlight(["x", "y", "z"], "f = lambda x, y: x + y + z"),- ).toMatchInlineSnapshot(`+ expect(runHighlight(["x", "y", "z"], "f = lambda x, y: x + y + z"))+ .toMatchInlineSnapshot(`"f = lambda x, y: x + y + z^@@ -187,9 +182,8 @@ def factorial(n):});test("nested comprehension", () => {- expect(- runHighlight(["a", "b"], "[(a + b) for a, b in [(1,2), (3,4)]]"),- ).toMatchInlineSnapshot(`+ expect(runHighlight(["a", "b"], "[(a + b) for a, b in [(1,2), (3,4)]]"))+ .toMatchInlineSnapshot(`"[(a + b) for a, b in [(1,2), (3,4)]]"@@ -225,9 +219,8 @@ def factorial(n):});test("class body using globals", () => {- expect(- runHighlight(["a", "b"], "class MyClass:\n value = a + b"),- ).toMatchInlineSnapshot(`+ expect(runHighlight(["a", "b"], "class MyClass:\n value = a + b"))+ .toMatchInlineSnapshot(`"class MyClass:value = a + b@@ -237,9 +230,8 @@ def factorial(n):});test("decorator using global", () => {- expect(- runHighlight(["logger"], "@logger\ndef decorated(): pass"),- ).toMatchInlineSnapshot(`+ expect(runHighlight(["logger"], "@logger\ndef decorated(): pass"))+ .toMatchInlineSnapshot(`"@logger^^^^^^@@ -317,9 +309,8 @@ ${" ".repeat(8)}});test("multiple assignment", () => {- expect(- runHighlight(["x", "y", "z", "a"], "x = y = z + a"),- ).toMatchInlineSnapshot(`+ expect(runHighlight(["x", "y", "z", "a"], "x = y = z + a"))+ .toMatchInlineSnapshot(`"x = y = z + a^ ^@@ -353,9 +344,8 @@ ${" ".repeat(8)}});test("global in return", () => {- expect(- runHighlight(["config"], "def get_config(): return config"),- ).toMatchInlineSnapshot(`+ expect(runHighlight(["config"], "def get_config(): return config"))+ .toMatchInlineSnapshot(`"def get_config(): return config^^^^^^@@ -410,9 +400,8 @@ class Configurable:});test("comprehension shadows global 2", () => {- expect(- runHighlight(["i"], "squares = [i**2 for i in range(10)]"),- ).toMatchInlineSnapshot(`+ expect(runHighlight(["i"], "squares = [i**2 for i in range(10)]"))+ .toMatchInlineSnapshot(`"squares = [i**2 for i in range(10)]"@@ -420,9 +409,8 @@ class Configurable:});test("comprehension with global in condition", () => {- expect(- runHighlight(["x", "z"], "filtered = [x for x in [] if x > z]"),- ).toMatchInlineSnapshot(`+ expect(runHighlight(["x", "z"], "filtered = [x for x in [] if x > z]"))+ .toMatchInlineSnapshot(`"filtered = [x for x in [] if x > z]^@@ -459,9 +447,8 @@ def make_adder(x):});test("rebinding in list comprehension", () => {- expect(- runHighlight(["x"], "rebinding = [x for x in range(5)]"),- ).toMatchInlineSnapshot(`+ expect(runHighlight(["x"], "rebinding = [x for x in range(5)]"))+ .toMatchInlineSnapshot(`"rebinding = [x for x in range(5)]"@@ -644,9 +631,8 @@ def run(polars):});test("mixed comprehension and outer globals", () => {- expect(- runHighlight(["y", "z"], "values = [y + z for y in range(5)]"),- ).toMatchInlineSnapshot(`+ expect(runHighlight(["y", "z"], "values = [y + z for y in range(5)]"))+ .toMatchInlineSnapshot(`"values = [y + z for y in range(5)]^diff --git a/frontend/src/core/datasets/data-source-connections.ts b/frontend/src/core/datasets/data-source-connections.tsindex 23fe4540c9..475ebadeec 100644--- a/frontend/src/core/datasets/data-source-connections.ts+++ b/frontend/src/core/datasets/data-source-connections.ts@@ -32,8 +32,10 @@ const initialConnections: ConnectionsMap = new Map([]);// Extend the backend type but override the name property with the strongly typed ConnectionName-export interface DataSourceConnection- extends Omit<DataSourceConnectionType, "name"> {+export interface DataSourceConnection extends Omit<+ DataSourceConnectionType,+ "name"+> {name: ConnectionName;}diff --git a/frontend/src/core/dom/__tests__/htmlUtils.test.ts b/frontend/src/core/dom/__tests__/htmlUtils.test.tsindex 36940fad6b..ceeeb2e954 100644--- a/frontend/src/core/dom/__tests__/htmlUtils.test.ts+++ b/frontend/src/core/dom/__tests__/htmlUtils.test.ts@@ -6,20 +6,14 @@ import { UIElementRegistry } from "../uiregistry";const registry = UIElementRegistry.INSTANCE;describe("htmlUtils", () => {- it.each([- false,- { a: 1 },- true,- 0,- 1,- [{ a: 1 }, { b: 2 }],- "hello",- "",- ])("can parse element.dataset.initialValue", (initialValue) => {- const div = document.createElement("div");- div.dataset.initialValue = JSON.stringify(initialValue);- expect(parseInitialValue(div, registry)).toEqual(initialValue);- });+ it.each([false, { a: 1 }, true, 0, 1, [{ a: 1 }, { b: 2 }], "hello", ""])(+ "can parse element.dataset.initialValue",+ (initialValue) => {+ const div = document.createElement("div");+ div.dataset.initialValue = JSON.stringify(initialValue);+ expect(parseInitialValue(div, registry)).toEqual(initialValue);+ },+ );it("can parse an element with no initialValue", () => {const div = document.createElement("div");diff --git a/frontend/src/core/dom/__tests__/outline.test.ts b/frontend/src/core/dom/__tests__/outline.test.tsindex 1c83ae307f..2fbe3ee9dd 100644--- a/frontend/src/core/dom/__tests__/outline.test.ts+++ b/frontend/src/core/dom/__tests__/outline.test.ts@@ -439,9 +439,8 @@ const OUTLINE_2: Outline = {};it("mergeOutlines", () => {- expect(- mergeOutlines([OUTLINE_1, null, OUTLINE_2, null]),- ).toMatchInlineSnapshot(`+ expect(mergeOutlines([OUTLINE_1, null, OUTLINE_2, null]))+ .toMatchInlineSnapshot(`{"items": [{diff --git a/frontend/src/core/islands/__tests__/parse.test.ts b/frontend/src/core/islands/__tests__/parse.test.tsindex 0760c4e639..ce91f40e4e 100644--- a/frontend/src/core/islands/__tests__/parse.test.ts+++ b/frontend/src/core/islands/__tests__/parse.test.ts@@ -78,11 +78,12 @@ describe("parseIslandCode", () => {codes = [...codes, ...codes.map(encodeURIComponent)];- it.each(- codes,- )("should return the code without leading or trailing whitespace", (code) => {- const result = parseIslandCode(code);- const expected = 'def __():\n print("Hello, World!")\n return';- expect(result).toBe(expected);- });+ it.each(codes)(+ "should return the code without leading or trailing whitespace",+ (code) => {+ const result = parseIslandCode(code);+ const expected = 'def __():\n print("Hello, World!")\n return';+ expect(result).toBe(expected);+ },+ );});diff --git a/frontend/src/core/saving/__tests__/filename.test.ts b/frontend/src/core/saving/__tests__/filename.test.tsindex 6b607e0870..0ec51f47cf 100644--- a/frontend/src/core/saving/__tests__/filename.test.ts+++ b/frontend/src/core/saving/__tests__/filename.test.ts@@ -5,12 +5,13 @@ import { EDGE_CASE_FILENAMES } from "../../../__tests__/mocks";import { Paths } from "../../../utils/paths";describe("filename handling logic", () => {- it.each(- EDGE_CASE_FILENAMES,- )("should extract basename correctly for document title: %s", (filename) => {- const basename = Paths.basename(filename);- expect(basename).toBe(filename); // Since no path separator- });+ it.each(EDGE_CASE_FILENAMES)(+ "should extract basename correctly for document title: %s",+ (filename) => {+ const basename = Paths.basename(filename);+ expect(basename).toBe(filename); // Since no path separator+ },+ );it("should handle full paths with unicode filenames", () => {EDGE_CASE_FILENAMES.forEach((filename) => {diff --git a/frontend/src/core/static/__tests__/download-html.test.ts b/frontend/src/core/static/__tests__/download-html.test.tsindex 3cdbca66cf..c54087c0c9 100644--- a/frontend/src/core/static/__tests__/download-html.test.ts+++ b/frontend/src/core/static/__tests__/download-html.test.ts@@ -44,23 +44,24 @@ describe("updateAssetUrl", () => {});describe("filename handling for downloads", () => {- it.each(- EDGE_CASE_FILENAMES,- )("should handle edge case filenames in download operations: %s", (filename) => {- // Test that basename extraction works correctly for downloads- const basename = Paths.basename(filename);- expect(basename).toBe(filename);+ it.each(EDGE_CASE_FILENAMES)(+ "should handle edge case filenames in download operations: %s",+ (filename) => {+ // Test that basename extraction works correctly for downloads+ const basename = Paths.basename(filename);+ expect(basename).toBe(filename);- // Test filename conversion for HTML downloads- const htmlFilename = Filenames.toHTML(filename);- expect(htmlFilename).toMatch(/\.html$/);- expect(htmlFilename).toContain(Filenames.withoutExtension(filename));+ // Test filename conversion for HTML downloads+ const htmlFilename = Filenames.toHTML(filename);+ expect(htmlFilename).toMatch(/\.html$/);+ expect(htmlFilename).toContain(Filenames.withoutExtension(filename));- // Ensure unicode and spaces are preserved in basename- const withoutExt = Filenames.withoutExtension(filename);- expect(withoutExt).not.toBe("");- expect(typeof withoutExt).toBe("string");- });+ // Ensure unicode and spaces are preserved in basename+ const withoutExt = Filenames.withoutExtension(filename);+ expect(withoutExt).not.toBe("");+ expect(typeof withoutExt).toBe("string");+ },+ );it("should handle blob download filename generation", () => {// Mock URL.createObjectURL for blob testingdiff --git a/frontend/src/core/static/__tests__/files.test.ts b/frontend/src/core/static/__tests__/files.test.tsindex 199c6763dd..a63296616b 100644--- a/frontend/src/core/static/__tests__/files.test.ts+++ b/frontend/src/core/static/__tests__/files.test.ts@@ -192,20 +192,21 @@ describe("patchVegaLoader - loader.http", () => {"http://foo.com/virtual-file.json",];- it.each(- pathsToTest,- )("should return file content for virtual files for %s", async (s) => {- const virtualFiles = {- "/virtual-file.json":- "data:application/json;base64,eyJrZXkiOiAidmFsdWUifQ==" as DataURLString,- };-- const loader = createLoader();- const unpatch = patchVegaLoader(loader, virtualFiles);- const content = await loader.http(s);- unpatch();- expect(content).toBe('{"key": "value"}');- });+ it.each(pathsToTest)(+ "should return file content for virtual files for %s",+ async (s) => {+ const virtualFiles = {+ "/virtual-file.json":+ "data:application/json;base64,eyJrZXkiOiAidmFsdWUifQ==" as DataURLString,+ };++ const loader = createLoader();+ const unpatch = patchVegaLoader(loader, virtualFiles);+ const content = await loader.http(s);+ unpatch();+ expect(content).toBe('{"key": "value"}');+ },+ );it("should fallback to original http method for non-virtual files", async () => {const loader = createLoader();@@ -236,20 +237,21 @@ describe("patchVegaLoader - loader.load", () => {"http://foo.com/virtual-file.json",];- it.each(- pathsToTest,- )("should return file content for virtual files for %s", async (s) => {- const virtualFiles = {- "/virtual-file.json":- "data:application/json;base64,eyJrZXkiOiAidmFsdWUifQ==" as DataURLString,- };-- const loader = createLoader();- const unpatch = patchVegaLoader(loader, virtualFiles);- const content = await loader.load(s);- unpatch();- expect(content).toBe('{"key": "value"}');- });+ it.each(pathsToTest)(+ "should return file content for virtual files for %s",+ async (s) => {+ const virtualFiles = {+ "/virtual-file.json":+ "data:application/json;base64,eyJrZXkiOiAidmFsdWUifQ==" as DataURLString,+ };++ const loader = createLoader();+ const unpatch = patchVegaLoader(loader, virtualFiles);+ const content = await loader.load(s);+ unpatch();+ expect(content).toBe('{"key": "value"}');+ },+ );it("should fallback to original load method for non-virtual files", async () => {const loader = createLoader();diff --git a/frontend/src/css/app/Cell.css b/frontend/src/css/app/Cell.cssindex 71ce9bc676..3094cb4245 100644--- a/frontend/src/css/app/Cell.css+++ b/frontend/src/css/app/Cell.css@@ -99,7 +99,9 @@/* Special case for particular components */- .output-area:has(> .output:only-child > marimo-ui-element:only-child > marimo-table) {+ .output-area:has(+ > .output:only-child > marimo-ui-element:only-child > marimo-table+ ) {padding: 0 0 5px;max-height: none;overflow: hidden;@@ -124,12 +126,12 @@}}- &> :first-child {+ & > :first-child {border-top-left-radius: 9px;border-top-right-radius: 9px;}- &> :last-child {+ & > :last-child {border-bottom-left-radius: 9px;border-bottom-right-radius: 9px;}@@ -143,11 +145,11 @@}}- >[data-hidden="true"]~* {+ > [data-hidden="true"] ~ * {border-top: none;}- >*~[data-hidden="true"] {+ > * ~ [data-hidden="true"] {border-top: none;}@@ -155,7 +157,6 @@&.stale,&.disabled.stale {-.output-area,.cm-gutters,.cm {@@ -170,7 +171,6 @@&.disabled.has-error,&.disabled:hover,&.disabled.has-error:hover {-.output-area,.cm-gutters,.cm {@@ -275,7 +275,7 @@&.borderless {border-color: transparent;- &>* {+ & > * {border-bottom: none;}@@ -325,7 +325,7 @@&.borderless {border-color: transparent;- &>* {+ & > * {border-bottom: none;}@@ -420,7 +420,6 @@/* Hide tray when dragging a cell, to prevent messing up the measurements. */.marimo-cell.is-moving {-.tray::before,.tray::after {display: none;@@ -513,7 +512,8 @@.marimo-output-stale.marimo-output-loading,.marimo-cell.stale .output-area.marimo-output-stale.marimo-output-loading,-.marimo-cell.stale .console-output-area.marimo-output-stale.marimo-output-loading {+.marimo-cell.stale+ .console-output-area.marimo-output-stale.marimo-output-loading {opacity: 0.4;filter: grayscale(50%);transition: 300ms;diff --git a/frontend/src/css/globals.css b/frontend/src/css/globals.cssindex 2c5f8c1a89..fd5ccd5491 100644--- a/frontend/src/css/globals.css+++ b/frontend/src/css/globals.css@@ -148,46 +148,72 @@--shadow-xxs: 0px 0px 2px 0px var(--base-shadow-darker);/* biome-ignore format: definition needs to be oneline or breaks variants */- --shadow-xs: 1px 1px 2px 0px var(--base-shadow), 0px 0px 2px 0px hsl(0deg 0% 25% / var(--base-shadow-opacity));+ --shadow-xs:+ 1px 1px 2px 0px var(--base-shadow),+ 0px 0px 2px 0px hsl(0deg 0% 25% / var(--base-shadow-opacity));/* biome-ignore format: definition needs to be oneline or breaks variants */- --shadow-sm: 2px 2px 2px 0px var(--base-shadow), 0px 0px 2px 0px hsl(0deg 0% 25% / var(--base-shadow-opacity));+ --shadow-sm:+ 2px 2px 2px 0px var(--base-shadow),+ 0px 0px 2px 0px hsl(0deg 0% 25% / var(--base-shadow-opacity));/* biome-ignore format: definition needs to be oneline or breaks variants */- --shadow-md: 4px 4px 4px 0px var(--base-shadow), 0 0px 4px 0px hsl(0deg 0% 60% / var(--base-shadow-opacity));+ --shadow-md:+ 4px 4px 4px 0px var(--base-shadow),+ 0 0px 4px 0px hsl(0deg 0% 60% / var(--base-shadow-opacity));/* biome-ignore format: definition needs to be oneline or breaks variants */- --shadow-lg: 5px 6px 4px 0px var(--base-shadow), 0 0px 4px 0px hsl(0deg 0% 75% / var(--base-shadow-opacity));+ --shadow-lg:+ 5px 6px 4px 0px var(--base-shadow),+ 0 0px 4px 0px hsl(0deg 0% 75% / var(--base-shadow-opacity));/* biome-ignore format: definition needs to be oneline or breaks variants */- --shadow-xl: 8px 9px 4px 0px var(--base-shadow), 0 0px 6px 0px hsl(0deg 0% 85% / var(--base-shadow-opacity));+ --shadow-xl:+ 8px 9px 4px 0px var(--base-shadow),+ 0 0px 6px 0px hsl(0deg 0% 85% / var(--base-shadow-opacity));/* biome-ignore format: definition needs to be oneline or breaks variants */- --shadow-2xl: 10px 12px 10px 0px var(--base-shadow), 0 0px 8px 0px hsl(0deg 0% 90% / var(--base-shadow-opacity));+ --shadow-2xl:+ 10px 12px 10px 0px var(--base-shadow),+ 0 0px 8px 0px hsl(0deg 0% 90% / var(--base-shadow-opacity));/* biome-ignore format: definition needs to be oneline or breaks variants */- --shadow-xs-solid: 1px 1px 0px 0px var(--base-shadow-darker), 0px 0px 2px 0px hsl(0deg 0% 50% / 20%);+ --shadow-xs-solid:+ 1px 1px 0px 0px var(--base-shadow-darker),+ 0px 0px 2px 0px hsl(0deg 0% 50% / 20%);/* biome-ignore format: definition needs to be oneline or breaks variants */- --shadow-sm-solid: 2px 2px 0px 0px var(--base-shadow-darker), 0px 0px 2px 0px hsl(0deg 0% 50% / 20%);+ --shadow-sm-solid:+ 2px 2px 0px 0px var(--base-shadow-darker),+ 0px 0px 2px 0px hsl(0deg 0% 50% / 20%);/* biome-ignore format: definition needs to be oneline or breaks variants */- --shadow-md-solid: 4px 4px 0px 0px var(--base-shadow-darker), 0 0px 2px 0px hsl(0deg 0% 60% / 50%);+ --shadow-md-solid:+ 4px 4px 0px 0px var(--base-shadow-darker),+ 0 0px 2px 0px hsl(0deg 0% 60% / 50%);/* biome-ignore format: definition needs to be oneline or breaks variants */- --shadow-lg-solid: 5px 6px 0px 0px var(--base-shadow-darker), 0 0px 4px 0px hsl(0deg 0% 75% / 50%);+ --shadow-lg-solid:+ 5px 6px 0px 0px var(--base-shadow-darker),+ 0 0px 4px 0px hsl(0deg 0% 75% / 50%);/* biome-ignore format: definition needs to be oneline or breaks variants */- --shadow-xl-solid: 7px 8px 0px 0px var(--base-shadow-darker), 0 0px 4px 0px hsl(0deg 0% 85% / 50%);+ --shadow-xl-solid:+ 7px 8px 0px 0px var(--base-shadow-darker),+ 0 0px 4px 0px hsl(0deg 0% 85% / 50%);/* biome-ignore format: definition needs to be oneline or breaks variants */- --shadow-2xl-solid: 10px 12px 0px 0px var(--base-shadow-darker), 0 0px 8px 0px hsl(0deg 0% 90% / 50%);+ --shadow-2xl-solid:+ 10px 12px 0px 0px var(--base-shadow-darker),+ 0 0px 8px 0px hsl(0deg 0% 90% / 50%);/* Solid shadows with lighter shade color *//* biome-ignore format: definition needs to be oneline or breaks variants */- --shadow-sm-solid-shade: 2px 2px 0px 0px var(--base-shadow), 0px 0px 2px 0px hsl(0deg 0% 50% / 20%);+ --shadow-sm-solid-shade:+ 2px 2px 0px 0px var(--base-shadow), 0px 0px 2px 0px hsl(0deg 0% 50% / 20%);/* biome-ignore format: definition needs to be oneline or breaks variants */- --shadow-md-solid-shade: 4px 4px 0px 0px var(--base-shadow), 0 0px 2px 0px hsl(0deg 0% 60% / 50%);+ --shadow-md-solid-shade:+ 4px 4px 0px 0px var(--base-shadow), 0 0px 2px 0px hsl(0deg 0% 60% / 50%);}diff --git a/frontend/src/plugins/impl/DataEditorPlugin.tsx b/frontend/src/plugins/impl/DataEditorPlugin.tsxindex da601c4666..08defa5409 100644--- a/frontend/src/plugins/impl/DataEditorPlugin.tsx+++ b/frontend/src/plugins/impl/DataEditorPlugin.tsx@@ -76,8 +76,10 @@ export const DataEditorPlugin = createPlugin<Edits>("marimo-data-editor", {);});-interface Props- extends Omit<DataEditorProps<object>, "data" | "onAddEdits" | "onAddRows"> {+interface Props extends Omit<+ DataEditorProps<object>,+ "data" | "onAddEdits" | "onAddRows"+> {data: TableData<object>;edits: Edits;onEdits: Setter<Edits>;diff --git a/frontend/src/plugins/impl/FormPlugin.tsx b/frontend/src/plugins/impl/FormPlugin.tsxindex fe242f3716..352d257613 100644--- a/frontend/src/plugins/impl/FormPlugin.tsx+++ b/frontend/src/plugins/impl/FormPlugin.tsx@@ -80,8 +80,7 @@ export const FormPlugin = createPlugin("marimo-form")});export interface FormWrapperProps<T>- extends Omit<Data, "elementId">,- Functions {+ extends Omit<Data, "elementId">, Functions {children: React.ReactNode;currentValue: T;newValue: T;diff --git a/frontend/src/plugins/impl/data-frames/forms/__tests__/form.test.tsx b/frontend/src/plugins/impl/data-frames/forms/__tests__/form.test.tsxindex 0ddf2063ab..a7126d1b6e 100644--- a/frontend/src/plugins/impl/data-frames/forms/__tests__/form.test.tsx+++ b/frontend/src/plugins/impl/data-frames/forms/__tests__/form.test.tsx@@ -44,16 +44,14 @@ describe("renderZodSchema", () => {[...TransformTypeSchema.options],(z) => getUnionLiteral(z).value,);- it.each(- Object.entries(options),- )("should render a form %s", (name, schema: z.ZodType<- unknown,- FieldValues- >) => {- const expected = render(<Subject schema={schema} />);+ it.each(Object.entries(options))(+ "should render a form %s",+ (name, schema: z.ZodType<unknown, FieldValues>) => {+ const expected = render(<Subject schema={schema} />);- expect(expected.asFragment()).toMatchSnapshot();- });+ expect(expected.asFragment()).toMatchSnapshot();+ },+ );});const options = [diff --git a/frontend/src/plugins/impl/vega/__tests__/make-selectable.test.ts b/frontend/src/plugins/impl/vega/__tests__/make-selectable.test.tsindex 2755cac08e..fdb62d3967 100644--- a/frontend/src/plugins/impl/vega/__tests__/make-selectable.test.ts+++ b/frontend/src/plugins/impl/vega/__tests__/make-selectable.test.ts@@ -578,20 +578,19 @@ describe("makeSelectable", () => {`);});- it.each([- "errorbar",- "errorband",- "boxplot",- ])("should return the same spec if mark is %s", (mark) => {- const spec = {- mark,- } as unknown as VegaLiteSpec;- const newSpec = makeSelectable(spec, {});- expect(newSpec).toEqual(spec);- expect(getSelectionParamNames(newSpec)).toEqual([]);- expect(newSpec).toMatchSnapshot();- expect(parse(newSpec)).toBeDefined();- });+ it.each(["errorbar", "errorband", "boxplot"])(+ "should return the same spec if mark is %s",+ (mark) => {+ const spec = {+ mark,+ } as unknown as VegaLiteSpec;+ const newSpec = makeSelectable(spec, {});+ expect(newSpec).toEqual(spec);+ expect(getSelectionParamNames(newSpec)).toEqual([]);+ expect(newSpec).toMatchSnapshot();+ expect(parse(newSpec)).toBeDefined();+ },+ );it("should add legend selection to composite charts (issue #6676)", () => {// Test case from https://github.com/marimo-team/marimo/issues/6676diff --git a/frontend/src/plugins/layout/ImageComparisonPlugin.tsx b/frontend/src/plugins/layout/ImageComparisonPlugin.tsxindex 6da7883504..83e7466d35 100644--- a/frontend/src/plugins/layout/ImageComparisonPlugin.tsx+++ b/frontend/src/plugins/layout/ImageComparisonPlugin.tsx@@ -11,9 +11,7 @@ const LazyImageComparisonComponent = React.lazy(() => import("../impl/image-comparison/ImageComparisonComponent"),);-export class ImageComparisonPlugin- implements IStatelessPlugin<ImageComparisonData>-{+export class ImageComparisonPlugin implements IStatelessPlugin<ImageComparisonData> {tagName = "marimo-image-comparison";validator = z.object({diff --git a/frontend/src/plugins/stateless-plugin.ts b/frontend/src/plugins/stateless-plugin.tsindex ba27c095c3..f6f4884de8 100644--- a/frontend/src/plugins/stateless-plugin.ts+++ b/frontend/src/plugins/stateless-plugin.ts@@ -20,8 +20,10 @@ export interface IStatelessPluginProps<D> {children?: React.ReactNode | undefined;}-export interface IStatelessPlugin<D>- extends Omit<IPlugin<never, D>, "render" | "functions"> {+export interface IStatelessPlugin<D> extends Omit<+ IPlugin<never, D>,+ "render" | "functions"+> {/*** Render the plugin.*/diff --git a/frontend/src/utils/__tests__/cell-urls.test.ts b/frontend/src/utils/__tests__/cell-urls.test.tsindex 2fc72f5992..bae305dcd9 100644--- a/frontend/src/utils/__tests__/cell-urls.test.ts+++ b/frontend/src/utils/__tests__/cell-urls.test.ts@@ -92,27 +92,30 @@ describe("cell-urls utilities", () => {});describe("edge case cell names with unicode and special characters", () => {- it.each(- EDGE_CASE_CELL_NAMES,- )("should handle unicode cell names in createCellLink: %s", (cellName) => {- const url = createCellLink(cellName);- expect(url).toContain("scrollTo=");- expect(url).toContain(encodeURIComponent(cellName));- });-- it.each(- EDGE_CASE_CELL_NAMES,- )("should round-trip unicode cell names correctly: %s", (cellName) => {- const url = createCellLink(cellName);- const hash = url.split("#")[1];- const extracted = extractCellNameFromHash(`#${hash}`);- expect(extracted).toBe(cellName);- });+ it.each(EDGE_CASE_CELL_NAMES)(+ "should handle unicode cell names in createCellLink: %s",+ (cellName) => {+ const url = createCellLink(cellName);+ expect(url).toContain("scrollTo=");+ expect(url).toContain(encodeURIComponent(cellName));+ },+ );++ it.each(EDGE_CASE_CELL_NAMES)(+ "should round-trip unicode cell names correctly: %s",+ (cellName) => {+ const url = createCellLink(cellName);+ const hash = url.split("#")[1];+ const extracted = extractCellNameFromHash(`#${hash}`);+ expect(extracted).toBe(cellName);+ },+ );- it.each(- EDGE_CASE_CELL_NAMES,- )("should allow linking to unicode cell names: %s", (cellName) => {- expect(canLinkToCell(cellName)).toBe(true);- });+ it.each(EDGE_CASE_CELL_NAMES)(+ "should allow linking to unicode cell names: %s",+ (cellName) => {+ expect(canLinkToCell(cellName)).toBe(true);+ },+ );});});diff --git a/frontend/src/utils/__tests__/filenames.test.ts b/frontend/src/utils/__tests__/filenames.test.tsindex 3724738c73..271b94b41f 100644--- a/frontend/src/utils/__tests__/filenames.test.ts+++ b/frontend/src/utils/__tests__/filenames.test.ts@@ -35,22 +35,23 @@ describe("Filenames", () => {expect(Filenames.withoutExtension("test.foo.txt")).toEqual("test.foo");});- it.each(- EDGE_CASE_FILENAMES,- )("should handle edge case filenames: %s", (filename) => {- // Test all filename operations with edge cases- const withoutExt = Filenames.withoutExtension(filename);+ it.each(EDGE_CASE_FILENAMES)(+ "should handle edge case filenames: %s",+ (filename) => {+ // Test all filename operations with edge cases+ const withoutExt = Filenames.withoutExtension(filename);- expect(Filenames.toMarkdown(filename)).toEqual(`${withoutExt}.md`);- expect(Filenames.toHTML(filename)).toEqual(`${withoutExt}.html`);- expect(Filenames.toPNG(filename)).toEqual(`${withoutExt}.png`);- expect(Filenames.toPY(filename)).toEqual(`${withoutExt}.py`);- expect(Filenames.toIPYNB(filename)).toEqual(`${withoutExt}.ipynb`);+ expect(Filenames.toMarkdown(filename)).toEqual(`${withoutExt}.md`);+ expect(Filenames.toHTML(filename)).toEqual(`${withoutExt}.html`);+ expect(Filenames.toPNG(filename)).toEqual(`${withoutExt}.png`);+ expect(Filenames.toPY(filename)).toEqual(`${withoutExt}.py`);+ expect(Filenames.toIPYNB(filename)).toEqual(`${withoutExt}.ipynb`);- // Ensure operations preserve unicode and special characters in base name- expect(withoutExt).not.toEqual("");- expect(typeof withoutExt).toBe("string");- });+ // Ensure operations preserve unicode and special characters in base name+ expect(withoutExt).not.toEqual("");+ expect(typeof withoutExt).toBe("string");+ },+ );});describe("getImageExtension", () => {diff --git a/frontend/src/utils/__tests__/json-parser.test.ts b/frontend/src/utils/__tests__/json-parser.test.tsindex e600638242..ce2eccd496 100644--- a/frontend/src/utils/__tests__/json-parser.test.ts+++ b/frontend/src/utils/__tests__/json-parser.test.ts@@ -184,9 +184,8 @@ it("can convert json to markdown - with URLs", () => {`);// Mixed content - URL and text in same cell- expect(- jsonToMarkdown([{ info: "Visit https://example.com for more" }]),- ).toMatchInlineSnapshot(`+ expect(jsonToMarkdown([{ info: "Visit https://example.com for more" }]))+ .toMatchInlineSnapshot(`"| info ||---|| Visit [https://example.com](https://example.com) for more |"@@ -203,9 +202,8 @@ it("can convert json to markdown - with URLs", () => {});it("can convert json to markdown - handles nulls and undefined", () => {- expect(- jsonToMarkdown([{ a: null, b: undefined, c: 1 }]),- ).toMatchInlineSnapshot(`+ expect(jsonToMarkdown([{ a: null, b: undefined, c: 1 }]))+ .toMatchInlineSnapshot(`"| a | b | c ||---|---|---|| | | 1 |"@@ -226,18 +224,16 @@ it("can convert json to markdown - handles nulls and undefined", () => {it("can convert json to markdown - handles special characters", () => {// Pipes need to be escaped since they're markdown table delimiters- expect(- jsonToMarkdown([{ a: "value|with|pipes", b: "normal" }]),- ).toMatchInlineSnapshot(`+ expect(jsonToMarkdown([{ a: "value|with|pipes", b: "normal" }]))+ .toMatchInlineSnapshot(`"| a | b ||---|---|| value\\|with\\|pipes | normal |"`);// Newlines should be replaced with spaces- expect(- jsonToMarkdown([{ a: "line1\nline2", b: "normal" }]),- ).toMatchInlineSnapshot(`+ expect(jsonToMarkdown([{ a: "line1\nline2", b: "normal" }]))+ .toMatchInlineSnapshot(`"| a | b ||---|---|| line1 line2 | normal |"@@ -252,9 +248,8 @@ it("can convert json to markdown - handles special characters", () => {});it("can convert json to markdown - handles different data types", () => {- expect(- jsonToMarkdown([{ str: "text", num: 42, bool: true, nil: null }]),- ).toMatchInlineSnapshot(`+ expect(jsonToMarkdown([{ str: "text", num: 42, bool: true, nil: null }]))+ .toMatchInlineSnapshot(`"| str | num | bool | nil ||---|---|---|---|| text | 42 | true | |"@@ -282,9 +277,8 @@ it("can convert json to markdown - handles different data types", () => {| [1,2,3] |"`);- expect(- jsonToMarkdown([{ data: { nested: "value" } }]),- ).toMatchInlineSnapshot(`+ expect(jsonToMarkdown([{ data: { nested: "value" } }]))+ .toMatchInlineSnapshot(`"| data ||---|| {"nested":"value"} |"@@ -293,9 +287,8 @@ it("can convert json to markdown - handles different data types", () => {it("can convert json to markdown - handles existing markdown links", () => {// When input already contains a markdown link, it should be preserved as-is- expect(- jsonToMarkdown([{ link: "[Google](https://google.com)" }]),- ).toMatchInlineSnapshot(`+ expect(jsonToMarkdown([{ link: "[Google](https://google.com)" }]))+ .toMatchInlineSnapshot(`"| link ||---|| [Google](https://google.com) |"diff --git a/frontend/src/utils/__tests__/path.test.ts b/frontend/src/utils/__tests__/path.test.tsindex 5ecdc4c8ee..2d4fb166eb 100644--- a/frontend/src/utils/__tests__/path.test.ts+++ b/frontend/src/utils/__tests__/path.test.ts@@ -170,36 +170,39 @@ describe("PathBuilder", () => {});describe("edge case filenames", () => {- it.each(- EDGE_CASE_FILENAMES,- )("should handle unicode and spaces in basename: %s", (filename) => {- const basename = Paths.basename(filename);- expect(basename).toBe(filename);- expect(typeof basename).toBe("string");- expect(basename).not.toBe("");- });-- it.each(- EDGE_CASE_FILENAMES,- )("should handle unicode and spaces in dirname: %s", (filename) => {- const fullPath = `/path/to/${filename}`;- const dirname = Paths.dirname(fullPath);- expect(dirname).toBe("/path/to");- });-- it.each(- EDGE_CASE_FILENAMES,- )("should handle unicode and spaces in path operations: %s", (filename) => {- const baseName = Paths.basename(filename);- const extension = Paths.extension(filename);-- // Should preserve unicode characters in basename- expect(baseName).toContain(filename.split(".")[0]);-- // Should correctly extract extension- if (filename.includes(".")) {- expect(extension).toBe(filename.split(".").pop());- }- });+ it.each(EDGE_CASE_FILENAMES)(+ "should handle unicode and spaces in basename: %s",+ (filename) => {+ const basename = Paths.basename(filename);+ expect(basename).toBe(filename);+ expect(typeof basename).toBe("string");+ expect(basename).not.toBe("");+ },+ );++ it.each(EDGE_CASE_FILENAMES)(+ "should handle unicode and spaces in dirname: %s",+ (filename) => {+ const fullPath = `/path/to/${filename}`;+ const dirname = Paths.dirname(fullPath);+ expect(dirname).toBe("/path/to");+ },+ );++ it.each(EDGE_CASE_FILENAMES)(+ "should handle unicode and spaces in path operations: %s",+ (filename) => {+ const baseName = Paths.basename(filename);+ const extension = Paths.extension(filename);++ // Should preserve unicode characters in basename+ expect(baseName).toContain(filename.split(".")[0]);++ // Should correctly extract extension+ if (filename.includes(".")) {+ expect(extension).toBe(filename.split(".").pop());+ }+ },+ );});});diff --git a/frontend/src/utils/__tests__/urls.test.ts b/frontend/src/utils/__tests__/urls.test.tsindex 8693ac9846..06dd028a97 100644--- a/frontend/src/utils/__tests__/urls.test.ts+++ b/frontend/src/utils/__tests__/urls.test.ts@@ -14,24 +14,25 @@ describe("isUrl", () => {});describe("URL parameter handling with edge case filenames", () => {- it.each(- EDGE_CASE_FILENAMES,- )("should handle unicode filenames in URL parameters: %s", (filename) => {- // Test that updateQueryParams can handle unicode filenames- updateQueryParams((params) => {- params.set("file", filename);- });-- // Verify URL encoding/decoding works with unicode- const encoded = encodeURIComponent(filename);- const decoded = decodeURIComponent(encoded);- expect(decoded).toBe(filename);-- // Verify filename can be safely added to URL parameters- const url = new URL("https://example.com");- url.searchParams.set("file", filename);- expect(url.searchParams.get("file")).toBe(filename);- });+ it.each(EDGE_CASE_FILENAMES)(+ "should handle unicode filenames in URL parameters: %s",+ (filename) => {+ // Test that updateQueryParams can handle unicode filenames+ updateQueryParams((params) => {+ params.set("file", filename);+ });++ // Verify URL encoding/decoding works with unicode+ const encoded = encodeURIComponent(filename);+ const decoded = decodeURIComponent(encoded);+ expect(decoded).toBe(filename);++ // Verify filename can be safely added to URL parameters+ const url = new URL("https://example.com");+ url.searchParams.set("file", filename);+ expect(url.searchParams.get("file")).toBe(filename);+ },+ );it("should preserve unicode in query string round-trip", () => {EDGE_CASE_FILENAMES.forEach((filename) => {diff --git a/package.json b/package.jsonindex a9306835af..5f38ae5be5 100644--- a/package.json+++ b/package.json@@ -1,16 +1,17 @@{"scripts": {- "typecheck": "pnpm turbo typecheck",- "format": "npx oxfmt --config .oxfmtrc.json",- "test": "pnpm turbo test",- "build": "pnpm turbo build",- "codegen": "pnpm turbo run codegen",+ "typecheck": "turbo typecheck",+ "format": "oxfmt --config .oxfmtrc.json",+ "test": "turbo test",+ "build": "turbo build",+ "codegen": "turbo run codegen","lint": "pnpm run -r lint","dev": "pnpm run --filter @marimo-team/frontend dev"},"devDependencies": {"@testing-library/jest-dom": "^6.9.1","@typescript/native-preview": "7.0.0-dev.20260324.1",+ "oxfmt": "^0.42.0","turbo": "^2.8.0","vitest": "^3.2.4"},diff --git a/packages/lsp/index.ts b/packages/lsp/index.tsindex f9dfc8506d..35a51f3680 100644--- a/packages/lsp/index.ts+++ b/packages/lsp/index.ts@@ -206,7 +206,7 @@ function startWebSocketServer(}isShuttingDown = true;logger.log("Received shutdown signal, closing all connections...");- for (const client of Array.from(webSocketServer.clients)) {+ for (const client of [...webSocketServer.clients]) {try {client.close();} catch (error) {diff --git a/packages/lsp/tsconfig.json b/packages/lsp/tsconfig.jsonindex 1b8c15feaa..3bc559f8a3 100644--- a/packages/lsp/tsconfig.json+++ b/packages/lsp/tsconfig.json@@ -1,6 +1,7 @@{"extends": "../../tsconfig.json","compilerOptions": {- "esModuleInterop": true+ "esModuleInterop": true,+ "downlevelIteration": true}}diff --git a/packages/smart-cells/src/__tests__/python-ast.test.ts b/packages/smart-cells/src/__tests__/python-ast.test.tsindex 7bd3b406f5..df5b7ab650 100644--- a/packages/smart-cells/src/__tests__/python-ast.test.ts+++ b/packages/smart-cells/src/__tests__/python-ast.test.ts@@ -57,9 +57,8 @@ describe("parseArgsKwargs", () => {it("should parse empty arglist", () => {const code = "fn()";const cursor = createCursor(code);- expect(- printResults(parseArgsKwargs(cursor, code), code),- ).toMatchInlineSnapshot(`+ expect(printResults(parseArgsKwargs(cursor, code), code))+ .toMatchInlineSnapshot(`{"args": [],"kwargs": [],@@ -70,9 +69,8 @@ describe("parseArgsKwargs", () => {it("should parse positional arguments", () => {const code = "fn(a, b)";const cursor = createCursor(code);- expect(- printResults(parseArgsKwargs(cursor, code), code),- ).toMatchInlineSnapshot(`+ expect(printResults(parseArgsKwargs(cursor, code), code))+ .toMatchInlineSnapshot(`{"args": [""VariableName" (3, 4, a)",@@ -86,9 +84,8 @@ describe("parseArgsKwargs", () => {it("should parse keyword arguments", () => {const code = "fn(a=b, c=d)";const cursor = createCursor(code);- expect(- printResults(parseArgsKwargs(cursor, code), code),- ).toMatchInlineSnapshot(`+ expect(printResults(parseArgsKwargs(cursor, code), code))+ .toMatchInlineSnapshot(`{"args": [],"kwargs": [@@ -108,9 +105,8 @@ describe("parseArgsKwargs", () => {it("should parse mixed arguments", () => {const code = "fn(a, b=c)";const cursor = createCursor(code);- expect(- printResults(parseArgsKwargs(cursor, code), code),- ).toMatchInlineSnapshot(`+ expect(printResults(parseArgsKwargs(cursor, code), code))+ .toMatchInlineSnapshot(`{"args": [""VariableName" (3, 4, a)",@@ -129,9 +125,8 @@ describe("parseArgsKwargs", () => {const code = "x";const tree = parsePythonAST(code);const cursor = tree.cursor();- expect(- printResults(parseArgsKwargs(cursor, code), code),- ).toMatchInlineSnapshot(`+ expect(printResults(parseArgsKwargs(cursor, code), code))+ .toMatchInlineSnapshot(`{"args": [],"kwargs": [],diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex ee4be0a55e..4474352d94 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -25,6 +25,9 @@ importers:'@typescript/native-preview':specifier: 7.0.0-dev.20260324.1version: 7.0.0-dev.20260324.1+ oxfmt:+ specifier: ^0.42.0+ version: 0.42.0turbo:specifier: ^2.8.0version: 2.8.1@@ -537,8 +540,8 @@ importers:specifier: ^0.42.0version: 0.42.0oxlint:- specifier: ^1.57.0- version: 1.57.0+ specifier: ^1.58.0+ version: 1.58.0postcss:specifier: ^8.5.6version: 8.5.6@@ -2023,124 +2026,124 @@ packages:cpu: [x64]os: [win32]- '@oxlint/[email protected]':- resolution: {integrity: sha512-C7EiyfAJG4B70496eV543nKiq5cH0o/xIh/ufbjQz3SIvHhlDDsyn+mRFh+aW8KskTyUpyH2LGWL8p2oN6bl1A==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-1T7UN3SsWWxpWyWGn1cT3ASNJOo+pI3eUkmEl7HgtowapcV8kslYpFQcYn431VuxghXakPNlbjRwhqmR37PFOg==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm]os: [android]- '@oxlint/[email protected]':- resolution: {integrity: sha512-9i80AresjZ/FZf5xK8tKFbhQnijD4s1eOZw6/FHUwD59HEZbVLRc2C88ADYJfLZrF5XofWDiRX/Ja9KefCLy7w==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-GryzujxuiRv2YFF7bRy8mKcxlbuAN+euVUtGJt9KKbLT8JBUIosamVhcthLh+VEr6KE6cjeVMAQxKAzJcoN7dg==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm64]os: [android]- '@oxlint/[email protected]':- resolution: {integrity: sha512-0eUfhRz5L2yKa9I8k3qpyl37XK3oBS5BvrgdVIx599WZK63P8sMbg+0s4IuxmIiZuBK68Ek+Z+gcKgeYf0otsg==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-7/bRSJIwl4GxeZL9rPZ11anNTyUO9epZrfEJH/ZMla3+/gbQ6xZixh9nOhsZ0QwsTW7/5J2A/fHbD1udC5DQQA==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm64]os: [darwin]- '@oxlint/[email protected]':- resolution: {integrity: sha512-UvrSuzBaYOue+QMAcuDITe0k/Vhj6KZGjfnI6x+NkxBTke/VoM7ZisaxgNY0LWuBkTnd1OmeQfEQdQ48fRjkQg==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-EqdtJSiHweS2vfILNrpyJ6HUwpEq2g7+4Zx1FPi4hu3Hu7tC3znF6ufbXO8Ub2LD4mGgznjI7kSdku9NDD1Mkg==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [x64]os: [darwin]- '@oxlint/[email protected]':- resolution: {integrity: sha512-wtQq0dCoiw4bUwlsNVDJJ3pxJA218fOezpgtLKrbQqUtQJcM9yP8z+I9fu14aHg0uyAxIY+99toL6uBa2r7nxA==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-VQt5TH4M42mY20F545G637RKxV/yjwVtKk2vfXuazfReSIiuvWBnv+FVSvIV5fKVTJNjt3GSJibh6JecbhGdBw==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [x64]os: [freebsd]- '@oxlint/[email protected]':- resolution: {integrity: sha512-qxFWl2BBBFcT4djKa+OtMdnLgoHEJXpqjyGwz8OhW35ImoCwR5qtAGqApNYce5260FQqoAHW8S8eZTjiX67Tsg==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-fBYcj4ucwpAtjJT3oeBdFBYKvNyjRSK+cyuvBOTQjh0jvKp4yeA4S/D0IsCHus/VPaNG5L48qQkh+Vjy3HL2/Q==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm]os: [linux]- '@oxlint/[email protected]':- resolution: {integrity: sha512-SQoIsBU7J0bDW15/f0/RvxHfY3Y0+eB/caKBQtNFbuerTiA6JCYx9P1MrrFTwY2dTm/lMgTSgskvCEYk2AtG/Q==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-0BeuFfwlUHlJ1xpEdSD1YO3vByEFGPg36uLjK1JgFaxFb4W6w17F8ET8sz5cheZ4+x5f2xzdnRrrWv83E3Yd8g==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm]os: [linux]- '@oxlint/[email protected]':- resolution: {integrity: sha512-jqxYd1W6WMeozsCmqe9Rzbu3SRrGTyGDAipRlRggetyYbUksJqJKvUNTQtZR/KFoJPb+grnSm5SHhdWrywv3RQ==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-TXlZgnPTlxrQzxG9ZXU7BNwx1Ilrr17P3GwZY0If2EzrinqRH3zXPc3HrRcBJgcsoZNMuNL5YivtkJYgp467UQ==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm64]os: [linux]libc: [glibc]- '@oxlint/[email protected]':- resolution: {integrity: sha512-i66WyEPVEvq9bxRUCJ/MP5EBfnTDN3nhwEdFZFTO5MmLLvzngfWEG3NSdXQzTT3vk5B9i6C2XSIYBh+aG6uqyg==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-zSoYRo5dxHLcUx93Stl2hW3hSNjPt99O70eRVWt5A1zwJ+FPjeCCANCD2a9R4JbHsdcl11TIQOjyigcRVOH2mw==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm64]os: [linux]libc: [musl]- '@oxlint/[email protected]':- resolution: {integrity: sha512-oMZDCwz4NobclZU3pH+V1/upVlJZiZvne4jQP+zhJwt+lmio4XXr4qG47CehvrW1Lx2YZiIHuxM2D4YpkG3KVA==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-NQ0U/lqxH2/VxBYeAIvMNUK1y0a1bJ3ZicqkF2c6wfakbEciP9jvIE4yNzCFpZaqeIeRYaV7AVGqEO1yrfVPjA==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [ppc64]os: [linux]libc: [glibc]- '@oxlint/[email protected]':- resolution: {integrity: sha512-uoBnjJ3MMEBbfnWC1jSFr7/nSCkcQYa72NYoNtLl1imshDnWSolYCjzb8LVCwYCCfLJXD+0gBLD7fyC14c0+0g==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-X9J+kr3gIC9FT8GuZt0ekzpNUtkBVzMVU4KiKDSlocyQuEgi3gBbXYN8UkQiV77FTusLDPsovjo95YedHr+3yg==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [riscv64]os: [linux]libc: [glibc]- '@oxlint/[email protected]':- resolution: {integrity: sha512-BdrwD7haPZ8a9KrZhKJRSj6jwCor+Z8tHFZ3PT89Y3Jq5v3LfMfEePeAmD0LOTWpiTmzSzdmyw9ijneapiVHKQ==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-CDze3pi1OO3Wvb/QsXjmLEY4XPKGM6kIo82ssNOgmcl1IdndF9VSGAE38YLhADWmOac7fjqhBw82LozuUVxD0Q==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [riscv64]os: [linux]libc: [musl]- '@oxlint/[email protected]':- resolution: {integrity: sha512-BNs+7ZNsRstVg2tpNxAXfMX/Iv5oZh204dVyb8Z37+/gCh+yZqNTlg6YwCLIMPSk5wLWIGOaQjT0GUOahKYImw==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-b/89glbxFaEAcA6Uf1FvCNecBJEgcUTsV1quzrqXM/o4R1M4u+2KCVuyGCayN2UpsRWtGGLb+Ver0tBBpxaPog==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [s390x]os: [linux]libc: [glibc]- '@oxlint/[email protected]':- resolution: {integrity: sha512-AghS18w+XcENcAX0+BQGLiqjpqpaxKJa4cWWP0OWNLacs27vHBxu7TYkv9LUSGe5w8lOJHeMxcYfZNOAPqw2bg==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-0/yYpkq9VJFCEcuRlrViGj8pJUFFvNS4EkEREaN7CB1EcLXJIaVSSa5eCihwBGXtOZxhnblWgxks9juRdNQI7w==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [x64]os: [linux]libc: [glibc]- '@oxlint/[email protected]':- resolution: {integrity: sha512-E/FV3GB8phu/Rpkhz5T96hAiJlGzn91qX5yj5gU754P5cmVGXY1Jw/VSjDSlZBCY3VHjsVLdzgdkJaomEmcNOg==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-hr6FNvmcAXiH+JxSvaJ4SJ1HofkdqEElXICW9sm3/Rd5eC3t7kzvmLyRAB3NngKO2wzXRCAm4Z/mGWfrsS4X8w==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [x64]os: [linux]libc: [musl]- '@oxlint/[email protected]':- resolution: {integrity: sha512-xvZ2yZt0nUVfU14iuGv3V25jpr9pov5N0Wr28RXnHFxHCRxNDMtYPHV61gGLhN9IlXM96gI4pyYpLSJC5ClLCQ==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-R+O368VXgRql1K6Xar+FEo7NEwfo13EibPMoTv3sesYQedRXd6m30Dh/7lZMxnrQVFfeo4EOfYIP4FpcgWQNHg==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm64]os: [openharmony]- '@oxlint/[email protected]':- resolution: {integrity: sha512-Z4D8Pd0AyHBKeazhdIXeUUy5sIS3Mo0veOlzlDECg6PhRRKgEsBJCCV1n+keUZtQ04OP+i7+itS3kOykUyNhDg==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-Q0FZiAY/3c4YRj4z3h9K1PgaByrifrfbBoODSeX7gy97UtB7pySPUQfC2B/GbxWU6k7CzQrRy5gME10PltLAFQ==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm64]os: [win32]- '@oxlint/[email protected]':- resolution: {integrity: sha512-StOZ9nFMVKvevicbQfql6Pouu9pgbeQnu60Fvhz2S6yfMaii+wnueLnqQ5I1JPgNF0Syew4voBlAaHD13wH6tw==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-Y8FKBABrSPp9H0QkRLHDHOSUgM/309a3IvOVgPcVxYcX70wxJrk608CuTg7w+C6vEd724X5wJoNkBcGYfH7nNQ==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [ia32]os: [win32]- '@oxlint/[email protected]':- resolution: {integrity: sha512-6PuxhYgth8TuW0+ABPOIkGdBYw+qYGxgIdXPHSVpiCDm+hqTTWCmC739St1Xni0DJBt8HnSHTG67i1y6gr8qrA==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-bCn5rbiz5My+Bj7M09sDcnqW0QJyINRVxdZ65x1/Y2tGrMwherwK/lpk+HRQCKvXa8pcaQdF5KY5j54VGZLwNg==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [x64]os: [win32]@@ -7477,12 +7480,12 @@ packages:engines: {node: ^20.19.0 || >=22.12.0}hasBin: true- resolution: {integrity: sha512-DGFsuBX5MFZX9yiDdtKjTrYPq45CZ8Fft6qCltJITYZxfwYjVdGf/6wycGYTACloauwIPxUnYhBVeZbHvleGhw==}+ resolution: {integrity: sha512-t4s9leczDMqlvOSjnbCQe7gtoLkWgBGZ7sBdCJ9EOj5IXFSG/X7OAzK4yuH4iW+4cAYe8kLFbC8tuYMwWZm+Cg==}engines: {node: ^20.19.0 || >=22.12.0}hasBin: truepeerDependencies:- oxlint-tsgolint: '>=0.15.0'+ oxlint-tsgolint: '>=0.18.0'peerDependenciesMeta:oxlint-tsgolint:optional: true@@ -11502,61 +11505,61 @@ snapshots:'@oxfmt/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true'@paralleldrive/[email protected]':@@ -17939,27 +17942,27 @@ snapshots:'@oxfmt/binding-win32-ia32-msvc': 0.42.0'@oxfmt/binding-win32-x64-msvc': 0.42.0optionalDependencies:- '@oxlint/binding-android-arm-eabi': 1.57.0- '@oxlint/binding-android-arm64': 1.57.0- '@oxlint/binding-darwin-arm64': 1.57.0- '@oxlint/binding-darwin-x64': 1.57.0- '@oxlint/binding-freebsd-x64': 1.57.0- '@oxlint/binding-linux-arm-gnueabihf': 1.57.0- '@oxlint/binding-linux-arm-musleabihf': 1.57.0- '@oxlint/binding-linux-arm64-gnu': 1.57.0- '@oxlint/binding-linux-arm64-musl': 1.57.0- '@oxlint/binding-linux-ppc64-gnu': 1.57.0- '@oxlint/binding-linux-riscv64-gnu': 1.57.0- '@oxlint/binding-linux-riscv64-musl': 1.57.0- '@oxlint/binding-linux-s390x-gnu': 1.57.0- '@oxlint/binding-linux-x64-gnu': 1.57.0- '@oxlint/binding-linux-x64-musl': 1.57.0- '@oxlint/binding-openharmony-arm64': 1.57.0- '@oxlint/binding-win32-arm64-msvc': 1.57.0- '@oxlint/binding-win32-ia32-msvc': 1.57.0- '@oxlint/binding-win32-x64-msvc': 1.57.0+ '@oxlint/binding-android-arm-eabi': 1.58.0+ '@oxlint/binding-android-arm64': 1.58.0+ '@oxlint/binding-darwin-arm64': 1.58.0+ '@oxlint/binding-darwin-x64': 1.58.0+ '@oxlint/binding-freebsd-x64': 1.58.0+ '@oxlint/binding-linux-arm-gnueabihf': 1.58.0+ '@oxlint/binding-linux-arm-musleabihf': 1.58.0+ '@oxlint/binding-linux-arm64-gnu': 1.58.0+ '@oxlint/binding-linux-arm64-musl': 1.58.0+ '@oxlint/binding-linux-ppc64-gnu': 1.58.0+ '@oxlint/binding-linux-riscv64-gnu': 1.58.0+ '@oxlint/binding-linux-riscv64-musl': 1.58.0+ '@oxlint/binding-linux-s390x-gnu': 1.58.0+ '@oxlint/binding-linux-x64-gnu': 1.58.0+ '@oxlint/binding-linux-x64-musl': 1.58.0+ '@oxlint/binding-openharmony-arm64': 1.58.0+ '@oxlint/binding-win32-arm64-msvc': 1.58.0+ '@oxlint/binding-win32-ia32-msvc': 1.58.0+ '@oxlint/binding-win32-x64-msvc': 1.58.0dependencies:diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex 99ce4100ea..b600623e3a 100644--- a/pnpm-workspace.yaml+++ b/pnpm-workspace.yaml@@ -9,3 +9,5 @@ minimumReleaseAgeExclude:# Renovate security update: [email protected]+ - "@oxlint/*"