1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2026-08-04 23:09:17 +08:00

fix plotly warnings see issue 7809

This commit is contained in:
lana-k
2026-07-05 19:12:24 +02:00
parent 4bb6676648
commit b6ec71338b
3 changed files with 16 additions and 4 deletions

6
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "sqliteviz", "name": "sqliteviz",
"version": "0.29.0", "version": "0.30.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "sqliteviz", "name": "sqliteviz",
"version": "0.29.0", "version": "0.30.0",
"hasInstallScript": true, "hasInstallScript": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
@@ -24,7 +24,7 @@
"nanoid": "^3.1.12", "nanoid": "^3.1.12",
"papaparse": "^5.4.1", "papaparse": "^5.4.1",
"pivottable": "^2.23.0", "pivottable": "^2.23.0",
"plotly.js": "^2.35.2", "plotly.js": "^2.35.3",
"promise-worker": "^2.0.1", "promise-worker": "^2.0.1",
"react": "^16.14.0", "react": "^16.14.0",
"react-chart-editor": "^0.46.1", "react-chart-editor": "^0.46.1",

View File

@@ -28,7 +28,7 @@
"nanoid": "^3.1.12", "nanoid": "^3.1.12",
"papaparse": "^5.4.1", "papaparse": "^5.4.1",
"pivottable": "^2.23.0", "pivottable": "^2.23.0",
"plotly.js": "^2.35.2", "plotly.js": "^2.35.3",
"promise-worker": "^2.0.1", "promise-worker": "^2.0.1",
"react": "^16.14.0", "react": "^16.14.0",
"react-chart-editor": "^0.46.1", "react-chart-editor": "^0.46.1",

View File

@@ -0,0 +1,12 @@
diff --git a/node_modules/plotly.js/src/plot_api/plot_api.js b/node_modules/plotly.js/src/plot_api/plot_api.js
index 75e98f5..5c38053 100644
--- a/node_modules/plotly.js/src/plot_api/plot_api.js
+++ b/node_modules/plotly.js/src/plot_api/plot_api.js
@@ -2394,6 +2394,7 @@ var layoutUIControlPatterns = [
{pattern: /^legend\.(x|y)$/, attr: 'editrevision'},
{pattern: /^(shapes|annotations)/, attr: 'editrevision'},
+ {pattern: /^selections/, attr: 'selectionrevision'},
{pattern: /^title\.text$/, attr: 'editrevision'}
];