Update dev-dependencies

This commit is contained in:
Titus Wormer 2023-12-21 12:34:34 +01:00
parent 462c7d4d76
commit 6034170cf1
No known key found for this signature in database
GPG key ID: E6E581152ED04E2E
2 changed files with 6 additions and 5 deletions

View file

@ -58,8 +58,8 @@ function tokenizeDirectiveText(effects, ok, nok) {
return code === codes.colon return code === codes.colon
? nok(code) ? nok(code)
: code === codes.leftSquareBracket : code === codes.leftSquareBracket
? effects.attempt(label, afterLabel, afterLabel)(code) ? effects.attempt(label, afterLabel, afterLabel)(code)
: afterLabel(code) : afterLabel(code)
} }
/** @type {State} */ /** @type {State} */

View file

@ -50,17 +50,17 @@
"html-void-elements": "^3.0.0", "html-void-elements": "^3.0.0",
"micromark": "^4.0.0", "micromark": "^4.0.0",
"micromark-build": "^2.0.0", "micromark-build": "^2.0.0",
"prettier": "^2.0.0", "prettier": "^3.0.0",
"remark-cli": "^11.0.0", "remark-cli": "^11.0.0",
"remark-preset-wooorm": "^9.0.0", "remark-preset-wooorm": "^9.0.0",
"type-coverage": "^2.0.0", "type-coverage": "^2.0.0",
"typescript": "^5.0.0", "typescript": "^5.0.0",
"xo": "^0.54.0" "xo": "^0.56.0"
}, },
"scripts": { "scripts": {
"prepack": "npm run build && npm run format", "prepack": "npm run build && npm run format",
"build": "tsc --build --clean && tsc --build && type-coverage && micromark-build", "build": "tsc --build --clean && tsc --build && type-coverage && micromark-build",
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix", "format": "remark . -qfo && prettier . -w --log-level warn && xo --fix",
"test-api-prod": "node --conditions production test/index.js", "test-api-prod": "node --conditions production test/index.js",
"test-api-dev": "node --conditions development test/index.js", "test-api-dev": "node --conditions development test/index.js",
"test-api": "npm run test-api-dev && npm run test-api-prod", "test-api": "npm run test-api-dev && npm run test-api-prod",
@ -100,6 +100,7 @@
"prettier": true, "prettier": true,
"rules": { "rules": {
"max-params": "off", "max-params": "off",
"unicorn/prefer-at": "off",
"unicorn/no-this-assignment": "off" "unicorn/no-this-assignment": "off"
} }
} }