diff --git a/packages/react-native-version-check/package.json b/packages/react-native-version-check/package.json index 76d62dbe..2cefdbe8 100644 --- a/packages/react-native-version-check/package.json +++ b/packages/react-native-version-check/package.json @@ -29,9 +29,7 @@ "url": "https://github.com/kimxogus/react-native-version-check/issues" }, "dependencies": { - "lodash.isfunction": "^3.0.9", - "lodash.isnil": "^4.0.0", - "lodash.pick": "^4.4.0", + "lodash": "^4.17.21", "semver": "^6.1.1" }, "devDependencies": { diff --git a/packages/react-native-version-check/src/getLatestVersion.js b/packages/react-native-version-check/src/getLatestVersion.js index 41d96b89..ce6b234f 100644 --- a/packages/react-native-version-check/src/getLatestVersion.js +++ b/packages/react-native-version-check/src/getLatestVersion.js @@ -1,7 +1,7 @@ // @flow import { Platform } from 'react-native'; -import isNil from 'lodash.isnil'; -import isFunction from 'lodash.isfunction'; +import isNil from 'lodash/isNil'; +import isFunction from 'lodash/isFunction'; import * as providers from './providers'; import { IProvider, IVersionAndStoreUrl } from './providers/types'; diff --git a/packages/react-native-version-check/src/getStoreUrl.js b/packages/react-native-version-check/src/getStoreUrl.js index ce0f9fdb..91076799 100644 --- a/packages/react-native-version-check/src/getStoreUrl.js +++ b/packages/react-native-version-check/src/getStoreUrl.js @@ -1,6 +1,6 @@ // @flow import { Platform } from 'react-native'; -import isNil from 'lodash.isnil'; +import isNil from 'lodash/isNil'; import { getVersionInfo } from './versionInfo'; export type GetAppStoreUrlOption = { diff --git a/packages/react-native-version-check/src/needUpdate.js b/packages/react-native-version-check/src/needUpdate.js index 7af6c566..6ecfbf28 100644 --- a/packages/react-native-version-check/src/needUpdate.js +++ b/packages/react-native-version-check/src/needUpdate.js @@ -1,6 +1,6 @@ // @flow import semver from 'semver'; -import isNil from 'lodash.isnil'; +import isNil from 'lodash/isNil'; import { getVersionInfo } from './versionInfo'; import * as providers from './providers';