From 4d454b9de75bcb8c32ec81414ceac59f8133a5b7 Mon Sep 17 00:00:00 2001 From: Magnesium- Date: Sat, 16 Mar 2024 02:08:51 +0800 Subject: [PATCH] fix: fix dep: xlsx 0.18.5 to https://cdn.sheetjs.com/xlsx-0.20.1/xlsx-0.20.1.tgz --- package.json | 2 +- pnpm-lock.yaml | 31 ++++++++++--------------------- 2 files changed, 11 insertions(+), 22 deletions(-) diff --git a/package.json b/package.json index 15cfd0a8..9f4473e8 100644 --- a/package.json +++ b/package.json @@ -97,7 +97,7 @@ "sonner": "^1.0.3", "tailwindcss": "^3.3.3", "vite-tsconfig-paths": "^4.2.1", - "xlsx": "^0.18.5" + "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.1/xlsx-0.20.1.tgz" }, "devDependencies": { "@changesets/cli": "^2.26.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 38aaee46..6e52614d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -168,8 +168,8 @@ dependencies: specifier: ^4.2.1 version: 4.3.1(typescript@5.4.2)(vite@5.1.5) xlsx: - specifier: ^0.18.5 - version: 0.18.5 + specifier: https://cdn.sheetjs.com/xlsx-0.20.1/xlsx-0.20.1.tgz + version: '@cdn.sheetjs.com/xlsx-0.20.1/xlsx-0.20.1.tgz' devDependencies: '@changesets/cli': @@ -4912,11 +4912,6 @@ packages: exit-on-epipe: 1.0.1 dev: false - /codepage@1.15.0: - resolution: {integrity: sha512-3g6NUTPd/YtuuGrhMnOMRjFc+LJw/bnMp3+0r/Wcz3IXUuCosKRJvMphm5+Q+bvTVGcJJuRvVLuYba+WojaFaA==} - engines: {node: '>=0.8'} - dev: false - /color-convert@1.9.3: resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} dependencies: @@ -12712,20 +12707,6 @@ packages: word: 0.3.0 dev: false - /xlsx@0.18.5: - resolution: {integrity: sha512-dmg3LCjBPHZnQp5/F/+nnTa+miPJxUXB6vtk42YjBBKayDNagxGEeIdWApkYPOf3Z3pm3k62Knjzp7lMeTEtFQ==} - engines: {node: '>=0.8'} - hasBin: true - dependencies: - adler-32: 1.3.1 - cfb: 1.2.2 - codepage: 1.15.0 - crc-32: 1.2.2 - ssf: 0.11.2 - wmf: 1.0.2 - word: 0.3.0 - dev: false - /xmlhttprequest@1.8.0: resolution: {integrity: sha512-58Im/U0mlVBLM38NdZjHyhuMtCqa61469k2YP/AaPbvCoV9aQGUpbJBj1QRm2ytRiVQBD/fsw7L2bJGDVQswBA==} engines: {node: '>=0.4.0'} @@ -12854,3 +12835,11 @@ packages: /zwitch@2.0.4: resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} + + '@cdn.sheetjs.com/xlsx-0.20.1/xlsx-0.20.1.tgz': + resolution: {tarball: https://cdn.sheetjs.com/xlsx-0.20.1/xlsx-0.20.1.tgz} + name: xlsx + version: 0.20.1 + engines: {node: '>=0.8'} + hasBin: true + dev: false