From e8b4fdb41f56b7bde1498a53c3e77f144d7f35d8 Mon Sep 17 00:00:00 2001 From: BeiyanYunyi <14120445+BeiyanYunyi@users.noreply.github.com> Date: Thu, 21 Nov 2024 23:45:36 +0800 Subject: [PATCH] fix(sodesu): :arrow_up: upgrade --- package.json | 2 +- pnpm-lock.yaml | 93 +++++--------------------------------------------- uno.config.ts | 4 +-- 3 files changed, 11 insertions(+), 88 deletions(-) diff --git a/package.json b/package.json index e7baa34..e07b967 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "rehype-katex": "^7.0.1", "remark-math": "^6.0.0", "sharp": "^0.33.5", - "sodesu-comment": "0.0.4", + "sodesu-comment": "^0.1.0", "solid-js": "^1.9.3", "unified": "^11.0.5", "unist-util-visit": "^5.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0f1988d..be8d0e6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -79,8 +79,8 @@ importers: specifier: ^0.33.5 version: 0.33.5 sodesu-comment: - specifier: 0.0.4 - version: 0.0.4(solid-js@1.9.3)(typescript@5.6.3) + specifier: ^0.1.0 + version: 0.1.0(solid-js@1.9.3)(typescript@5.6.3) solid-js: specifier: ^1.9.3 version: 1.9.3 @@ -1485,36 +1485,19 @@ packages: '@vue/shared@3.5.12': resolution: {integrity: sha512-L2RPSAwUFbgZH20etwrXyVyCBu9OxRSi8T/38QsvnkJyvq2LufW2lDCOzm7t/U9C1mkhJGWYfCuFBCmIuNivrg==} - '@vueuse/core@10.11.1': - resolution: {integrity: sha512-guoy26JQktXPcz+0n3GukWIy/JDNKti9v6VEMu6kV2sYBsWuGiTU8OWdg+ADfUbHg3/3DlqySDe7JmdHrktiww==} - '@vueuse/core@11.2.0': resolution: {integrity: sha512-JIUwRcOqOWzcdu1dGlfW04kaJhW3EXnnjJJfLTtddJanymTL7lF1C0+dVVZ/siLfc73mWn+cGP1PE1PKPruRSA==} - '@vueuse/metadata@10.11.1': - resolution: {integrity: sha512-IGa5FXd003Ug1qAZmyE8wF3sJ81xGLSqTqtQ6jaVfkeZ4i5kS2mwQF61yhVqojRnenVew5PldLyRgvdl4YYuSw==} - '@vueuse/metadata@11.2.0': resolution: {integrity: sha512-L0ZmtRmNx+ZW95DmrgD6vn484gSpVeRbgpWevFKXwqqQxW9hnSi2Ppuh2BzMjnbv4aJRiIw8tQatXT9uOB23dQ==} - '@vueuse/shared@10.11.1': - resolution: {integrity: sha512-LHpC8711VFZlDaYUXEBbFBCQ7GS3dVU9mjOhhMhXP6txTV4EhYQg/KGnQuvt/sPAtoUKq7VVUnL6mVtFoL42sA==} - '@vueuse/shared@11.2.0': resolution: {integrity: sha512-VxFjie0EanOudYSgMErxXfq6fo8vhr5ICI+BuE3I9FnX7ePllEsVrRQ7O6Q1TLgApeLuPKcHQxAXpP+KnlrJsg==} - '@waline/api@1.0.0-alpha.7': - resolution: {integrity: sha512-IcMah3Li+ueS2Wr0Odd9Ri/PPh1ePOdHLE4CAw1KZNPgNTeLw0lFak/+B4ttVZuW8eFq7DTSmxoUFHGLhi8WoQ==} - engines: {node: '>=18'} - '@waline/api@1.0.0-alpha.8': resolution: {integrity: sha512-S6pgUUfv+gcXU3hiW3PNUwiUvPy7bXmmLB/bwdU3hN5YVT5Q7CxyVSLA3oJkrNO5lcisKK1GBPv0H2W1uB0eGA==} engines: {node: '>=18'} - '@waline/client@3.1.3': - resolution: {integrity: sha512-jYSuu6Xihsz9Bg9YTXEwUho2vu3FXzxc+y3c3PscO8pYpShtVhrsVF9fzdpfKyh/FDIKa5BpCBOTkigMb2NK3A==} - engines: {node: '>=18'} - '@waline/client@3.3.2': resolution: {integrity: sha512-CK8ef5QafKt29AAz3n+bXNwzXdT/yh+pMRLxxTNH4RAMl0Wl3utqh3uA/gDpNRLWS4sOkFMASUC0ckbpeOAJNg==} engines: {node: '>=18'} @@ -2927,11 +2910,6 @@ packages: peerDependencies: marked: '>=4 <15' - marked@12.0.2: - resolution: {integrity: sha512-qXUm7e/YKFoqFPYPa3Ukg9xlI5cyAtGmyEIzMfW//m6kXwCy2Ps9DYf5ioijFKQ8qyuscrHoY04iJGctu2Kg0Q==} - engines: {node: '>= 18'} - hasBin: true - marked@14.1.3: resolution: {integrity: sha512-ZibJqTULGlt9g5k4VMARAktMAjXoVnnr+Y3aCqW1oDftcV4BA3UmrBifzXoZyenHRk75csiPu9iwsTj4VNBT0g==} engines: {node: '>= 18'} @@ -3684,10 +3662,10 @@ packages: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} - sodesu-comment@0.0.4: - resolution: {integrity: sha512-RWq6mIAmTHo5PNLzmx9AOapKYExV1Bq32Vm5Pz6zlnldsPPNviDxb1OFYUrr18rekA8lRPhI1WxaW0GDKtWn+Q==} + sodesu-comment@0.1.0: + resolution: {integrity: sha512-K7R5JCEnlJiejeL8+YS6aOUETZmFoCgr1uUvC5LOp0desxaISVadVLgZLarOIsNB2QSNpKYGH4xPgv+uneYSEQ==} peerDependencies: - solid-js: ^1.7.6 + solid-js: ^1.9.3 solid-js@1.9.3: resolution: {integrity: sha512-5ba3taPoZGt9GY3YlsCB24kCg0Lv/rie/HTD4kG6h4daZZz7+yK02xn8Vx8dLYBc9i6Ps5JwAbEiqjmKaLB3Ag==} @@ -4118,17 +4096,6 @@ packages: '@vue/composition-api': optional: true - vue-demi@0.14.8: - resolution: {integrity: sha512-Uuqnk9YE9SsWeReYqK2alDI5YzciATE0r2SkA6iMAtuXvNTMNACJLJEXNXaEy94ECuBe4Sk6RzRU80kjdbIo1Q==} - engines: {node: '>=12'} - hasBin: true - peerDependencies: - '@vue/composition-api': ^1.0.0-rc.1 - vue: ^3.0.0-0 || ^2.6.0 - peerDependenciesMeta: - '@vue/composition-api': - optional: true - vue-flow-layout@0.0.5: resolution: {integrity: sha512-lZlqQ/Se1trGMtBMneZDWaiQiQBuxU8ivZ+KpJMem5zKROFpzuPq9KqyWABbSYbxq0qhqZs1I4DBwrY041rtOA==} @@ -5571,16 +5538,6 @@ snapshots: '@vue/shared@3.5.12': {} - '@vueuse/core@10.11.1(vue@3.5.12(typescript@5.6.3))': - dependencies: - '@types/web-bluetooth': 0.0.20 - '@vueuse/metadata': 10.11.1 - '@vueuse/shared': 10.11.1(vue@3.5.12(typescript@5.6.3)) - vue-demi: 0.14.8(vue@3.5.12(typescript@5.6.3)) - transitivePeerDependencies: - - '@vue/composition-api' - - vue - '@vueuse/core@11.2.0(vue@3.5.12(typescript@5.6.3))': dependencies: '@types/web-bluetooth': 0.0.20 @@ -5591,17 +5548,8 @@ snapshots: - '@vue/composition-api' - vue - '@vueuse/metadata@10.11.1': {} - '@vueuse/metadata@11.2.0': {} - '@vueuse/shared@10.11.1(vue@3.5.12(typescript@5.6.3))': - dependencies: - vue-demi: 0.14.8(vue@3.5.12(typescript@5.6.3)) - transitivePeerDependencies: - - '@vue/composition-api' - - vue - '@vueuse/shared@11.2.0(vue@3.5.12(typescript@5.6.3))': dependencies: vue-demi: 0.14.10(vue@3.5.12(typescript@5.6.3)) @@ -5609,23 +5557,8 @@ snapshots: - '@vue/composition-api' - vue - '@waline/api@1.0.0-alpha.7': {} - '@waline/api@1.0.0-alpha.8': {} - '@waline/client@3.1.3(typescript@5.6.3)': - dependencies: - '@vueuse/core': 10.11.1(vue@3.5.12(typescript@5.6.3)) - '@waline/api': 1.0.0-alpha.7 - autosize: 6.0.1 - marked: 12.0.2 - marked-highlight: 2.2.0(marked@12.0.2) - recaptcha-v3: 1.11.3 - vue: 3.5.12(typescript@5.6.3) - transitivePeerDependencies: - - '@vue/composition-api' - - typescript - '@waline/client@3.3.2(typescript@5.6.3)': dependencies: '@vueuse/core': 11.2.0(vue@3.5.12(typescript@5.6.3)) @@ -7358,16 +7291,10 @@ snapshots: markdown-table@3.0.3: {} - marked-highlight@2.2.0(marked@12.0.2): - dependencies: - marked: 12.0.2 - marked-highlight@2.2.0(marked@14.1.3): dependencies: marked: 14.1.3 - marked@12.0.2: {} - marked@14.1.3: {} mdast-util-definitions@6.0.0: @@ -8622,10 +8549,10 @@ snapshots: slash@3.0.0: {} - sodesu-comment@0.0.4(solid-js@1.9.3)(typescript@5.6.3): + sodesu-comment@0.1.0(solid-js@1.9.3)(typescript@5.6.3): dependencies: - '@waline/api': 1.0.0-alpha.7 - '@waline/client': 3.1.3(typescript@5.6.3) + '@waline/api': 1.0.0-alpha.8 + '@waline/client': 3.3.2(typescript@5.6.3) solid-js: 1.9.3 transitivePeerDependencies: - '@vue/composition-api' @@ -9123,10 +9050,6 @@ snapshots: dependencies: vue: 3.5.12(typescript@5.6.3) - vue-demi@0.14.8(vue@3.5.12(typescript@5.6.3)): - dependencies: - vue: 3.5.12(typescript@5.6.3) - vue-flow-layout@0.0.5(typescript@5.6.3): dependencies: vue: 3.5.12(typescript@5.6.3) diff --git a/uno.config.ts b/uno.config.ts index 60fa17c..268f025 100644 --- a/uno.config.ts +++ b/uno.config.ts @@ -1,5 +1,5 @@ -import presetSodesu from 'sodesu-comment/dist/preset'; -import safeList from 'sodesu-comment/dist/safeList'; +import presetSodesu from 'sodesu-comment/preset'; +import safeList from 'sodesu-comment/safeList'; import { defineConfig, presetAttributify,