mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 16:14:02 +00:00
dependencies: Upgrade JavaScript dependencies.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
30b68abf55
commit
a9d64d5604
@@ -11,8 +11,8 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/check": "^0.9.3",
|
"@astrojs/check": "^0.9.3",
|
||||||
"@astrojs/starlight": "^0.29.2",
|
"@astrojs/starlight": "^0.30.3",
|
||||||
"astro": "^4.10.2",
|
"astro": "^5.1.2",
|
||||||
"sharp": "^0.33.5",
|
"sharp": "^0.33.5",
|
||||||
"typescript": "^5.4.5"
|
"typescript": "^5.4.5"
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
|
import {docsLoader} from "@astrojs/starlight/loaders";
|
||||||
import {docsSchema} from "@astrojs/starlight/schema";
|
import {docsSchema} from "@astrojs/starlight/schema";
|
||||||
import {defineCollection} from "astro:content";
|
import {defineCollection} from "astro:content";
|
||||||
|
|
||||||
export const collections = {
|
export const collections = {
|
||||||
docs: defineCollection({schema: docsSchema()}),
|
docs: defineCollection({loader: docsLoader(), schema: docsSchema()}),
|
||||||
};
|
};
|
10
package.json
10
package.json
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"private": true,
|
"private": true,
|
||||||
"packageManager": "pnpm@9.14.2+sha512.6e2baf77d06b9362294152c851c4f278ede37ab1eba3a55fda317a4a17b209f4dbb973fb250a77abc463a341fcb1f17f17cfa24091c4eb319cda0d9b84278387",
|
"packageManager": "pnpm@9.15.2+sha512.93e57b0126f0df74ce6bff29680394c0ba54ec47246b9cf321f0121d8d9bb03f750a705f24edc3c1180853afd7c2c3b94196d0a3d53d3e069d9e2793ef11f321",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/core": "^7.5.5",
|
"@babel/core": "^7.5.5",
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
"@uppy/core": "^4.2.0",
|
"@uppy/core": "^4.2.0",
|
||||||
"@uppy/drag-drop": "^4.0.2",
|
"@uppy/drag-drop": "^4.0.2",
|
||||||
"@uppy/progress-bar": "^4.0.0",
|
"@uppy/progress-bar": "^4.0.0",
|
||||||
"@uppy/tus": "^4.1.0",
|
"@uppy/tus": "4.1.3",
|
||||||
"@zxcvbn-ts/core": "^3.0.1",
|
"@zxcvbn-ts/core": "^3.0.1",
|
||||||
"@zxcvbn-ts/language-common": "^3.0.2",
|
"@zxcvbn-ts/language-common": "^3.0.2",
|
||||||
"@zxcvbn-ts/language-en": "^3.0.1",
|
"@zxcvbn-ts/language-en": "^3.0.1",
|
||||||
@@ -88,7 +88,7 @@
|
|||||||
"webfonts-loader": "^8.0.0",
|
"webfonts-loader": "^8.0.0",
|
||||||
"webpack": "^5.61.0",
|
"webpack": "^5.61.0",
|
||||||
"webpack-bundle-tracker": "^3.0.1",
|
"webpack-bundle-tracker": "^3.0.1",
|
||||||
"webpack-cli": "^5.0.1",
|
"webpack-cli": "^6.0.1",
|
||||||
"winchan": "^0.2.1",
|
"winchan": "^0.2.1",
|
||||||
"zod": "^3.21.4"
|
"zod": "^3.21.4"
|
||||||
},
|
},
|
||||||
@@ -127,8 +127,8 @@
|
|||||||
"@typescript-eslint/parser": "^8.2.0",
|
"@typescript-eslint/parser": "^8.2.0",
|
||||||
"babel-plugin-istanbul": "^7.0.0",
|
"babel-plugin-istanbul": "^7.0.0",
|
||||||
"callsites": "^4.2.0",
|
"callsites": "^4.2.0",
|
||||||
"cldr-annotations-derived-modern": "^45.0.0",
|
"cldr-annotations-derived-full": "^46.1.0",
|
||||||
"cldr-annotations-modern": "^45.0.0",
|
"cldr-annotations-full": "^46.1.0",
|
||||||
"confusing-browser-globals": "^1.0.11",
|
"confusing-browser-globals": "^1.0.11",
|
||||||
"css.escape": "^1.5.1",
|
"css.escape": "^1.5.1",
|
||||||
"diff": "^7.0.0",
|
"diff": "^7.0.0",
|
||||||
|
4354
pnpm-lock.yaml
generated
4354
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -14,12 +14,12 @@ from tools.setup.emoji.emoji_setup_utils import get_emoji_code
|
|||||||
from zerver.lib.emoji_utils import hex_codepoint_to_emoji, unqualify_emoji
|
from zerver.lib.emoji_utils import hex_codepoint_to_emoji, unqualify_emoji
|
||||||
|
|
||||||
CLDR_DATA_FILE = os.path.join(
|
CLDR_DATA_FILE = os.path.join(
|
||||||
ZULIP_PATH, "node_modules", "cldr-annotations-modern", "annotations", "en", "annotations.json"
|
ZULIP_PATH, "node_modules", "cldr-annotations-full", "annotations", "en", "annotations.json"
|
||||||
)
|
)
|
||||||
CLDR_DERIVED_DATA_FILE = os.path.join(
|
CLDR_DERIVED_DATA_FILE = os.path.join(
|
||||||
ZULIP_PATH,
|
ZULIP_PATH,
|
||||||
"node_modules",
|
"node_modules",
|
||||||
"cldr-annotations-derived-modern",
|
"cldr-annotations-derived-full",
|
||||||
"annotationsDerived",
|
"annotationsDerived",
|
||||||
"en",
|
"en",
|
||||||
"annotations.json",
|
"annotations.json",
|
||||||
|
@@ -49,4 +49,4 @@ API_FEATURE_LEVEL = 332 # Last bumped for data deletion of deactivated realms.
|
|||||||
# historical commits sharing the same major version, in which case a
|
# historical commits sharing the same major version, in which case a
|
||||||
# minor version bump suffices.
|
# minor version bump suffices.
|
||||||
|
|
||||||
PROVISION_VERSION = (306, 1) # bumped 2025-02-01 to upgrade Node.js
|
PROVISION_VERSION = (307, 0) # bumped 2025-01-02 to upgrade JavaScript dependencies
|
||||||
|
@@ -19,7 +19,7 @@ function make_logger_func(name: "debug" | "log" | "info" | "warn" | "error") {
|
|||||||
return function Logger_func(this: Logger, ...args: unknown[]) {
|
return function Logger_func(this: Logger, ...args: unknown[]) {
|
||||||
const date_str = new Date().toISOString();
|
const date_str = new Date().toISOString();
|
||||||
|
|
||||||
const str_args = args.map((x) => (typeof x === "object" ? JSON.stringify(x) : x));
|
const str_args = args.map((x) => (typeof x === "string" ? x : JSON.stringify(x)));
|
||||||
|
|
||||||
const log_entry = date_str + " " + name.toUpperCase() + ": " + str_args.join("");
|
const log_entry = date_str + " " + name.toUpperCase() + ": " + str_args.join("");
|
||||||
this._memory_log.push(log_entry);
|
this._memory_log.push(log_entry);
|
||||||
|
Reference in New Issue
Block a user