diff --git a/package-lock.json b/package-lock.json index 1e78d5531..f17722098 100644 --- a/package-lock.json +++ b/package-lock.json @@ -65,8 +65,7 @@ "https-browserify": "^1.0.0", "immer": "^9.0.6", "json-schema": "^0.4.0", - "lodash.isempty": "^4.4.0", - "lodash.keyby": "^4.6.0", + "lodash": "^4.6.0", "minimist": "^1.2.6", "mobx": "^6.1.5", "mongodb-stitch-browser-sdk": "^4.8.0", @@ -17233,11 +17232,6 @@ "version": "3.0.3", "license": "MIT" }, - "node_modules/lodash.isempty": { - "version": "4.4.0", - "resolved": "https://artifactory.corp.mongodb.com/artifactory/api/npm/npm/lodash.isempty/-/lodash.isempty-4.4.0.tgz", - "integrity": "sha512-oKMuF3xEeqDltrGMfDxAPGIVMSSRv8tbRSODbrs4KGsRRLEhrW8N8Rd4DRgB2+621hY8A8XwwrTVhXWpxFvMzg==" - }, "node_modules/lodash.isequal": { "version": "4.5.0", "license": "MIT" @@ -17258,11 +17252,6 @@ "version": "4.0.1", "license": "MIT" }, - "node_modules/lodash.keyby": { - "version": "4.6.0", - "resolved": "https://artifactory.corp.mongodb.com/artifactory/api/npm/npm/lodash.keyby/-/lodash.keyby-4.6.0.tgz", - "integrity": "sha512-PRe4Cn20oJM2Sn6ljcZMeKgyhTHpzvzFmdsp9rK+6K0eJs6Tws0MqgGFpfX/o2HjcoQcBny1Eik9W7BnVTzjIQ==" - }, "node_modules/lodash.map": { "version": "4.6.0", "license": "MIT" @@ -34704,11 +34693,6 @@ "lodash.isboolean": { "version": "3.0.3" }, - "lodash.isempty": { - "version": "4.4.0", - "resolved": "https://artifactory.corp.mongodb.com/artifactory/api/npm/npm/lodash.isempty/-/lodash.isempty-4.4.0.tgz", - "integrity": "sha512-oKMuF3xEeqDltrGMfDxAPGIVMSSRv8tbRSODbrs4KGsRRLEhrW8N8Rd4DRgB2+621hY8A8XwwrTVhXWpxFvMzg==" - }, "lodash.isequal": { "version": "4.5.0" }, @@ -34724,11 +34708,6 @@ "lodash.isstring": { "version": "4.0.1" }, - "lodash.keyby": { - "version": "4.6.0", - "resolved": "https://artifactory.corp.mongodb.com/artifactory/api/npm/npm/lodash.keyby/-/lodash.keyby-4.6.0.tgz", - "integrity": "sha512-PRe4Cn20oJM2Sn6ljcZMeKgyhTHpzvzFmdsp9rK+6K0eJs6Tws0MqgGFpfX/o2HjcoQcBny1Eik9W7BnVTzjIQ==" - }, "lodash.map": { "version": "4.6.0" }, diff --git a/package.json b/package.json index 286bbd416..e09b890de 100644 --- a/package.json +++ b/package.json @@ -110,8 +110,7 @@ "https-browserify": "^1.0.0", "immer": "^9.0.6", "json-schema": "^0.4.0", - "lodash.isempty": "^4.4.0", - "lodash.keyby": "^4.6.0", + "lodash": "^4.6.0", "minimist": "^1.2.6", "mobx": "^6.1.5", "mongodb-stitch-browser-sdk": "^4.8.0", diff --git a/src/components/DeprecatedVersionSelector.js b/src/components/DeprecatedVersionSelector.js index c74c09670..7c9a5db2d 100644 --- a/src/components/DeprecatedVersionSelector.js +++ b/src/components/DeprecatedVersionSelector.js @@ -1,8 +1,7 @@ import React, { useCallback, useEffect, useState } from 'react'; import PropTypes from 'prop-types'; import queryString from 'query-string'; -import keyBy from 'lodash.keyby'; -import isEmpty from 'lodash.isempty'; +import { keyBy, isEmpty } from 'lodash'; import Button from '@leafygreen-ui/button'; import { css, cx } from '@leafygreen-ui/emotion'; import { isBrowser } from '../utils/is-browser';