☔️ interface for parsing, inspecting, transforming, and serializing content through syntax trees
Full Changelog: https://github.com/unifiedjs/unified/compare/11.0.3...11.0.4
Full Changelog: https://github.com/unifiedjs/unified/compare/11.0.2...11.0.3
Full Changelog: https://github.com/unifiedjs/unified/compare/11.0.1...11.0.2
settings
in presetsFull Changelog: https://github.com/unifiedjs/unified/compare/11.0.0...11.0.1
@types/unist
migrate: update toovfile
migrate: update tooData
, Settings
types to augment shared data
migrate: if you deal with data, type it, see commit for infoBuffer
with Uint8Array
migrate: you’re probably fine unless you use weird encodings, see commit for details if soAttacher
type
migrate: use Plugin
insteadFrozenProcessor
type
migrate: use Processor
insteadundefined
, not null
migrate: expect undefined
exports
migrate: don’t use private APIstypescript
by @ChristianMurphy in https://github.com/unifiedjs/unified/pull/216
Full Changelog: https://github.com/unifiedjs/unified/compare/10.1.2...11.0.0
Full Changelog: https://github.com/unifiedjs/unified/compare/10.1.1...10.1.2
run
signature
by @alvinleung1996 in https://github.com/unifiedjs/unified/pull/174
Full Changelog: https://github.com/unifiedjs/unified/compare/10.1.0...10.1.1
void
async transformersvfile
Change:
// from cjs import
var unified = require('unified')
// to esm import
import {unified} from 'unified'
Breaking: this updates vfile
, which importantly renames to vfile.contents
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
P
for processor settingsany[]
instead of [Record<string, unknown>?]
for the default plugin type parameters@types/unist
next
in types of transformer signatureesast
to list of syntax treesreadme.md