Update dev-dependencies

This commit is contained in:
Titus Wormer 2023-09-15 19:19:15 +02:00
parent c40caa2682
commit bf126a045a
No known key found for this signature in database
GPG key ID: E6E581152ED04E2E
2 changed files with 8 additions and 8 deletions

View file

@ -29,7 +29,7 @@ export default function remarkDirective() {
const list = /** @type {unknown[]} */ ( const list = /** @type {unknown[]} */ (
// Other extensions // Other extensions
/* c8 ignore next 2 */ /* c8 ignore next 2 */
data[field] ? data[field] : (data[field] = []) data[field] || (data[field] = [])
) )
list.push(value) list.push(value)

View file

@ -39,23 +39,23 @@
"unified": "^10.0.0" "unified": "^10.0.0"
}, },
"devDependencies": { "devDependencies": {
"@types/tape": "^4.0.0", "@types/tape": "^5.0.0",
"c8": "^7.0.0", "c8": "^8.0.0",
"is-hidden": "^2.0.0", "is-hidden": "^2.0.0",
"prettier": "^2.0.0", "prettier": "^3.0.0",
"remark": "^14.0.0", "remark": "^14.0.0",
"remark-cli": "^10.0.0", "remark-cli": "^11.0.0",
"remark-preset-wooorm": "^9.0.0", "remark-preset-wooorm": "^9.0.0",
"rimraf": "^3.0.0", "rimraf": "^3.0.0",
"tape": "^5.0.0", "tape": "^5.0.0",
"to-vfile": "^7.0.0", "to-vfile": "^7.0.0",
"type-coverage": "^2.0.0", "type-coverage": "^2.0.0",
"typescript": "^4.0.0", "typescript": "^5.0.0",
"xo": "^0.46.0" "xo": "^0.56.0"
}, },
"scripts": { "scripts": {
"build": "rimraf \"test/**/*.d.ts\" \"*.d.ts\" && tsc && type-coverage", "build": "rimraf \"test/**/*.d.ts\" \"*.d.ts\" && tsc && type-coverage",
"format": "remark . -qfo --ignore-pattern test/ && prettier . -w --loglevel warn && xo --fix", "format": "remark . -qfo --ignore-pattern test/ && prettier . -w --log-level warn && xo --fix",
"test-api": "node --conditions development test/index.js", "test-api": "node --conditions development test/index.js",
"test-coverage": "c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api", "test-coverage": "c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api",
"test": "npm run build && npm run format && npm run test-coverage" "test": "npm run build && npm run format && npm run test-coverage"