Socket
Socket
Sign inDemoInstall

unified

Package Overview
Dependencies
9
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.4.0 to 8.4.1

7

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

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

"typescript": "^3.0.0",
"xo": "^0.24.0"
"xo": "^0.25.0"
},

@@ -83,3 +83,4 @@ "scripts": {

"guard-for-in": "off",
"unicorn/prefer-type-error": "off"
"unicorn/prefer-type-error": "off",
"unicorn/prefer-reflect-apply": "off"
},

@@ -86,0 +87,0 @@ "ignores": [

# [![unified][logo]][site]
[![GitHub CI][github-ci-badge]][github-ci]
[![Build][build-badge]][build]

@@ -1053,2 +1054,3 @@ [![Coverage][coverage-badge]][coverage]

* `void` — If nothing is returned, the next transformer keeps using same tree.
* `Error` — Fatal error to stop the process

@@ -1189,2 +1191,6 @@ * `node` ([`Node`][node]) — New [*syntax tree*][syntax-tree].

[github-ci-badge]: https://github.com/unifiedjs/unified/workflows/CI/badge.svg
[github-ci]: https://github.com/unifiedjs/unified/actions
[build-badge]: https://img.shields.io/travis/unifiedjs/unified.svg

@@ -1212,3 +1218,3 @@

[chat-badge]: https://img.shields.io/badge/join%20the%20community-on%20spectrum-7b16ff.svg
[chat-badge]: https://img.shields.io/badge/chat-spectrum-7b16ff.svg

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

@@ -222,3 +222,3 @@ // TypeScript Version: 3.4

*/
type Settings = {
interface Settings {
[key: string]: unknown

@@ -307,2 +307,3 @@ }

* @returns
* - `void` — If nothing is returned, the next transformer keeps using same tree.
* - `Error` — Can be returned to stop the process

@@ -317,3 +318,3 @@ * - `Node` — Can be returned and results in further transformations and `stringify`s to be performed on the new tree

next?: (error: Error | null, tree: Node, file: VFile) => {}
): Error | Node | Promise<Node>
): Error | Node | Promise<Node> | void | Promise<void>
}

@@ -320,0 +321,0 @@

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc