-
Notifications
You must be signed in to change notification settings - Fork 45
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
Use midi-file instead of midi-parser-js #165
Merged
sdercolin
merged 14 commits into
sdercolin:develop
from
sevenc-nanashi:change/use-midi-file
May 21, 2024
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
a8d8b54
Change: Use midi-file
sevenc-nanashi 9174939
Fix: Fix importing assets
sevenc-nanashi 4bf775e
Fix: Run kotlinUpgradeYarnLock
sevenc-nanashi b8d79bd
Fix: Fix resolver
sevenc-nanashi 493d037
Change: Make ESModule conditional
sevenc-nanashi 3cd171c
Delete: Delete workaround
sevenc-nanashi f99aab9
Delete: Delete unused dependency
sevenc-nanashi 256f96f
Revert: Re-add workaround
sevenc-nanashi 5d3b64b
Revert: Revert unrelated changes
sevenc-nanashi c832604
Update: Update yarn.lock
sevenc-nanashi 9b4bb45
Change: Re-throw error
sevenc-nanashi ada340e
Fix: Fix error
sevenc-nanashi bf73f1b
Fix: It throws string, not an Error
sevenc-nanashi 6230c7c
Fix tasks about resources copy
colin-weng-s File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2626,10 +2626,10 @@ micromatch@^4.0.2: | |
braces "^3.0.2" | ||
picomatch "^2.3.1" | ||
|
||
midi-[email protected].4: | ||
version "4.0.4" | ||
resolved "https://registry.yarnpkg.com/midi-parser-js/-/midi-parser-js-4.0.4.tgz#4b0af504e1fdc78409d27fb17473fbb61eee53cc" | ||
integrity sha512-yCCUNemjDET40SPslUbAyi7lClSS+ttcBAWNY337kJouRFsEtIql38Fp4p5xfODkltFvuqHJL9JytnZIrzpJbw== | ||
midi-[email protected].4: | ||
version "1.2.4" | ||
resolved "https://registry.yarnpkg.com/midi-file/-/midi-file-1.2.4.tgz#e5803a8fc79cdd1692ac6ef6b1491043b397eb87" | ||
integrity sha512-B5SnBC6i2bwJIXTY9MElIydJwAmnKx+r5eJ1jknTLetzLflEl0GWveuBB6ACrQpecSRkOB6fhTx1PwXk2BVxnA== | ||
|
||
[email protected], "mime-db@>= 1.43.0 < 2": | ||
version "1.52.0" | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
How does the new library handle unexpected input?
If it throws an error, we could catch it and rethrow the
IllegalFileException.IllegalMidiFile()
with the original error as the cause (passed by constructor)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.
It looks like it throws string (not Error). I changed to catch
dynamic
so that the error will be handled