react-native-gesture-handler 2.21.0 → 2.21.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "../lib/commonjs/components/ReanimatedDrawerLayout",
3
+ "module": "../lib/module/components/ReanimatedDrawerLayout",
4
+ "react-native": "../src/components/ReanimatedDrawerLayout",
5
+ "types": "../lib/typescript/components/ReanimatedDrawerLayout.d.ts"
6
+ }
@@ -69,7 +69,7 @@ def shouldUseCommonInterfaceFromReanimated() {
69
69
  def json = new JsonSlurper().parseText(inputFile.text)
70
70
  def reanimatedVersion = json.version as String
71
71
  def (major, minor, patch) = reanimatedVersion.tokenize('.')
72
- return (Integer.parseInt(major) == 2 && Integer.parseInt(minor) >= 3) || Integer.parseInt(major) == 3
72
+ return (Integer.parseInt(major) == 2 && Integer.parseInt(minor) >= 3) || Integer.parseInt(major) >= 3
73
73
  } else {
74
74
  return false
75
75
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-gesture-handler",
3
- "version": "2.21.0",
3
+ "version": "2.21.2",
4
4
  "description": "Declarative API exposing native platform touch and gesture system to React Native",
5
5
  "scripts": {
6
6
  "prepare": "bob build && husky install",
@@ -44,6 +44,7 @@
44
44
  "ReanimatedSwipeable/",
45
45
  "jest-utils/",
46
46
  "DrawerLayout/",
47
+ "ReanimatedDrawerLayout/",
47
48
  "README.md",
48
49
  "jestSetup.js",
49
50
  "RNGestureHandler.podspec"