From 24f6d2df92d88c21daa861c876e4d4ea8847ce9f Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Thu, 6 Aug 2020 17:24:47 -0400 Subject: [PATCH] Update moment-timezone & react-native-calendars dependency (#4646) --- package-lock.json | 27 ++++++++++++++++++++------- package.json | 4 ++-- patches/moment-timezone+0.5.29.patch | 13 ------------- 3 files changed, 22 insertions(+), 22 deletions(-) delete mode 100644 patches/moment-timezone+0.5.29.patch diff --git a/package-lock.json b/package-lock.json index c9eb853ef..be72c0996 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10226,6 +10226,11 @@ "resolved": "https://registry.npmjs.org/image-size/-/image-size-0.6.3.tgz", "integrity": "sha512-47xSUiQioGaB96nqtp5/q55m0aBQSQdyIloMOc/x+QVTDZLNmXE892IIDrJ0hM1A5vcNUDD5tDffkSP5lCaIIA==" }, + "immutable": { + "version": "4.0.0-rc.12", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.0.0-rc.12.tgz", + "integrity": "sha512-0M2XxkZLx/mi3t8NVwIm1g8nHoEmM9p9UBl/G9k4+hm0kBgOVdMV/B3CY5dQ8qG8qc80NN4gDV4HQv6FTJ5q7A==" + }, "import-fresh": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz", @@ -16504,9 +16509,9 @@ "integrity": "sha512-al0MUK7cpIcglMv3YF13qSgdAIqxHTO7brRtaz3DlSULbqfazqkc5kEjNrLDOM7fsjshoFIihnU8snrP7zUvhQ==" }, "moment-timezone": { - "version": "0.5.29", - "resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.29.tgz", - "integrity": "sha512-qWtUhRIk29zviEFAhttY0fDbM/zsu/OlCRoeQG8vxuH6XcTTuji9ILJkOdxjr+vzIv0J39RsO/SPTuMvzm90wA==", + "version": "0.5.31", + "resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.31.tgz", + "integrity": "sha512-+GgHNg8xRhMXfEbv81iDtrVeTcWt0kWmTEY1XQK14dICTXnWJnT0dxdlPspwqF3keKMVPXwayEsk1DI0AA/jdA==", "requires": { "moment": ">= 2.9.0" } @@ -18216,13 +18221,16 @@ } }, "react-native-calendars": { - "version": "1.265.0", - "resolved": "https://registry.npmjs.org/react-native-calendars/-/react-native-calendars-1.265.0.tgz", - "integrity": "sha512-iOv5JXgo7Dm9yQ+P0PE5a8tmxGUHwGQOk1AddD8cmNZiuCIAv5G3f5fuBRJ8+sLcNdic1tamrh+e8A4UNMZsHA==", + "version": "1.303.0", + "resolved": "https://registry.npmjs.org/react-native-calendars/-/react-native-calendars-1.303.0.tgz", + "integrity": "sha512-J0mdZ/4FEaHfxD0Jaqqt/OGHlnW68kNnlU9efy45KFUx8uabkwlCg8EfW3H0gvgnQFbXgEiIzkgmzc+AIDk1Pw==", "requires": { "hoist-non-react-statics": "^3.3.1", - "lodash": "^4.0.0", + "immutable": "^4.0.0-rc.12", + "lodash": "^4.17.15", + "moment": "^2.24.0", "prop-types": "^15.5.10", + "react-native-swipe-gestures": "^1.0.5", "xdate": "^0.8.0" }, "dependencies": { @@ -18517,6 +18525,11 @@ "css-tree": "^1.0.0-alpha.39" } }, + "react-native-swipe-gestures": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/react-native-swipe-gestures/-/react-native-swipe-gestures-1.0.5.tgz", + "integrity": "sha512-Ns7Bn9H/Tyw278+5SQx9oAblDZ7JixyzeOczcBK8dipQk2pD7Djkcfnf1nB/8RErAmMLL9iXgW0QHqiII8AhKw==" + }, "react-native-v8": { "version": "0.62.2-patch.1", "resolved": "https://registry.npmjs.org/react-native-v8/-/react-native-v8-0.62.2-patch.1.tgz", diff --git a/package.json b/package.json index 6ce6a1b59..260f69dc5 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "intl": "1.2.5", "jail-monkey": "2.3.2", "mime-db": "1.44.0", - "moment-timezone": "0.5.29", + "moment-timezone": "0.5.31", "prop-types": "15.7.2", "react": "16.13.1", "react-intl": "2.8.0", @@ -37,7 +37,7 @@ "react-native-android-open-settings": "1.3.0", "react-native-animatable": "1.3.3", "react-native-button": "3.0.1", - "react-native-calendars": "1.265.0", + "react-native-calendars": "1.303.0", "react-native-circular-progress": "1.3.6", "react-native-cookies": "github:mattermost/react-native-cookies#b35bafc388ae09c83bd875e887daf6a0755e0b40", "react-native-device-info": "5.5.7", diff --git a/patches/moment-timezone+0.5.29.patch b/patches/moment-timezone+0.5.29.patch deleted file mode 100644 index dd61f46f5..000000000 --- a/patches/moment-timezone+0.5.29.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/node_modules/moment-timezone/index.d.ts b/node_modules/moment-timezone/index.d.ts -index 8cb684d..3a1d563 100644 ---- a/node_modules/moment-timezone/index.d.ts -+++ b/node_modules/moment-timezone/index.d.ts -@@ -66,6 +66,8 @@ declare module 'moment' { - - /** Parse an offset for a timestamp constructed from Date.UTC in that zone. */ - parse(timestamp: number): number; -+ -+ utcOffset(timestamp: number): number; - } - - /** Return a timezone by name or null if timezone by that name is not loaded. */