mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
dependencies: Upgrade JavaScript dependencies.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
577d41023d
commit
b3f9fdf99a
@@ -51,6 +51,7 @@
|
||||
"import/first": "error",
|
||||
"import/newline-after-import": "error",
|
||||
"import/no-self-import": "error",
|
||||
"import/no-unresolved": ["error", {"ignore": ["^date-fns-tz$|^js-cookie$|^katex$"]}],
|
||||
"import/no-useless-path-segments": "error",
|
||||
"import/order": ["error", {"alphabetize": {"order": "asc"}, "newlines-between": "always"}],
|
||||
"import/unambiguous": "error",
|
||||
|
19
package.json
19
package.json
@@ -15,7 +15,7 @@
|
||||
"@giphy/js-components": "^5.0.5",
|
||||
"@giphy/js-fetch-api": "^4.0.1",
|
||||
"@sentry/browser": "^7.41.0",
|
||||
"@sentry/integrations": "7.41.0",
|
||||
"@sentry/integrations": "^7.41.0",
|
||||
"@sentry/tracing": "^7.41.0",
|
||||
"@uppy/core": "^3.0.2",
|
||||
"@uppy/progress-bar": "^3.0.1",
|
||||
@@ -23,7 +23,7 @@
|
||||
"@zxcvbn-ts/core": "^2.0.0",
|
||||
"@zxcvbn-ts/language-common": "^2.0.0",
|
||||
"@zxcvbn-ts/language-en": "^2.0.0",
|
||||
"autosize": "^5.0.1",
|
||||
"autosize": "^6.0.1",
|
||||
"babel-loader": "^9.1.0",
|
||||
"babel-plugin-formatjs": "^10.2.6",
|
||||
"babel-plugin-istanbul": "^6.1.1",
|
||||
@@ -34,7 +34,7 @@
|
||||
"css-loader": "^6.2.0",
|
||||
"css-minimizer-webpack-plugin": "^4.0.0",
|
||||
"date-fns": "^2.16.1",
|
||||
"date-fns-tz": "^1.1.1",
|
||||
"date-fns-tz": "^2.0.0",
|
||||
"email-addresses": "^5.0.0",
|
||||
"emoji-datasource-google": "^14.0.0",
|
||||
"emoji-datasource-google-blob": "npm:emoji-datasource-google@^3.0.0",
|
||||
@@ -114,23 +114,22 @@
|
||||
"eslint-plugin-formatjs": "^4.0.2",
|
||||
"eslint-plugin-import": "^2.22.0",
|
||||
"eslint-plugin-no-jquery": "^2.7.0",
|
||||
"eslint-plugin-unicorn": "^45.0.1",
|
||||
"eslint-plugin-unicorn": "^46.0.0",
|
||||
"jsdom": "^21.1.0",
|
||||
"minimist": "^1.2.6",
|
||||
"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": "^19.3.0",
|
||||
"prettier": "^2.8.4",
|
||||
"puppeteer": "19.7.2",
|
||||
"source-map": "https://codeload.github.com/benthemonkey/source-map/tar.gz/d95423f77edef6cbb9e21d2d6014c7de85ae220a",
|
||||
"stylelint": "^14.0.1",
|
||||
"stylelint-config-prettier": "^9.0.3",
|
||||
"stylelint-config-standard": "^29.0.0",
|
||||
"stylelint": "^15.2.0",
|
||||
"stylelint-config-standard": "^31.0.0",
|
||||
"svgo": "^3.0.0",
|
||||
"swagger-parser": "^10.0.0",
|
||||
"ts-node": "^10.0.0",
|
||||
"typescript": "^4.0.2",
|
||||
"typescript": "^5.0.2",
|
||||
"vnu-jar": "^22.9.29",
|
||||
"webpack-dev-server": "^4.2.0",
|
||||
"xvfb": "^0.4.0",
|
||||
|
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
extends: ["stylelint-config-standard", "stylelint-config-prettier"],
|
||||
extends: ["stylelint-config-standard"],
|
||||
rules: {
|
||||
// Add some exceptions for recommended rules
|
||||
"at-rule-no-unknown": [true, {ignoreAtRules: ["extend"]}],
|
||||
|
@@ -171,7 +171,7 @@ def run() -> None:
|
||||
)
|
||||
linter_config.external_linter(
|
||||
"prettier",
|
||||
["node_modules/.bin/prettier", "--cache", "--check", "--log-level=warn"],
|
||||
["node_modules/.bin/prettier", "--cache", "--check", "--loglevel=warn"],
|
||||
["css", "flow", "js", "json", "md", "ts", "yaml", "yml"],
|
||||
fix_arg=["--write"],
|
||||
description="Formats CSS, JavaScript, YAML",
|
||||
|
@@ -48,4 +48,4 @@ API_FEATURE_LEVEL = 169
|
||||
# historical commits sharing the same major version, in which case a
|
||||
# minor version bump suffices.
|
||||
|
||||
PROVISION_VERSION = (225, 0)
|
||||
PROVISION_VERSION = (226, 0)
|
||||
|
@@ -14,7 +14,7 @@ module.exports = {
|
||||
[
|
||||
"@babel/preset-env",
|
||||
{
|
||||
corejs: "3.27",
|
||||
corejs: "3.29",
|
||||
shippedProposals: true,
|
||||
useBuiltIns: "usage",
|
||||
},
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import katex from "katex"; // eslint-disable-line import/no-unresolved
|
||||
import katex from "katex";
|
||||
import _ from "lodash";
|
||||
|
||||
// Parsing routine that can be dropped in to message parsing
|
||||
|
@@ -50,7 +50,7 @@ export function $t_html(
|
||||
});
|
||||
}
|
||||
|
||||
export let language_list: typeof page_params["language_list"];
|
||||
export let language_list: (typeof page_params)["language_list"];
|
||||
|
||||
export function get_language_name(language_code: string): string {
|
||||
const language_list_map: Record<string, string> = {};
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import {isValid} from "date-fns";
|
||||
import katex from "katex"; // eslint-disable-line import/no-unresolved
|
||||
import katex from "katex";
|
||||
import _ from "lodash";
|
||||
|
||||
import * as fenced_code from "../shared/src/fenced_code";
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import $ from "jquery";
|
||||
import Cookies from "js-cookie"; // eslint-disable-line import/no-unresolved
|
||||
import Cookies from "js-cookie";
|
||||
|
||||
import render_dialog_default_language from "../templates/default_language_modal.hbs";
|
||||
|
||||
|
Reference in New Issue
Block a user