Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

dependencies: Patch @types/plotly.js for exactOptionalPropertyTypes.

Anders Kaseorg08a50cf74b97
diff --git a/package.json b/package.json
index a7e70a774c6..339d206b867 100644
--- a/package.json
+++ b/package.json
@@ -155,6 +155,7 @@
"source-map@^0.6": "npm:[email protected]"
},
"patchedDependencies": {
+ "@types/[email protected]": "patches/@[email protected]",
diff --git a/patches/@[email protected] b/patches/@[email protected]
new file mode 100644
index 00000000000..16293028bc6
--- /dev/null
+++ b/patches/@[email protected]
@@ -0,0 +1,23 @@
+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 {
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 6b40d3d7d65..599495da18f 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -8,6 +8,9 @@ overrides:
source-map@^0.6: npm:[email protected]
patchedDependencies:
+ '@types/[email protected]':
+ hash: iagbbcdfsh4npp27hj45urzgum
+ path: patches/@[email protected]
hash: p55fuvtzi4wgpu6zqubw64gyay
path: patches/@[email protected]
@@ -322,7 +325,7 @@ importers:
version: 20.12.7
'@types/plotly.js':
specifier: ^2.12.20
- version: 2.29.2
+ version: 2.29.2(patch_hash=iagbbcdfsh4npp27hj45urzgum)
'@types/sortablejs':
specifier: ^1.15.1
version: 1.15.8
@@ -9149,7 +9152,7 @@ snapshots:
'@types/[email protected]': {}
- '@types/[email protected]': {}
+ '@types/[email protected](patch_hash=iagbbcdfsh4npp27hj45urzgum)': {}
'@types/[email protected]': {}
diff --git a/version.py b/version.py
index a7ad81d647f..ad60c80db7f 100644
--- a/version.py
+++ b/version.py
@@ -48,4 +48,4 @@ API_FEATURE_LEVEL = 261
# historical commits sharing the same major version, in which case a
# minor version bump suffices.
-PROVISION_VERSION = (270, 2) # last bumped 2024-05-14 for patching @uppy/core
+PROVISION_VERSION = (270, 3) # last bumped 2024-05-15 for patching @types/plotly.js