From 9b1c94f25e45d6b7a46ac025147eb4cf2f8bb4d7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jul 2024 10:51:04 -0300 Subject: [PATCH] build(deps-dev): bump prettier from 3.3.2 to 3.3.3 (#1201) * build(deps-dev): bump prettier from 3.3.2 to 3.3.3 Bumps [prettier](https://github.com/prettier/prettier) from 3.3.2 to 3.3.3. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.3.2...3.3.3) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Fix linter errors --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alexis Sgarbossa --- helpers/reasons.ts | 4 ++-- package-lock.json | 8 ++++---- package.json | 2 +- pages/index.tsx | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/helpers/reasons.ts b/helpers/reasons.ts index f58f6820..b9b0da65 100644 --- a/helpers/reasons.ts +++ b/helpers/reasons.ts @@ -31,7 +31,7 @@ export const REASONS_TO_NOT_DEPLOY = [ 'How could you? 🥺', 'Some people just want to watch the world burn 🔥', "You like fire don't you?", - "The bugs are just waiting for you" + 'The bugs are just waiting for you' ] export const REASONS_FOR_THURSDAY_AFTERNOON = [ @@ -94,7 +94,7 @@ export const REASONS_FOR_WEEKEND = [ 'Drunk development is not a good idea!', 'I see you deployed on Friday', 'Told you that Monday would be a better idea!', - "There are 2^1000 other ideas." + 'There are 2^1000 other ideas.' ] export const REASONS_FOR_DAY_BEFORE_CHRISTMAS = [ diff --git a/package-lock.json b/package-lock.json index a51b898a..d9fc674b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30,7 +30,7 @@ "husky": "^9.0.11", "jest": "^29.7.0", "lint-staged": "^15.2.7", - "prettier": "^3.3.2", + "prettier": "^3.3.3", "ts-jest": "^29.2.3", "ts-node": "^10.9.2", "typescript": "5.5.4" @@ -9489,9 +9489,9 @@ } }, "node_modules/prettier": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.2.tgz", - "integrity": "sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz", + "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==", "bin": { "prettier": "bin/prettier.cjs" }, diff --git a/package.json b/package.json index 4459c3b0..e95e8ba7 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "husky": "^9.0.11", "jest": "^29.7.0", "lint-staged": "^15.2.7", - "prettier": "^3.3.2", + "prettier": "^3.3.3", "ts-jest": "^29.2.3", "ts-node": "^10.9.2", "typescript": "5.5.4" diff --git a/pages/index.tsx b/pages/index.tsx index ee4c3249..c8e69e53 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -61,7 +61,7 @@ const Page: React.FC = ({ tz, now: initialNow, initialReason }) => { export const getServerSideProps: GetServerSideProps = async (context) => { let timezone = Array.isArray(context.query.tz) - ? context.query.tz[0] ?? Time.DEFAULT_TIMEZONE + ? (context.query.tz[0] ?? Time.DEFAULT_TIMEZONE) : context.query.tz || Time.DEFAULT_TIMEZONE if (!Time.zoneExists(timezone)) {