Skip to content

Commit 563da41

Browse files
committed
build(deps): add @flex-development/unist-util-visit
- replaces `unist-util-visit` - https://github.com/flex-development/unist-util-visit/tree/1.0.0 Signed-off-by: Lexus Drumgold <[email protected]>
1 parent 0ed5fca commit 563da41

File tree

3 files changed

+28
-6
lines changed

3 files changed

+28
-6
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,12 @@
8181
},
8282
"dependencies": {
8383
"@flex-development/tutils": "6.0.0-alpha.25",
84+
"@flex-development/unist-util-visit": "1.0.0",
8485
"devlop": "1.1.0",
8586
"mdast-util-from-markdown": "2.0.0",
8687
"micromark-util-symbol": "2.0.0",
8788
"unist-builder": "4.0.0",
88-
"unist-util-source": "5.0.0",
89-
"unist-util-visit": "5.0.0"
89+
"unist-util-source": "5.0.0"
9090
},
9191
"devDependencies": {
9292
"@arethetypeswrong/cli": "0.15.2",

src/parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ import {
3434
type Nilable,
3535
type Optional
3636
} from '@flex-development/tutils'
37+
import { CONTINUE, EXIT, visit } from '@flex-development/unist-util-visit'
3738
import { ok } from 'devlop'
3839
import type {
3940
Break,
@@ -58,7 +59,6 @@ import type {
5859
import type { AssertionError } from 'node:assert'
5960
import { u } from 'unist-builder'
6061
import { source } from 'unist-util-source'
61-
import { CONTINUE, EXIT, visit } from 'unist-util-visit'
6262
import type { VFile } from 'vfile'
6363
import { TokenKind } from './enums'
6464
import type { Options, Token } from './interfaces'

yarn.lock

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,6 +1261,7 @@ __metadata:
12611261
"@flex-development/mlly": "npm:1.0.0-alpha.18"
12621262
"@flex-development/pathe": "npm:2.0.0"
12631263
"@flex-development/tutils": "npm:6.0.0-alpha.25"
1264+
"@flex-development/unist-util-visit": "npm:1.0.0"
12641265
"@html-eslint/eslint-plugin": "npm:0.24.0"
12651266
"@html-eslint/parser": "npm:0.24.0"
12661267
"@types/chai": "npm:4.3.14"
@@ -1324,7 +1325,6 @@ __metadata:
13241325
unist-builder: "npm:4.0.0"
13251326
unist-util-inspect: "npm:8.0.0"
13261327
unist-util-source: "npm:5.0.0"
1327-
unist-util-visit: "npm:5.0.0"
13281328
vfile: "npm:6.0.1"
13291329
vite: "npm:5.2.2"
13301330
vite-tsconfig-paths: "npm:4.3.2"
@@ -1725,6 +1725,28 @@ __metadata:
17251725
languageName: node
17261726
linkType: hard
17271727

1728+
"@flex-development/unist-util-types@npm:1.2.0":
1729+
version: 1.2.0
1730+
resolution: "@flex-development/unist-util-types@npm:1.2.0::__archiveUrl=https%3A%2F%2Fnpm.pkg.github.com%2Fdownload%2F%40flex-development%2Funist-util-types%2F1.2.0%2Fe73575356fb70910ec1467d05a02825d69997f22"
1731+
peerDependencies:
1732+
"@types/unist": ">=3.0.2"
1733+
checksum: 10/01f73462d6bbdb16a67aca5c77e2421fb260acc671d01628d3d1aa0debf044e226d468c033601c3bfb5cff6c47f030690d87e4e84c55ff1dcad513a4419cde0c
1734+
languageName: node
1735+
linkType: hard
1736+
1737+
"@flex-development/unist-util-visit@npm:1.0.0":
1738+
version: 1.0.0
1739+
resolution: "@flex-development/unist-util-visit@npm:1.0.0::__archiveUrl=https%3A%2F%2Fnpm.pkg.github.com%2Fdownload%2F%40flex-development%2Funist-util-visit%2F1.0.0%2F80616055072ebb771682ec055244857a9789d677"
1740+
dependencies:
1741+
"@flex-development/tutils": "npm:6.0.0-alpha.25"
1742+
"@flex-development/unist-util-types": "npm:1.2.0"
1743+
unist-util-is: "npm:6.0.0"
1744+
peerDependencies:
1745+
"@types/unist": ">=3.0.2"
1746+
checksum: 10/c2fb4e2d26dc770b77298b412c22e5aeb6f673b7ec7c1093dd1994f4134c8fb0d04e57116b12a23b2758dafa890cb1efe3394870c0376fd9561e6da13ab090ba
1747+
languageName: node
1748+
linkType: hard
1749+
17281750
"@gar/promisify@npm:^1.1.3":
17291751
version: 1.1.3
17301752
resolution: "@gar/promisify@npm:1.1.3"
@@ -10046,7 +10068,7 @@ __metadata:
1004610068
languageName: node
1004710069
linkType: hard
1004810070

10049-
"unist-util-is@npm:^6.0.0":
10071+
"unist-util-is@npm:6.0.0, unist-util-is@npm:^6.0.0":
1005010072
version: 6.0.0
1005110073
resolution: "unist-util-is@npm:6.0.0"
1005210074
dependencies:
@@ -10113,7 +10135,7 @@ __metadata:
1011310135
languageName: node
1011410136
linkType: hard
1011510137

10116-
"unist-util-visit@npm:5.0.0, unist-util-visit@npm:^5.0.0":
10138+
"unist-util-visit@npm:^5.0.0":
1011710139
version: 5.0.0
1011810140
resolution: "unist-util-visit@npm:5.0.0"
1011910141
dependencies:

0 commit comments

Comments
 (0)