From 49ad2779ab3c2ffff08aa737e6a581b107d94b80 Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Thu, 12 Nov 2026 21:28:39 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B7=BB=E5=8A=A0=20cbor-x=20?= =?UTF-8?q?=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + pnpm-lock.yaml | 81 +++++++++++++++++++++++++++++++++++++++++++++ pnpm-workspace.yaml | 1 + 3 files changed, 83 insertions(+) diff --git a/package.json b/package.json index 997ced0..e4f8d0d 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,7 @@ "anon-tokyo": "0.0.0-alpha.0", "ant-design-vue": "^3.2.20", "axios": "^1.13.6", + "cbor-x": "^1.6.9", "chart.js": "^4.5.1", "codec-parser": "^2.5.0", "dexie": "^4.4.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a734b7d..98705b6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -181,6 +181,9 @@ importers: axios: specifier: ^1.13.6 version: 1.13.6(debug@4.4.3(supports-color@8.1.1)) + cbor-x: + specifier: ^1.6.9 + version: 1.6.9 chart.js: specifier: ^4.5.1 version: 4.5.1 @@ -1265,6 +1268,31 @@ packages: '@braintree/sanitize-url@7.1.2': resolution: {integrity: sha512-jigsZK+sMF/cuiB7sERuo9V7N9jx+dhmHHnQyDSVdpZwVutaBu7WvNYqMDLSgFgfB30n452TP3vjDAvFC973mA==} + '@cbor-extract/cbor-extract-darwin-arm64@2.2.3': + resolution: {integrity: sha512-qpUy9Yoisi6a7QHOVa+AlnqfN7eVstSRhpLwiLnwi6i3SNLkM5D2Z7MXl4LC5nUGA77mZEt479cPH3u8GD163Q==} + cpu: [arm64] + os: [darwin] + + '@cbor-extract/cbor-extract-darwin-x64@2.2.3': + resolution: {integrity: sha512-6bZbK7dyKn8BUNmG3UfzSnM4L/OzJ8xGAtBHYycprl+bgvtZmZoQC7CucWXuF/oHJP5skzqkqFr6BLSSGIkoWw==} + cpu: [x64] + os: [darwin] + + '@cbor-extract/cbor-extract-linux-arm64@2.2.3': + resolution: {integrity: sha512-QAuFuQkOw0cm4MNc+QwxH9aiMxmrczESnVEu33B8m2Du9fBuH/1AvJfmO8YajpeWLoHqt2iUG3d1/gIWAKY8IQ==} + cpu: [arm64] + os: [linux] + + '@cbor-extract/cbor-extract-linux-arm@2.2.3': + resolution: {integrity: sha512-joCovTc7uEYCL9XxdAJJpGIH7Vvc31Fi7vh3HnlY5zgkLSU/64WxYl5iUi/puE21qT3bmxMfOZEZUbnqVKeJTQ==} + cpu: [arm] + os: [linux] + + '@cbor-extract/cbor-extract-win32-x64@2.2.3': + resolution: {integrity: sha512-fGFfq6F3l0GCoKOZeyjjm3q+NHO7jo8ILtQ93U3rYJOgG2BGLS/QmBdoFLNEsoWPjyxAS8svWhTyo73MTDawog==} + cpu: [x64] + os: [win32] + '@chevrotain/cst-dts-gen@11.1.2': resolution: {integrity: sha512-XTsjvDVB5nDZBQB8o0o/0ozNelQtn2KrUVteIHSlPd2VAV2utEb6JzyCJaJ8tGxACR4RiBNWy5uYUHX2eji88Q==} @@ -3154,6 +3182,13 @@ packages: caniuse-lite@1.0.30001777: resolution: {integrity: sha512-tmN+fJxroPndC74efCdp12j+0rk0RHwV5Jwa1zWaFVyw2ZxAuPeG8ZgWC3Wz7uSjT3qMRQ5XHZ4COgQmsCMJAQ==} + cbor-extract@2.2.3: + resolution: {integrity: sha512-zTOCEYwiQDChj5DV/sUqccv3jhdZqbhymztwcrW2LncIG2fPPkb1ceK5rmr0bdtxzJCXoWzZ95shA+uaSH8cKw==} + hasBin: true + + cbor-x@1.6.9: + resolution: {integrity: sha512-TCT9XHLb4iPGQ99fpQjcTRncbus6cXHvSD/RY+bPrDACBCJKiQLmAM6r7/BgQcI5i+8h4gwp4vjfb6S6T8bPGw==} + ccount@2.0.1: resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==} @@ -3612,6 +3647,10 @@ packages: resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} engines: {node: '>=6'} + detect-libc@2.1.2: + resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==} + engines: {node: '>=8'} + detective-amd@6.0.1: resolution: {integrity: sha512-TtyZ3OhwUoEEIhTFoc1C9IyJIud3y+xYkSRjmvCt65+ycQuc3VcBrPRTMWoO/AnuCyOB8T5gky+xf7Igxtjd3g==} engines: {node: '>=18'} @@ -4939,6 +4978,10 @@ packages: encoding: optional: true + node-gyp-build-optional-packages@5.1.1: + resolution: {integrity: sha512-+P72GAjVAbTxjjwUmwjVrqrdZROD4nf8KgpBoDxqXXTiYZZt/ud60dE5yvCSr9lRO8e8yv6kgJIC0K0PfZFVQw==} + hasBin: true + node-gyp@10.3.1: resolution: {integrity: sha512-Pp3nFHBThHzVtNY7U6JfPjvT/DTE8+o/4xKsLQtBoU+j2HLsGlhcfzflAoUreaJbNmYnX+LlLi0qjV8kpyO6xQ==} engines: {node: ^16.14.0 || >=18.0.0} @@ -7258,6 +7301,21 @@ snapshots: '@braintree/sanitize-url@7.1.2': {} + '@cbor-extract/cbor-extract-darwin-arm64@2.2.3': + optional: true + + '@cbor-extract/cbor-extract-darwin-x64@2.2.3': + optional: true + + '@cbor-extract/cbor-extract-linux-arm64@2.2.3': + optional: true + + '@cbor-extract/cbor-extract-linux-arm@2.2.3': + optional: true + + '@cbor-extract/cbor-extract-win32-x64@2.2.3': + optional: true + '@chevrotain/cst-dts-gen@11.1.2': dependencies: '@chevrotain/gast': 11.1.2 @@ -9257,6 +9315,21 @@ snapshots: caniuse-lite@1.0.30001777: {} + cbor-extract@2.2.3: + dependencies: + node-gyp-build-optional-packages: 5.1.1 + optionalDependencies: + '@cbor-extract/cbor-extract-darwin-arm64': 2.2.3 + '@cbor-extract/cbor-extract-darwin-x64': 2.2.3 + '@cbor-extract/cbor-extract-linux-arm': 2.2.3 + '@cbor-extract/cbor-extract-linux-arm64': 2.2.3 + '@cbor-extract/cbor-extract-win32-x64': 2.2.3 + optional: true + + cbor-x@1.6.9: + optionalDependencies: + cbor-extract: 2.2.3 + ccount@2.0.1: {} chai@6.2.2: {} @@ -9737,6 +9810,9 @@ snapshots: dequal@2.0.3: {} + detect-libc@2.1.2: + optional: true + detective-amd@6.0.1: dependencies: ast-module-types: 6.0.1 @@ -11310,6 +11386,11 @@ snapshots: optionalDependencies: encoding: 0.1.13 + node-gyp-build-optional-packages@5.1.1: + dependencies: + detect-libc: 2.1.2 + optional: true + node-gyp@10.3.1(supports-color@8.1.1): dependencies: env-paths: 2.2.1 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 6e11bcd..c5c1938 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -7,6 +7,7 @@ packages: - '!packages-user/**/dist' - '!packages-user/**/node_modules' allowBuilds: + cbor-extract: true core-js: true esbuild: true less: true