[
  {
    "version": "0.0.16",
    "date": "2026-11-18T07:58:53-05:00",
    "kind": "patch",
    "changes": [
      {
        "commit": null,
        "text": "`decodeReferences(text)` decodes the character references of HTML content, as the tokenizer of the HTML Living Standard does.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "A decimal or hexadecimal reference gives its code point.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "An ampersand with no reference stays as text.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "The first prediction put the decoder in `./html`, with a limit of 9000 bytes.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "The first users are the alert sources with HTML descriptions in a feed.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "The named references come from the table of the standard, with its 2231 names.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "The script `scripts/html-references.ts` makes the table module `src/html-references.ts` from `entities.json` of the standard (CC BY 4.0).",
        "packages": [
          "@mark1russell7/text"
        ]
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/mark1russell7/text/releases/tag/v0.0.16"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/mark1russell7/text/blob/ab058bf87ab1be46aed711d8e512a418ae5ffa88/packages/text/CHANGELOG.md#0016"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/@mark1russell7/text/v/0.0.16"
      }
    ]
  },
  {
    "version": "0.0.15",
    "date": "2026-11-18T01:05:56-05:00",
    "kind": "patch",
    "changes": [
      {
        "commit": null,
        "text": "`rankDocuments` uses `rankerOf`, so the two functions share one path.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "`rankerOf(corpus, form)` computes the IDF and the vector of each document one time.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "For each query, the ranker gives the same scores as `rankDocuments(corpus, query, form)`.",
        "packages": [
          "@mark1russell7/text"
        ]
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/mark1russell7/text/releases/tag/v0.0.15"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/mark1russell7/text/blob/ab058bf87ab1be46aed711d8e512a418ae5ffa88/packages/text/CHANGELOG.md#0015"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/@mark1russell7/text/v/0.0.15"
      }
    ]
  },
  {
    "version": "0.0.14",
    "date": "2026-11-17T23:46:16-05:00",
    "kind": "patch",
    "changes": [
      {
        "commit": null,
        "text": "`inverseDocumentFrequency(documents, form)` gives the IDF of each term, in the form `plain` (the default) or `smooth`.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "`rankDocuments(corpus, query, form)` ranks the documents of a corpus for a query.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "`searchWords(text, options)` gives the search keys of the words of a text.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "`termVector(words, idf)` and `cosineSimilarity(a, b)` give the TF-IDF vector of a text and the similarity of two vectors.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "Property tests on seeded corpora: the order of the documents does not change a weight or a score.",
        "packages": [
          "@mark1russell7/text"
        ]
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/mark1russell7/text/releases/tag/v0.0.14"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/mark1russell7/text/blob/ab058bf87ab1be46aed711d8e512a418ae5ffa88/packages/text/CHANGELOG.md#0014"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/@mark1russell7/text/v/0.0.14"
      }
    ]
  },
  {
    "version": "0.0.13",
    "date": "2026-11-16T18:56:00-05:00",
    "kind": "patch",
    "changes": [
      {
        "commit": null,
        "text": "Version 0.0.13 of [`@mark1russell7/text`](https://www.npmjs.com/package/@mark1russell7/text/v/0.0.13) on npm.",
        "packages": []
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/mark1russell7/text/releases/tag/v0.0.13"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/@mark1russell7/text/v/0.0.13"
      }
    ]
  },
  {
    "version": "0.0.12",
    "date": "2026-11-16T17:38:03-05:00",
    "kind": "patch",
    "changes": [
      {
        "commit": null,
        "text": "`CONTEXT_SHAPES` finds the value of a secret by the text around it: a parameter, a variable or a field with the name of a secret (`secret-parameter`), a flag (`secret-flag`), the password of a URL (`url-password`), an `Authorization` header (`authorization`) and the user option of curl (`user-password`).",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "`isSecretName(name)` tells if a name is the name of a secret, by the same rule.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "A shape can give the span of a part of its match, with a group with the name `secret`.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "headroom redacts the command lines in its logs with these shapes after this version is on npm.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "The default shapes of `findSecretShapes` and `redactSecretShapes` do not change.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "The limit of the entry `./redact` is 2400 bytes, predicted before the code.",
        "packages": [
          "@mark1russell7/text"
        ]
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/mark1russell7/text/releases/tag/v0.0.12"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/mark1russell7/text/blob/ab058bf87ab1be46aed711d8e512a418ae5ffa88/packages/text/CHANGELOG.md#0012"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/@mark1russell7/text/v/0.0.12"
      }
    ]
  },
  {
    "version": "0.0.11",
    "date": "2026-11-16T16:33:55-05:00",
    "kind": "patch",
    "changes": [
      {
        "commit": null,
        "text": "`listOf(parts, options?)` joins the parts into an English list: \"a\", \"a and b\" or \"a, b and c\".",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "The list join comes from `listText` of `@mark1russell7/site-pages`.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "The option `conjunction` sets the word before the last part, and its default is \"and\".",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "The root entry does not change, because it has 663 of its 700 bytes.",
        "packages": [
          "@mark1russell7/text"
        ]
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/mark1russell7/text/releases/tag/v0.0.11"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/mark1russell7/text/blob/ab058bf87ab1be46aed711d8e512a418ae5ffa88/packages/text/CHANGELOG.md#0011"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/@mark1russell7/text/v/0.0.11"
      }
    ]
  },
  {
    "version": "0.0.10",
    "date": "2026-11-16T08:42:24-05:00",
    "kind": "patch",
    "changes": [
      {
        "commit": null,
        "text": "`scanHtml` scans HTML for its text and its start tags in one linear pass, with no DOM.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "A test holds the entry `./html` at 1100 bytes or fewer, a limit predicted before its first measure.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "The content of a script, a style, a title or a text area has no tags.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "The content of each element of the option `skip` gives no text and no element.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "The scan comes from `noScriptText` of `@mark1russell7/site-pages`.",
        "packages": [
          "@mark1russell7/text"
        ]
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/mark1russell7/text/releases/tag/v0.0.10"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/mark1russell7/text/blob/ab058bf87ab1be46aed711d8e512a418ae5ffa88/packages/text/CHANGELOG.md#0010"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/@mark1russell7/text/v/0.0.10"
      }
    ]
  },
  {
    "version": "0.0.9",
    "date": "2026-11-16T04:51:12-05:00",
    "kind": "patch",
    "changes": [
      {
        "commit": null,
        "text": "`compareCodePoints` compares the Unicode code points.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "`compareCodeUnits` compares the UTF-16 code units, as the operator `<` and the default sort do.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "A test compares `compareCodePoints` with a reference order for each two texts of 3 code units or fewer, with each pair and each lone surrogate.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "The orders are in their own entry, so the root entry does not change.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "The six copies of the order of the code units in `mark1russell7/alerts` move to `compareCodeUnits` after this version is on npm.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "The two orders are different only in one case.",
        "packages": [
          "@mark1russell7/text"
        ]
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/mark1russell7/text/releases/tag/v0.0.9"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/mark1russell7/text/blob/ab058bf87ab1be46aed711d8e512a418ae5ffa88/packages/text/CHANGELOG.md#009"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/@mark1russell7/text/v/0.0.9"
      }
    ]
  },
  {
    "version": "0.0.8",
    "date": "2026-11-16T02:30:35-05:00",
    "kind": "patch",
    "changes": [
      {
        "commit": null,
        "text": "`findSecretShapes` finds each token of a known shape in a text: GitHub, npm, Anthropic, AWS, Slack, Bearer values and private key blocks.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "`findSecretShapesInValue` examines each string of a value, for example a JSON document, and gives the path to each match.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "`redactSecretShapes` puts a mark in place of each match.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "`SECRET_SHAPES` is the catalog.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "The entry `./redact` is 1692 bytes after `esbuild` and `gzip` at level 9, and a test holds it at 1900 bytes or fewer.",
        "packages": [
          "@mark1russell7/text"
        ]
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/mark1russell7/text/releases/tag/v0.0.8"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/mark1russell7/text/blob/ab058bf87ab1be46aed711d8e512a418ae5ffa88/packages/text/CHANGELOG.md#008"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/@mark1russell7/text/v/0.0.8"
      }
    ]
  },
  {
    "version": "0.0.7",
    "date": "2026-11-15T21:47:26-05:00",
    "kind": "patch",
    "changes": [
      {
        "commit": null,
        "text": "`partsAt` divides a text into parts at ranges of code units.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "`partsOf` divides a text into parts at each copy of a text, from the start, with no overlap.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "The entry `./parts` is 326 bytes after `esbuild` and `gzip` at level 9, and a test holds it at 450 bytes or fewer.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "The two functions come from `@mark1russell7/site-pages`, which drops its copies in a later version.",
        "packages": [
          "@mark1russell7/text"
        ]
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/mark1russell7/text/releases/tag/v0.0.7"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/mark1russell7/text/blob/ab058bf87ab1be46aed711d8e512a418ae5ffa88/packages/text/CHANGELOG.md#007"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/@mark1russell7/text/v/0.0.7"
      }
    ]
  },
  {
    "version": "0.0.6",
    "date": "2026-11-15T07:51:24-05:00",
    "kind": "patch",
    "changes": [
      {
        "commit": null,
        "text": "`pad` adds a fill at the start, at the end or at the two sides, to a width.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "`truncate` cuts a text to `max` units or fewer, with the mark \"…\" at the end.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "Each function counts in UTF-16 code units, in code points or in graphemes.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "The 18 copies of a cut in the atlas list are test fixtures.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "The entry `./length` is 721 bytes after `esbuild` and `gzip` at level 9, and a test holds it at 850 bytes or fewer.",
        "packages": [
          "@mark1russell7/text"
        ]
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/mark1russell7/text/releases/tag/v0.0.6"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/mark1russell7/text/blob/ab058bf87ab1be46aed711d8e512a418ae5ffa88/packages/text/CHANGELOG.md#006"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/@mark1russell7/text/v/0.0.6"
      }
    ]
  },
  {
    "version": "0.0.5",
    "date": "2026-11-13T00:10:16-05:00",
    "kind": "patch",
    "changes": [
      {
        "commit": null,
        "text": "`errorMessage` gives the message of an error.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "The function does not throw.",
        "packages": [
          "@mark1russell7/text"
        ]
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/mark1russell7/text/releases/tag/v0.0.5"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/mark1russell7/text/blob/ab058bf87ab1be46aed711d8e512a418ae5ffa88/packages/text/CHANGELOG.md#005"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/@mark1russell7/text/v/0.0.5"
      }
    ]
  },
  {
    "version": "0.0.4",
    "date": "2026-11-12T23:23:23-05:00",
    "kind": "patch",
    "changes": [
      {
        "commit": null,
        "text": "`redactSecrets` puts a mark in place of each secret in a text: the raw form, the forms of `encodeURIComponent` and `URLSearchParams`, and the Base64 form of an HTTP Basic pair.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "The function is in its own entry, so the root entry stays at 531 bytes.",
        "packages": [
          "@mark1russell7/text"
        ]
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/mark1russell7/text/releases/tag/v0.0.4"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/mark1russell7/text/blob/ab058bf87ab1be46aed711d8e512a418ae5ffa88/packages/text/CHANGELOG.md#004"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/@mark1russell7/text/v/0.0.4"
      }
    ]
  },
  {
    "version": "0.0.3",
    "date": "2026-11-12T22:56:35-05:00",
    "kind": "patch",
    "changes": [
      {
        "commit": null,
        "text": "Version 0.0.3 of [`@mark1russell7/text`](https://www.npmjs.com/package/@mark1russell7/text/v/0.0.3) on npm.",
        "packages": []
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/mark1russell7/text/releases/tag/v0.0.3"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/@mark1russell7/text/v/0.0.3"
      }
    ]
  },
  {
    "version": "0.0.2",
    "date": "2026-11-08T21:36:52-05:00",
    "kind": "patch",
    "changes": [
      {
        "commit": null,
        "text": "`escapeWorkflowData` changes `%`, CR and LF to `%25`, `%0D` and `%0A`.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "The 5 copies of the atlas list with these escapes are test fixtures.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "The root entry is 321 bytes after `esbuild` and `gzip` at level 9, in place of 250.",
        "packages": [
          "@mark1russell7/text"
        ]
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/mark1russell7/text/releases/tag/v0.0.2"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/mark1russell7/text/blob/ab058bf87ab1be46aed711d8e512a418ae5ffa88/packages/text/CHANGELOG.md#002"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/@mark1russell7/text/v/0.0.2"
      }
    ]
  },
  {
    "version": "0.0.1",
    "date": "2026-11-08T20:51:02Z",
    "kind": "first",
    "changes": [
      {
        "commit": null,
        "text": "The root entry is 250 bytes after `esbuild` and `gzip` at level 9.",
        "packages": [
          "@mark1russell7/text"
        ]
      },
      {
        "commit": null,
        "text": "The tests run 53 copies of these functions from other repositories as fixtures.",
        "packages": [
          "@mark1russell7/text"
        ]
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/mark1russell7/text/releases/tag/v0.0.1"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/mark1russell7/text/blob/ab058bf87ab1be46aed711d8e512a418ae5ffa88/packages/text/CHANGELOG.md#001"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/@mark1russell7/text/v/0.0.1"
      }
    ]
  }
]
