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: correct isJSONEncodable() import #9495

Merged

Conversation

almeidx
Copy link
Member

@almeidx almeidx commented May 1, 2023

Please describe the changes this PR makes and why it should be merged:
Fixes #9494

🤖 Generated by Copilot at 7edc4f8

Summary

🚚🔧🧹

This pull request updates the import of the isJSONEncodable function from the @discordjs/builders package to the @discordjs/util package in various classes and interfaces that use it to validate the data of different types of discord objects and components. This change reflects the relocation of the function in the dependency packages.

isJSONEncodable
Moved to util package now
Many imports changed

Walkthrough

  • Update the import statement of the isJSONEncodable function from the @discordjs/builders package to the @discordjs/util package in 14 files that use the function to validate the data of various structures and interfaces (link, link, link, link, link, link, link, link, link, link, link, link, link, link)

Status and versioning classification:

@almeidx almeidx requested a review from a team as a code owner May 1, 2023 22:15
@vercel
Copy link

vercel bot commented May 1, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
discord-js ⬜️ Ignored (Inspect) May 1, 2023 10:22pm
discord-js-guide ⬜️ Ignored (Inspect) May 1, 2023 10:22pm

@kodiakhq kodiakhq bot merged commit 201b002 into discordjs:main May 1, 2023
@almeidx almeidx deleted the discord.js/fix-isjsonencodable-import branch May 1, 2023 22:26
@Jiralite Jiralite added this to the discord.js 14.11 milestone May 1, 2023
evanw555 added a commit to evanw555/evanw555.js that referenced this pull request May 6, 2023
evanw555 added a commit to evanw555/scape-bot that referenced this pull request May 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Issue with sending DM
5 participants