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

chore: modernize module #64

Merged
merged 3 commits into from
Mar 3, 2024

Conversation

lino-levan
Copy link
Contributor

@lino-levan lino-levan commented Feb 18, 2024

Closes #63 and #62

@RuiNtD
Copy link

RuiNtD commented Mar 1, 2024

It may be a good idea to migrate the deps to JSR now that it's out. Plug appears to be on there.

@lino-levan
Copy link
Contributor Author

lino-levan commented Mar 1, 2024

@DjDeveloperr what do you think?

I need to fix the performance hit on old Deno versions regardless before this gets merged.

@DjDeveloperr
Copy link
Owner

I talked to Elias about it - we need some changes in plug before we can migrate: some additional utilities need to be exported, which we can simply import on deno.land/x but on JSR it needs to be explicitly specified as an entry point, or exported from the main entry point.

@lino-levan
Copy link
Contributor Author

We could always vendor them, but if you're against that we can just sit tight.

Copy link
Owner

@DjDeveloperr DjDeveloperr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!
I added JSR support myself, and about the base64 encoding perf regression, we can look into optimizing later.

@DjDeveloperr DjDeveloperr merged commit 5dfb82b into DjDeveloperr:main Mar 3, 2024
4 checks passed
@lino-levan lino-levan deleted the modernize-module branch March 3, 2024 23:24
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.

canvas.encode() does not work with Deno 1.40.4 or later.
3 participants