From cd1390833f25454cf58021047dd6d083ba51f73a Mon Sep 17 00:00:00 2001 From: Armano Date: Mon, 8 Mar 2021 20:35:16 +0100 Subject: [PATCH] fix: remove duplicated lodash dependencies and optimize imports --- package.json | 11 +- packages/docusaurus-init/package.json | 2 +- packages/docusaurus-init/src/index.ts | 2 +- .../package.json | 7 +- .../src/sidebars.ts | 3 +- .../package.json | 2 +- .../docusaurus-theme-classic/package.json | 2 +- .../src/__tests__/validateThemeConfig.test.js | 2 +- .../package.json | 2 +- packages/docusaurus-utils/package.json | 2 - packages/docusaurus-utils/src/index.ts | 4 +- packages/docusaurus/package.json | 4 - packages/docusaurus/src/commands/start.ts | 2 +- .../src/server/html-tags/htmlTags.ts | 2 +- packages/docusaurus/src/server/routes.ts | 4 +- packages/docusaurus/src/server/utils.ts | 2 +- packages/lqip-loader/package.json | 2 +- packages/lqip-loader/src/utils.js | 2 +- yarn.lock | 157 ++---------------- 19 files changed, 29 insertions(+), 185 deletions(-) diff --git a/package.json b/package.json index 9a04ca75b978..874c0a76b463 100644 --- a/package.json +++ b/package.json @@ -75,16 +75,7 @@ "@types/fs-extra": "^9.0.6", "@types/jest": "^26.0.20", "@types/loader-utils": "^1.1.3", - "@types/lodash.camelcase": "^4.3.6", - "@types/lodash.flatmap": "^4.5.6", - "@types/lodash.groupby": "^4.6.6", - "@types/lodash.has": "^4.5.6", - "@types/lodash.isplainobject": "^4.0.6", - "@types/lodash.isstring": "^4.0.6", - "@types/lodash.kebabcase": "^4.1.6", - "@types/lodash.pick": "^4.4.6", - "@types/lodash.pickby": "^4.6.6", - "@types/lodash.sortby": "^4.6.6", + "@types/lodash": "^4.14.168", "@types/node": "^14.14.22", "@types/prismjs": "^1.16.2", "@types/prompts": "^2.0.9", diff --git a/packages/docusaurus-init/package.json b/packages/docusaurus-init/package.json index f2f8db93c7ee..cee5b6014ede 100644 --- a/packages/docusaurus-init/package.json +++ b/packages/docusaurus-init/package.json @@ -25,7 +25,7 @@ "chalk": "^4.1.0", "commander": "^5.1.0", "fs-extra": "^9.1.0", - "lodash.kebabcase": "^4.1.1", + "lodash": "^4.17.20", "prompts": "^2.4.0", "semver": "^7.3.4", "shelljs": "^0.8.4" diff --git a/packages/docusaurus-init/src/index.ts b/packages/docusaurus-init/src/index.ts index 877d1c61da98..bb096f6f2d5a 100644 --- a/packages/docusaurus-init/src/index.ts +++ b/packages/docusaurus-init/src/index.ts @@ -11,7 +11,7 @@ import {execSync} from 'child_process'; import prompts, {Choice} from 'prompts'; import path from 'path'; import shell from 'shelljs'; -import kebabCase from 'lodash.kebabcase'; +import {kebabCase} from 'lodash'; function hasYarn(): boolean { try { diff --git a/packages/docusaurus-plugin-content-docs/package.json b/packages/docusaurus-plugin-content-docs/package.json index 2eb2f8396aa9..59c940ff20c4 100644 --- a/packages/docusaurus-plugin-content-docs/package.json +++ b/packages/docusaurus-plugin-content-docs/package.json @@ -36,12 +36,7 @@ "import-fresh": "^3.2.2", "joi": "^17.4.0", "loader-utils": "^1.2.3", - "lodash": "^4.17.19", - "lodash.flatmap": "^4.5.0", - "lodash.groupby": "^4.6.0", - "lodash.pick": "^4.4.0", - "lodash.pickby": "^4.6.0", - "lodash.sortby": "^4.6.0", + "lodash": "^4.17.20", "remark-admonitions": "^1.2.1", "shelljs": "^0.8.4", "utility-types": "^3.10.0", diff --git a/packages/docusaurus-plugin-content-docs/src/sidebars.ts b/packages/docusaurus-plugin-content-docs/src/sidebars.ts index 2353a642b54e..53b0e35e4bdd 100644 --- a/packages/docusaurus-plugin-content-docs/src/sidebars.ts +++ b/packages/docusaurus-plugin-content-docs/src/sidebars.ts @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. */ -import flatMap from 'lodash.flatmap'; import fs from 'fs-extra'; import importFresh from 'import-fresh'; import { @@ -18,7 +17,7 @@ import { SidebarItemCategory, SidebarItemType, } from './types'; -import {mapValues, flatten, difference} from 'lodash'; +import {mapValues, flatten, flatMap, difference} from 'lodash'; import {getElementsAround} from '@docusaurus/utils'; type SidebarItemCategoryJSON = SidebarItemBase & { diff --git a/packages/docusaurus-plugin-content-pages/package.json b/packages/docusaurus-plugin-content-pages/package.json index a4eeaf7438a1..4aeea335a214 100644 --- a/packages/docusaurus-plugin-content-pages/package.json +++ b/packages/docusaurus-plugin-content-pages/package.json @@ -26,7 +26,7 @@ "globby": "^11.0.2", "joi": "^17.4.0", "loader-utils": "^1.2.3", - "lodash": "^4.17.19", + "lodash": "^4.17.20", "minimatch": "^3.0.4", "remark-admonitions": "^1.2.1", "slash": "^3.0.0", diff --git a/packages/docusaurus-theme-classic/package.json b/packages/docusaurus-theme-classic/package.json index cacc064aae22..4d9cd0fe8f25 100644 --- a/packages/docusaurus-theme-classic/package.json +++ b/packages/docusaurus-theme-classic/package.json @@ -38,7 +38,7 @@ "copy-text-to-clipboard": "^3.0.0", "infima": "0.2.0-alpha.19", "joi": "^17.4.0", - "lodash": "^4.17.19", + "lodash": "^4.17.20", "parse-numeric-range": "^1.2.0", "postcss": "^7.0.2", "prism-react-renderer": "^1.1.1", diff --git a/packages/docusaurus-theme-classic/src/__tests__/validateThemeConfig.test.js b/packages/docusaurus-theme-classic/src/__tests__/validateThemeConfig.test.js index 7d090c9c6059..a7d1a78397f2 100644 --- a/packages/docusaurus-theme-classic/src/__tests__/validateThemeConfig.test.js +++ b/packages/docusaurus-theme-classic/src/__tests__/validateThemeConfig.test.js @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. */ -import merge from 'lodash/merge'; +import {merge} from 'lodash'; const {ThemeConfigSchema, DEFAULT_CONFIG} = require('../validateThemeConfig'); diff --git a/packages/docusaurus-theme-search-algolia/package.json b/packages/docusaurus-theme-search-algolia/package.json index 6268c91c60c6..9bef3ec4b507 100644 --- a/packages/docusaurus-theme-search-algolia/package.json +++ b/packages/docusaurus-theme-search-algolia/package.json @@ -22,7 +22,7 @@ "clsx": "^1.1.1", "eta": "^1.12.1", "joi": "^17.4.0", - "lodash": "^4.17.19" + "lodash": "^4.17.20" }, "peerDependencies": { "react": "^16.8.4 || ^17.0.0", diff --git a/packages/docusaurus-utils/package.json b/packages/docusaurus-utils/package.json index 72c2da667444..4a34b4de6b5c 100644 --- a/packages/docusaurus-utils/package.json +++ b/packages/docusaurus-utils/package.json @@ -27,8 +27,6 @@ "intl": "^1.2.5", "intl-locales-supported": "^1.8.12", "lodash": "^4.17.20", - "lodash.camelcase": "^4.3.0", - "lodash.kebabcase": "^4.1.1", "resolve-pathname": "^3.0.0" }, "engines": { diff --git a/packages/docusaurus-utils/src/index.ts b/packages/docusaurus-utils/src/index.ts index adc92a863c7a..2d6d5e83e180 100644 --- a/packages/docusaurus-utils/src/index.ts +++ b/packages/docusaurus-utils/src/index.ts @@ -9,8 +9,7 @@ import chalk from 'chalk'; import path from 'path'; import matter from 'gray-matter'; import {createHash} from 'crypto'; -import camelCase from 'lodash.camelcase'; -import kebabCase from 'lodash.kebabcase'; +import {camelCase, kebabCase, mapValues} from 'lodash'; import escapeStringRegexp from 'escape-string-regexp'; import fs from 'fs-extra'; import {URL} from 'url'; @@ -22,7 +21,6 @@ import { // @ts-expect-error: no typedefs :s import resolvePathnameUnsafe from 'resolve-pathname'; -import {mapValues} from 'lodash'; import areIntlLocalesSupported from 'intl-locales-supported'; const fileHash = new Map(); diff --git a/packages/docusaurus/package.json b/packages/docusaurus/package.json index fca8861f5894..413127b2bfdc 100644 --- a/packages/docusaurus/package.json +++ b/packages/docusaurus/package.json @@ -84,10 +84,6 @@ "joi": "^17.4.0", "leven": "^3.1.0", "lodash": "^4.17.20", - "lodash.flatmap": "^4.5.0", - "lodash.has": "^4.5.2", - "lodash.isplainobject": "^4.0.6", - "lodash.isstring": "^4.0.1", "mini-css-extract-plugin": "^0.8.0", "module-alias": "^2.2.2", "nprogress": "^0.2.0", diff --git a/packages/docusaurus/src/commands/start.ts b/packages/docusaurus/src/commands/start.ts index b50ba7a346ee..328093c139a1 100644 --- a/packages/docusaurus/src/commands/start.ts +++ b/packages/docusaurus/src/commands/start.ts @@ -11,7 +11,7 @@ import chokidar from 'chokidar'; import express from 'express'; import HtmlWebpackPlugin from 'html-webpack-plugin'; import path from 'path'; -import debounce from 'lodash/debounce'; +import {debounce} from 'lodash'; import openBrowser from 'react-dev-utils/openBrowser'; import {prepareUrls} from 'react-dev-utils/WebpackDevServerUtils'; import errorOverlayMiddleware from 'react-dev-utils/errorOverlayMiddleware'; diff --git a/packages/docusaurus/src/server/html-tags/htmlTags.ts b/packages/docusaurus/src/server/html-tags/htmlTags.ts index 3c511f76e5c6..c96779375c7a 100644 --- a/packages/docusaurus/src/server/html-tags/htmlTags.ts +++ b/packages/docusaurus/src/server/html-tags/htmlTags.ts @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. */ -import isPlainObject from 'lodash.isplainobject'; +import {isPlainObject} from 'lodash'; import {HtmlTagObject} from '@docusaurus/types'; import htmlTags from 'html-tags'; import voidHtmlTags from 'html-tags/void'; diff --git a/packages/docusaurus/src/server/routes.ts b/packages/docusaurus/src/server/routes.ts index ed9da7e2db95..f566ede5d808 100644 --- a/packages/docusaurus/src/server/routes.ts +++ b/packages/docusaurus/src/server/routes.ts @@ -11,9 +11,7 @@ import { removeSuffix, simpleHash, } from '@docusaurus/utils'; -import has from 'lodash.has'; -import isPlainObject from 'lodash.isplainobject'; -import isString from 'lodash.isstring'; +import {has, isPlainObject, isString} from 'lodash'; import {stringify} from 'querystring'; import { ChunkRegistry, diff --git a/packages/docusaurus/src/server/utils.ts b/packages/docusaurus/src/server/utils.ts index e5508c273382..2bc8242bf023 100644 --- a/packages/docusaurus/src/server/utils.ts +++ b/packages/docusaurus/src/server/utils.ts @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -import flatMap from 'lodash.flatmap'; +import {flatMap} from 'lodash'; import {RouteConfig} from '@docusaurus/types'; // Recursively get the final routes (routes with no subroutes) diff --git a/packages/lqip-loader/package.json b/packages/lqip-loader/package.json index 13a7ed3e6fb0..6291cb7f7f20 100644 --- a/packages/lqip-loader/package.json +++ b/packages/lqip-loader/package.json @@ -15,7 +15,7 @@ "dependencies": { "file-loader": "^6.2.0", "loader-utils": "^1.2.3", - "lodash.sortby": "^4.7.0", + "lodash": "^4.17.20", "node-vibrant": "^3.1.5", "sharp": "^0.27.1" }, diff --git a/packages/lqip-loader/src/utils.js b/packages/lqip-loader/src/utils.js index 0f932e340b08..7c6a85650e09 100644 --- a/packages/lqip-loader/src/utils.js +++ b/packages/lqip-loader/src/utils.js @@ -7,7 +7,7 @@ // @ts-check -const sortBy = require('lodash.sortby'); +const {sortBy} = require('lodash'); /** * toBase64 diff --git a/yarn.lock b/yarn.lock index 088cf8c04902..663822a81f6f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3466,80 +3466,10 @@ "@types/node" "*" "@types/webpack" "*" -"@types/lodash.camelcase@^4.3.6": - version "4.3.6" - resolved "https://registry.yarnpkg.com/@types/lodash.camelcase/-/lodash.camelcase-4.3.6.tgz#393c748b70cd926fc629e6502a9d0929f217d5fd" - integrity sha512-hd/TEuPd76Jtf1xEq85CHbCqR+iqvs5IOKyrYbiaOg69BRQgPN9XkvLj8Jl8rBp/dfJ2wQ1AVcP8mZmybq7kIg== - dependencies: - "@types/lodash" "*" - -"@types/lodash.flatmap@^4.5.6": - version "4.5.6" - resolved "https://registry.yarnpkg.com/@types/lodash.flatmap/-/lodash.flatmap-4.5.6.tgz#5f1ea80cebe403f0fbfcc1b5ad75cd09dd8b5785" - integrity sha512-ELNrUL9q+MB7AACaHivWIsKDFDgYhHE3/svXhqvDJgONtn2c467Cy87nEb7CEDvfaGCPv91lPaW596I8s5oiNQ== - dependencies: - "@types/lodash" "*" - -"@types/lodash.groupby@^4.6.6": - version "4.6.6" - resolved "https://registry.yarnpkg.com/@types/lodash.groupby/-/lodash.groupby-4.6.6.tgz#4d9b61a4d8b0d83d384975cabfed4c1769d6792e" - integrity sha512-kwg3T7Ia63KtDNoQQR8hKrLHCAgrH4I44l5uEMuA6JCbj7DiSccaV4tNV1vbjtAOpX990SolVthJCmBVtRVRgw== - dependencies: - "@types/lodash" "*" - -"@types/lodash.has@^4.5.6": - version "4.5.6" - resolved "https://registry.yarnpkg.com/@types/lodash.has/-/lodash.has-4.5.6.tgz#d94d3f0b45ced2ae76d632080daf70e9b76e29eb" - integrity sha512-SpUCvze0uHilQX/mt4K/cak5OQny1pVfz3pJx6H70dE3Tvw9s7EtlMK+vY6UBS+PQgETDfv6vhwoa3FPS2wrhg== - dependencies: - "@types/lodash" "*" - -"@types/lodash.isplainobject@^4.0.6": - version "4.0.6" - resolved "https://registry.yarnpkg.com/@types/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#757d2dcdecbb32f4452018b285a586776092efd1" - integrity sha512-8G41YFhmOl8Ck6NrwLK5hhnbz6ADfuDJP+zusDnX3PoYhfC60+H/rQE6zmdO4yFzPCPJPY4oGZK2spbXm6gYEA== - dependencies: - "@types/lodash" "*" - -"@types/lodash.isstring@^4.0.6": - version "4.0.6" - resolved "https://registry.yarnpkg.com/@types/lodash.isstring/-/lodash.isstring-4.0.6.tgz#1534d0c19a2ad79caa17558a298e366893ffd08c" - integrity sha512-uUGvF9G1G7jQ5H42Y38GA9rZmUoY8wI/OMSwnW0BZA+Ra0uxzpuQf4CixXl3yG3TvF6LjuduMyt1WvKl+je8QA== - dependencies: - "@types/lodash" "*" - -"@types/lodash.kebabcase@^4.1.6": - version "4.1.6" - resolved "https://registry.yarnpkg.com/@types/lodash.kebabcase/-/lodash.kebabcase-4.1.6.tgz#07b07aeca6c0647836de46f87a3cdfff72166c8e" - integrity sha512-+RAD9pCAa8kuVyCYTeDNiwBXwD/0u0p+hos3NSqD+tXTjJextbfF3farfYB+ssAKgEssoewXEtBsfwBpsI7gsA== - dependencies: - "@types/lodash" "*" - -"@types/lodash.pick@^4.4.6": - version "4.4.6" - resolved "https://registry.yarnpkg.com/@types/lodash.pick/-/lodash.pick-4.4.6.tgz#ae4e8f109e982786313bb6aac4b1a73aefa6e9be" - integrity sha512-u8bzA16qQ+8dY280z3aK7PoWb3fzX5ATJ0rJB6F+uqchOX2VYF02Aqa+8aYiHiHgPzQiITqCgeimlyKFy4OA6g== - dependencies: - "@types/lodash" "*" - -"@types/lodash.pickby@^4.6.6": - version "4.6.6" - resolved "https://registry.yarnpkg.com/@types/lodash.pickby/-/lodash.pickby-4.6.6.tgz#3dc39c2b38432f7a0c5e5627b0d5c0e3878b4f35" - integrity sha512-NFa13XxlMd9eFi0UFZFWIztpMpXhozbijrx3Yb1viYZphT7jyopIFVoIRF4eYMjruWNEG1rnyrRmg/8ej9T8Iw== - dependencies: - "@types/lodash" "*" - -"@types/lodash.sortby@^4.6.6": - version "4.7.6" - resolved "https://registry.yarnpkg.com/@types/lodash.sortby/-/lodash.sortby-4.7.6.tgz#eed689835f274b553db4ae16a4a23f58b79618a1" - integrity sha512-EnvAOmKvEg7gdYpYrS6+fVFPw5dL9rBnJi3vcKI7wqWQcLJVF/KRXK9dH29HjGNVvFUj0s9prRP3J8jEGnGKDw== - dependencies: - "@types/lodash" "*" - -"@types/lodash@*", "@types/lodash@^4.14.53": - version "4.14.149" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.149.tgz#1342d63d948c6062838fbf961012f74d4e638440" - integrity sha512-ijGqzZt/b7BfzcK9vTrS6MFljQRPn5BFWOx8oE0GYxribu6uV+aA9zZuXI1zc/etK9E8nrgdoF2+LgUw7+9tJQ== +"@types/lodash@^4.14.168", "@types/lodash@^4.14.53": + version "4.14.168" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.168.tgz#fe24632e79b7ade3f132891afff86caa5e5ce008" + integrity sha512-oVfRvqHV/V6D1yifJbVRU3TMp8OT6o6BG+U9MkwuJ3U8/CsDHvalRpsxBqivn71ztOFZBTfJMvETbqHiaNSj7Q== "@types/mdast@^3.0.0": version "3.0.3" @@ -5362,18 +5292,7 @@ browserslist@4.14.2: escalade "^3.0.2" node-releases "^1.1.61" -browserslist@^4.0.0, browserslist@^4.12.0, browserslist@^4.14.5, browserslist@^4.16.1, browserslist@^4.6.4: - version "4.16.1" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.16.1.tgz#bf757a2da376b3447b800a16f0f1c96358138766" - integrity sha512-UXhDrwqsNcpTYJBTZsbGATDxZbiVDsx6UjpmRUmtnP10pr8wAYr5LgFoEFw9ixriQH2mv/NX2SfGzE/o8GndLA== - dependencies: - caniuse-lite "^1.0.30001173" - colorette "^1.2.1" - electron-to-chromium "^1.3.634" - escalade "^3.1.1" - node-releases "^1.1.69" - -browserslist@^4.16.3: +browserslist@^4.0.0, browserslist@^4.12.0, browserslist@^4.14.5, browserslist@^4.16.1, browserslist@^4.16.3, browserslist@^4.6.4: version "4.16.3" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.16.3.tgz#340aa46940d7db878748567c5dea24a48ddf3717" integrity sha512-vIyhWmIkULaq04Gt93txdh+j02yX/JzlyhLYbV3YQCn/zvES3JnY7TifHHvvr1w5hTDluNKMkV05cs4vy8Q7sw== @@ -5746,12 +5665,7 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001125, caniuse-lite@^1.0.30001173: - version "1.0.30001191" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001191.tgz#bacb432b6701f690c8c5f7c680166b9a9f0843d9" - integrity sha512-xJJqzyd+7GCJXkcoBiQ1GuxEiOBCLQ0aVW9HMekifZsAVGdj5eJ4mFB9fEhSHipq9IOk/QXFJUiIr9lZT+EsGw== - -caniuse-lite@^1.0.30001181, caniuse-lite@^1.0.30001196: +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001125, caniuse-lite@^1.0.30001173, caniuse-lite@^1.0.30001181, caniuse-lite@^1.0.30001196: version "1.0.30001196" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001196.tgz#00518a2044b1abf3e0df31fadbe5ed90b63f4e64" integrity sha512-CPvObjD3ovWrNBaXlAIGWmg2gQQuJ5YhuciUOjPRox6hIQttu8O+b51dx6VIpIY9ESd2d0Vac1RKpICdG4rGUg== @@ -6324,12 +6238,7 @@ color@^3.0.0, color@^3.1.3: color-convert "^1.9.1" color-string "^1.5.4" -colorette@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.2.1.tgz#4d0b921325c14faf92633086a536db6e89564b1b" - integrity sha512-puCDz0CzydiSYOrnXpz/PKd69zRrribezjtE9yd4zvytoRc8+RY/KJPvtPFKZS3E3wP6neGyMe0vOTlHO5L3Pw== - -colorette@^1.2.2: +colorette@^1.2.1, colorette@^1.2.2: version "1.2.2" resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.2.2.tgz#cbcc79d5e99caea2dbf10eb3a26fd8b3e6acfa94" integrity sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w== @@ -8003,12 +7912,7 @@ ejs@^2.6.1: resolved "https://registry.yarnpkg.com/ejs/-/ejs-2.7.4.tgz#48661287573dcc53e366c7a1ae52c3a120eec9ba" integrity sha512-7vmuyh5+kuUyJKePhQfRQBhXV5Ce+RnaeeQArKu1EAMpL3WbgMt5WG6uQZpEVvYSSsxMXRKOewtDk9RaTKXRlA== -electron-to-chromium@^1.3.564, electron-to-chromium@^1.3.634: - version "1.3.671" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.671.tgz#8feaed6eae42d279fa4611f58c42a5a1eb81b2a0" - integrity sha512-RTD97QkdrJKaKwRv9h/wGAaoR2lGxNXEcBXS31vjitgTPwTWAbLdS7cEsBK68eEQy7p6YyT8D5BxBEYHu2SuwQ== - -electron-to-chromium@^1.3.649: +electron-to-chromium@^1.3.564, electron-to-chromium@^1.3.634, electron-to-chromium@^1.3.649: version "1.3.681" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.681.tgz#facd915ae46a020e8be566a2ecdc0b9444439be9" integrity sha512-W6uYvSUTHuyX2DZklIESAqx57jfmGjUkd7Z3RWqLdj9Mmt39ylhBuvFXlskQnvBHj0MYXIeQI+mjiwVddZLSvA== @@ -12801,11 +12705,6 @@ lodash.filter@^4.4.0: resolved "https://registry.yarnpkg.com/lodash.filter/-/lodash.filter-4.6.0.tgz#668b1d4981603ae1cc5a6fa760143e480b4c4ace" integrity sha1-ZosdSYFgOuHMWm+nYBQ+SAtMSs4= -lodash.flatmap@^4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.flatmap/-/lodash.flatmap-4.5.0.tgz#ef8cbf408f6e48268663345305c6acc0b778702e" - integrity sha1-74y/QI9uSCaGYzRTBcaswLd4cC4= - lodash.flatten@^4.2.0, lodash.flatten@^4.4.0: version "4.4.0" resolved "https://registry.yarnpkg.com/lodash.flatten/-/lodash.flatten-4.4.0.tgz#f31c22225a9632d2bbf8e4addbef240aa765a61f" @@ -12831,16 +12730,6 @@ lodash.get@^4.4.2: resolved "https://registry.yarnpkg.com/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99" integrity sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk= -lodash.groupby@^4.6.0: - version "4.6.0" - resolved "https://registry.yarnpkg.com/lodash.groupby/-/lodash.groupby-4.6.0.tgz#0b08a1dcf68397c397855c3239783832df7403d1" - integrity sha1-Cwih3PaDl8OXhVwyOXg4Mt90A9E= - -lodash.has@^4.5.2: - version "4.5.2" - resolved "https://registry.yarnpkg.com/lodash.has/-/lodash.has-4.5.2.tgz#d19f4dc1095058cccbe2b0cdf4ee0fe4aa37c862" - integrity sha1-0Z9NwQlQWMzL4rDN9O4P5Ko3yGI= - lodash.isempty@^4.4.0: version "4.4.0" resolved "https://registry.yarnpkg.com/lodash.isempty/-/lodash.isempty-4.4.0.tgz#6f86cbedd8be4ec987be9aaf33c9684db1b31e7e" @@ -12871,16 +12760,6 @@ lodash.isplainobject@^4.0.6: resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb" integrity sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs= -lodash.isstring@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/lodash.isstring/-/lodash.isstring-4.0.1.tgz#d527dfb5456eca7cc9bb95d5daeaf88ba54a5451" - integrity sha1-1SfftUVuynzJu5XV2ur4i6VKVFE= - -lodash.kebabcase@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz#8489b1cb0d29ff88195cceca448ff6d6cc295c36" - integrity sha1-hImxyw0p/4gZXM7KRI/21swpXDY= - lodash.map@^4.4.0: version "4.6.0" resolved "https://registry.yarnpkg.com/lodash.map/-/lodash.map-4.6.0.tgz#771ec7839e3473d9c4cde28b19394c3562f4f6d3" @@ -12906,11 +12785,6 @@ lodash.pick@^4.2.1, lodash.pick@^4.4.0: resolved "https://registry.yarnpkg.com/lodash.pick/-/lodash.pick-4.4.0.tgz#52f05610fff9ded422611441ed1fc123a03001b3" integrity sha1-UvBWEP/53tQiYRRB7R/BI6AwAbM= -lodash.pickby@^4.6.0: - version "4.6.0" - resolved "https://registry.yarnpkg.com/lodash.pickby/-/lodash.pickby-4.6.0.tgz#7dea21d8c18d7703a27c704c15d3b84a67e33aff" - integrity sha1-feoh2MGNdwOifHBMFdO4SmfjOv8= - lodash.reduce@^4.4.0: version "4.6.0" resolved "https://registry.yarnpkg.com/lodash.reduce/-/lodash.reduce-4.6.0.tgz#f1ab6b839299ad48f784abbf476596f03b914d3b" @@ -12941,7 +12815,7 @@ lodash.some@^4.4.0: resolved "https://registry.yarnpkg.com/lodash.some/-/lodash.some-4.6.0.tgz#1bb9f314ef6b8baded13b549169b2a945eb68e4d" integrity sha1-G7nzFO9ri63tE7VJFpsqlF62jk0= -lodash.sortby@^4.6.0, lodash.sortby@^4.7.0: +lodash.sortby@^4.7.0: version "4.7.0" resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438" integrity sha1-7dFMgk4sycHgsKG0K7UhBRakJDg= @@ -12982,9 +12856,9 @@ lodash.uniq@4.5.0, lodash.uniq@^4.5.0: integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= lodash@^4.15.0, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.1, lodash@~4.17.10: - version "4.17.20" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52" - integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA== + version "4.17.21" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" + integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== log-process-errors@^5.1.2: version "5.1.2" @@ -14266,12 +14140,7 @@ node-notifier@^8.0.0: uuid "^8.3.0" which "^2.0.2" -node-releases@^1.1.61, node-releases@^1.1.69: - version "1.1.70" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.70.tgz#66e0ed0273aa65666d7fe78febe7634875426a08" - integrity sha512-Slf2s69+2/uAD79pVVQo8uSiC34+g8GWY8UH2Qtqv34ZfhYrxpYpfzs9Js9d6O0mbDmALuxaTlplnBTnSELcrw== - -node-releases@^1.1.70: +node-releases@^1.1.61, node-releases@^1.1.69, node-releases@^1.1.70: version "1.1.71" resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.71.tgz#cb1334b179896b1c89ecfdd4b725fb7bbdfc7dbb" integrity sha512-zR6HoT6LrLCRBwukmrVbHv0EpEQjksO6GmFcZQQuCAy139BEsoVKPYnf3jongYW83fAa1torLGYwxxky/p28sg==