Skip to content

Commit 6d7683d

Browse files
committed
Update dev-dependencies
1 parent 6e72085 commit 6d7683d

File tree

3 files changed

+2
-15
lines changed

3 files changed

+2
-15
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
"@types/node": "^20.0.0",
4747
"@types/ungap__structured-clone": "^0.3.0",
4848
"c8": "^8.0.0",
49-
"hast-util-to-html": "^8.0.4",
50-
"hastscript": "^7.0.0",
49+
"hast-util-to-html": "^9.0.0",
50+
"hastscript": "^8.0.0",
5151
"mdast-util-from-markdown": "^2.0.0",
5252
"mdast-util-gfm": "^3.0.0",
5353
"micromark-extension-gfm": "^3.0.0",

test/core.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ test('toHast', async function (t) {
4545
assert.deepEqual(
4646
toHast({
4747
type: 'strong',
48-
// @ts-expect-error: remove when `h` is updated to support new hast.
4948
data: {hChildren: [h('i', 'bravo')]},
5049
children: [{type: 'text', value: 'charlie'}]
5150
}),

test/footnote.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ test('footnote', async function (t) {
1414
await t.test('should render `footnote`s (#1)', async function () {
1515
assert.equal(
1616
toHtml(
17-
// @ts-expect-error: to do: remove when `to-html` is released.
1817
toHast({
1918
type: 'root',
2019
children: [
@@ -57,7 +56,6 @@ test('footnote', async function (t) {
5756
await t.test('should render footnotes in tables', async function () {
5857
assert.equal(
5958
toHtml(
60-
// @ts-expect-error: to do: remove when `to-html` is released.
6159
toHast(
6260
fromMarkdown(
6361
`| Footnotes |
@@ -102,7 +100,6 @@ test('footnote', async function (t) {
102100
await t.test('should render footnotes in table cells', async function () {
103101
assert.equal(
104102
toHtml(
105-
// @ts-expect-error: to do: remove when `to-html` is released.
106103
toHast(
107104
fromMarkdown(
108105
`| [^1] | [^2] |
@@ -140,7 +137,6 @@ test('footnote', async function (t) {
140137
async function () {
141138
assert.equal(
142139
toHtml(
143-
// @ts-expect-error: to do: remove when `to-html` is released.
144140
toHast(
145141
fromMarkdown('Call[^1][^1]\n\n[^1]: Recursion[^1][^1]', {
146142
extensions: [gfm()],
@@ -165,7 +161,6 @@ test('footnote', async function (t) {
165161
async function () {
166162
assert.equal(
167163
toHtml(
168-
// @ts-expect-error: to do: remove when `to-html` is released.
169164
toHast(
170165
fromMarkdown('[^1]\n[^1]: a', {
171166
extensions: [gfm()],
@@ -194,7 +189,6 @@ test('footnote', async function (t) {
194189
async function () {
195190
assert.equal(
196191
toHtml(
197-
// @ts-expect-error: to do: remove when `to-html` is released.
198192
toHast(
199193
fromMarkdown('[^1]\n[^1]: a', {
200194
extensions: [gfm()],
@@ -228,7 +222,6 @@ test('footnote', async function (t) {
228222
async function () {
229223
assert.equal(
230224
toHtml(
231-
// @ts-expect-error: to do: remove when `to-html` is released.
232225
toHast(
233226
fromMarkdown('[^1]\n[^1]: a', {
234227
extensions: [gfm()],
@@ -254,7 +247,6 @@ test('footnote', async function (t) {
254247
async function () {
255248
assert.equal(
256249
toHtml(
257-
// @ts-expect-error: to do: remove when `to-html` is released.
258250
toHast(
259251
fromMarkdown('[^1]\n[^1]: a', {
260252
extensions: [gfm()],
@@ -294,7 +286,6 @@ test('footnote', async function (t) {
294286
await t.test('should support an empty `clobberPrefix`', async function () {
295287
assert.equal(
296288
toHtml(
297-
// @ts-expect-error: to do: remove when `to-html` is released.
298289
toHast(
299290
fromMarkdown('[^1]\n[^1]: a', {
300291
extensions: [gfm()],
@@ -317,7 +308,6 @@ test('footnote', async function (t) {
317308
await t.test('should support a `footnoteLabelTagName`', async function () {
318309
assert.equal(
319310
toHtml(
320-
// @ts-expect-error: to do: remove when `to-html` is released.
321311
toHast(
322312
fromMarkdown('[^1]\n[^1]: a', {
323313
extensions: [gfm()],
@@ -340,7 +330,6 @@ test('footnote', async function (t) {
340330
await t.test('should support a `footnoteLabelProperties`', async function () {
341331
assert.equal(
342332
toHtml(
343-
// @ts-expect-error: to do: remove when `to-html` is released.
344333
toHast(
345334
fromMarkdown('[^1]\n[^1]: a', {
346335
extensions: [gfm()],
@@ -363,7 +352,6 @@ test('footnote', async function (t) {
363352
await t.test('should support funky footnote identifiers', async function () {
364353
assert.equal(
365354
toHtml(
366-
// @ts-expect-error: to do: remove when `to-html` is released.
367355
toHast(
368356
fromMarkdown(
369357
'a[^__proto__] b[^__proto__] c[^constructor]\n\n[^__proto__]: d\n[^constructor]: e',

0 commit comments

Comments
 (0)