unist-util-visit
Advanced tools
Comparing version 2.0.2 to 2.0.3
{ | ||
"name": "unist-util-visit", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "unist utility to visit nodes", | ||
@@ -55,14 +55,14 @@ "license": "MIT", | ||
"nyc": "^15.0.0", | ||
"prettier": "^1.0.0", | ||
"remark": "^11.0.0", | ||
"remark-cli": "^7.0.0", | ||
"remark-preset-wooorm": "^6.0.0", | ||
"tape": "^4.0.0", | ||
"prettier": "^2.0.0", | ||
"remark": "^12.0.0", | ||
"remark-cli": "^8.0.0", | ||
"remark-preset-wooorm": "^7.0.0", | ||
"tape": "^5.0.0", | ||
"tinyify": "^2.0.0", | ||
"typescript": "^3.0.0", | ||
"unified": "^8.0.0", | ||
"xo": "^0.26.0" | ||
"unified": "^9.0.0", | ||
"xo": "^0.32.0" | ||
}, | ||
"scripts": { | ||
"format": "remark . -qfo && prettier --write \"**/*.{js,ts}\" && xo --fix", | ||
"format": "remark . -qfo && prettier . --write && xo --fix", | ||
"build-bundle": "browserify . -s unistUtilVisit > unist-util-visit.js", | ||
@@ -93,4 +93,8 @@ "build-mangle": "browserify . -s unistUtilVisit -p tinyify > unist-util-visit.min.js", | ||
"esnext": false, | ||
"rules": { | ||
"unicorn/prefer-set-has": "off" | ||
}, | ||
"ignores": [ | ||
"unist-util-visit.js" | ||
"unist-util-visit.js", | ||
"types" | ||
] | ||
@@ -97,0 +101,0 @@ }, |
@@ -70,4 +70,3 @@ # unist-util-visit | ||
* [`unist-util-flatmap`](https://gitlab.com/staltz/unist-util-flatmap) | ||
— Create a new tree by mapping (to an array) with the provided function and | ||
then flattening | ||
— Create a new tree by mapping (to an array) with the given function | ||
* [`unist-util-remove`](https://github.com/syntax-tree/unist-util-remove) | ||
@@ -126,7 +125,7 @@ — Remove nodes from a tree that pass a test | ||
[contributing]: https://github.com/syntax-tree/.github/blob/master/contributing.md | ||
[contributing]: https://github.com/syntax-tree/.github/blob/HEAD/contributing.md | ||
[support]: https://github.com/syntax-tree/.github/blob/master/support.md | ||
[support]: https://github.com/syntax-tree/.github/blob/HEAD/support.md | ||
[coc]: https://github.com/syntax-tree/.github/blob/master/code-of-conduct.md | ||
[coc]: https://github.com/syntax-tree/.github/blob/HEAD/code-of-conduct.md | ||
@@ -133,0 +132,0 @@ [unist]: https://github.com/syntax-tree/unist |
@@ -41,3 +41,3 @@ // TypeScript Version: 3.5 | ||
index: number, | ||
parent: Node | ||
parent: Parent | undefined | ||
) => void | Action | Index | ActionTuple | ||
@@ -44,0 +44,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10555
137