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

remove dependency on @uupaa/dynamic-import-polyfill #6137

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

revam
Copy link

@revam revam commented Sep 29, 2024

Changes

Removed the dependency on @uupaa/dynamic-import-polyfill and switched to using raw import(), because the polyfill were having issues with async/await in plugin modules which were using await at the top-level in the module to e.g. do dynamic imports because plugins don't have a base-point to do static imports of other modules.

Issues

@revam revam requested a review from a team as a code owner September 29, 2024 09:18
@revam
Copy link
Author

revam commented Sep 29, 2024

The es-check error seems to not want the raw import in the bundle, even though it is used intentionally as a keyword in this PR. No idea what to do to suppress it for that single use case.

@Gauvino
Copy link

Gauvino commented Sep 30, 2024

Please, change your base branch to master, I think no more PR will be merged to 10.9 since it's freeze now

jellyfin-bot and others added 2 commits October 5, 2024 00:52
Removed the dependency on `@uupaa/dynamic-import-polyfill` and switched to using raw `import()`, because the polyfill were having issues with `async`/`await` in plugin modules which were using `await` at the top-level in the module to e.g. do dynamic imports because plugins don't have a base-point to do static imports of other modules.
@revam revam force-pushed the remove-import-module-package branch from ee2972a to 89613fc Compare October 4, 2024 22:55
@jellyfin-bot jellyfin-bot added the merge conflict Conflicts prevent merging label Oct 4, 2024
@jellyfin-bot
Copy link
Collaborator

This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged.

@revam revam changed the base branch from release-10.9.z to master October 4, 2024 22:56
@revam
Copy link
Author

revam commented Oct 4, 2024

Moved to master. Still no idea how to fix es-check to allow an exception for this change.

Copy link

sonarcloud bot commented Oct 4, 2024

@jellyfin-bot jellyfin-bot removed the merge conflict Conflicts prevent merging label Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants