Skip to content

Commit

Permalink
Update dev-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Aug 6, 2023
1 parent 6e72085 commit 6d7683d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
"@types/node": "^20.0.0",
"@types/ungap__structured-clone": "^0.3.0",
"c8": "^8.0.0",
"hast-util-to-html": "^8.0.4",
"hastscript": "^7.0.0",
"hast-util-to-html": "^9.0.0",
"hastscript": "^8.0.0",
"mdast-util-from-markdown": "^2.0.0",
"mdast-util-gfm": "^3.0.0",
"micromark-extension-gfm": "^3.0.0",
Expand Down
1 change: 0 additions & 1 deletion test/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ test('toHast', async function (t) {
assert.deepEqual(
toHast({
type: 'strong',
// @ts-expect-error: remove when `h` is updated to support new hast.
data: {hChildren: [h('i', 'bravo')]},
children: [{type: 'text', value: 'charlie'}]
}),
Expand Down
12 changes: 0 additions & 12 deletions test/footnote.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ test('footnote', async function (t) {
await t.test('should render `footnote`s (#1)', async function () {
assert.equal(
toHtml(
// @ts-expect-error: to do: remove when `to-html` is released.
toHast({
type: 'root',
children: [
Expand Down Expand Up @@ -57,7 +56,6 @@ test('footnote', async function (t) {
await t.test('should render footnotes in tables', async function () {
assert.equal(
toHtml(
// @ts-expect-error: to do: remove when `to-html` is released.
toHast(
fromMarkdown(
`| Footnotes |
Expand Down Expand Up @@ -102,7 +100,6 @@ test('footnote', async function (t) {
await t.test('should render footnotes in table cells', async function () {
assert.equal(
toHtml(
// @ts-expect-error: to do: remove when `to-html` is released.
toHast(
fromMarkdown(
`| [^1] | [^2] |
Expand Down Expand Up @@ -140,7 +137,6 @@ test('footnote', async function (t) {
async function () {
assert.equal(
toHtml(
// @ts-expect-error: to do: remove when `to-html` is released.
toHast(
fromMarkdown('Call[^1][^1]\n\n[^1]: Recursion[^1][^1]', {
extensions: [gfm()],
Expand All @@ -165,7 +161,6 @@ test('footnote', async function (t) {
async function () {
assert.equal(
toHtml(
// @ts-expect-error: to do: remove when `to-html` is released.
toHast(
fromMarkdown('[^1]\n[^1]: a', {
extensions: [gfm()],
Expand Down Expand Up @@ -194,7 +189,6 @@ test('footnote', async function (t) {
async function () {
assert.equal(
toHtml(
// @ts-expect-error: to do: remove when `to-html` is released.
toHast(
fromMarkdown('[^1]\n[^1]: a', {
extensions: [gfm()],
Expand Down Expand Up @@ -228,7 +222,6 @@ test('footnote', async function (t) {
async function () {
assert.equal(
toHtml(
// @ts-expect-error: to do: remove when `to-html` is released.
toHast(
fromMarkdown('[^1]\n[^1]: a', {
extensions: [gfm()],
Expand All @@ -254,7 +247,6 @@ test('footnote', async function (t) {
async function () {
assert.equal(
toHtml(
// @ts-expect-error: to do: remove when `to-html` is released.
toHast(
fromMarkdown('[^1]\n[^1]: a', {
extensions: [gfm()],
Expand Down Expand Up @@ -294,7 +286,6 @@ test('footnote', async function (t) {
await t.test('should support an empty `clobberPrefix`', async function () {
assert.equal(
toHtml(
// @ts-expect-error: to do: remove when `to-html` is released.
toHast(
fromMarkdown('[^1]\n[^1]: a', {
extensions: [gfm()],
Expand All @@ -317,7 +308,6 @@ test('footnote', async function (t) {
await t.test('should support a `footnoteLabelTagName`', async function () {
assert.equal(
toHtml(
// @ts-expect-error: to do: remove when `to-html` is released.
toHast(
fromMarkdown('[^1]\n[^1]: a', {
extensions: [gfm()],
Expand All @@ -340,7 +330,6 @@ test('footnote', async function (t) {
await t.test('should support a `footnoteLabelProperties`', async function () {
assert.equal(
toHtml(
// @ts-expect-error: to do: remove when `to-html` is released.
toHast(
fromMarkdown('[^1]\n[^1]: a', {
extensions: [gfm()],
Expand All @@ -363,7 +352,6 @@ test('footnote', async function (t) {
await t.test('should support funky footnote identifiers', async function () {
assert.equal(
toHtml(
// @ts-expect-error: to do: remove when `to-html` is released.
toHast(
fromMarkdown(
'a[^__proto__] b[^__proto__] c[^constructor]\n\n[^__proto__]: d\n[^constructor]: e',
Expand Down

0 comments on commit 6d7683d

Please sign in to comment.