dependencies: Upgrade JavaScript dependencies.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2022-05-03 16:12:04 -07:00 committed by Tim Abbott
parent f8d6290db5
commit 1ac8673989
5 changed files with 1168 additions and 1194 deletions

View File

@ -14,7 +14,7 @@ module.exports = {
[
"@babel/preset-env",
{
corejs: "3.20",
corejs: "3.22",
shippedProposals: true,
useBuiltIns: "usage",
},

View File

@ -107,7 +107,7 @@
"eslint-plugin-formatjs": "^3.0.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-no-jquery": "^2.7.0",
"eslint-plugin-unicorn": "^41.0.0",
"eslint-plugin-unicorn": "^42.0.0",
"jsdom": "^19.0.0",
"mockdate": "^3.0.2",
"node-fetch": "^2.6.1",
@ -128,7 +128,7 @@
"xvfb": "^0.4.0",
"yaml": "^2.0.0-8",
"yargs": "^17.1.1",
"yarn-deduplicate": "^3.0.0",
"yarn-deduplicate": "^5.0.0",
"zulip-js": "^2.0.8"
},
"resolutions": {

View File

@ -221,7 +221,7 @@ export function user_ids_string_to_emails_string(user_ids_string) {
export function user_ids_string_to_ids_array(user_ids_string) {
const user_ids = user_ids_string.split(",");
const ids = user_ids.map((id) => Number(id));
const ids = user_ids.map(Number);
return ids;
}

View File

@ -48,4 +48,4 @@ API_FEATURE_LEVEL = 128
# historical commits sharing the same major version, in which case a
# minor version bump suffices.
PROVISION_VERSION = "187.0"
PROVISION_VERSION = "188.0"

2352
yarn.lock

File diff suppressed because it is too large Load Diff