Skip to content

Commit a540e44

Browse files
authored
update vercel blob package, correct related code (#2348)
1 parent 59b6402 commit a540e44

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

bun.lock

Lines changed: 5 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@
6565
"@types/crypto-js": "^4.2.2",
6666
"@types/react": "^19.2.14",
6767
"@types/semver": "^7.7.1",
68-
"@vercel/blob": "^0.27.3",
68+
"@vercel/blob": "^2.3.3",
6969
"ajv-cli": "^5.0.0",
7070
"browserslist": "^4.28.2",
7171
"cheerio": "^1.2.0",
72-
"dotenv": "^17.4.0",
72+
"dotenv": "^17.4.1",
7373
"lint-staged": "^16.4.0",
7474
"next-compose-plugins": "^2.2.1",
7575
"next-fonts": "^1.5.1",

scripts/cleanup-data-blobs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ async function deleteOutdatedBlobs() {
1313

1414
await Promise.all(
1515
outdatedBlobs.map(async blob => {
16-
await del(blob.url);
16+
await del(blob.pathname);
1717
})
1818
);
1919

0 commit comments

Comments
 (0)