unified

Explore/Releases

  1. unifiedjs/unified-args@12.0.0·

    Change

    • 5c1f7ab Change to require Node.js 22.19 migrate: update node
    • df3b104 Change to detect color support from stderr migrate: as expected, pass --[no-]color or set FORCE_COLOR, NO_COLOR
    • cebea4a Update unified-engine migrate: globs are handled by node; you can also use .ts config files

    Dependencies

    Full Changelog: https://github.com/unifiedjs/unified-args/compare/11.0.2...12.0.0

  2. syntax-tree/hast-util-to-text@4.0.5·

    Fix

    • 9361248 Fix spaces around passed phrasing

    Full Changelog: https://github.com/syntax-tree/hast-util-to-text/compare/4.0.4...4.0.5

  3. syntax-tree/hast-util-to-mdast@10.1.4·

    Fix

    • fd66520 Fix to drop empty inline code, merge adjacent attention
    • 7944dd9 Fix to merge adjacent inline code

    Full Changelog: https://github.com/syntax-tree/hast-util-to-mdast/compare/10.1.3...10.1.4

  4. syntax-tree/hast-util-to-text@4.0.4·

    Fix

    • c3a93c5 Fix to collapse white space across nodes

    Full Changelog: https://github.com/syntax-tree/hast-util-to-text/compare/4.0.3...4.0.4

  5. syntax-tree/hast-util-select@6.0.5·

    Fix

    • 8b7e4b2 Fix attribute selectors for empty values, booleans
    • e1d215e Fix to ignore textarea when inferring dir=auto

    Full Changelog: https://github.com/syntax-tree/hast-util-select/compare/6.0.4...6.0.5

  6. syntax-tree/hast-util-find-and-replace@5.0.4·

  7. unifiedjs/unified-args@11.0.2·

    Dependencies

    Types

    Full Changelog: https://github.com/unifiedjs/unified-args/compare/11.0.1...11.0.2

  8. syntax-tree/mdast-util-mdx-jsx@3.2.2·

    Fix

    • 05ce6e1 Fix encoding of ampersands in attribute values

    Full Changelog: https://github.com/syntax-tree/mdast-util-mdx-jsx/compare/3.2.1...3.2.2

  9. inokawa/remark-docx@0.4.0·

    BREAKING CHANGES

    • Supported remark-cli.
    • Changed output type from Promise<ArrayBuffer> to Uint8Array.

    What's Changed

    • Update dependency fast-xml-parser to v5.12.0 [SECURITY] by @renovate[bot] in #209
    • Change output type to Uint8Array by @inokawa in #166

    Full Changelog: https://github.com/inokawa/remark-docx/compare/0.3.30...0.4.0

  10. unifiedjs/unified-engine@12.0.0·

    Change

    • 6247913 Change to require Node.js 22.19 migrate: update node
    • b1f4e57 Replace glob w/ fs.glob by @ChristianMurphy in #94 migrate: globs no longer look in symlinked folders; \ in globs is a path separator, not an escape; globs with .. that point back into cwd report paths with ..

    Features

    Bugs
    • 959262b Fix error message for errors in presets
    • 93b14de Fix plugin name in debug messages
    • fdce0d5 Fix to allow a file path as output w/ files added by plugins
    • 553d5af Fix to report missing files once w/ a missing ignore file
    • 8d9943a Fix hang on files added by completers

    Dependencies

    Full Changelog: https://github.com/unifiedjs/unified-engine/compare/11.3.0...12.0.0

  11. unifiedjs/unified-engine@11.3.0·

    Features

    • 7795d88 Add support for writing binary
    • e377ef4 Add support for promise if w/o callback

    Bugs

    • fea5264 Fix to wait for fatal files that are still transforming

    Dependencies

    Full Changelog: https://github.com/unifiedjs/unified-engine/compare/11.2.2...11.3.0

  12. jaywcjlove/rehype-attr@4.1.4·

    Buy me a coffee npm bundle size

    Documentation v4.1.4: https://raw.githack.com/jaywcjlove/rehype-attr/b646707/index.html
    Comparing Changes: https://github.com/jaywcjlove/rehype-attr/compare/v4.1.3...v4.1.4

    npm i rehype-attr@4.1.4
    
  13. jaywcjlove/rehype-video@2.3.3·

    Buy me a coffee

    Documentation v2.3.3: https://raw.githack.com/jaywcjlove/rehype-video/0328eae/index.html
    Comparing Changes: https://github.com/jaywcjlove/rehype-video/compare/v2.3.2...v2.3.3

  14. syntax-tree/hast-util-to-html@9.0.7·

    Fix

    • 77781cb Fix to not encode text in more raw text elements

    Full Changelog: https://github.com/syntax-tree/hast-util-to-html/compare/9.0.6...9.0.7

  15. syntax-tree/hast-util-raw@9.2.1·

  16. mdx-js/eslint-mdx@eslint-plugin-mdx@3.10.1·

    Patch Changes

    • #693 304b957 Thanks @JounQin! - Deprecate the stringify-based autofixes from mdx/remark; enable the native config for targeted fixes. A one-time warning is emitted when a fallback fix is computed, and deprecationWarnings: false silences it.

    • #694 fc570db Thanks @JounQin! - Support { enabled: true } on optionless native rules so they can be activated from ESLint without a remark config entry.

    • Updated dependencies [c4cecb8]:

      • eslint-mdx@3.10.1
  17. mdx-js/eslint-mdx@eslint-mdx@3.10.1·

    Patch Changes

    • #697 c4cecb8 Thanks @trackoor! - Report 0-based loc.column for Program, top-level JSX ExpressionStatement, and MDXFlowExpression/MDXTextExpression nodes instead of unist's 1-based columns.
  18. mdx-js/eslint-mdx@eslint-plugin-mdx@3.10.0·

    Minor Changes

    • 8ccf1a9 Thanks @JounQin! - Expose resolved remark configuration through parser services and add native ESLint implementations for the mapped remark-lint rules. The native rules are opt-in via the new native config; base / flat keep the stable mdx/remark behavior.

    Patch Changes

    • Updated dependencies [8ccf1a9]:
      • eslint-mdx@3.10.0
  19. mdx-js/eslint-mdx@eslint-mdx@3.10.0·

    Minor Changes

    • 8ccf1a9 Thanks @JounQin! - Expose resolved remark configuration through parser services and add native ESLint implementations for the mapped remark-lint rules. The native rules are opt-in via the new native config; base / flat keep the stable mdx/remark behavior.
  20. syntax-tree/hast-util-to-mdast@10.1.3·

    Fix

    • a424844 Fix to collapse whitespace in alt, title
    • f20e1fc Fix size and selectedness of select
    • f726289 Fix support of start: 0 on ol
    • fff0c84 Fix whitespace in input, textarea

    Full Changelog: https://github.com/syntax-tree/hast-util-to-mdast/compare/10.1.2...10.1.3

  21. syntax-tree/mdast-util-to-hast@13.2.2·

    Fix

    • 398f280 Fix backreferences in later footnote definitions

    Full Changelog: https://github.com/syntax-tree/mdast-util-to-hast/compare/13.2.1...13.2.2

  22. syntax-tree/mdast-util-toc@7.2.0·

    Fix

    • b05a599 Fix to match GitHub slugs for footnotes and HTML

    Full Changelog: https://github.com/syntax-tree/mdast-util-toc/compare/7.1.0...7.2.0

  23. mdx-js/eslint-mdx@eslint-plugin-mdx@3.9.5·

    Patch Changes

    • Updated dependencies [51bd834]:
      • eslint-mdx@3.9.5
  24. mdx-js/eslint-mdx@eslint-mdx@3.9.5·

    Patch Changes

    • #653 51bd834 Thanks @JounQin! - Parse plain markdown files into MD* AST nodes, including MDHtml for raw HTML, instead of leaving the Program body empty.
  25. mdx-js/eslint-mdx@eslint-plugin-mdx@3.9.4·

    Patch Changes

    • #650 d970e2b Thanks @JounQin! - fix: skip remark autofixes when output is unchanged or expands past 2x
    • Updated dependencies []:
      • eslint-mdx@3.9.4
  26. mdx-js/eslint-mdx@eslint-mdx@3.9.4·

    No changes in this release.

  27. mdx-js/eslint-mdx@eslint-plugin-mdx@3.9.3·

    Patch Changes

    • #648 ee85742 Thanks @JounQin! - perf: compute remark differences only when fixes are applied
    • Updated dependencies []:
      • eslint-mdx@3.9.3
  28. mdx-js/eslint-mdx@eslint-mdx@3.9.3·

    No changes in this release.

  29. mdx-js/eslint-mdx@eslint-plugin-mdx@3.9.2·

    Patch Changes

    • #646 928f50d Thanks @JounQin! - perf: skip remark difference generation when there are no lint messages
    • Updated dependencies []:
      • eslint-mdx@3.9.2
  30. mdx-js/eslint-mdx@eslint-mdx@3.9.2·

    No changes in this release.

  31. vfile/vfile-message@4.0.4·

    Fix

    • eac35ae Fix to not assign defaults through Error.prototype

    Types

    Full Changelog: https://github.com/vfile/vfile-message/compare/4.0.3...4.0.4

  32. vfile/vfile-location@5.0.4·

    Fix

    • cdda37e Fix columns below 1 in toOffset

    Performance

    • 7c5c137 Fix quadratic time in toPoint

    Full Changelog: https://github.com/vfile/vfile-location/compare/5.0.3...5.0.4

  33. syntax-tree/hast-util-from-html@2.1.0·

  34. syntax-tree/hast-util-raw@9.2.0·

  35. syntax-tree/hast-util-raw@9.1.1·

    Fix

    • 04aa4eb Fix whitespace in head, tables, etc

    Full Changelog: https://github.com/syntax-tree/hast-util-raw/compare/9.1.0...9.1.1

  36. syntax-tree/mdast-util-mdx-jsx@3.2.1·

    Fix

    • b52d992 Fix indent in attribute expressions

    Full Changelog: https://github.com/syntax-tree/mdast-util-mdx-jsx/compare/3.2.0...3.2.1

  37. mdx-js/eslint-mdx@eslint-plugin-mdx@3.9.1·

    Patch Changes

    • #629 8241610 Thanks @paoValle! - fix: mute the code block rules under their @stylistic names too

      eol-last and padded-blocks were deprecated in ESLint v8.53.0 in favour of @stylistic/eslint-plugin, which carries them with its own prefix. The code blocks config switches both off, and now also switches off @stylistic/eol-last and @stylistic/padded-blocks, so the examples stay muted for users who run the plugin.

      The deprecated entries stay: a rule set to off that the installed ESLint no longer has is bypassed rather than resolved, so they are inert on the version that removes them and still mute the rule on the versions that have it.

      Closes #601.

    • Updated dependencies []:

      • eslint-mdx@3.9.1
  38. mdx-js/eslint-mdx@eslint-mdx@3.9.1·

    No changes in this release.

  39. mdx-js/eslint-mdx@eslint-plugin-mdx@3.9.0·

    Patch Changes

    • #634 7921c79 Thanks @JounQin! - fix: only apply remark fixes to the reported message range

      A remark fix used to rewrite the whole document, so unrelated formatting changes could conflict with prettier/prettier and produce circular fixes. Apply only the differences that overlap the reported message, as localized fixes.

      Closes #491.

    • Updated dependencies [4241ceb, 5e0b172, d41d8ee, 1c675f4, 2c41867, 43af536, b476a1c, b3eb3bf, fd72b28]:

      • eslint-mdx@3.9.0
  40. mdx-js/eslint-mdx@eslint-mdx@3.9.0·

    Minor Changes

    • #622 2c41867 Thanks @JounQin! - feat: add ESTree nodes for Markdown content

      Add MDCode, MDHeading, MDParagraph, MDText, MDList, MDListItem, MDBlockquote, MDEmphasis, MDStrong, MDInlineCode, MDLink, MDImage, MDBreak, MDThematicBreak, MDDefinition, MDDelete, MDFootnoteDefinition, MDFootnoteReference, MDImageReference, MDInlineMath, MDLinkReference, MDMath, MDTable, MDTableCell, MDTableRow, MDToml and MDYaml nodes with visitor keys. Restore whitespace JSXText tokens inside JSX elements so the AST body and tokens stay aligned.

      MDXCode and MDXHeading have been replaced by MDCode and MDHeading, including their emitted type strings.

      Closes #503.

      @types/estree@^1.0.10 is declared as an optional peer dependency.

    • #621 43af536 Thanks @JounQin! - feat: add MDXFlowExpression and MDXTextExpression nodes

      MDX content expressions are no longer emitted as top-level ExpressionStatement nodes, so no-unused-expressions no longer reports them. The new nodes expose their expression and are traversed via the extended visitor keys.

      Closes #581.

    • #637 fd72b28 Thanks @JounQin! - feat: use micromark token types directly

      Generate markdown and MDX structural tokens from the same micromark parse used for the mdast tree, map MDX JSX/expression events to ESLint token types, and merge them with acorn's JavaScript tokens. Markdown token types now use the original micromark labels; JSX text keeps using JSXText for compatibility.

    Patch Changes

    • #643 4241ceb Thanks @JounQin! - chore: include context in JSX parsing assertion messages

    • #632 5e0b172 Thanks @JounQin! - fix: emit empty MDX expressions

      Top-level and nested comment-only or empty expressions ({/* ... */}, {}) were skipped because their ESTree body is empty, leaving their brace tokens or parent children without a corresponding node. Emit an MDXFlowExpression or MDXTextExpression containing a JSXEmptyExpression instead.

    • #630 d41d8ee Thanks @JounQin! - fix: wrap MDX expressions in JSXExpressionContainer

      Flow expressions inside JSX children were emitted as raw expressions and used the parent element range. They are now wrapped in JSXExpressionContainer nodes with their own range; both flow and text expression containers now use the expression's own range.

      Closes #628.

    • #636 1c675f4 Thanks @JounQin! - fix: preserve markdown children of JSX elements

      Markdown nodes such as links and emphasis were dropped when they appeared inside JSX elements, making them look empty to rules like react/self-closing-comp.

    • #631 b476a1c Thanks @hippi345! - chore: migrate to devlop

      Replace node:assert with devlop so development-only assertions are stripped in production builds.

      Closes #568.

    • #639 b3eb3bf Thanks @JounQin! - fix: treat props as defined in MDX content, but not in mdxjsEsm

  41. syntax-tree/xastscript@4.0.1·

    Types

    • 593ea3e Add declaration maps
    • 07e63ac Fix types to accept attributes or child at once

    Full Changelog: https://github.com/syntax-tree/xastscript/compare/4.0.0...4.0.1

  42. syntax-tree/hastscript@9.0.3·

    Types

    • 6d7cdac Fix types of jsxDEV to accept development arguments

    Full Changelog: https://github.com/syntax-tree/hastscript/compare/9.0.2...9.0.3

  43. syntax-tree/hast-util-from-parse5@8.0.4·

    Fix

    • 68b7379 Fix crash on template in SVG, MathML

    Full Changelog: https://github.com/syntax-tree/hast-util-from-parse5/compare/8.0.3...8.0.4

  44. syntax-tree/hastscript@9.0.2·

    Fix

    • 1f7110f Fix to not add content to template in SVG

    Types

    • 926dc39 Fix types to accept properties or child at once

    Full Changelog: https://github.com/syntax-tree/hastscript/compare/9.0.1...9.0.2

  45. syntax-tree/hast-util-to-html@9.0.6·

    Fix

    • b2b5a3e Fix HTML in SVG for desc, foreignObject, title
    • 233ac97 Fix p closing tag omission in custom elements

    Full Changelog: https://github.com/syntax-tree/hast-util-to-html/compare/9.0.5...9.0.6

  46. mdx-js/eslint-mdx@eslint-plugin-mdx@3.8.3·

    Patch Changes

    • Updated dependencies [08ae03b]:
      • eslint-mdx@3.8.3
  47. mdx-js/eslint-mdx@eslint-mdx@3.8.3·

    Patch Changes

    • #625 08ae03b Thanks @JounQin! - fix: avoid the tslib runtime dependency

      Build with rewriteRelativeImportExtensions: false and use .js extensions in source imports, so the compiled worker no longer imports __rewriteRelativeImportExtension from tslib.

  48. inokawa/remark-docx@0.3.30·

  49. syntax-tree/hast-util-to-text@4.0.3·

    Fix

    • 444e34b Fix typo where form did not match
    • 21ad138 Fix to ignore white space between table parts
    • e77d913 Fix handling of line feed between rows

    Types

    Performance

    • f41d76a Refactor to improve performance by inlining checks
    • 246e991 Refactor to improve performance for sibling iteration
    • 12615f2 Refactor to improve performance for many things

    Full Changelog: https://github.com/syntax-tree/hast-util-to-text/compare/4.0.2...4.0.3

  50. syntax-tree/hast-util-find-and-replace@5.0.3·

  51. syntax-tree/unist-util-visit@5.2.0·

    Add

    • c1ed449 Add support for exit visitors

    Performance

    • f57c39f Fix performance around indexOf

    Full Changelog: https://github.com/syntax-tree/unist-util-visit/compare/5.1.0...5.2.0

  52. syntax-tree/unist-util-visit-parents@6.1.0·

    Add

    • ca2b802 Add support for exit visitors
    • 38d3cfb Add index of node in parent

    Full Changelog: https://github.com/syntax-tree/unist-util-visit-parents/compare/6.0.2...6.1.0

  53. mdx-js/eslint-mdx@eslint-plugin-mdx@3.8.2·

    Patch Changes

    • Updated dependencies [f07115b]:
      • eslint-mdx@3.8.2
  54. mdx-js/eslint-mdx@eslint-mdx@3.8.2·

    Patch Changes

    • #618 f07115b Thanks @renovate! - fix: surface worker failures instead of hanging forever

      Upgrade synckit to ^0.12.3 so a worker failure is reported to the caller instead of leaving ESLint blocked in Atomics.wait(), which made lint runs over large projects appear to hang with no diagnostics.

      Closes #605.

  55. syntax-tree/hast-util-find-and-replace@5.0.2·

    Fixes

    • a791125 Fix merging adjacent text nodes

    Types

    Full Changelog: https://github.com/syntax-tree/hast-util-find-and-replace/compare/5.0.1...5.0.2

  56. micromark/micromark@4.0.3·

    • 3f0d484 fix attention flanking next to others
    • c0f7daf add list of start tokens, for performance
    • 8421970 90c8d3e add micromark-util-edit-map, for performance
  57. micromark/micromark@micromark-build@2.0.4·

  58. micromark/micromark@micromark-core-commonmark@2.0.4·

    • 3f0d484 fix attention flanking next to others
    • c0f7daf add list of start tokens
    • b31f51c refactor non-lazy cont check
  59. micromark/micromark@micromark-factory-space@2.1.0·

  60. micromark/micromark@micromark-util-edit-map@1.0.0·

    💯

  61. micromark/micromark@micromark-util-types@2.0.3·

  62. remcohaszing/remark-mdx-frontmatter@6.0.0·

    What's Changed

    • 530b5ce Rename RemarkMdxFrontmatterOptions to remarkMdxFrontmatter.Options
    • 2c8b09c Use npm staged publishing
    • 5deaec4 Remove support for Node.js < 22
    • 60e3727 Replace the toml dependency with smol-tomlby @egrimstad in #20
    • 6c0ed63 Use OIDC for publishing

    New Contributors

    Full Changelog: https://github.com/remcohaszing/remark-mdx-frontmatter/compare/v5.2.0...v6.0.0