mirror of https://github.com/zulip/zulip.git
dependencies: Upgrade JavaScript dependencies.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
8a96c68780
commit
8b6bd961e6
|
@ -118,6 +118,7 @@
|
|||
"unicorn/explicit-length-check": "off",
|
||||
"unicorn/filename-case": "off",
|
||||
"unicorn/no-await-expression-member": "off",
|
||||
"unicorn/no-negated-condition": "off",
|
||||
"unicorn/no-nested-ternary": "off",
|
||||
"unicorn/no-null": "off",
|
||||
"unicorn/no-process-exit": "off",
|
||||
|
|
|
@ -47,7 +47,6 @@ async function navigate_to_subscriptions(page: Page): Promise<void> {
|
|||
await page.click(manage_streams_selector);
|
||||
|
||||
await page.waitForSelector("#subscription_overlay", {visible: true});
|
||||
await page.waitForSelector("#manage_streams_container", {visible: true});
|
||||
|
||||
await page.click("#subscription_overlay .exit");
|
||||
// Wait until the overlay is completely closed.
|
||||
|
|
|
@ -78,10 +78,10 @@
|
|||
"tippy.js": "^6.3.7",
|
||||
"turndown": "^7.0.0",
|
||||
"url-loader": "^4.1.1",
|
||||
"webfonts-loader": "^7.0.1",
|
||||
"webfonts-loader": "^8.0.0",
|
||||
"webpack": "^5.61.0",
|
||||
"webpack-bundle-tracker": "^1.2.0",
|
||||
"webpack-cli": "^4.6.0",
|
||||
"webpack-cli": "^5.0.1",
|
||||
"winchan": "^0.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -108,14 +108,14 @@
|
|||
"eslint-plugin-formatjs": "^4.0.2",
|
||||
"eslint-plugin-import": "^2.22.0",
|
||||
"eslint-plugin-no-jquery": "^2.7.0",
|
||||
"eslint-plugin-unicorn": "^44.0.1",
|
||||
"eslint-plugin-unicorn": "^45.0.1",
|
||||
"jsdom": "^20.0.0",
|
||||
"mockdate": "^3.0.2",
|
||||
"nyc": "^15.0.0",
|
||||
"openapi-examples-validator": "^4.0.0",
|
||||
"openapi-types": "^12.0.0",
|
||||
"prettier": "^3.0.0-alpha.4",
|
||||
"puppeteer": "^17.1.0",
|
||||
"puppeteer": "^19.3.0",
|
||||
"source-map": "https://codeload.github.com/benthemonkey/source-map/tar.gz/d95423f77edef6cbb9e21d2d6014c7de85ae220a",
|
||||
"stylelint": "^14.0.1",
|
||||
"stylelint-config-prettier": "^9.0.3",
|
||||
|
|
|
@ -72,6 +72,3 @@ natsort
|
|||
|
||||
# For spell check linter
|
||||
codespell
|
||||
|
||||
# Finds appropriate directories for data, config, cache, etc.
|
||||
platformdirs
|
||||
|
|
|
@ -1350,9 +1350,7 @@ pkgutil-resolve-name==1.3.10 \
|
|||
platformdirs==2.5.4 \
|
||||
--hash=sha256:1006647646d80f16130f052404c6b901e80ee4ed6bef6792e1f238a8969106f7 \
|
||||
--hash=sha256:af0276409f9a02373d540bf8480021a048711d572745aef4b7842dad245eba10
|
||||
# via
|
||||
# -r requirements/dev.in
|
||||
# black
|
||||
# via black
|
||||
polib==1.1.1 \
|
||||
--hash=sha256:d3ee85e0c6788f789353416b1612c6c92d75fe6ccfac0029711974d6abd0f86d \
|
||||
--hash=sha256:e02c355ae5e054912e3b0d16febc56510eff7e49d60bf22aecb463bd2f2a2dfa
|
||||
|
|
|
@ -5,8 +5,6 @@ import sys
|
|||
from argparse import ArgumentParser
|
||||
from typing import Iterable, List, Optional, Tuple
|
||||
|
||||
import platformdirs
|
||||
|
||||
from scripts.lib.zulip_tools import get_dev_uuid_var_path
|
||||
from version import PROVISION_VERSION
|
||||
|
||||
|
@ -122,9 +120,6 @@ def find_js_test_files(test_dir: str, files: Iterable[str]) -> List[str]:
|
|||
|
||||
def prepare_puppeteer_run(is_firefox: bool = False) -> None:
|
||||
os.chdir(ZULIP_PATH)
|
||||
download_path = platformdirs.user_cache_dir("zulip/puppeteer-download")
|
||||
os.makedirs(download_path, exist_ok=True)
|
||||
os.environ["PUPPETEER_DOWNLOAD_PATH"] = download_path
|
||||
# This will determine if the browser will be firefox or chrome.
|
||||
os.environ["PUPPETEER_PRODUCT"] = "firefox" if is_firefox else "chrome"
|
||||
subprocess.check_call(["node", "install.js"], cwd="node_modules/puppeteer")
|
||||
|
|
|
@ -48,4 +48,4 @@ API_FEATURE_LEVEL = 156
|
|||
# historical commits sharing the same major version, in which case a
|
||||
# minor version bump suffices.
|
||||
|
||||
PROVISION_VERSION = (215, 0)
|
||||
PROVISION_VERSION = (216, 0)
|
||||
|
|
Loading…
Reference in New Issue