stencila / encoda

↔️ A format converter for Stencila documents
https://stencila.github.io/encoda/
Apache License 2.0
35 stars 9 forks source link

fix(dependencies): update dependency unified to v10 - autoclosed #975

Closed renovate[bot] closed 3 years ago

renovate[bot] commented 3 years ago

WhiteSource Renovate

This PR contains the following updates:

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

Release Notes

unifiedjs/unified ### [`v10.0.1`](https://togithub.com/unifiedjs/unified/releases/10.0.1) [Compare Source](https://togithub.com/unifiedjs/unified/compare/10.0.0...10.0.1) - [`591b0c0`](https://togithub.com/unifiedjs/unified/commit/591b0c0) Fix types to support `void` async transformers ### [`v10.0.0`](https://togithub.com/unifiedjs/unified/releases/10.0.0) [Compare Source](https://togithub.com/unifiedjs/unified/compare/9.2.2...10.0.0) ##### Breaking - [`dc46bc5`](https://togithub.com/unifiedjs/unified/commit/dc46bc5) Use ESM and update `vfile` - Change: ```js // from cjs import var unified = require('unified') // to esm import import {unified} from 'unified' ``` Learn [more about ESM in this guide](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c) - **Breaking**: this updates `vfile`, which importantly renames ~~`vfile.contents`~~ to `vfile.value`. See [`vfile@5`](https://togithub.com/vfile/vfile/releases/tag/5.0.0) - 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`](https://togithub.com/unifiedjs/unified/commit/b3e2464) Rewrite types - Removed the type parameter `P` for processor settings - Use `any[]` instead of `[Record?]` for the default plugin type parameters - [`45eb72e`](https://togithub.com/unifiedjs/unified/commit/45eb72e) Update types for ESM - [`2c7ba99`](https://togithub.com/unifiedjs/unified/commit/2c7ba99) [`8eda349`](https://togithub.com/unifiedjs/unified/commit/8eda349) Add explicit dependency on `@types/unist` - [`0e8f611`](https://togithub.com/unifiedjs/unified/commit/0e8f611) Remove typescript@3 legacy support - [`350ed9d`](https://togithub.com/unifiedjs/unified/commit/350ed9d) Fix `next` in types of transformer signature - [`b22bf8e`](https://togithub.com/unifiedjs/unified/commit/b22bf8e) Add support for buffer, other return values - [`4bfd6c8`](https://togithub.com/unifiedjs/unified/commit/4bfd6c8) [`b8fe5ec`](https://togithub.com/unifiedjs/unified/commit/b8fe5ec) [`6ef3933`](https://togithub.com/unifiedjs/unified/commit/6ef3933) Add support for boolean plugin options ##### Project - [`88374fc`](https://togithub.com/unifiedjs/unified/commit/88374fc) Add `esast` to list of syntax trees - [`a6ff3c1`](https://togithub.com/unifiedjs/unified/commit/a6ff3c1) Fix links - [`ee6ee47`](https://togithub.com/unifiedjs/unified/commit/ee6ee47) Update examples in `readme.md` - [`32abf7c`](https://togithub.com/unifiedjs/unified/commit/32abf7c) [`60de570`](https://togithub.com/unifiedjs/unified/commit/60de570) [`115898a`](https://togithub.com/unifiedjs/unified/commit/115898a) Refactor code style ### [`v9.2.2`](https://togithub.com/unifiedjs/unified/releases/9.2.2) [Compare Source](https://togithub.com/unifiedjs/unified/compare/9.2.1...9.2.2) - [`bc50a01`](https://togithub.com/unifiedjs/unified/commit/bc50a01) Fix to set `vfile.value` if a vfile@5 is given

Configuration

📅 Schedule: 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.



This PR has been generated by WhiteSource Renovate. View repository job log here.