Back to Explore

voxpelli/pony-cause

GitHub
1 watchersOpen source

Last release:

pony-cause provides a ponyfill (via a local `ErrorWithCause` class) and helper functions for standardized Error Causes (tc39 proposal-error-cause). It’s useful for working with nested `cause` chains, including finding a specific error type in the cause chain, retrieving direct causes, and generating combined messages and stack traces, with compatibility for older `VError`-style cause handling.

Project status

  • The repository appears to be in maintenance mode rather than actively evolving: published updates v2.1.9 to v2.1.11 (2023-03-20 to 2024-04-15) are explicitly described as maintenance, with diffs focused on CI, quality checks, and devDependency and documentation changes.
  • Apparent update cadence for published updates is very low, with a gap from the latest tagged update (v2.1.11 on 2024-04-15) to today (2026-08-12) of over 2 years, which suggests updates are infrequent.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v2.1.11

    v2.1.11 is a maintenance release with minimal release note content. The diff shows primarily repository and tooling changes (CI matrices, quality-check scripts, and devDependency upgrades), plus documentation/logo updates.

  • v2.1.10

    v2.1.10 is described as a maintenance release with no functional changes. The actual diff shows CI and development tooling adjustments, mainly updating Node.js test versions and bumping various devDependencies (types and linting tooling).

  • v2.1.9

    v2.1.9 is presented as a maintenance release with no functional changes. The diff, however, shows changes to CI TypeScript test matrices and multiple development dependency upgrades, plus some README edits.

  • v2.1.8

    v2.1.8 is primarily a packaging and TypeScript types fix, aimed at ensuring the published .d.ts artifacts resolve correctly (validated via an updated published-types test). It also includes README content/wording updates and small CI/test scaffolding changes to exercise the dual CJS/ESM setup.

  • v2.1.7

    v2.1.7 focuses on correcting how the package publishes and resolves TypeScript type declarations, specifically for TypeScript 4.6 and 4.7 setups, and ensuring the published types are verified correctly. The diff shows mostly packaging and CI/test adjustments rather than runtime code changes.

  • v2.1.6

    v2.1.6 makes a small adjustment to the package.json export map. The documented intent is to fix how TypeScript types are exposed via exports.

  • v2.1.5

    Release v2.1.5 is described as a small change that adds TypeScript types to the package.json exports. However, the provided code diff for v2.1.5-0 to v2.1.5 shows only a version string update in package.json.

    Features
  • v2.1.5-0

    This release is primarily about improving the package.json `exports` typing setup by adding TypeScript type mappings. The release notes only mention that change, but the diff also includes internal logic hardening in `lib/helpers.js` and several development dependency and CI matrix updates.

  • v2.1.4

    v2.1.4 updates the package version and bumps a couple of development dependencies. The release notes claim a fix for generated types on publish, but the provided diff only shows dependency/version metadata changes in package.json, not any source or build-script modifications.

  • v2.1.3

    v2.1.3 is a small patch release focused on a TypeScript typing regression fix (per the release notes, addressing issue #45). The actual diff shows a JSDoc/type inference change in the ErrorWithCause constructor, plus CI TypeScript matrix adjustments and several dev dependency bumps.