Update dev-dependencies
This commit is contained in:
parent
876a45ad4c
commit
7831904974
3 changed files with 41 additions and 38 deletions
15
package.json
15
package.json
|
@ -39,17 +39,17 @@
|
||||||
"unified": "^11.0.0"
|
"unified": "^11.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^20.0.0",
|
"@types/node": "^22.0.0",
|
||||||
"c8": "^8.0.0",
|
"c8": "^10.0.0",
|
||||||
"is-hidden": "^2.0.0",
|
"is-hidden": "^2.0.0",
|
||||||
"prettier": "^3.0.0",
|
"prettier": "^3.0.0",
|
||||||
"remark": "^15.0.0",
|
"remark": "^15.0.0",
|
||||||
"remark-cli": "^11.0.0",
|
"remark-cli": "^12.0.0",
|
||||||
"remark-preset-wooorm": "^9.0.0",
|
"remark-preset-wooorm": "^10.0.0",
|
||||||
"to-vfile": "^8.0.0",
|
"to-vfile": "^8.0.0",
|
||||||
"type-coverage": "^2.0.0",
|
"type-coverage": "^2.0.0",
|
||||||
"typescript": "^5.0.0",
|
"typescript": "^5.0.0",
|
||||||
"xo": "^0.56.0"
|
"xo": "^0.60.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc --build --clean && tsc --build && type-coverage",
|
"build": "tsc --build --clean && tsc --build && type-coverage",
|
||||||
|
@ -89,6 +89,9 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"prettier": true
|
"prettier": true,
|
||||||
|
"rules": {
|
||||||
|
"logical-assignment-operators": "off"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,8 +48,8 @@ test('fixtures', async function (t) {
|
||||||
/** @type {string} */
|
/** @type {string} */
|
||||||
let output
|
let output
|
||||||
|
|
||||||
const proc = remark().use(remarkDirective)
|
const processor = remark().use(remarkDirective)
|
||||||
const actual = proc.parse(input)
|
const actual = processor.parse(input)
|
||||||
|
|
||||||
try {
|
try {
|
||||||
output = String(await fs.readFile(outputUrl))
|
output = String(await fs.readFile(outputUrl))
|
||||||
|
@ -72,7 +72,7 @@ test('fixtures', async function (t) {
|
||||||
|
|
||||||
assert.deepEqual(actual, expected)
|
assert.deepEqual(actual, expected)
|
||||||
|
|
||||||
assert.equal(String(await proc.process(input)), String(output))
|
assert.equal(String(await processor.process(input)), String(output))
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue