Skip to content

Update emoji dependency to v0.3.1 to fix deprecated import assertion#138

Merged
crowlKats merged 1 commit intodenoland:mainfrom
SisyphusZheng:main
Apr 20, 2025
Merged

Update emoji dependency to v0.3.1 to fix deprecated import assertion#138
crowlKats merged 1 commit intodenoland:mainfrom
SisyphusZheng:main

Conversation

@SisyphusZheng
Copy link
Contributor

Hi deno-gfm team,

I encountered an error when using deno-gfm with the latest Deno version:error: Uncaught TypeError: Import assertions are deprecated. Use with keyword...
import emojis from "./all.json" assert { type: "json" };This issue originates from the dependency emoji@0.3.0 which uses deprecated syntax. The problem has been fixed in emoji@0.3.1 (see denosaurs/emoji#16).Please update the dependency in deno-gfm to:"emoji": "jsr:@denosaurs/emoji@^0.3.1". If needed, I'm happy to submit a PR for this change.

Hi deno-gfm team,

I encountered an error when using deno-gfm with the latest Deno version:error: Uncaught TypeError: Import assertions are deprecated. Use `with` keyword...
import emojis from "./all.json" assert { type: "json" };This issue originates from the dependency emoji@0.3.0 which uses deprecated syntax. The problem has been fixed in emoji@0.3.1 (see denosaurs/emoji#16).Please update the dependency in deno-gfm to:"emoji": "jsr:@denosaurs/emoji@^0.3.1". If needed, I'm happy to submit a PR for this change.
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

@crowlKats crowlKats merged commit e695e39 into denoland:main Apr 20, 2025
1 check passed
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.

2 participants