Update moment-timezone & react-native-calendars dependency (#4646)

This commit is contained in:
Elias Nahum 2020-08-06 17:24:47 -04:00 committed by GitHub
parent 1084d38ecb
commit 24f6d2df92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 22 deletions

27
package-lock.json generated
View file

@ -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",

View file

@ -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",

View file

@ -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. */