Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency unified to v11 #33572

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 11, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
unified (source) 9.2.2 -> 11.0.5 age adoption passing confidence

Release Notes

unifiedjs/unified (unified)

v11.0.5

Compare Source

Fix

Full Changelog: unifiedjs/unified@11.0.4...11.0.5

v11.0.4

Compare Source

Types

Full Changelog: unifiedjs/unified@11.0.3...11.0.4

v11.0.3

Compare Source

Fix
  • 8dee2ab Fix support for functions in data

Full Changelog: unifiedjs/unified@11.0.2...11.0.3

v11.0.2

Compare Source

  • cea788b Fix type of settings if nothing is registered yet

Full Changelog: unifiedjs/unified@11.0.1...11.0.2

v11.0.1

Compare Source

  • d1a915d Fix incorrect type of settings in presets

Full Changelog: unifiedjs/unified@11.0.0...11.0.1

v11.0.0

Compare Source

Change
  • baf80b2 Change to require Node.js 16
    migrate: update too
  • dd9834a Update @types/unist
    migrate: update too
  • 620ccf9 Update vfile
    migrate: update too
Change (unlikey to affect you)
  • a44db46 Add Data, Settings types to augment shared data
    migrate: if you deal with data, type it, see commit for info
  • fb49556 Change to replace Buffer with Uint8Array
    migrate: you’re probably fine unless you use weird encodings, see commit for details if so
  • f3e71a8 Remove Attacher type
    migrate: use Plugin instead
  • cc53bb6 Remove FrozenProcessor type
    migrate: use Processor instead
  • 1aa3494 Change to yield undefined, not null
    migrate: expect undefined
  • 932c140 Change to use exports
    migrate: don’t use private APIs
  • 8e57478 Remove support for classes as compilers, parsers
    migrate: if you love classes, see commit message
  • 4676814 Remove support for compilers returning nullish
    migrate: nobody did that
  • 807ffb9 Add improved types
    migrate: it’s probably just better if anything changed at all
  • b35afe0 Add useful error on empty presets
    by @​wooorm in https://github.com/unifiedjs/unified/pull/202
  • 6f068a0 Fix to deep clone preset settings
  • 56ee288 Fix non-first parameter merging when reconfiguring plugins
Misc

Full Changelog: unifiedjs/unified@10.1.2...11.0.0

v10.1.2

Compare Source

Full Changelog: unifiedjs/unified@10.1.1...10.1.2

v10.1.1

Compare Source

Full Changelog: unifiedjs/unified@10.1.0...10.1.1

v10.1.0

Compare Source

  • 134ecad Add plugin input/output type parameters

v10.0.1

Compare Source

  • 591b0c0 Fix types to support void async transformers

v10.0.0

Compare Source

Breaking
  • dc46bc5 Use ESM and update vfile
    • Change:

      // from cjs import
      var unified = require('unified')
      
      // to esm import
      import {unified} from 'unified'

      Learn more about ESM in this guide

    • Breaking: this updates vfile, which importantly renames vfile.contents to vfile.value. See vfile@5

    • Inconsequential: this updates trough, which removes support for Promise-like objects returned from plugins, in favor of only support actual promises. To update, instead of returning an object with a then function, return and actual promise

Types
  • b3e2464 Rewrite types
    • Removed the type parameter P for processor settings
    • Use any[] instead of [Record<string, unknown>?] for the default plugin type parameters
  • 45eb72e Update types for ESM
  • 2c7ba99 8eda349 Add explicit dependency on @types/unist
  • 0e8f611 Remove typescript@3 legacy support
  • 350ed9d Fix next in types of transformer signature
  • b22bf8e Add support for buffer, other return values
  • 4bfd6c8 b8fe5ec 6ef3933 Add support for boolean plugin options
Project

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Member

@viceice viceice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

esm only

@renovate renovate bot force-pushed the renovate/unified-11.x branch from 0bf1d78 to 52a8cde Compare January 11, 2025 16:32
| datasource | package | from  | to     |
| ---------- | ------- | ----- | ------ |
| npm        | unified | 9.2.2 | 11.0.5 |
@renovate renovate bot force-pushed the renovate/unified-11.x branch from 52a8cde to d701dc4 Compare January 11, 2025 16:46
@rarkins rarkins closed this Jan 11, 2025
Copy link
Contributor Author

renovate bot commented Jan 11, 2025

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 11.x releases. But if you manually upgrade to 11.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/unified-11.x branch January 11, 2025 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants