File tree Expand file tree Collapse file tree 3 files changed +5
-9
lines changed Expand file tree Collapse file tree 3 files changed +5
-9
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 22 * @typedef {import('mdast').Root } Root
33 */
44
5+ import assert from 'assert'
6+ import { Buffer } from 'node:buffer'
57import fs from 'fs'
68import path from 'path'
7- import assert from 'assert'
89import test from 'tape'
910import { unified } from 'unified'
1011import rehypeParse from 'rehype-parse'
You can’t perform that action at this time.
0 commit comments