This release is 1 version behind 1.0.12 — the latest version of @std/internal. Jump to latest
Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
Works with
•JSR Score100%•This package works with Deno, BrowsersIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun




Downloads64,938/wk
•Published6 months ago (1.0.10)
INTERNAL: The internal package for @std. Do not use this directly.
// Copyright 2018-2025 the Deno authors. MIT license. // This module is browser compatible. /** Ways that lines in a diff can be different. */ export type DiffType = "removed" | "common" | "added"; /** * Represents the result of a diff operation. * * @typeParam T The type of the value in the diff result. */ export interface DiffResult<T> { /** The type of the diff. */ type: DiffType; /** The value of the diff. */ value: T; /** The details of the diff. */ details?: DiffResult<T>[]; }