react-remark icon indicating copy to clipboard operation
react-remark copied to clipboard

fix(deps): update dependency unified to v11

Open renovate[bot] opened this issue 2 years ago • 1 comments

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
unified (source) ^9.0.0 -> ^11.0.0 age adoption passing confidence

Release Notes

unifiedjs/unified (unified)

v11.0.5

Compare Source

Fix

Full Changelog: https://github.com/unifiedjs/unified/compare/11.0.4...11.0.5

v11.0.4

Compare Source

Types

Full Changelog: https://github.com/unifiedjs/unified/compare/11.0.3...11.0.4

v11.0.3

Compare Source

Fix
  • 8dee2ab Fix support for functions in data

Full Changelog: https://github.com/unifiedjs/unified/compare/11.0.2...11.0.3

v11.0.2

Compare Source

  • cea788b Fix type of settings if nothing is registered yet

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

v11.0.1

Compare Source

  • d1a915d Fix incorrect type of settings in presets

Full Changelog: https://github.com/unifiedjs/unified/compare/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: https://github.com/unifiedjs/unified/compare/10.1.2...11.0.0

v10.1.2

Compare Source

Full Changelog: https://github.com/unifiedjs/unified/compare/10.1.1...10.1.2

v10.1.1

Compare Source

Full Changelog: https://github.com/unifiedjs/unified/compare/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

v9.2.2

Compare Source

  • bc50a01 Fix to set vfile.value if a vfile@5 is given

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 is behind base branch, 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.

renovate[bot] avatar Aug 15 '23 09:08 renovate[bot]