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
7d4d4017b3
commit
3dccb72519
12
package.json
12
package.json
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"private": true,
|
||||
"packageManager": "pnpm@9.1.2+sha256.19c17528f9ca20bd442e4ca42f00f1b9808a9cb419383cd04ba32ef19322aba7",
|
||||
"packageManager": "pnpm@9.4.0+sha256.b6fd0bfda555e7e584ad7e56b30c68b01d5a04f9ee93989f4b93ca8473c49c74",
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.5.5",
|
||||
"@babel/preset-env": "^7.5.5",
|
||||
|
@ -128,13 +128,13 @@
|
|||
"eslint-import-resolver-webpack": "^0.13.4",
|
||||
"eslint-plugin-formatjs": "^4.0.2",
|
||||
"eslint-plugin-import": "^2.22.0",
|
||||
"eslint-plugin-no-jquery": "^2.7.0",
|
||||
"eslint-plugin-unicorn": "^53.0.0",
|
||||
"eslint-plugin-no-jquery": "^3.0.2",
|
||||
"eslint-plugin-unicorn": "^54.0.0",
|
||||
"jsdom": "^24.0.0",
|
||||
"minimist": "^1.2.6",
|
||||
"mkdirp": "^3.0.1",
|
||||
"mockdate": "^3.0.2",
|
||||
"nyc": "^15.0.0",
|
||||
"nyc": "^17.0.0",
|
||||
"openapi-examples-validator": "^5.0.0",
|
||||
"prettier": "^3.0.0",
|
||||
"puppeteer": "^22.2.0",
|
||||
|
@ -157,9 +157,7 @@
|
|||
"source-map@^0.6": "npm:source-map-js@1.0.1"
|
||||
},
|
||||
"patchedDependencies": {
|
||||
"@types/plotly.js@2.29.4": "patches/@types__plotly.js@2.29.2.patch",
|
||||
"@uppy/core@3.11.3": "patches/@uppy__core@3.10.1.patch",
|
||||
"eslint-plugin-no-jquery@2.7.0": "patches/eslint-plugin-no-jquery@2.7.0.patch",
|
||||
"@uppy/core@3.13.0": "patches/@uppy__core@3.10.1.patch",
|
||||
"source-sans@3.46.0": "patches/source-sans@3.46.0.patch"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
diff --git a/index.d.ts b/index.d.ts
|
||||
index 04f7564695dd0bd2ed5ace66d0fd5838f53dbc62..0fdb6d9a06232b7af5dab1029c6fb4d3c4168c1e 100644
|
||||
--- a/index.d.ts
|
||||
+++ b/index.d.ts
|
||||
@@ -118,12 +118,12 @@ export interface PlotScene {
|
||||
}
|
||||
|
||||
export interface PlotRelayoutEvent extends Partial<Layout> {
|
||||
- "xaxis.range[0]"?: number | undefined;
|
||||
- "xaxis.range[1]"?: number | undefined;
|
||||
- "yaxis.range[0]"?: number | undefined;
|
||||
- "yaxis.range[1]"?: number | undefined;
|
||||
- "xaxis.autorange"?: boolean | undefined;
|
||||
- "yaxis.autorange"?: boolean | undefined;
|
||||
+ "xaxis.range[0]"?: number;
|
||||
+ "xaxis.range[1]"?: number;
|
||||
+ "yaxis.range[0]"?: number;
|
||||
+ "yaxis.range[1]"?: number;
|
||||
+ "xaxis.autorange"?: boolean;
|
||||
+ "yaxis.autorange"?: boolean;
|
||||
}
|
||||
|
||||
export interface ClickAnnotationEvent {
|
|
@ -1,13 +0,0 @@
|
|||
diff --git a/src/rules/no-append-html.js b/src/rules/no-append-html.js
|
||||
index 4dd1499f140d307433664b4aadec589473cd41fa..bcca359faf7d5a196bc58ad2fbda39992b012ec2 100644
|
||||
--- a/src/rules/no-append-html.js
|
||||
+++ b/src/rules/no-append-html.js
|
||||
@@ -1,7 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
const utils = require( '../utils.js' );
|
||||
-const methods = [ 'append', 'prepend', 'before', 'after', 'replaceWith' ];
|
||||
+const methods = [ 'append', 'prepend', 'before', 'after', 'replaceWith', 'add', 'appendTo', 'prependTo' ];
|
||||
|
||||
function alljQueryOrEmpty( context, node ) {
|
||||
if ( node.type === 'ConditionalExpression' ) {
|
2962
pnpm-lock.yaml
2962
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
@ -48,4 +48,4 @@ API_FEATURE_LEVEL = 266
|
|||
# historical commits sharing the same major version, in which case a
|
||||
# minor version bump suffices.
|
||||
|
||||
PROVISION_VERSION = (283, 0) # bumped 2024-06-20 for removing Pillow
|
||||
PROVISION_VERSION = (284, 0) # bumped 2024-06-26 for upgrading JavaScript dependencies
|
||||
|
|
|
@ -681,7 +681,7 @@ function compute_summary_chart_data(
|
|||
if (data.size !== 0) {
|
||||
labels[labels.length - 1] = "Other";
|
||||
for (const sum of data.values()) {
|
||||
values[labels.length - 1] += sum;
|
||||
values[labels.length - 1]! += sum;
|
||||
}
|
||||
}
|
||||
let total = 0;
|
||||
|
|
|
@ -421,7 +421,7 @@ export function receives_notifications(
|
|||
return false;
|
||||
}
|
||||
if (sub[notification_name] !== null) {
|
||||
return sub[notification_name]!;
|
||||
return sub[notification_name];
|
||||
}
|
||||
return user_settings[settings_config.generalize_stream_notification_setting[notification_name]];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue