react-native-ui-lib 9.0.4-snapshot.8019 → 9.1.0-snapshot.8037

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -132,8 +132,8 @@ public class DynamicFontModule extends ReactContextBaseJavaModule {
132
132
  cacheFile.delete();
133
133
  } catch(Exception e) {
134
134
  callback.invoke(e.getMessage());
135
- } finally {
136
- callback.invoke(null, name);
135
+ return;
137
136
  }
137
+ callback.invoke(null, name);
138
138
  }
139
139
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-ui-lib",
3
- "version": "9.0.4-snapshot.8019",
3
+ "version": "9.1.0-snapshot.8037",
4
4
  "main": "src/index.js",
5
5
  "types": "src/index.d.ts",
6
6
  "author": "Ethan Sharabi <ethan.shar@gmail.com>",
@@ -39,7 +39,6 @@
39
39
  "react-native-redash": "^12.0.3",
40
40
  "semver": "^5.5.0",
41
41
  "tinycolor2": "^1.4.2",
42
- "url-parse": "^1.2.0",
43
42
  "wix-react-native-text-size": "1.0.9"
44
43
  },
45
44
  "devDependencies": {
@@ -71,7 +70,6 @@
71
70
  "@types/react": "19.0.0",
72
71
  "@types/react-test-renderer": "19.0.0",
73
72
  "@types/tinycolor2": "^1.4.2",
74
- "@types/url-parse": "^1.4.3",
75
73
  "@welldone-software/why-did-you-render": "^3.2.1",
76
74
  "babel-plugin-lodash": "^3.3.4",
77
75
  "babel-plugin-module-resolver": "^5.0.0",
@@ -211,7 +211,7 @@ const WheelPicker = props => {
211
211
  {separators}
212
212
  <View row centerH>
213
213
  <GestureHandlerRootView style={styles.gestureContainer}>
214
- <AnimatedFlatList {...androidFlatListProps} directionalLockEnabled alwaysBounceHorizontal={false} {...flatListProps} testID={`${testID}.list`} listKey={`${testID}.flatList`} height={height} data={items}
214
+ <AnimatedFlatList {...androidFlatListProps} {...flatListProps} testID={`${testID}.list`} listKey={`${testID}.flatList`} height={height} data={items}
215
215
  // @ts-ignore reanimated2
216
216
  keyExtractor={keyExtractor} scrollEventThrottle={100} onScroll={scrollHandler} onMomentumScrollEnd={onValueChange} showsVerticalScrollIndicator={false} onScrollBeginDrag={disableOnChangeSkip} // user dragged wheel.
217
217
  // @ts-ignore
@@ -6,7 +6,6 @@ import _filter from "lodash/filter";
6
6
  import _split from "lodash/split";
7
7
  import _flow from "lodash/flow";
8
8
  import _isString from "lodash/isString";
9
- import URL from 'url-parse';
10
9
  import Colors from "../style/colors";
11
10
  import { Typography } from "../style";
12
11
  export function getInitialsTypography(size) {
@@ -86,12 +85,8 @@ export function isBlankGravatarUrl(url) {
86
85
  return isGravatarUrl(url) && _endsWith(url, '?d=blank');
87
86
  }
88
87
  export function patchGravatarUrl(gravatarUrl) {
89
- const url = new URL(gravatarUrl, true);
90
- const {
91
- query
92
- } = url;
93
- query.d = '404';
94
- delete query.default;
95
- url.set('query', query);
88
+ const url = new URL(gravatarUrl);
89
+ url.searchParams.set('d', '404');
90
+ url.searchParams.delete('default');
96
91
  return url.toString();
97
92
  }