Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency chartjs-plugin-zoom to v2.2.0 #527

Merged
merged 2 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions e2e/mocked/traces.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ test('user can zoom and pan the trace', async ({ page }) => {
y: 180,
},
targetPosition: {
x: 395,
y: 270,
x: 385,
y: 260,
},
});

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"browserslist": "4.24.2",
"browserslist-to-esbuild": "2.1.1",
"chart.js": "4.4.1",
"chartjs-plugin-zoom": "2.0.0",
"chartjs-plugin-zoom": "2.2.0",
"date-fns": "3.6.0",
"hacktimer": "1.1.3",
"husky": "9.1.1",
Expand Down
2 changes: 1 addition & 1 deletion src/windows/windowPortal.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export class WindowPortal extends React.PureComponent<

const chartjsZoomScript = externalWindow.document.createElement('script');
chartjsZoomScript.src =
'https://cdnjs.cloudflare.com/ajax/libs/chartjs-plugin-zoom/2.0.0/chartjs-plugin-zoom.js';
'https://cdnjs.cloudflare.com/ajax/libs/chartjs-plugin-zoom/2.2.0/chartjs-plugin-zoom.js';
chartjsZoomScript.crossOrigin = 'anonymous';
chartjsZoomScript.referrerPolicy = 'no-referrer';
chartjsZoomScript.async = false;
Expand Down
18 changes: 13 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1843,6 +1843,13 @@ __metadata:
languageName: node
linkType: hard

"@types/hammerjs@npm:^2.0.45":
version: 2.0.46
resolution: "@types/hammerjs@npm:2.0.46"
checksum: 10c0/f3c1cb20dc2f0523f7b8c76065078544d50d8ae9b0edc1f62fed657210ed814266ff2dfa835d2c157a075991001eec3b64c88bf92e3e6e895c0db78d05711d06
languageName: node
linkType: hard

"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.15":
version: 7.0.15
resolution: "@types/json-schema@npm:7.0.15"
Expand Down Expand Up @@ -2955,14 +2962,15 @@ __metadata:
languageName: node
linkType: hard

"chartjs-plugin-zoom@npm:2.0.0":
version: 2.0.0
resolution: "chartjs-plugin-zoom@npm:2.0.0"
"chartjs-plugin-zoom@npm:2.2.0":
version: 2.2.0
resolution: "chartjs-plugin-zoom@npm:2.2.0"
dependencies:
"@types/hammerjs": "npm:^2.0.45"
hammerjs: "npm:^2.0.8"
peerDependencies:
chart.js: ">=3.2.0"
checksum: 10c0/bf0cabe716e69b26fe6df761a4aef85690827a49fe88b0967f003019de0baba011ef96c02ca2bb5388d47b623e4a73315956f200b227d22971608be634707655
checksum: 10c0/15817e912dcc0c62e66121d10c7f1af04cd788c8c831b9ed8f822e2835501b8816143e10b5b4f286a9afddc91492c3d7104b49e7226a3fb682b94412f9ee4087
languageName: node
linkType: hard

Expand Down Expand Up @@ -6759,7 +6767,7 @@ __metadata:
browserslist: "npm:4.24.2"
browserslist-to-esbuild: "npm:2.1.1"
chart.js: "npm:4.4.1"
chartjs-plugin-zoom: "npm:2.0.0"
chartjs-plugin-zoom: "npm:2.2.0"
cross-env: "npm:7.0.3"
cypress: "npm:13.16.0"
cypress-delete-downloads-folder: "npm:0.0.5"
Expand Down
Loading