Skip to content

Commit fbc1df8

Browse files
committed
chore: bump unist- utilities
1 parent 78aa759 commit fbc1df8

File tree

16 files changed

+19
-19
lines changed

16 files changed

+19
-19
lines changed

packages/jats-to-myst/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"myst-transforms": "^1.3.26",
4646
"unified": "^10.0.0",
4747
"unist-builder": "^3.0.0",
48-
"unist-util-select": "^4.0.3",
48+
"unist-util-select": "^5.0.0",
4949
"unist-util-remove": "^3.1.0",
5050
"vfile": "^5.0.0",
5151
"vfile-reporter": "^7.0.4"

packages/myst-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
"unified": "^10.1.2",
103103
"unist-util-filter": "^4.0.0",
104104
"unist-util-remove": "^3.1.0",
105-
"unist-util-select": "^4.0.3",
105+
"unist-util-select": "^5.0.0",
106106
"unist-util-visit": "^4.0.0",
107107
"uuid": "^8.3.2",
108108
"vfile": "^5.3.5",

packages/myst-common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"nanoid": "^4.0.0",
2626
"unified": "^10.1.2",
2727
"unist-util-remove": "^3.1.0",
28-
"unist-util-select": "^4.0.3",
28+
"unist-util-select": "^5.0.0",
2929
"unist-util-visit": "^4.1.2",
3030
"vfile": "^5.0.0",
3131
"vfile-message": "^3.0.0"

packages/myst-common/src/extractParts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function coercePart(part?: string | string[]): string[] {
3333
export function selectBlockParts(tree: GenericParent, part?: string | string[]): Block[] {
3434
const parts = coercePart(part);
3535
if (parts.length === 0) return [];
36-
const blockParts = selectAll('block', tree).filter((block) => {
36+
const blockParts = (selectAll('block', tree) as Block[]).filter((block) => {
3737
const blockTags: string[] = (
3838
block.data?.tags && Array.isArray(block.data.tags) ? block.data.tags : []
3939
).map((tag) => tag?.toLowerCase());

packages/myst-directives/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"myst-common": "^1.7.2",
3939
"myst-spec-ext": "^1.7.2",
4040
"nanoid": "^4.0.2",
41-
"unist-util-select": "^4.0.3",
41+
"unist-util-select": "^5.0.0",
4242
"vfile": "^5.3.7"
4343
}
4444
}

packages/myst-execute/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"myst-cli-utils": "^2.0.11",
3838
"myst-common": "^1.7.2",
3939
"node-fetch": "^3.3.0",
40-
"unist-util-select": "^4.0.3",
40+
"unist-util-select": "^5.0.0",
4141
"vfile": "^5.3.7",
4242
"which": "^4.0.0"
4343
},

packages/myst-parser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"unified": "^10.1.1",
5959
"unist-builder": "^3.0.0",
6060
"unist-util-remove": "^3.1.0",
61-
"unist-util-select": "^4.0.3",
61+
"unist-util-select": "^5.0.0",
6262
"unist-util-visit": "^4.1.0",
6363
"vfile": "^5.3.7"
6464
},

packages/myst-to-docx/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@
4040
"myst-frontmatter": "^1.7.2",
4141
"myst-spec": "^0.0.5",
4242
"myst-spec-ext": "^1.7.2",
43-
"unist-util-select": "^4.0.3"
43+
"unist-util-select": "^5.0.0"
4444
}
4545
}

packages/myst-to-html/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"unified": "^10.1.2",
5353
"unist-builder": "^3.0.0",
5454
"unist-util-remove": "^3.1.0",
55-
"unist-util-select": "^4.0.3",
55+
"unist-util-select": "^5.0.0",
5656
"unist-util-visit": "^4.1.0",
5757
"unist-util-find-after": "^4.0.0"
5858
}

packages/myst-to-jats/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"nbtx": "^0.2.3",
5050
"unified": "^10.1.2",
5151
"unist-util-remove": "^3.1.0",
52-
"unist-util-select": "^4.0.3",
52+
"unist-util-select": "^5.0.0",
5353
"vfile": "^5.0.0",
5454
"vfile-reporter": "^7.0.4",
5555
"xml-js": "^1.6.11"

0 commit comments

Comments
 (0)