Skip to content
Myr

Remove React Native support for nanoid/async

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Andrey Sitnik · committed by Andrey Sitnik · parent 4c7548a · Browse files · 6 files+29 added−29 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

6 files+29 added−29 removed

  • other:+29 added−29 removed

6 files+29 added−29 removed

deleted:async/random/index.js-17 removed
deleted:async/random/index.rn.js-5 removed
modified:async/index.d.ts+14 added
modified:async/index.js+15 added-1 removed
modified:package.json-3 removed
23 unmodified lines
24 "./random/index.js": "./random/index.browser.js",25 "./async/format/index.js": "./async/format/index.browser.js",26 "./async/random/index.js": "./async/random/index.browser.js"27 },28 "react-native": {29 "./async/random/index.js": "./async/random/index.rn.js"30 },28 "sideEffects": false,29 "devDependencies": {30 "@logux/eslint-config": "^36.1.1",31 "@logux/sharec-config": "^0.6.2",
145 unmodified lines
modified:README.md-3 removed
194 unmodified lines
195import 'react-native-get-random-values'196import { nanoid } from 'nanoid'197```198199For `nanoid/async` you need to install [`expo-random`].200199[`react-native-get-random-values`]: https://github.com/LinusU/react-native-get-random-values202[`expo-random`]: https://www.npmjs.com/package/expo-random200201202### PouchDB and CouchDB203
174 unmodified lines