Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c69b64d

Browse files
committedAug 21, 2021
Update dev-dependencies
1 parent 295ea0f commit c69b64d

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed
 

‎dev/lib/index.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,6 @@ function compiler(options = {}) {
993993

994994
/** @returns {Code} */
995995
function codeFlow() {
996-
// @ts-expect-error: we’ve always used `null`.
997996
return {type: 'code', lang: null, meta: null, value: ''}
998997
}
999998

@@ -1007,7 +1006,6 @@ function compiler(options = {}) {
10071006
return {
10081007
type: 'definition',
10091008
identifier: '',
1010-
// @ts-expect-error: we’ve always used `null`.
10111009
label: null,
10121010
title: null,
10131011
url: ''
@@ -1037,7 +1035,6 @@ function compiler(options = {}) {
10371035

10381036
/** @returns {Image} */
10391037
function image() {
1040-
// @ts-expect-error: we’ve always used `null`.
10411038
return {type: 'image', title: null, url: '', alt: null}
10421039
}
10431040

@@ -1054,7 +1051,6 @@ function compiler(options = {}) {
10541051
return {
10551052
type: 'list',
10561053
ordered: token.type === 'listOrdered',
1057-
// @ts-expect-error: we’ve always used `null`.
10581054
start: null,
10591055
// @ts-expect-error Patched.
10601056
spread: token._spread,
@@ -1071,7 +1067,6 @@ function compiler(options = {}) {
10711067
type: 'listItem',
10721068
// @ts-expect-error Patched.
10731069
spread: token._spread,
1074-
// @ts-expect-error: we’ve always used `null`.
10751070
checked: null,
10761071
children: []
10771072
}

‎package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@
6464
"prettier": "^2.0.0",
6565
"rehype-parse": "^8.0.0",
6666
"rehype-stringify": "^9.0.0",
67-
"remark-cli": "^9.0.0",
68-
"remark-preset-wooorm": "^8.0.0",
67+
"remark-cli": "^10.0.0",
68+
"remark-preset-wooorm": "^9.0.0",
6969
"rimraf": "^3.0.0",
7070
"tape": "^5.0.0",
7171
"terser": "^5.0.0",
7272
"type-coverage": "^2.0.0",
7373
"typescript": "^4.0.0",
7474
"unified": "^10.0.0",
75-
"xo": "^0.42.0"
75+
"xo": "^0.44.0"
7676
},
7777
"scripts": {
7878
"build": "rimraf \"dev/**/*.d.ts\" \"test/**/*.d.ts\" && tsc && type-coverage && micromark-build && esbuild . --bundle --minify | terser | gzip-size --raw",

‎test/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
* @typedef {import('mdast').Root} Root
33
*/
44

5+
import assert from 'assert'
6+
import {Buffer} from 'node:buffer'
57
import fs from 'fs'
68
import path from 'path'
7-
import assert from 'assert'
89
import test from 'tape'
910
import {unified} from 'unified'
1011
import rehypeParse from 'rehype-parse'

0 commit comments

Comments
 (0)
Please sign in to comment.