File tree Expand file tree Collapse file tree 3 files changed +15
-16
lines changed Expand file tree Collapse file tree 3 files changed +15
-16
lines changed Original file line number Diff line number Diff line change 99 * @typedef {import('mdast-util-to-markdown/lib/types.js').Handle } ToMarkdownHandle
1010 * @typedef {import('mdast-util-to-markdown').State } State
1111 * @typedef {import('mdast-util-to-markdown/lib/types.js').Options } ToMarkdownExtension
12- * @typedef {import('./complex-types').ContainerDirective } ContainerDirective
13- * @typedef {import('./complex-types').LeafDirective } LeafDirective
14- * @typedef {import('./complex-types').TextDirective } TextDirective
12+ * @typedef {import('./complex-types.js ').ContainerDirective } ContainerDirective
13+ * @typedef {import('./complex-types.js ').LeafDirective } LeafDirective
14+ * @typedef {import('./complex-types.js ').TextDirective } TextDirective
1515 * @typedef {ContainerDirective|LeafDirective|TextDirective } Directive
1616 */
1717
@@ -451,7 +451,7 @@ function fence(node) {
451451
452452 return ':' . repeat ( size )
453453
454- /** @type {import('unist-util-visit-parents/complex-types ').BuildVisitor<Root, Directive> } */
454+ /** @type {import('unist-util-visit-parents').BuildVisitor<Root, Directive> } */
455455 function onvisit ( _ , parents ) {
456456 let index = parents . length
457457 let nesting = 0
Original file line number Diff line number Diff line change 3838 "dependencies" : {
3939 "@types/mdast" : " ^3.0.0" ,
4040 "@types/unist" : " ^2.0.0" ,
41- "mdast-util-to-markdown" : " ^1.3 .0" ,
41+ "mdast-util-to-markdown" : " ^1.5 .0" ,
4242 "parse-entities" : " ^4.0.0" ,
4343 "stringify-entities" : " ^4.0.0" ,
44- "unist-util-visit-parents" : " ^5.0.0 "
44+ "unist-util-visit-parents" : " ^5.1.3 "
4545 },
4646 "devDependencies" : {
4747 "@types/tape" : " ^4.0.0" ,
5151 "prettier" : " ^2.0.0" ,
5252 "remark-cli" : " ^11.0.0" ,
5353 "remark-preset-wooorm" : " ^9.0.0" ,
54- "rimraf" : " ^3.0.0" ,
5554 "tape" : " ^5.0.0" ,
5655 "type-coverage" : " ^2.0.0" ,
5756 "typescript" : " ^4.0.0" ,
5857 "unist-util-remove-position" : " ^4.0.0" ,
5958 "xo" : " ^0.53.0"
6059 },
6160 "scripts" : {
62- "build" : " rimraf \" {index,test}.d.ts \" && tsc && type-coverage" ,
61+ "build" : " tsc --build --clean && tsc --build && type-coverage" ,
6362 "format" : " remark . -qfo && prettier . -w --loglevel warn && xo --fix" ,
6463 "test-api" : " node --conditions development test.js" ,
65- "test-coverage" : " c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 -- reporter lcov node --conditions development test.js " ,
64+ "test-coverage" : " c8 --check-coverage --100 --reporter lcov npm run test-api " ,
6665 "test" : " npm run build && npm run format && npm run test-coverage"
6766 },
6867 "prettier" : {
Original file line number Diff line number Diff line change 11{
22 "include" : [" *.js" ],
33 "compilerOptions" : {
4- "target" : " ES2020" ,
5- "lib" : [" ES2020" ],
6- "module" : " ES2020" ,
7- "moduleResolution" : " node" ,
8- "allowJs" : true ,
94 "checkJs" : true ,
105 "declaration" : true ,
116 "emitDeclarationOnly" : true ,
12- "allowSyntheticDefaultImports" : true ,
7+ "exactOptionalPropertyTypes" : true ,
8+ "forceConsistentCasingInFileNames" : true ,
9+ "lib" : [" es2020" ],
10+ "module" : " node16" ,
11+ "newLine" : " lf" ,
1312 "skipLibCheck" : true ,
14- "strict" : true
13+ "strict" : true ,
14+ "target" : " es2020"
1515 }
1616}
You can’t perform that action at this time.
0 commit comments