Skip to content

Commit

Permalink
Update dev-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Feb 3, 2025
1 parent 241ced9 commit 36727b6
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default function rehypeHighlight(options) {

if (prefix) {
const pos = prefix.indexOf('-')
name = pos > -1 ? prefix.slice(0, pos) : prefix
name = pos === -1 ? prefix : prefix.slice(0, pos)
}

/**
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@
"prettier": "^3.0.0",
"rehype": "^13.0.0",
"remark-cli": "^12.0.0",
"remark-preset-wooorm": "^10.0.0",
"remark-preset-wooorm": "^11.0.0",
"type-coverage": "^2.0.0",
"typescript": "^5.0.0",
"xo": "^0.59.0"
"xo": "^0.60.0"
},
"scripts": {
"build": "tsc --build --clean && tsc --build && type-coverage",
Expand Down
58 changes: 29 additions & 29 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -453,52 +453,46 @@ abide by its terms.
<!-- Definitions -->
[build-badge]: https://github.com/rehypejs/rehype-highlight/workflows/main/badge.svg
[build]: https://github.com/rehypejs/rehype-highlight/actions
[api-options]: #options
[coverage-badge]: https://img.shields.io/codecov/c/github/rehypejs/rehype-highlight.svg
[api-rehype-highlight]: #unifieduserehypehighlight-options
[coverage]: https://codecov.io/github/rehypejs/rehype-highlight
[author]: https://wooorm.com
[downloads-badge]: https://img.shields.io/npm/dm/rehype-highlight.svg
[backers-badge]: https://opencollective.com/unified/backers/badge.svg
[downloads]: https://www.npmjs.com/package/rehype-highlight
[build]: https://github.com/rehypejs/rehype-highlight/actions
[size-badge]: https://img.shields.io/bundlejs/size/rehype-highlight
[build-badge]: https://github.com/rehypejs/rehype-highlight/workflows/main/badge.svg
[size]: https://bundlejs.com/?q=rehype-highlight
[chat]: https://github.com/rehypejs/rehype/discussions
[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg
[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg
[backers-badge]: https://opencollective.com/unified/backers/badge.svg
[coc]: https://github.com/rehypejs/.github/blob/HEAD/code-of-conduct.md
[collective]: https://opencollective.com/unified
[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg
[contributing]: https://github.com/rehypejs/.github/blob/HEAD/contributing.md
[chat]: https://github.com/rehypejs/rehype/discussions
[coverage]: https://codecov.io/github/rehypejs/rehype-highlight
[npm]: https://docs.npmjs.com/cli/install
[coverage-badge]: https://img.shields.io/codecov/c/github/rehypejs/rehype-highlight.svg
[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
[downloads]: https://www.npmjs.com/package/rehype-highlight
[esmsh]: https://esm.sh
[downloads-badge]: https://img.shields.io/npm/dm/rehype-highlight.svg
[health]: https://github.com/rehypejs/.github
[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
[contributing]: https://github.com/rehypejs/.github/blob/HEAD/contributing.md
[esmsh]: https://esm.sh
[support]: https://github.com/rehypejs/.github/blob/HEAD/support.md
[github-lowlight-css]: https://github.com/wooorm/lowlight#css
[coc]: https://github.com/rehypejs/.github/blob/HEAD/code-of-conduct.md
[health]: https://github.com/rehypejs/.github
[license]: license
[author]: https://wooorm.com
[github-lowlight-css]: https://github.com/wooorm/lowlight#css
[lowlight]: https://github.com/wooorm/lowlight
[lowlight-all]: https://github.com/wooorm/lowlight#all
Expand All @@ -509,20 +503,26 @@ abide by its terms.
[lowlight-register-alias]: https://github.com/wooorm/lowlight#lowlightregisteraliasaliases
[npm]: https://docs.npmjs.com/cli/install
[rehype]: https://github.com/rehypejs/rehype
[rehype-highlight-code-lines]: https://github.com/ipikuka/rehype-highlight-code-lines
[rehype-sanitize]: https://github.com/rehypejs/rehype-sanitize
[rehype-starry-night]: https://github.com/rehypejs/rehype-starry-night
[rehype-highlight-code-lines]: https://github.com/ipikuka/rehype-highlight-code-lines
[size]: https://bundlejs.com/?q=rehype-highlight
[size-badge]: https://img.shields.io/bundlejs/size/rehype-highlight
[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg
[support]: https://github.com/rehypejs/.github/blob/HEAD/support.md
[typescript]: https://www.typescriptlang.org
[unified]: https://github.com/unifiedjs/unified
[unified-transformer]: https://github.com/unifiedjs/unified#transformer
[api-options]: #options
[api-rehype-highlight]: #unifieduserehypehighlight-options

0 comments on commit 36727b6

Please sign in to comment.