-
Notifications
You must be signed in to change notification settings - Fork 25
fix: update dependencies #746
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
Changes from 5 commits
771c719
590fcd2
025b5de
b25dc96
860f757
57e5869
148152d
3c3ac22
06a3fa6
d419886
1042122
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,6 +12,6 @@ | |
| "preview": "vite preview" | ||
| }, | ||
| "devDependencies": { | ||
| "vite": "^5.2.6" | ||
| "vite": "^6.0.2" | ||
| } | ||
| } | ||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -41,7 +41,7 @@ export const getResolveVideoElement = (elem) => { | |
|
|
||
| try { | ||
| elem = document.querySelector(`#${cssEscape(id)}`) || videojs.getPlayer(id); | ||
| } catch (e) { | ||
| } catch (err) { // eslint-disable-line no-unused-vars | ||
| elem = null; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would console.warn the error instead of the eslint disable line ... since anyway we have other console.warn statements .... later we need to start thinking how we should report these errors somewhere
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. see previous |
||
| } | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would console.warn the error instead of the eslint disable line ... since anyway we have other console.warn statements .... later we need to start thinking how we should report these errors somewhere
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In principle I agree, but it seems like in this case the author used try...catch to silence the failing
JSON.parse()I'll try thinking of a better way to write this