Socket
Socket
Sign inDemoInstall

unified

Package Overview
Dependencies
5
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.3.2 to 8.4.0

10

package.json
{
"name": "unified",
"version": "8.3.2",
"version": "8.4.0",
"description": "Interface for processing text using syntax trees",

@@ -16,3 +16,3 @@ "license": "MIT",

],
"homepage": "https://unified.js.org",
"homepage": "https://unifiedjs.com",
"repository": "unifiedjs/unified",

@@ -44,7 +44,7 @@ "bugs": "https://github.com/unifiedjs/unified/issues",

"browserify": "^16.0.0",
"dtslint": "^0.8.0",
"dtslint": "^0.9.0",
"nyc": "^14.0.0",
"prettier": "^1.0.0",
"remark-cli": "^6.0.0",
"remark-preset-wooorm": "^5.0.0",
"remark-cli": "^7.0.0",
"remark-preset-wooorm": "^6.0.0",
"tape": "^4.0.0",

@@ -51,0 +51,0 @@ "tinyify": "^2.5.1",

@@ -1,2 +0,2 @@

# [![unified][logo]](https://unified.js.org/)
# [![unified][logo]][site]

@@ -19,3 +19,3 @@ [![Build][build-badge]][build]

[MDX][] to embed [JSX][], and [Prettier][] to format it.
It’s used in about 200k projects on GitHub and has about 10m downloads each
It’s used in about 300k projects on GitHub and has about 10m downloads each
month on npm: you’re probably using it.

@@ -27,3 +27,3 @@ Some notable users are [Node.js][], [ZEIT][], [Netlify][], [GitHub][],

* For a less technical and more practical introduction to unified, visit
[`unified.js.org`][site] and try its introductory [Guides][]
[`unifiedjs.com`][site] and try its introductory [Guides][]
* Browse [awesome unified][awesome] to find out more about the ecosystem

@@ -51,5 +51,5 @@ * Questions?

<td width="20%" align="center">
<a href="https://compositor.io"><img src="https://avatars1.githubusercontent.com/u/19245838?s=400&v=4"></a>
<br><br>🥉
<a href="https://compositor.io">Compositor</a>
<a href="https://www.netlify.com"><img src="https://avatars1.githubusercontent.com/u/7892489?s=400&v=4"></a>
<br><br>🥇
<a href="https://www.netlify.com">Netlify</a>
</td>

@@ -129,16 +129,16 @@ <td width="20%" align="center">

* [API](#api)
* [processor()](#processor)
* [processor.use(plugin\[, options\])](#processoruseplugin-options)
* [processor.parse(file)](#processorparsefile)
* [processor.stringify(node\[, file\])](#processorstringifynode-file)
* [processor.run(node\[, file\]\[, done\])](#processorrunnode-file-done)
* [processor.runSync(node\[, file\])](#processorrunsyncnode-file)
* [processor.process(file\[, done\])](#processorprocessfile-done)
* [processor.processSync(file|value)](#processorprocesssyncfilevalue)
* [processor.data(\[key\[, value\]\])](#processordatakey-value)
* [processor.freeze()](#processorfreeze)
* [Plugin](#plugin)
* [function attacher(\[options\])](#function-attacheroptions)
* [function transformer(node, file\[, next\])](#function-transformernode-file-next)
* [Preset](#preset)
* [`processor()`](#processor)
* [`processor.use(plugin[, options])`](#processoruseplugin-options)
* [`processor.parse(file)`](#processorparsefile)
* [`processor.stringify(node[, file])`](#processorstringifynode-file)
* [`processor.run(node[, file][, done])`](#processorrunnode-file-done)
* [`processor.runSync(node[, file])`](#processorrunsyncnode-file)
* [`processor.process(file[, done])`](#processorprocessfile-done)
* [`processor.processSync(file|value)`](#processorprocesssyncfilevalue)
* [`processor.data([key[, value]])`](#processordatakey-value)
* [`processor.freeze()`](#processorfreeze)
* [`Plugin`](#plugin)
* [`function attacher([options])`](#function-attacheroptions)
* [`function transformer(node, file[, next])`](#function-transformernode-file-next)
* [`Preset`](#preset)
* [Contribute](#contribute)

@@ -1238,3 +1238,3 @@ * [Acknowledgments](#acknowledgments)

[site]: https://unified.js.org
[site]: https://unifiedjs.com

@@ -1247,3 +1247,3 @@ [medium]: https://medium.com/unifiedjs

[guides]: https://unified.js.org/#guides
[guides]: https://unifiedjs.com/#guides

@@ -1250,0 +1250,0 @@ [spectrum]: https://spectrum.chat/unified

// TypeScript Version: 3.4
import {Node} from 'unist'
import {VFile, VFileContents, VFileOptions} from 'vfile'
import {VFile, VFileContents, VFileOptions, VFileCompatible} from 'vfile'
import vfile = require('vfile')

@@ -404,7 +404,2 @@

type ProcessCallback = (error: Error | null, file: VFile) => void
/**
* A union of the VFile types unified supports
*/
type VFileCompatible = VFile | VFileOptions | VFileContents
}

@@ -411,0 +406,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc