From 2705539a7078137edd47846df467282ff12f4a95 Mon Sep 17 00:00:00 2001 From: Matteo Pagliazzi Date: Thu, 17 Dec 2020 18:04:47 +0100 Subject: [PATCH 1/3] 4.175.4 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0890fb87e9..32690b1638 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "habitica", - "version": "4.175.3", + "version": "4.175.4", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index ad5d763d71..b16a6dfc81 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "habitica", "description": "A habit tracker app which treats your goals like a Role Playing Game.", - "version": "4.175.3", + "version": "4.175.4", "main": "./website/server/index.js", "dependencies": { "@babel/core": "^7.12.10", From 6ad20e7abbfc4dcf45a451745ba7d0c031f0d9b3 Mon Sep 17 00:00:00 2001 From: Sabe Jones Date: Thu, 17 Dec 2020 12:43:16 -0600 Subject: [PATCH 2/3] fix(event): still one more find return --- website/common/script/content/bundles.js | 4 +--- website/common/script/content/quests.js | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/website/common/script/content/bundles.js b/website/common/script/content/bundles.js index 2ae28ed86d..cc68f86418 100644 --- a/website/common/script/content/bundles.js +++ b/website/common/script/content/bundles.js @@ -3,9 +3,7 @@ import find from 'lodash/find'; import t from './translation'; import { EVENTS } from './constants'; -const CURRENT_EVENT = find(EVENTS, event => { - moment().isBetween(event.start, event.end); -}); +const CURRENT_EVENT = find(EVENTS, event => moment().isBetween(event.start, event.end)); /* --------------------------------------------------------------- diff --git a/website/common/script/content/quests.js b/website/common/script/content/quests.js index 67bd49ee2a..f2864a7a12 100644 --- a/website/common/script/content/quests.js +++ b/website/common/script/content/quests.js @@ -9,9 +9,7 @@ import { USER_CAN_OWN_QUEST_CATEGORIES, } from './constants'; -const CURRENT_EVENT = find(EVENTS, event => { - moment().isBetween(event.start, event.end); -}); +const CURRENT_EVENT = find(EVENTS, event => moment().isBetween(event.start, event.end)); const userCanOwnQuestCategories = USER_CAN_OWN_QUEST_CATEGORIES; const quests = { From 75f198789b596a52fd84042bc4c7515e21ed9536 Mon Sep 17 00:00:00 2001 From: Sabe Jones Date: Thu, 17 Dec 2020 12:43:29 -0600 Subject: [PATCH 3/3] 4.175.5 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 32690b1638..20ff6cb01a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "habitica", - "version": "4.175.4", + "version": "4.175.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index b16a6dfc81..6c4ed32f4c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "habitica", "description": "A habit tracker app which treats your goals like a Role Playing Game.", - "version": "4.175.4", + "version": "4.175.5", "main": "./website/server/index.js", "dependencies": { "@babel/core": "^7.12.10",