Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[meta] Prettier 3.3

Manav Rathi9c11a7f4b7f7
diff --git a/desktop/yarn.lock b/desktop/yarn.lock
index 7102beaaef..cf13b48326 100644
--- a/desktop/yarn.lock
+++ b/desktop/yarn.lock
@@ -2779,9 +2779,9 @@ prettier-plugin-packagejson@^2:
synckit "0.9.0"
prettier@^3:
- version "3.3.0"
- resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.3.0.tgz#d173ea0524a691d4c0b1181752f2b46724328cdf"
- integrity sha512-J9odKxERhCQ10OC2yb93583f6UnYutOeiV5i0zEDS7UGTdUt0u+y8erxl3lBKvwo/JHyyoEdXjwp4dke9oyZ/g==
+ version "3.3.2"
+ resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.3.2.tgz#03ff86dc7c835f2d2559ee76876a3914cec4a90a"
+ integrity sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA==
progress@^2.0.3:
version "2.0.3"
diff --git a/docs/yarn.lock b/docs/yarn.lock
index 048a52a61b..e3ca491637 100644
--- a/docs/yarn.lock
+++ b/docs/yarn.lock
@@ -659,9 +659,9 @@ preact@^10.0.0:
integrity sha512-gympg+T2Z1fG1unB8NH29yHJwnEaCH37Z32diPDku316OTnRPeMbiRV9kTrfZpocXjdfnWuFUl/Mj4BHaf6gnw==
prettier@^3:
- version "3.2.5"
- resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.2.5.tgz#e52bc3090586e824964a8813b09aba6233b28368"
- integrity sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==
+ version "3.3.2"
+ resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.3.2.tgz#03ff86dc7c835f2d2559ee76876a3914cec4a90a"
+ integrity sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA==
rfdc@^1.3.1:
version "1.3.1"
diff --git a/infra/workers/cast-albums/src/index.ts b/infra/workers/cast-albums/src/index.ts
index d6b960cad3..5111d446cd 100644
--- a/infra/workers/cast-albums/src/index.ts
+++ b/infra/workers/cast-albums/src/index.ts
@@ -61,7 +61,7 @@ const handleGET = async (request: Request) => {
const params = new URLSearchParams({ castToken });
let response = await fetch(
- `https://api.ente.io/cast/files${pathname}${fileID}?${params.toString()}`
+ `https://api.ente.io/cast/files${pathname}${fileID}?${params.toString()}`,
);
if (!response.ok) console.log("Upstream error", response.status);
diff --git a/infra/workers/files/src/index.ts b/infra/workers/files/src/index.ts
index 2bd9e2feff..2592d39ce6 100644
--- a/infra/workers/files/src/index.ts
+++ b/infra/workers/files/src/index.ts
@@ -91,7 +91,7 @@ const handleGET = async (request: Request) => {
headers: {
"User-Agent": request.headers.get("User-Agent") ?? "",
},
- }
+ },
);
if (!response.ok) console.log("Upstream error", response.status);
diff --git a/infra/workers/package.json b/infra/workers/package.json
index f754c98504..e4e980d2f2 100644
--- a/infra/workers/package.json
+++ b/infra/workers/package.json
@@ -4,7 +4,8 @@
"devDependencies": {
"@cloudflare/workers-types": "^4.20240614.0",
"typescript": "^5",
- "wrangler": "^3"
+ "wrangler": "^3",
+ "prettier": "^3"
},
"workspaces": [
"*"
diff --git a/infra/workers/public-albums/src/index.ts b/infra/workers/public-albums/src/index.ts
index 7964da4b0a..0b679c965f 100644
--- a/infra/workers/public-albums/src/index.ts
+++ b/infra/workers/public-albums/src/index.ts
@@ -90,7 +90,7 @@ const handleGET = async (request: Request) => {
if (accessTokenJWT) params.set("accessTokenJWT", accessTokenJWT);
let response = await fetch(
- `https://api.ente.io/public-collection/files${pathname}${fileID}?${params.toString()}`
+ `https://api.ente.io/public-collection/files${pathname}${fileID}?${params.toString()}`,
);
if (!response.ok) console.log("Upstream error", response.status);
diff --git a/infra/workers/thumbnails/src/index.ts b/infra/workers/thumbnails/src/index.ts
index 515f6255b1..9b1876f38c 100644
--- a/infra/workers/thumbnails/src/index.ts
+++ b/infra/workers/thumbnails/src/index.ts
@@ -79,7 +79,7 @@ const handleGET = async (request: Request) => {
if (token) params.set("token", token);
let response = await fetch(
- `https://api.ente.io/files/preview/${fileID}?${params.toString()}`
+ `https://api.ente.io/files/preview/${fileID}?${params.toString()}`,
);
if (!response.ok) console.log("Upstream error", response.status);
diff --git a/infra/workers/uploader/src/index.ts b/infra/workers/uploader/src/index.ts
index 9214958fdb..65a2161641 100644
--- a/infra/workers/uploader/src/index.ts
+++ b/infra/workers/uploader/src/index.ts
@@ -116,7 +116,7 @@ const handlePOSTOrPUT = async (request: Request) => {
response.headers.set("Access-Control-Allow-Origin", "*");
response.headers.set(
"Access-Control-Expose-Headers",
- "X-Request-Id, CF-Ray"
+ "X-Request-Id, CF-Ray",
);
return response;
};
diff --git a/web/yarn.lock b/web/yarn.lock
index 6d385947d8..d855d76fcd 100644
--- a/web/yarn.lock
+++ b/web/yarn.lock
@@ -3864,9 +3864,9 @@ prettier-plugin-packagejson@^2.5:
synckit "0.9.0"
prettier@^3:
- version "3.2.5"
- resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.2.5.tgz#e52bc3090586e824964a8813b09aba6233b28368"
- integrity sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==
+ version "3.3.2"
+ resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.3.2.tgz#03ff86dc7c835f2d2559ee76876a3914cec4a90a"
+ integrity sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA==
process-nextick-args@~2.0.0:
version "2.0.1"