Version 1.0.0
@stackline/types-mdast
TypeScript definitions for mdast
Independent maintenance of @types/mdast 3.0.15. Original authors and licenses are retained.
Installation
# Preserve existing imports with an npm alias
npm install @types/mdast@npm:@stackline/types-mdast@1.0.0
# Or use the scoped package name in your imports
npm install @stackline/types-mdast@1.0.0Node.js: See compatibility notes. Read the compatibility and maintenance notes before migrating.
Usage and API
The reference below may retain upstream package names. Use the alias installation above to run those imports with this Stackline release.
@stackline/types-mdast
Maintained TypeScript declaration fork of @types/mdast@3.0.15. This package supplies declarations, not JavaScript runtime code. The original declarations, contributors and MIT license are retained; focused changes are listed in CHANGELOG.md.
npm install --save-dev @stackline/types-mdast@1.0.0
# Keep existing type imports and automatic @types discovery:
npm install --save-dev @types/mdast@npm:@stackline/types-mdast@1.0.0
For direct installation, use @stackline/types-mdast in type imports, or in compilerOptions.types for Jest globals. Aliasing to @types/mdast preserves the upstream module names. Requires TypeScript 4.5 or newer, subject to the dependencies selected by your lockfile. No library runtime engine requirement is introduced. Development tooling uses Node.js24.
Source and issue review · Issues · npm · Stackline
Original package documentation
Installation
npm install --save @types/mdast
Summary
This package contains type definitions for mdast (https://github.com/syntax-tree/mdast).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mdast/v3.
Additional Details
- Last updated: Tue, 07 Nov 2023 20:08:00 GMT
- Dependencies: @types/unist
Credits
These definitions were written by Christian Murphy, Jun Lu, Remco Haszing, and Titus Wormer.
Upstream issues and maintenance review
Upstream and review
- Source: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/fbc33dd3590c31aa653079082d22500c9a191e65/types/mdast/v3
- Published baseline:
@types/mdast@3.0.15(2023-11-07T20:25:36.253Z). - Upstream tarball integrity:
sha512-LnwD+mUEfxWMa1QpDraczIn6k0Ee3SMicuYSSzS6ZYl2gKS09EClnJYGd8Du6rfc5r/GZEk5o1mRb8TaTj03sQ==. index.d.tswas compared byte-for-byte with that commit and matched before maintenance changes.- This standalone snapshot repository preserves original source content, contributors and license, but does not claim to preserve the DefinitelyTyped monorepo Git history.
- Only original-parent direct dependencies are in scope; dependencies of this declaration package are not recursively forked.
Issue review
GitHub search on 2026-09-29 used repo:DefinitelyTyped/DefinitelyTyped is:issue is:open "mdast" and the corresponding closed query. Counts: open: 0 results (collected 0), closed: 0 results (collected 0). Search results can contain unrelated packages; they are not evidence that every result is a defect here. Archived search responses and baseline comparisons are retained in the release research evidence. No issue was posted or modified.
No matching open or closed issues were returned for mdast. The selected v3 tree and node constraints are compiled directly and under the original alias.
Validation
Real declaration usage and negative type assertions are compiled with TypeScript 4.5.5 and 5.9.3, with strict: true and skipLibCheck: false, from source and isolated direct/alias tarball installs. CI also checks the complete dependency audit, CodeQL, package contents and exact CI archive identity before GitHub-only publication. Registry verification compiles direct and aliased installs rather than importing these type-only packages as JavaScript.
Release changes
Changelog
1.0.0
- First Stackline maintenance release based on @types/mdast 3.0.15.
- Preserve the declaration API, compatibility line, contributors and MIT license.
- Add isolated TypeScript compilation tests, complete dependency audit, CodeQL and exact-artifact GitHub publication with provenance and immutable release evidence.
Release files and references
- README.md
- UPSTREAM.md
- CHANGELOG.md
- LICENSE
- NOTICE
- Package and publication metadata
- Full text documentation
Package bytes, npm provenance and the immutable GitHub release were verified for this version. Security checks describe the reviewed release; documented compatibility risks and upstream reports are not blanket claims of resolution.