discordjs / discord-api-types

Up to date Discord API Typings, versioned by the API version
https://discord-api-types.dev
MIT License
539 stars 118 forks source link

Installing with npm results in deprecation warnings #233

Closed lukeh990 closed 2 years ago

lukeh990 commented 3 years ago

Please describe the problem you are having in as much detail as possible: When I install the discord-api-types package with the command npm install discord.js @discordjs/rest discord-api-types I get the following warnings:

npm WARN deprecated @sapphire/snowflake@1.3.6: This version has been automatically deprecated by @favware/npm-deprecate. Please use a newer version.
npm WARN deprecated discord-api-types@0.18.1: No longer supported. Install the latest release (0.20.2)

In the package.json the following entries are added:

"dependencies": {
    "@discordjs/rest": "^0.1.0-canary.0",
    "discord-api-types": "^0.24.0",
    "discord.js": "^13.3.1"
}

Further details:

ImRodry commented 3 years ago

This is because @discordjs/rest hasn't been updated in a while and the latest release has those outdated deps. I believe this has been fixed on the repo but a release hasn't been pushed yet. You can safely ignore the discord-api-types warning because when installing the package itself you're installing the latest version automatically

vladfrangu commented 2 years ago

This isn't an issue with this module but with our rest package being outdated