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

fix: broken package / import assertion #128

Merged
merged 4 commits into from
Oct 18, 2024
Merged

Conversation

mattvr
Copy link
Contributor

@mattvr mattvr commented Oct 10, 2024

This package is currently broken on Deno v2

Dependency emoji v0.3.0 uses a legacy import assertion
import emojis from "./all.json" assert { type: "json" };
which Deno 2 now exits with an error.

This is fixed in v0.3.1 by @lino-levan with the with { type: "json" } syntax.

This PR updates the dependency pinning to pull the correct version in.

Verified & tested it now runs as expected locally.

@sebilasse
Copy link

Just wanted to do the same, thank you.

This is imho an urgent PR to merge as a lot of people are now updating to Deno2 :)

@mattvr
Copy link
Contributor Author

mattvr commented Oct 17, 2024

I've updated the PR to include a fix for deno check failing, as well as other important dependency updates.

Tests are passing. @crowlKats let me know if there's anything else I can do to help land this.

Copy link
Member

@crowlKats crowlKats 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

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