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.1 to 8.4.2

21

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

@@ -19,2 +19,6 @@ "license": "MIT",

"bugs": "https://github.com/unifiedjs/unified/issues",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/unified"
},
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",

@@ -44,4 +48,4 @@ "contributors": [

"browserify": "^16.0.0",
"dtslint": "^0.9.0",
"nyc": "^14.0.0",
"c8": "^6.0.0",
"dtslint": "^2.0.0",
"prettier": "^1.0.0",

@@ -51,4 +55,3 @@ "remark-cli": "^7.0.0",

"tape": "^4.0.0",
"tinyify": "^2.5.1",
"typescript": "^3.0.0",
"tinyify": "^2.0.0",
"xo": "^0.25.0"

@@ -62,12 +65,6 @@ },

"test-api": "node test",
"test-coverage": "nyc --reporter lcov tape test",
"test-coverage": "c8 --check-coverage --lines 100 --functions 100 --branches 100 --reporter lcov tape test",
"test-types": "dtslint types",
"test": "npm run format && npm run build && npm run test-coverage && npm run test-types"
},
"nyc": {
"check-coverage": true,
"lines": 100,
"functions": 100,
"branches": 100
},
"prettier": {

@@ -74,0 +71,0 @@ "tabWidth": 2,

@@ -17,3 +17,4 @@ // TypeScript Version: 3.4

*
* @returns New unfrozen processor which is configured to function the same as its ancestor. But when the descendant processor is configured in the future it does not affect the ancestral processor.
* @returns New unfrozen processor which is configured to function the same as its ancestor.
* But when the descendant processor is configured in the future it does not affect the ancestral processor.
*/

@@ -80,3 +81,4 @@ (): Processor<P>

*
* `Parser` can also be a constructor function (a function with keys in its `prototype`) in which case it’s invoked with `new`. Instances must have a parse method which is invoked without arguments and must return a `Node`.
* `Parser` can also be a constructor function (a function with keys in its `prototype`) in which case it’s invoked with `new`.
* Instances must have a parse method which is invoked without arguments and must return a `Node`.
*/

@@ -88,3 +90,3 @@ Parser: ParserConstructor | ParserFunction

*
* @param node
* @param node unist node
* @param file `VFile` or anything which can be given to `vfile()`

@@ -214,3 +216,2 @@ * @returns String representation of the syntax tree file

*
* @this Processor context object is set to the invoked on processor.
* @param settings Configuration

@@ -290,3 +291,2 @@ * @typeParam S Plugin settings

*
* @this Processor context object is set to the invoked on processor.
* @param settings Configuration

@@ -293,0 +293,0 @@ * @typeParam S Plugin settings

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