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
835ee69c80
commit
8f564749bb
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"private": true,
|
||||
"packageManager": "pnpm@8.7.5+sha256.c69c54d81c58e23ee23324729e68d012fe3ef3b7e62e2dc521b1141c2a36567e",
|
||||
"packageManager": "pnpm@8.9.0+sha256.8f5264ad1d100da11a6add6bb8a94c6f1e913f9e9261b2a551fabefad2ec0fec",
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.5.5",
|
||||
"@babel/preset-env": "^7.5.5",
|
||||
|
|
2644
pnpm-lock.yaml
2644
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
@ -122,7 +122,7 @@ def prepare_puppeteer_run(is_firefox: bool = False) -> None:
|
|||
os.chdir(ZULIP_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")
|
||||
subprocess.check_call(["node", "install.mjs"], cwd="node_modules/puppeteer")
|
||||
os.makedirs("var/puppeteer", exist_ok=True)
|
||||
for f in glob.glob("var/puppeteer/failure-*.png"):
|
||||
os.remove(f)
|
||||
|
|
|
@ -48,4 +48,4 @@ API_FEATURE_LEVEL = 214
|
|||
# historical commits sharing the same major version, in which case a
|
||||
# minor version bump suffices.
|
||||
|
||||
PROVISION_VERSION = (250, 0)
|
||||
PROVISION_VERSION = (251, 0)
|
||||
|
|
|
@ -14,7 +14,7 @@ module.exports = {
|
|||
[
|
||||
"@babel/preset-env",
|
||||
{
|
||||
corejs: "3.32",
|
||||
corejs: "3.33",
|
||||
include: ["transform-optional-chaining"],
|
||||
shippedProposals: true,
|
||||
useBuiltIns: "usage",
|
||||
|
|
|
@ -22,21 +22,7 @@ declare namespace JQueryValidation {
|
|||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
|
||||
interface JQuery<TElement = HTMLElement> {
|
||||
// Specialize .val() for elements with known value types.
|
||||
// https://github.com/DefinitelyTyped/DefinitelyTyped/pull/66801
|
||||
val():
|
||||
| (TElement extends HTMLSelectElement & {type: "select-one"}
|
||||
? string
|
||||
: TElement extends HTMLSelectElement & {type: "select-multiple"}
|
||||
? string[]
|
||||
: TElement extends HTMLSelectElement
|
||||
? string | string[]
|
||||
: TElement extends {value: string | number}
|
||||
? TElement["value"]
|
||||
: string | number | string[])
|
||||
| undefined;
|
||||
|
||||
interface JQuery {
|
||||
expectOne(): this;
|
||||
get_offset_to_window(): DOMRect;
|
||||
tab(action?: string): this; // From web/third/bootstrap
|
||||
|
|
Loading…
Reference in New Issue