Skip to content

Commit f20a196

Browse files
committed
Update dev-dependencies
1 parent 2e15eb6 commit f20a196

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class Index {
1414
* @param {Test} [test]
1515
*/
1616
constructor(prop, tree, test) {
17-
/** @type {Map.<unknown, Array.<Node>>} */
17+
/** @type {Map<unknown, Array<Node>>} */
1818
this.index = new Map()
1919
/** @type {KeyFunction} */
2020
// @ts-expect-error: Looks indexable.
@@ -29,7 +29,7 @@ export class Index {
2929

3030
/**
3131
* @param {unknown} key
32-
* @returns {Array.<Node>}
32+
* @returns {Array<Node>}
3333
*/
3434
get(key) {
3535
return this.index.get(key) || []

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@
4848
"@types/tape": "^4.0.0",
4949
"c8": "^7.0.0",
5050
"prettier": "^2.0.0",
51-
"remark-cli": "^9.0.0",
52-
"remark-preset-wooorm": "^8.0.0",
51+
"remark-cli": "^10.0.0",
52+
"remark-preset-wooorm": "^9.0.0",
5353
"rimraf": "^3.0.0",
5454
"tape": "^5.0.0",
5555
"type-coverage": "^2.0.0",
5656
"typescript": "^4.0.0",
5757
"unist-builder": "^3.0.0",
5858
"unist-util-select": "^4.0.0",
59-
"xo": "^0.42.0"
59+
"xo": "^0.49.0"
6060
},
6161
"scripts": {
6262
"prepack": "npm run build && npm run format",

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Function called with every added [node][] to return the key to index on.
8484
#### `Index#get(key)`
8585

8686
Get nodes by `key` (`*`).
87-
Returns a list of zero or more nodes ([`Array.<Node>`][node]).
87+
Returns a list of zero or more nodes ([`Array<Node>`][node]).
8888

8989
#### `Index#add(node)`
9090

0 commit comments

Comments
 (0)