mirror of
https://github.com/zulip/zulip.git
synced 2025-10-22 20:42:14 +00:00
dependencies: Upgrade JavaScript dependencies.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
23a2a31e7e
commit
ac19e90f40
@@ -203,6 +203,7 @@ export default [
|
||||
"@typescript-eslint/explicit-function-return-type": ["error", {allowExpressions: true}],
|
||||
"@typescript-eslint/member-ordering": "error",
|
||||
"@typescript-eslint/method-signature-style": "error",
|
||||
"@typescript-eslint/no-misused-spread": "off",
|
||||
"@typescript-eslint/no-non-null-assertion": "off",
|
||||
"@typescript-eslint/no-unnecessary-condition": "off",
|
||||
"@typescript-eslint/no-unnecessary-qualifier": "error",
|
||||
|
@@ -11,7 +11,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/check": "^0.9.3",
|
||||
"@astrojs/starlight": "^0.30.3",
|
||||
"@astrojs/starlight": "^0.31.1",
|
||||
"astro": "^5.1.2",
|
||||
"sharp": "^0.33.5",
|
||||
"typescript": "^5.4.5"
|
||||
|
15
package.json
15
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"private": true,
|
||||
"packageManager": "pnpm@9.15.2+sha512.93e57b0126f0df74ce6bff29680394c0ba54ec47246b9cf321f0121d8d9bb03f750a705f24edc3c1180853afd7c2c3b94196d0a3d53d3e069d9e2793ef11f321",
|
||||
"packageManager": "pnpm@9.15.4+sha512.b2dc20e2fc72b3e18848459b37359a32064663e5627a51e4c74b2c29dd8e8e0491483c3abb40789cfd578bf362fb6ba8261b05f0387d76792ed6e23ea3b1b6a0",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.5.5",
|
||||
@@ -59,7 +59,7 @@
|
||||
"mini-css-extract-plugin": "^2.2.2",
|
||||
"minimalistic-assert": "^1.0.1",
|
||||
"panzoom": "^9.4.2",
|
||||
"plotly.js": "^2.0.0",
|
||||
"plotly.js": "^3.0.0",
|
||||
"postcss": "^8.0.3",
|
||||
"postcss-extend-rule": "^4.0.0",
|
||||
"postcss-import": "^16.0.0",
|
||||
@@ -132,25 +132,25 @@
|
||||
"diff": "^7.0.0",
|
||||
"difflib": "^0.2.4",
|
||||
"enhanced-resolve": "^5.8.2",
|
||||
"es-check": "^7.0.0",
|
||||
"es-check": "^8.0.1",
|
||||
"eslint": "^9.15.0",
|
||||
"eslint-config-prettier": "^9.0.0",
|
||||
"eslint-config-prettier": "^10.0.1",
|
||||
"eslint-import-resolver-webpack": "^0.13.4",
|
||||
"eslint-plugin-formatjs": "^5.0.0",
|
||||
"eslint-plugin-import": "^2.22.0",
|
||||
"eslint-plugin-no-jquery": "^3.0.2",
|
||||
"eslint-plugin-unicorn": "^56.0.0",
|
||||
"globals": "^15.12.0",
|
||||
"jsdom": "^25.0.0",
|
||||
"jsdom": "^26.0.0",
|
||||
"mockdate": "^3.0.2",
|
||||
"nyc": "^17.0.0",
|
||||
"openapi-examples-validator": "^6.0.1",
|
||||
"preact": "^10.24.3",
|
||||
"prettier": "^3.0.0",
|
||||
"puppeteer": "^23.5.0",
|
||||
"puppeteer": "^24.1.1",
|
||||
"source-map": "npm:source-map-js@^1.2.1",
|
||||
"stylelint": "^16.2.0",
|
||||
"stylelint-config-standard": "^36.0.0",
|
||||
"stylelint-config-standard": "^37.0.0",
|
||||
"stylelint-high-performance-animation": "^1.10.0",
|
||||
"svgo": "^3.0.0",
|
||||
"swagger-parser": "^10.0.0",
|
||||
@@ -169,6 +169,7 @@
|
||||
"patchedDependencies": {
|
||||
"handlebars": "patches/handlebars.patch",
|
||||
"source-sans@3.46.0": "patches/source-sans@3.46.0.patch",
|
||||
"stylelint-high-performance-animation": "patches/stylelint-high-performance-animation.patch",
|
||||
"svgicons2svgfont": "patches/svgicons2svgfont.patch",
|
||||
"tippy.js@6.3.7": "patches/tippy.js@6.3.7.patch",
|
||||
"textarea-caret@3.1.0": "patches/textarea-caret@3.1.0.patch"
|
||||
|
52
patches/stylelint-high-performance-animation.patch
Normal file
52
patches/stylelint-high-performance-animation.patch
Normal file
@@ -0,0 +1,52 @@
|
||||
diff --git a/index.js b/index.js
|
||||
index 8cc85d49192c244d6f895ee38bfca59bec7f78f5..9f7789da1d8de0dd845d08c3be3825016b5a2253 100644
|
||||
--- a/index.js
|
||||
+++ b/index.js
|
||||
@@ -183,12 +183,14 @@ module.exports = stylelint.createPlugin(
|
||||
(blacklist.indexOf(val) > -1 || val === "all")
|
||||
) {
|
||||
const index = declarationValueIndex(decl) + node.sourceIndex;
|
||||
+ const endIndex = index + node.value.length;
|
||||
stylelint.utils.report({
|
||||
ruleName,
|
||||
result,
|
||||
node: decl,
|
||||
message: messages.rejected("transition", node.value),
|
||||
index,
|
||||
+ endIndex,
|
||||
});
|
||||
}
|
||||
});
|
||||
@@ -217,12 +219,15 @@ module.exports = stylelint.createPlugin(
|
||||
});
|
||||
|
||||
if (nodes.length && transitionProp.length === 0) {
|
||||
+ const index = declarationValueIndex(decl) + nodes[0].index;
|
||||
+ const endIndex = index + nodes[0].value.length;
|
||||
stylelint.utils.report({
|
||||
ruleName,
|
||||
result,
|
||||
node: decl,
|
||||
message: messages.rejected("transition", "all"),
|
||||
- index: declarationValueIndex(decl) + nodes[0].index,
|
||||
+ index,
|
||||
+ endIndex,
|
||||
});
|
||||
return;
|
||||
}
|
||||
@@ -230,6 +235,7 @@ module.exports = stylelint.createPlugin(
|
||||
|
||||
for (const prop of nodes) {
|
||||
const index = declarationValueIndex(decl) + prop.index;
|
||||
+ const endIndex = index + prop.value.length;
|
||||
const val = unprefixed(prop.value);
|
||||
if (
|
||||
ignored.indexOf(val) === -1 &&
|
||||
@@ -241,6 +247,7 @@ module.exports = stylelint.createPlugin(
|
||||
node: decl,
|
||||
message: messages.rejected("transition", prop.value),
|
||||
index,
|
||||
+ endIndex,
|
||||
});
|
||||
}
|
||||
}
|
4117
pnpm-lock.yaml
generated
4117
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -49,4 +49,4 @@ API_FEATURE_LEVEL = 343 # Last bumped for `stream_ids` field in stream deletion
|
||||
# historical commits sharing the same major version, in which case a
|
||||
# minor version bump suffices.
|
||||
|
||||
PROVISION_VERSION = (310, 0) # bumped 2024-01-13 to upgrade Python requirements
|
||||
PROVISION_VERSION = (311, 0) # bumped 2024-01-29 to upgrade JavaScript dependencies
|
||||
|
@@ -693,6 +693,7 @@ export function discard_realm_default_property_element_changes(elem: HTMLElement
|
||||
case "user_list_style":
|
||||
// Because this widget has a radio button structure, it
|
||||
// needs custom reset code.
|
||||
assert(typeof property_value === "number" || typeof property_value === "string");
|
||||
$elem
|
||||
.find(`input[value='${CSS.escape(property_value.toString())}']`)
|
||||
.prop("checked", true);
|
||||
|
4
web/src/types/plotly.js/lib/bar.d.ts
vendored
4
web/src/types/plotly.js/lib/bar.d.ts
vendored
@@ -1,4 +0,0 @@
|
||||
export const moduleType: "trace";
|
||||
export const name: "bar";
|
||||
export const categories: string[];
|
||||
export const meta: {description: string};
|
Reference in New Issue
Block a user