History log of /expo/packages/expo-image-picker/build/ExponentImagePicker.web.d.ts.map (Results 1 – 3 of 3)
Revision Date Author Comments
# 638a1042 17-Dec-2022 Linus Unnebäck <[email protected]>

[image-picker] Avoid dependency on uuid (#20476)

# Why

Older versions of uuid is deprecated. And, as far as I could tell, there
was no need for it in this module.

> [email protected]: Please upgrade

[image-picker] Avoid dependency on uuid (#20476)

# Why

Older versions of uuid is deprecated. And, as far as I could tell, there
was no need for it in this module.

> [email protected]: Please upgrade to version 7 or higher. Older versions may
use Math.random() in certain circumstances, which is known to be
problematic. See https://v8.dev/blog/math-random for details.

# How

~~I removed setting an `id` on the generated `input` element, since it's
never referred to after being set.~~

I updated the code to use `String(Math.random())` instead of
`uuid.v4()`, in order to get a random string.

(changed per
https://github.com/expo/expo/pull/20477#discussion_r1049065418)

# Test Plan

I have copied the built files into `node_modules` for our Expo Web
project, built again, and tested.

# Checklist

- [x] Documentation is up to date to reflect these changes (eg:
https://docs.expo.dev and README.md).
- [x] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
- [x] This diff will work correctly for `expo prebuild` & EAS Build (eg:
updated a module plugin).

show more ...


# 10d26b99 19-Oct-2022 Tomasz Sapeta <[email protected]>

[image-picker] Rework the image picker results (#19570)


# 00ec8cab 04-Jan-2022 Evan Bacon <[email protected]>

Use declaration maps (#15782)

* Added declarationMap to base tsconfig

* et cp -a --no-lint --no-test --no-uniformity-check