The Trans Directory
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore(deps): bump the production-dependencies group with 8 updates (#1788)

* chore(deps): bump the production-dependencies group with 8 updates

Bumps the production-dependencies group with 8 updates:

| Package | From | To |
| --- | --- | --- |
| [hast-util-to-html](https://github.com/syntax-tree/hast-util-to-html) | `9.0.4` | `9.0.5` |
| [hast-util-to-jsx-runtime](https://github.com/syntax-tree/hast-util-to-jsx-runtime) | `2.3.2` | `2.3.4` |
| [preact](https://github.com/preactjs/preact) | `10.26.0` | `10.26.2` |
| [rehype-mathjax](https://github.com/remarkjs/remark-math) | `7.0.0` | `7.1.0` |
| [ws](https://github.com/websockets/ws) | `8.18.0` | `8.18.1` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.13.4` | `22.13.5` |
| [prettier](https://github.com/prettier/prettier) | `3.5.1` | `3.5.2` |
| [tsx](https://github.com/privatenumber/tsx) | `4.19.2` | `4.19.3` |


Updates `hast-util-to-html` from 9.0.4 to 9.0.5
- [Release notes](https://github.com/syntax-tree/hast-util-to-html/releases)
- [Commits](https://github.com/syntax-tree/hast-util-to-html/compare/9.0.4...9.0.5)

Updates `hast-util-to-jsx-runtime` from 2.3.2 to 2.3.4
- [Release notes](https://github.com/syntax-tree/hast-util-to-jsx-runtime/releases)
- [Commits](https://github.com/syntax-tree/hast-util-to-jsx-runtime/compare/2.3.2...2.3.4)

Updates `preact` from 10.26.0 to 10.26.2
- [Release notes](https://github.com/preactjs/preact/releases)
- [Commits](https://github.com/preactjs/preact/compare/10.26.0...10.26.2)

Updates `rehype-mathjax` from 7.0.0 to 7.1.0
- [Release notes](https://github.com/remarkjs/remark-math/releases)
- [Commits](https://github.com/remarkjs/remark-math/compare/rehype-mathjax@7.0.0...rehype-mathjax@7.1.0)

Updates `ws` from 8.18.0 to 8.18.1
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.18.0...8.18.1)

Updates `@types/node` from 22.13.4 to 22.13.5
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `prettier` from 3.5.1 to 3.5.2
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.5.1...3.5.2)

Updates `tsx` from 4.19.2 to 4.19.3
- [Release notes](https://github.com/privatenumber/tsx/releases)
- [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs)
- [Commits](https://github.com/privatenumber/tsx/compare/v4.19.2...v4.19.3)

---
updated-dependencies:
- dependency-name: hast-util-to-html
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: hast-util-to-jsx-runtime
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: preact
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: rehype-mathjax
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: production-dependencies
- dependency-name: ws
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: tsx
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: production-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: update type error

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron Pham <contact@aarnphm.xyz>

authored by

dependabot[bot]
dependabot[bot]
Aaron Pham
and committed by
GitHub
4901472a 28fe9b20

+77 -470
+61 -459
package-lock.json
··· 24 24 "github-slugger": "^2.0.0", 25 25 "globby": "^14.1.0", 26 26 "gray-matter": "^4.0.3", 27 - "hast-util-to-html": "^9.0.4", 28 - "hast-util-to-jsx-runtime": "^2.3.2", 27 + "hast-util-to-html": "^9.0.5", 28 + "hast-util-to-jsx-runtime": "^2.3.4", 29 29 "hast-util-to-string": "^3.0.1", 30 30 "is-absolute-url": "^4.0.1", 31 31 "js-yaml": "^4.1.0", ··· 35 35 "mdast-util-to-string": "^4.0.0", 36 36 "micromorph": "^0.4.5", 37 37 "pixi.js": "^8.8.0", 38 - "preact": "^10.26.0", 38 + "preact": "^10.26.2", 39 39 "preact-render-to-string": "^6.5.13", 40 40 "pretty-bytes": "^6.1.1", 41 41 "pretty-time": "^1.1.0", ··· 43 43 "rehype-autolink-headings": "^7.1.0", 44 44 "rehype-citation": "^2.2.2", 45 45 "rehype-katex": "^7.0.1", 46 - "rehype-mathjax": "^7.0.0", 46 + "rehype-mathjax": "^7.1.0", 47 47 "rehype-pretty-code": "^0.14.0", 48 48 "rehype-raw": "^7.0.0", 49 49 "rehype-slug": "^6.0.0", ··· 68 68 "unist-util-visit": "^5.0.0", 69 69 "vfile": "^6.0.3", 70 70 "workerpool": "^9.2.0", 71 - "ws": "^8.18.0", 71 + "ws": "^8.18.1", 72 72 "yargs": "^17.7.2" 73 73 }, 74 74 "bin": { ··· 79 79 "@types/d3": "^7.4.3", 80 80 "@types/hast": "^3.0.4", 81 81 "@types/js-yaml": "^4.0.9", 82 - "@types/node": "^22.13.4", 82 + "@types/node": "^22.13.5", 83 83 "@types/pretty-time": "^1.1.5", 84 84 "@types/source-map-support": "^0.5.10", 85 85 "@types/ws": "^8.5.14", 86 86 "@types/yargs": "^17.0.33", 87 87 "esbuild": "^0.25.0", 88 - "prettier": "^3.5.1", 89 - "tsx": "^4.19.2", 88 + "prettier": "^3.5.2", 89 + "tsx": "^4.19.3", 90 90 "typescript": "^5.7.3" 91 91 }, 92 92 "engines": { ··· 505 505 "optional": true, 506 506 "os": [ 507 507 "netbsd" 508 - ], 509 - "engines": { 510 - "node": ">=18" 511 - } 512 - }, 513 - "node_modules/@esbuild/openbsd-arm64": { 514 - "version": "0.23.0", 515 - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.23.0.tgz", 516 - "integrity": "sha512-suXjq53gERueVWu0OKxzWqk7NxiUWSUlrxoZK7usiF50C6ipColGR5qie2496iKGYNLhDZkPxBI3erbnYkU0rQ==", 517 - "cpu": [ 518 - "arm64" 519 - ], 520 - "dev": true, 521 - "optional": true, 522 - "os": [ 523 - "openbsd" 524 508 ], 525 509 "engines": { 526 510 "node": ">=18" ··· 1932 1916 } 1933 1917 }, 1934 1918 "node_modules/@types/node": { 1935 - "version": "22.13.4", 1936 - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.13.4.tgz", 1937 - "integrity": "sha512-ywP2X0DYtX3y08eFVx5fNIw7/uIv8hYUKgXoK8oayJlLnKcRfEYCxWMVE1XagUdVtCJlZT1AU4LXEABW+L1Peg==", 1919 + "version": "22.13.5", 1920 + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.13.5.tgz", 1921 + "integrity": "sha512-+lTU0PxZXn0Dr1NBtC7Y8cR21AJr87dLLU953CWA6pMxxv/UDc7jYAY90upcrie1nRcD6XNG5HOYEDtgW5TxAg==", 1938 1922 "dev": true, 1939 1923 "license": "MIT", 1940 1924 "dependencies": { ··· 3519 3503 "integrity": "sha512-dqId9J8K/vGi5Zr7oo212BGii5m3q5Hxlkwy3WpYuKPklmBEvsbMYYyLxAQpSffdLl/gdW0XUpKWFvYmyoWCoQ==" 3520 3504 }, 3521 3505 "node_modules/hast-util-to-html": { 3522 - "version": "9.0.4", 3523 - "resolved": "https://registry.npmjs.org/hast-util-to-html/-/hast-util-to-html-9.0.4.tgz", 3524 - "integrity": "sha512-wxQzXtdbhiwGAUKrnQJXlOPmHnEehzphwkK7aluUPQ+lEc1xefC8pblMgpp2w5ldBTEfveRIrADcrhGIWrlTDA==", 3506 + "version": "9.0.5", 3507 + "resolved": "https://registry.npmjs.org/hast-util-to-html/-/hast-util-to-html-9.0.5.tgz", 3508 + "integrity": "sha512-OguPdidb+fbHQSU4Q4ZiLKnzWo8Wwsf5bZfbvu7//a9oTYoqD/fWpe96NuHkoS9h0ccGOTe0C4NGXdtS0iObOw==", 3509 + "license": "MIT", 3525 3510 "dependencies": { 3526 3511 "@types/hast": "^3.0.0", 3527 3512 "@types/unist": "^3.0.0", ··· 3530 3515 "hast-util-whitespace": "^3.0.0", 3531 3516 "html-void-elements": "^3.0.0", 3532 3517 "mdast-util-to-hast": "^13.0.0", 3533 - "property-information": "^6.0.0", 3518 + "property-information": "^7.0.0", 3534 3519 "space-separated-tokens": "^2.0.0", 3535 3520 "stringify-entities": "^4.0.0", 3536 3521 "zwitch": "^2.0.4" ··· 3545 3530 "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.2.tgz", 3546 3531 "integrity": "sha512-dqId9J8K/vGi5Zr7oo212BGii5m3q5Hxlkwy3WpYuKPklmBEvsbMYYyLxAQpSffdLl/gdW0XUpKWFvYmyoWCoQ==" 3547 3532 }, 3533 + "node_modules/hast-util-to-html/node_modules/property-information": { 3534 + "version": "7.0.0", 3535 + "resolved": "https://registry.npmjs.org/property-information/-/property-information-7.0.0.tgz", 3536 + "integrity": "sha512-7D/qOz/+Y4X/rzSB6jKxKUsQnphO046ei8qxG59mtM3RG3DHgTK81HrxrmoDVINJb8NKT5ZsRbwHvQ6B68Iyhg==", 3537 + "license": "MIT", 3538 + "funding": { 3539 + "type": "github", 3540 + "url": "https://github.com/sponsors/wooorm" 3541 + } 3542 + }, 3548 3543 "node_modules/hast-util-to-jsx-runtime": { 3549 - "version": "2.3.2", 3550 - "resolved": "https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.2.tgz", 3551 - "integrity": "sha512-1ngXYb+V9UT5h+PxNRa1O1FYguZK/XL+gkeqvp7EdHlB9oHUG0eYRo/vY5inBdcqo3RkPMC58/H94HvkbfGdyg==", 3544 + "version": "2.3.4", 3545 + "resolved": "https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.4.tgz", 3546 + "integrity": "sha512-2GSifZSlBD35z6/+sp+btB333wHFPck/rrlKZMc9IOUJk6anHuQuqC/oNI80Pj717wo8JCPdXjjasVqQu3UH8Q==", 3547 + "license": "MIT", 3552 3548 "dependencies": { 3553 3549 "@types/estree": "^1.0.0", 3554 3550 "@types/hast": "^3.0.0", ··· 3560 3556 "mdast-util-mdx-expression": "^2.0.0", 3561 3557 "mdast-util-mdx-jsx": "^3.0.0", 3562 3558 "mdast-util-mdxjs-esm": "^2.0.0", 3563 - "property-information": "^6.0.0", 3559 + "property-information": "^7.0.0", 3564 3560 "space-separated-tokens": "^2.0.0", 3565 3561 "style-to-object": "^1.0.0", 3566 3562 "unist-util-position": "^5.0.0", ··· 3575 3571 "version": "3.0.2", 3576 3572 "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.2.tgz", 3577 3573 "integrity": "sha512-dqId9J8K/vGi5Zr7oo212BGii5m3q5Hxlkwy3WpYuKPklmBEvsbMYYyLxAQpSffdLl/gdW0XUpKWFvYmyoWCoQ==" 3574 + }, 3575 + "node_modules/hast-util-to-jsx-runtime/node_modules/property-information": { 3576 + "version": "7.0.0", 3577 + "resolved": "https://registry.npmjs.org/property-information/-/property-information-7.0.0.tgz", 3578 + "integrity": "sha512-7D/qOz/+Y4X/rzSB6jKxKUsQnphO046ei8qxG59mtM3RG3DHgTK81HrxrmoDVINJb8NKT5ZsRbwHvQ6B68Iyhg==", 3579 + "license": "MIT", 3580 + "funding": { 3581 + "type": "github", 3582 + "url": "https://github.com/sponsors/wooorm" 3583 + } 3578 3584 }, 3579 3585 "node_modules/hast-util-to-jsx-runtime/node_modules/unist-util-stringify-position": { 3580 3586 "version": "4.0.0", ··· 5485 5491 "license": "MIT" 5486 5492 }, 5487 5493 "node_modules/preact": { 5488 - "version": "10.26.0", 5489 - "resolved": "https://registry.npmjs.org/preact/-/preact-10.26.0.tgz", 5490 - "integrity": "sha512-6ugi/Mb7lyV5RA6KlnijFyDLMU253i7L0RRiObIzDoqj59KT9iTeNJbA/YGw6M7jP4vxaab0DOA8DgodTOA6EQ==", 5494 + "version": "10.26.2", 5495 + "resolved": "https://registry.npmjs.org/preact/-/preact-10.26.2.tgz", 5496 + "integrity": "sha512-0gNmv4qpS9HaN3+40CLBAnKe0ZfyE4ZWo5xKlC1rVrr0ckkEvJvAQqKaHANdFKsGstoxrY4AItZ7kZSGVoVjgg==", 5491 5497 "license": "MIT", 5492 5498 "funding": { 5493 5499 "type": "opencollective", ··· 5503 5509 } 5504 5510 }, 5505 5511 "node_modules/prettier": { 5506 - "version": "3.5.1", 5507 - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.1.tgz", 5508 - "integrity": "sha512-hPpFQvHwL3Qv5AdRvBFMhnKo4tYxp0ReXiPn2bxkiohEX6mBeBwEpBSQTkD458RaaDKQMYSp4hX4UtfUTA5wDw==", 5512 + "version": "3.5.2", 5513 + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.2.tgz", 5514 + "integrity": "sha512-lc6npv5PH7hVqozBR7lkBNOGXV9vMwROAPlumdBkX0wTbbzPu/U1hk5yL8p2pt4Xoc+2mkT8t/sow2YrV/M5qg==", 5509 5515 "dev": true, 5510 5516 "license": "MIT", 5511 5517 "bin": { ··· 5670 5676 } 5671 5677 }, 5672 5678 "node_modules/rehype-mathjax": { 5673 - "version": "7.0.0", 5674 - "resolved": "https://registry.npmjs.org/rehype-mathjax/-/rehype-mathjax-7.0.0.tgz", 5675 - "integrity": "sha512-xdzj8L1y0Zgai/+N3wpi/xIdiHbOJSaz3FFMZLnhnizEMzcl6Zt5LmMZfQ+J5DYo5fyjKGw/pMaJonds1apo/Q==", 5679 + "version": "7.1.0", 5680 + "resolved": "https://registry.npmjs.org/rehype-mathjax/-/rehype-mathjax-7.1.0.tgz", 5681 + "integrity": "sha512-mJHNpoqCC5UZ24OKx0wNjlzV18qeJz/Q/LtEjxXzt8vqrZ1Z3GxQnVrHcF5/PogcXUK8cWwJ4U/LWOQWEiABHw==", 5676 5682 "license": "MIT", 5677 5683 "dependencies": { 5678 5684 "@types/hast": "^3.0.0", ··· 5681 5687 "hastscript": "^9.0.0", 5682 5688 "mathjax-full": "^3.0.0", 5683 5689 "unified": "^11.0.0", 5684 - "unist-util-visit-parents": "^6.0.0" 5690 + "unist-util-visit-parents": "^6.0.0", 5691 + "vfile": "^6.0.0" 5685 5692 }, 5686 5693 "funding": { 5687 5694 "type": "opencollective", ··· 6941 6948 "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" 6942 6949 }, 6943 6950 "node_modules/tsx": { 6944 - "version": "4.19.2", 6945 - "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.19.2.tgz", 6946 - "integrity": "sha512-pOUl6Vo2LUq/bSa8S5q7b91cgNSjctn9ugq/+Mvow99qW6x/UZYwzxy/3NmqoT66eHYfCVvFvACC58UBPFf28g==", 6951 + "version": "4.19.3", 6952 + "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.19.3.tgz", 6953 + "integrity": "sha512-4H8vUNGNjQ4V2EOoGw005+c+dGuPSnhpPBPHBtsZdGZBk/iJb4kguGlPWaZTZ3q5nMtFOEsY0nRDlh9PJyd6SQ==", 6947 6954 "dev": true, 6955 + "license": "MIT", 6948 6956 "dependencies": { 6949 - "esbuild": "~0.23.0", 6957 + "esbuild": "~0.25.0", 6950 6958 "get-tsconfig": "^4.7.5" 6951 6959 }, 6952 6960 "bin": { ··· 6959 6967 "fsevents": "~2.3.3" 6960 6968 } 6961 6969 }, 6962 - "node_modules/tsx/node_modules/@esbuild/aix-ppc64": { 6963 - "version": "0.23.0", 6964 - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.23.0.tgz", 6965 - "integrity": "sha512-3sG8Zwa5fMcA9bgqB8AfWPQ+HFke6uD3h1s3RIwUNK8EG7a4buxvuFTs3j1IMs2NXAk9F30C/FF4vxRgQCcmoQ==", 6966 - "cpu": [ 6967 - "ppc64" 6968 - ], 6969 - "dev": true, 6970 - "optional": true, 6971 - "os": [ 6972 - "aix" 6973 - ], 6974 - "engines": { 6975 - "node": ">=18" 6976 - } 6977 - }, 6978 - "node_modules/tsx/node_modules/@esbuild/android-arm": { 6979 - "version": "0.23.0", 6980 - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.23.0.tgz", 6981 - "integrity": "sha512-+KuOHTKKyIKgEEqKbGTK8W7mPp+hKinbMBeEnNzjJGyFcWsfrXjSTNluJHCY1RqhxFurdD8uNXQDei7qDlR6+g==", 6982 - "cpu": [ 6983 - "arm" 6984 - ], 6985 - "dev": true, 6986 - "optional": true, 6987 - "os": [ 6988 - "android" 6989 - ], 6990 - "engines": { 6991 - "node": ">=18" 6992 - } 6993 - }, 6994 - "node_modules/tsx/node_modules/@esbuild/android-arm64": { 6995 - "version": "0.23.0", 6996 - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.23.0.tgz", 6997 - "integrity": "sha512-EuHFUYkAVfU4qBdyivULuu03FhJO4IJN9PGuABGrFy4vUuzk91P2d+npxHcFdpUnfYKy0PuV+n6bKIpHOB3prQ==", 6998 - "cpu": [ 6999 - "arm64" 7000 - ], 7001 - "dev": true, 7002 - "optional": true, 7003 - "os": [ 7004 - "android" 7005 - ], 7006 - "engines": { 7007 - "node": ">=18" 7008 - } 7009 - }, 7010 - "node_modules/tsx/node_modules/@esbuild/android-x64": { 7011 - "version": "0.23.0", 7012 - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.23.0.tgz", 7013 - "integrity": "sha512-WRrmKidLoKDl56LsbBMhzTTBxrsVwTKdNbKDalbEZr0tcsBgCLbEtoNthOW6PX942YiYq8HzEnb4yWQMLQuipQ==", 7014 - "cpu": [ 7015 - "x64" 7016 - ], 7017 - "dev": true, 7018 - "optional": true, 7019 - "os": [ 7020 - "android" 7021 - ], 7022 - "engines": { 7023 - "node": ">=18" 7024 - } 7025 - }, 7026 - "node_modules/tsx/node_modules/@esbuild/darwin-arm64": { 7027 - "version": "0.23.0", 7028 - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.23.0.tgz", 7029 - "integrity": "sha512-YLntie/IdS31H54Ogdn+v50NuoWF5BDkEUFpiOChVa9UnKpftgwzZRrI4J132ETIi+D8n6xh9IviFV3eXdxfow==", 7030 - "cpu": [ 7031 - "arm64" 7032 - ], 7033 - "dev": true, 7034 - "optional": true, 7035 - "os": [ 7036 - "darwin" 7037 - ], 7038 - "engines": { 7039 - "node": ">=18" 7040 - } 7041 - }, 7042 - "node_modules/tsx/node_modules/@esbuild/darwin-x64": { 7043 - "version": "0.23.0", 7044 - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.23.0.tgz", 7045 - "integrity": "sha512-IMQ6eme4AfznElesHUPDZ+teuGwoRmVuuixu7sv92ZkdQcPbsNHzutd+rAfaBKo8YK3IrBEi9SLLKWJdEvJniQ==", 7046 - "cpu": [ 7047 - "x64" 7048 - ], 7049 - "dev": true, 7050 - "optional": true, 7051 - "os": [ 7052 - "darwin" 7053 - ], 7054 - "engines": { 7055 - "node": ">=18" 7056 - } 7057 - }, 7058 - "node_modules/tsx/node_modules/@esbuild/freebsd-arm64": { 7059 - "version": "0.23.0", 7060 - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.23.0.tgz", 7061 - "integrity": "sha512-0muYWCng5vqaxobq6LB3YNtevDFSAZGlgtLoAc81PjUfiFz36n4KMpwhtAd4he8ToSI3TGyuhyx5xmiWNYZFyw==", 7062 - "cpu": [ 7063 - "arm64" 7064 - ], 7065 - "dev": true, 7066 - "optional": true, 7067 - "os": [ 7068 - "freebsd" 7069 - ], 7070 - "engines": { 7071 - "node": ">=18" 7072 - } 7073 - }, 7074 - "node_modules/tsx/node_modules/@esbuild/freebsd-x64": { 7075 - "version": "0.23.0", 7076 - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.23.0.tgz", 7077 - "integrity": "sha512-XKDVu8IsD0/q3foBzsXGt/KjD/yTKBCIwOHE1XwiXmrRwrX6Hbnd5Eqn/WvDekddK21tfszBSrE/WMaZh+1buQ==", 7078 - "cpu": [ 7079 - "x64" 7080 - ], 7081 - "dev": true, 7082 - "optional": true, 7083 - "os": [ 7084 - "freebsd" 7085 - ], 7086 - "engines": { 7087 - "node": ">=18" 7088 - } 7089 - }, 7090 - "node_modules/tsx/node_modules/@esbuild/linux-arm": { 7091 - "version": "0.23.0", 7092 - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.23.0.tgz", 7093 - "integrity": "sha512-SEELSTEtOFu5LPykzA395Mc+54RMg1EUgXP+iw2SJ72+ooMwVsgfuwXo5Fn0wXNgWZsTVHwY2cg4Vi/bOD88qw==", 7094 - "cpu": [ 7095 - "arm" 7096 - ], 7097 - "dev": true, 7098 - "optional": true, 7099 - "os": [ 7100 - "linux" 7101 - ], 7102 - "engines": { 7103 - "node": ">=18" 7104 - } 7105 - }, 7106 - "node_modules/tsx/node_modules/@esbuild/linux-arm64": { 7107 - "version": "0.23.0", 7108 - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.23.0.tgz", 7109 - "integrity": "sha512-j1t5iG8jE7BhonbsEg5d9qOYcVZv/Rv6tghaXM/Ug9xahM0nX/H2gfu6X6z11QRTMT6+aywOMA8TDkhPo8aCGw==", 7110 - "cpu": [ 7111 - "arm64" 7112 - ], 7113 - "dev": true, 7114 - "optional": true, 7115 - "os": [ 7116 - "linux" 7117 - ], 7118 - "engines": { 7119 - "node": ">=18" 7120 - } 7121 - }, 7122 - "node_modules/tsx/node_modules/@esbuild/linux-ia32": { 7123 - "version": "0.23.0", 7124 - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.23.0.tgz", 7125 - "integrity": "sha512-P7O5Tkh2NbgIm2R6x1zGJJsnacDzTFcRWZyTTMgFdVit6E98LTxO+v8LCCLWRvPrjdzXHx9FEOA8oAZPyApWUA==", 7126 - "cpu": [ 7127 - "ia32" 7128 - ], 7129 - "dev": true, 7130 - "optional": true, 7131 - "os": [ 7132 - "linux" 7133 - ], 7134 - "engines": { 7135 - "node": ">=18" 7136 - } 7137 - }, 7138 - "node_modules/tsx/node_modules/@esbuild/linux-loong64": { 7139 - "version": "0.23.0", 7140 - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.23.0.tgz", 7141 - "integrity": "sha512-InQwepswq6urikQiIC/kkx412fqUZudBO4SYKu0N+tGhXRWUqAx+Q+341tFV6QdBifpjYgUndV1hhMq3WeJi7A==", 7142 - "cpu": [ 7143 - "loong64" 7144 - ], 7145 - "dev": true, 7146 - "optional": true, 7147 - "os": [ 7148 - "linux" 7149 - ], 7150 - "engines": { 7151 - "node": ">=18" 7152 - } 7153 - }, 7154 - "node_modules/tsx/node_modules/@esbuild/linux-mips64el": { 7155 - "version": "0.23.0", 7156 - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.23.0.tgz", 7157 - "integrity": "sha512-J9rflLtqdYrxHv2FqXE2i1ELgNjT+JFURt/uDMoPQLcjWQA5wDKgQA4t/dTqGa88ZVECKaD0TctwsUfHbVoi4w==", 7158 - "cpu": [ 7159 - "mips64el" 7160 - ], 7161 - "dev": true, 7162 - "optional": true, 7163 - "os": [ 7164 - "linux" 7165 - ], 7166 - "engines": { 7167 - "node": ">=18" 7168 - } 7169 - }, 7170 - "node_modules/tsx/node_modules/@esbuild/linux-ppc64": { 7171 - "version": "0.23.0", 7172 - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.23.0.tgz", 7173 - "integrity": "sha512-cShCXtEOVc5GxU0fM+dsFD10qZ5UpcQ8AM22bYj0u/yaAykWnqXJDpd77ublcX6vdDsWLuweeuSNZk4yUxZwtw==", 7174 - "cpu": [ 7175 - "ppc64" 7176 - ], 7177 - "dev": true, 7178 - "optional": true, 7179 - "os": [ 7180 - "linux" 7181 - ], 7182 - "engines": { 7183 - "node": ">=18" 7184 - } 7185 - }, 7186 - "node_modules/tsx/node_modules/@esbuild/linux-riscv64": { 7187 - "version": "0.23.0", 7188 - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.23.0.tgz", 7189 - "integrity": "sha512-HEtaN7Y5UB4tZPeQmgz/UhzoEyYftbMXrBCUjINGjh3uil+rB/QzzpMshz3cNUxqXN7Vr93zzVtpIDL99t9aRw==", 7190 - "cpu": [ 7191 - "riscv64" 7192 - ], 7193 - "dev": true, 7194 - "optional": true, 7195 - "os": [ 7196 - "linux" 7197 - ], 7198 - "engines": { 7199 - "node": ">=18" 7200 - } 7201 - }, 7202 - "node_modules/tsx/node_modules/@esbuild/linux-s390x": { 7203 - "version": "0.23.0", 7204 - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.23.0.tgz", 7205 - "integrity": "sha512-WDi3+NVAuyjg/Wxi+o5KPqRbZY0QhI9TjrEEm+8dmpY9Xir8+HE/HNx2JoLckhKbFopW0RdO2D72w8trZOV+Wg==", 7206 - "cpu": [ 7207 - "s390x" 7208 - ], 7209 - "dev": true, 7210 - "optional": true, 7211 - "os": [ 7212 - "linux" 7213 - ], 7214 - "engines": { 7215 - "node": ">=18" 7216 - } 7217 - }, 7218 - "node_modules/tsx/node_modules/@esbuild/linux-x64": { 7219 - "version": "0.23.0", 7220 - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.23.0.tgz", 7221 - "integrity": "sha512-a3pMQhUEJkITgAw6e0bWA+F+vFtCciMjW/LPtoj99MhVt+Mfb6bbL9hu2wmTZgNd994qTAEw+U/r6k3qHWWaOQ==", 7222 - "cpu": [ 7223 - "x64" 7224 - ], 7225 - "dev": true, 7226 - "optional": true, 7227 - "os": [ 7228 - "linux" 7229 - ], 7230 - "engines": { 7231 - "node": ">=18" 7232 - } 7233 - }, 7234 - "node_modules/tsx/node_modules/@esbuild/netbsd-x64": { 7235 - "version": "0.23.0", 7236 - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.23.0.tgz", 7237 - "integrity": "sha512-cRK+YDem7lFTs2Q5nEv/HHc4LnrfBCbH5+JHu6wm2eP+d8OZNoSMYgPZJq78vqQ9g+9+nMuIsAO7skzphRXHyw==", 7238 - "cpu": [ 7239 - "x64" 7240 - ], 7241 - "dev": true, 7242 - "optional": true, 7243 - "os": [ 7244 - "netbsd" 7245 - ], 7246 - "engines": { 7247 - "node": ">=18" 7248 - } 7249 - }, 7250 - "node_modules/tsx/node_modules/@esbuild/openbsd-x64": { 7251 - "version": "0.23.0", 7252 - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.23.0.tgz", 7253 - "integrity": "sha512-6p3nHpby0DM/v15IFKMjAaayFhqnXV52aEmv1whZHX56pdkK+MEaLoQWj+H42ssFarP1PcomVhbsR4pkz09qBg==", 7254 - "cpu": [ 7255 - "x64" 7256 - ], 7257 - "dev": true, 7258 - "optional": true, 7259 - "os": [ 7260 - "openbsd" 7261 - ], 7262 - "engines": { 7263 - "node": ">=18" 7264 - } 7265 - }, 7266 - "node_modules/tsx/node_modules/@esbuild/sunos-x64": { 7267 - "version": "0.23.0", 7268 - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.23.0.tgz", 7269 - "integrity": "sha512-BFelBGfrBwk6LVrmFzCq1u1dZbG4zy/Kp93w2+y83Q5UGYF1d8sCzeLI9NXjKyujjBBniQa8R8PzLFAUrSM9OA==", 7270 - "cpu": [ 7271 - "x64" 7272 - ], 7273 - "dev": true, 7274 - "optional": true, 7275 - "os": [ 7276 - "sunos" 7277 - ], 7278 - "engines": { 7279 - "node": ">=18" 7280 - } 7281 - }, 7282 - "node_modules/tsx/node_modules/@esbuild/win32-arm64": { 7283 - "version": "0.23.0", 7284 - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.23.0.tgz", 7285 - "integrity": "sha512-lY6AC8p4Cnb7xYHuIxQ6iYPe6MfO2CC43XXKo9nBXDb35krYt7KGhQnOkRGar5psxYkircpCqfbNDB4uJbS2jQ==", 7286 - "cpu": [ 7287 - "arm64" 7288 - ], 7289 - "dev": true, 7290 - "optional": true, 7291 - "os": [ 7292 - "win32" 7293 - ], 7294 - "engines": { 7295 - "node": ">=18" 7296 - } 7297 - }, 7298 - "node_modules/tsx/node_modules/@esbuild/win32-ia32": { 7299 - "version": "0.23.0", 7300 - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.23.0.tgz", 7301 - "integrity": "sha512-7L1bHlOTcO4ByvI7OXVI5pNN6HSu6pUQq9yodga8izeuB1KcT2UkHaH6118QJwopExPn0rMHIseCTx1CRo/uNA==", 7302 - "cpu": [ 7303 - "ia32" 7304 - ], 7305 - "dev": true, 7306 - "optional": true, 7307 - "os": [ 7308 - "win32" 7309 - ], 7310 - "engines": { 7311 - "node": ">=18" 7312 - } 7313 - }, 7314 - "node_modules/tsx/node_modules/@esbuild/win32-x64": { 7315 - "version": "0.23.0", 7316 - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.23.0.tgz", 7317 - "integrity": "sha512-Arm+WgUFLUATuoxCJcahGuk6Yj9Pzxd6l11Zb/2aAuv5kWWvvfhLFo2fni4uSK5vzlUdCGZ/BdV5tH8klj8p8g==", 7318 - "cpu": [ 7319 - "x64" 7320 - ], 7321 - "dev": true, 7322 - "optional": true, 7323 - "os": [ 7324 - "win32" 7325 - ], 7326 - "engines": { 7327 - "node": ">=18" 7328 - } 7329 - }, 7330 - "node_modules/tsx/node_modules/esbuild": { 7331 - "version": "0.23.0", 7332 - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.23.0.tgz", 7333 - "integrity": "sha512-1lvV17H2bMYda/WaFb2jLPeHU3zml2k4/yagNMG8Q/YtfMjCwEUZa2eXXMgZTVSL5q1n4H7sQ0X6CdJDqqeCFA==", 7334 - "dev": true, 7335 - "hasInstallScript": true, 7336 - "bin": { 7337 - "esbuild": "bin/esbuild" 7338 - }, 7339 - "engines": { 7340 - "node": ">=18" 7341 - }, 7342 - "optionalDependencies": { 7343 - "@esbuild/aix-ppc64": "0.23.0", 7344 - "@esbuild/android-arm": "0.23.0", 7345 - "@esbuild/android-arm64": "0.23.0", 7346 - "@esbuild/android-x64": "0.23.0", 7347 - "@esbuild/darwin-arm64": "0.23.0", 7348 - "@esbuild/darwin-x64": "0.23.0", 7349 - "@esbuild/freebsd-arm64": "0.23.0", 7350 - "@esbuild/freebsd-x64": "0.23.0", 7351 - "@esbuild/linux-arm": "0.23.0", 7352 - "@esbuild/linux-arm64": "0.23.0", 7353 - "@esbuild/linux-ia32": "0.23.0", 7354 - "@esbuild/linux-loong64": "0.23.0", 7355 - "@esbuild/linux-mips64el": "0.23.0", 7356 - "@esbuild/linux-ppc64": "0.23.0", 7357 - "@esbuild/linux-riscv64": "0.23.0", 7358 - "@esbuild/linux-s390x": "0.23.0", 7359 - "@esbuild/linux-x64": "0.23.0", 7360 - "@esbuild/netbsd-x64": "0.23.0", 7361 - "@esbuild/openbsd-arm64": "0.23.0", 7362 - "@esbuild/openbsd-x64": "0.23.0", 7363 - "@esbuild/sunos-x64": "0.23.0", 7364 - "@esbuild/win32-arm64": "0.23.0", 7365 - "@esbuild/win32-ia32": "0.23.0", 7366 - "@esbuild/win32-x64": "0.23.0" 7367 - } 7368 - }, 7369 6970 "node_modules/typescript": { 7370 6971 "version": "5.7.3", 7371 6972 "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz", ··· 7758 7359 } 7759 7360 }, 7760 7361 "node_modules/ws": { 7761 - "version": "8.18.0", 7762 - "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz", 7763 - "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", 7362 + "version": "8.18.1", 7363 + "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.1.tgz", 7364 + "integrity": "sha512-RKW2aJZMXeMxVpnZ6bck+RswznaxmzdULiBr6KY7XkTnW8uvt0iT9H5DkHUChXrc+uurzwa0rVI16n/Xzjdz1w==", 7365 + "license": "MIT", 7764 7366 "engines": { 7765 7367 "node": ">=10.0.0" 7766 7368 },
+8 -8
package.json
··· 50 50 "github-slugger": "^2.0.0", 51 51 "globby": "^14.1.0", 52 52 "gray-matter": "^4.0.3", 53 - "hast-util-to-html": "^9.0.4", 54 - "hast-util-to-jsx-runtime": "^2.3.2", 53 + "hast-util-to-html": "^9.0.5", 54 + "hast-util-to-jsx-runtime": "^2.3.4", 55 55 "hast-util-to-string": "^3.0.1", 56 56 "is-absolute-url": "^4.0.1", 57 57 "js-yaml": "^4.1.0", ··· 61 61 "mdast-util-to-string": "^4.0.0", 62 62 "micromorph": "^0.4.5", 63 63 "pixi.js": "^8.8.0", 64 - "preact": "^10.26.0", 64 + "preact": "^10.26.2", 65 65 "preact-render-to-string": "^6.5.13", 66 66 "pretty-bytes": "^6.1.1", 67 67 "pretty-time": "^1.1.0", ··· 69 69 "rehype-autolink-headings": "^7.1.0", 70 70 "rehype-citation": "^2.2.2", 71 71 "rehype-katex": "^7.0.1", 72 - "rehype-mathjax": "^7.0.0", 72 + "rehype-mathjax": "^7.1.0", 73 73 "rehype-pretty-code": "^0.14.0", 74 74 "rehype-raw": "^7.0.0", 75 75 "rehype-slug": "^6.0.0", ··· 94 94 "unist-util-visit": "^5.0.0", 95 95 "vfile": "^6.0.3", 96 96 "workerpool": "^9.2.0", 97 - "ws": "^8.18.0", 97 + "ws": "^8.18.1", 98 98 "yargs": "^17.7.2" 99 99 }, 100 100 "devDependencies": { ··· 102 102 "@types/d3": "^7.4.3", 103 103 "@types/hast": "^3.0.4", 104 104 "@types/js-yaml": "^4.0.9", 105 - "@types/node": "^22.13.4", 105 + "@types/node": "^22.13.5", 106 106 "@types/pretty-time": "^1.1.5", 107 107 "@types/source-map-support": "^0.5.10", 108 108 "@types/ws": "^8.5.14", 109 109 "@types/yargs": "^17.0.33", 110 110 "esbuild": "^0.25.0", 111 - "prettier": "^3.5.1", 112 - "tsx": "^4.19.2", 111 + "prettier": "^3.5.2", 112 + "tsx": "^4.19.3", 113 113 "typescript": "^5.7.3" 114 114 } 115 115 }
+2 -1
quartz/components/pages/Content.tsx
··· 1 + import { ComponentChildren } from "preact" 1 2 import { htmlToJsx } from "../../util/jsx" 2 3 import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } from "../types" 3 4 4 5 const Content: QuartzComponent = ({ fileData, tree }: QuartzComponentProps) => { 5 - const content = htmlToJsx(fileData.filePath!, tree) 6 + const content = htmlToJsx(fileData.filePath!, tree) as ComponentChildren 6 7 const classes: string[] = fileData.frontmatter?.cssclasses ?? [] 7 8 const classString = ["popover-hint", ...classes].join(" ") 8 9 return <article class={classString}>{content}</article>
+3 -1
quartz/components/pages/FolderContent.tsx
··· 8 8 import { htmlToJsx } from "../../util/jsx" 9 9 import { i18n } from "../../i18n" 10 10 import { QuartzPluginData } from "../../plugins/vfile" 11 + import { ComponentChildren } from "preact" 11 12 12 13 interface FolderContentOptions { 13 14 /** ··· 78 79 allFiles: allPagesInFolder, 79 80 } 80 81 81 - const content = 82 + const content = ( 82 83 (tree as Root).children.length === 0 83 84 ? fileData.description 84 85 : htmlToJsx(fileData.filePath!, tree) 86 + ) as ComponentChildren 85 87 86 88 return ( 87 89 <div class="popover-hint">
+3 -1
quartz/components/pages/TagContent.tsx
··· 6 6 import { Root } from "hast" 7 7 import { htmlToJsx } from "../../util/jsx" 8 8 import { i18n } from "../../i18n" 9 + import { ComponentChildren } from "preact" 9 10 10 11 interface TagContentOptions { 11 12 sort?: SortFn ··· 33 34 (file.frontmatter?.tags ?? []).flatMap(getAllSegmentPrefixes).includes(tag), 34 35 ) 35 36 36 - const content = 37 + const content = ( 37 38 (tree as Root).children.length === 0 38 39 ? fileData.description 39 40 : htmlToJsx(fileData.filePath!, tree) 41 + ) as ComponentChildren 40 42 const cssClasses: string[] = fileData.frontmatter?.cssclasses ?? [] 41 43 const classes = cssClasses.join(" ") 42 44 if (tag === "/") {