mdast-util-phrasing is a small ESM utility that checks whether an mdast node is phrasing content, returning a boolean result. It is mainly useful when you are building other mdast utilities and need a reliable test for node type (excluding html).
Project status
- Maintenance status: The last recorded upstream push was 2024-02-01, and the most recent published update in the provided history is 4.1.0 on 2024-02-01, so the project appears quiet/dormant relative to today (2026-06-09), not actively evolving.
- Updates cadence: Updates are sporadic (not regular), with multi-year gaps visible between major versions, for example 2024-02, 2023-07, and 2021-04.
AI summary generated
Recent updates
4.1.0
Release 4.1.0 expands the `phrasing` type guard to recognize additional “common extensions” coming from MDX, math, and directive-related node types. It also adjusts the `html` handling in the type guard to fix incorrect typing behavior. Overall, this is primarily a type guard expansion plus a targeted type fix.
Features4.0.0
mdast-util-phrasing 4.0.0 updates its Node.js support to Node 16 and modernizes its ESM package metadata. The implementation change mostly concerns typing and JSDoc, while the package dependencies and build toolchain also move to newer major versions.
Breaking3.0.1
Release 3.0.1 is presented as a minor maintenance update focused on documentation and code style/refactoring, plus a tsconfig adjustment. The actual code change moves the runtime implementation out of the package root into a new lib/index.js module and updates build/test/CI tooling around that.
3.0.0
v3.0.0 switches the package to ESM and adds JSDoc-based types. The implementation now exports `phrasing` as an ESM named export and the build tooling generates TypeScript declaration files.
BreakingFeatures2.0.0
Release 2.0.0 updates mdast-util-phrasing to use unist-util-is v4, and refreshes documentation with security-related wording plus some prose tweaks. The published library changes are primarily dependency related, with no code diff indicating changes to runtime logic or public API signatures.
BreakingSecurity1.0.3
Release 1.0.3 updates the underlying `unist-util-is` dependency. The code changes also switch `mdast-util-phrasing` to use `unist-util-is/convert`, changing how the `isPhrasing` predicate is constructed and exported.
Breaking1.0.2
Release 1.0.2 is described as a prose refactor only. However, the code diff shows a functional change in the phrasing-element detection logic used by the exported utility.
1.0.1
Release 1.0.1 is described as a code-style refactor. The diff shows mostly formatting changes in the JavaScript source (semicolons removed, minor syntax formatting), plus updates to contributor tooling and CI configuration.
v1.0.0
Release v1.0.0 was published on 2018-10-28, but the release notes contain no actionable details (only a marker emoji). There is not enough information here to identify new features, breaking changes, bug fixes, security, performance, or migration steps.