Comparing version 6.8.6 to 6.8.7-dev.1737462618.67474d2
@@ -61,3 +61,16 @@ import { ApplicationCommandOptionType, ApplicationCommandType, AutocompleteInteraction, ChatInputApplicationCommandData, ChatInputCommandInteraction, Collection, CommandInteractionOptionResolver, Snowflake } from 'discord.js'; | ||
*/ | ||
toJSON(): any; | ||
toJSON(): { | ||
options: any; | ||
type?: ApplicationCommandType.ChatInput | ApplicationCommandOptionType.SubcommandGroup | ApplicationCommandOptionType.Subcommand; | ||
guilds?: Snowflake[]; | ||
description: string; | ||
descriptionLocalizations?: import("discord.js").LocalizationMap; | ||
name: string; | ||
nameLocalizations?: import("discord.js").LocalizationMap; | ||
dmPermission?: boolean; | ||
defaultMemberPermissions?: import("discord.js").PermissionResolvable | null; | ||
nsfw?: boolean; | ||
contexts?: readonly import("discord.js").InteractionContextType[]; | ||
integrationTypes?: readonly import("discord.js").ApplicationIntegrationType[]; | ||
}; | ||
} |
@@ -1,10 +0,10 @@ | ||
import { ChannelSelectMenuInteraction, MentionableSelectMenuInteraction, RoleSelectMenuInteraction, UserSelectMenuInteraction } from 'discord.js'; | ||
import { ChannelSelectMenuInteraction, RoleSelectMenuInteraction, UserSelectMenuInteraction } from 'discord.js'; | ||
export declare const SelectedStrings: (...dataOrPipes: any[]) => ParameterDecorator; | ||
export type ISelectedChannels = ChannelSelectMenuInteraction['channels']; | ||
export declare const SelectedChannels: (...dataOrPipes: any[]) => ParameterDecorator; | ||
export type ISelectedUsers = UserSelectMenuInteraction['users'] | MentionableSelectMenuInteraction['users']; | ||
export type ISelectedUsers = UserSelectMenuInteraction['users']; | ||
export declare const SelectedUsers: (...dataOrPipes: any[]) => ParameterDecorator; | ||
export type ISelectedMembers = UserSelectMenuInteraction['members'] | MentionableSelectMenuInteraction['members']; | ||
export type ISelectedMembers = UserSelectMenuInteraction['members']; | ||
export declare const SelectedMembers: (...dataOrPipes: any[]) => ParameterDecorator; | ||
export type ISelectedRoles = RoleSelectMenuInteraction['roles'] | MentionableSelectMenuInteraction['roles']; | ||
export type ISelectedRoles = RoleSelectMenuInteraction['roles']; | ||
export declare const SelectedRoles: (...dataOrPipes: any[]) => ParameterDecorator; |
@@ -50,3 +50,3 @@ "use strict"; | ||
const prefix = typeof this.options.prefix !== 'function' | ||
? (_b = this.options.prefix) !== null && _b !== void 0 ? _b : '!' | ||
? ((_b = this.options.prefix) !== null && _b !== void 0 ? _b : '!') | ||
: yield this.options.prefix(message); | ||
@@ -53,0 +53,0 @@ if (!prefix || !content.startsWith(prefix)) |
{ | ||
"name": "necord", | ||
"description": "A module for creating Discord bots using NestJS, based on Discord.js", | ||
"version": "6.8.6", | ||
"version": "6.8.7-dev.1737462618.67474d2", | ||
"scripts": { | ||
@@ -11,5 +11,5 @@ "build": "rimraf dist && tsc -p tsconfig.build.json", | ||
"publish:dev": "npm publish --access public --tag dev", | ||
"prepare": "husky install .github/husky", | ||
"prepare": "husky", | ||
"format": "prettier --write \"src/**/*.ts\"", | ||
"lint": "eslint --ignore-path .gitignore src/**/*.ts", | ||
"lint": "eslint --ignore-pattern .gitignore src/**/*.ts", | ||
"changelog": "git cliff --prepend ./CHANGELOG.md -l --current -c ./cliff.toml -r ." | ||
@@ -56,33 +56,36 @@ }, | ||
"dependencies": { | ||
"path-to-regexp": "8.0.0" | ||
"path-to-regexp": "8.2.0" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "19.4.1", | ||
"@commitlint/config-angular": "19.4.1", | ||
"@favware/npm-deprecate": "1.0.7", | ||
"@nestjs/common": "10.4.1", | ||
"@nestjs/core": "10.4.1", | ||
"@types/node": "22.5.4", | ||
"@typescript-eslint/eslint-plugin": "7.0.0", | ||
"@typescript-eslint/parser": "6.21.0", | ||
"discord-api-types": "0.37.100", | ||
"discord.js": "14.16.1", | ||
"eslint": "8.57.0", | ||
"eslint-config-prettier": "9.1.0", | ||
"eslint-plugin-prettier": "5.2.1", | ||
"husky": "9.1.5", | ||
"lint-staged": "15.2.10", | ||
"prettier": "3.3.3", | ||
"@commitlint/cli": "19.6.1", | ||
"@commitlint/config-angular": "19.7.0", | ||
"@eslint/eslintrc": "^3.2.0", | ||
"@eslint/js": "^9.18.0", | ||
"@favware/npm-deprecate": "2.0.0", | ||
"@nestjs/common": "11.0.3", | ||
"@nestjs/core": "11.0.3", | ||
"@types/node": "22.10.7", | ||
"discord-api-types": "0.37.117", | ||
"discord.js": "14.17.3", | ||
"eslint": "^9.18.0", | ||
"eslint-config-prettier": "10.0.1", | ||
"eslint-plugin-import": "^2.31.0", | ||
"eslint-plugin-prettier": "5.2.3", | ||
"globals": "^15.14.0", | ||
"husky": "9.1.7", | ||
"lint-staged": "15.4.1", | ||
"prettier": "3.4.2", | ||
"reflect-metadata": "0.2.2", | ||
"release-it": "17.6.0", | ||
"release-it": "18.1.1", | ||
"rimraf": "6.0.1", | ||
"rxjs": "7.8.1", | ||
"ts-node": "10.9.2", | ||
"typescript": "5.5.4" | ||
"typescript": "5.7.3", | ||
"typescript-eslint": "^8.21.0" | ||
}, | ||
"peerDependencies": { | ||
"@nestjs/common": "^10.2.0", | ||
"@nestjs/core": "^10.2.0", | ||
"@nestjs/common": "^10.2.0 || ^11.0.0", | ||
"@nestjs/core": "^10.2.0 || ^11.0.0", | ||
"discord-api-types": "^0.37.99", | ||
"discord.js": "^14.0.1", | ||
"discord-api-types": "^0.37.99", | ||
"reflect-metadata": "^0.2.1", | ||
@@ -89,0 +92,0 @@ "rxjs": "^7.2.0" |
Sorry, the diff of this file is not supported yet
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
237371
225
4714
25
1
1
+ Added@nestjs/common@11.0.10(transitive)
+ Added@nestjs/core@11.0.10(transitive)
+ Added@nuxt/opencollective@0.4.1(transitive)
+ Addedconsola@3.4.0(transitive)
+ Addedpath-to-regexp@8.2.0(transitive)
- Removed@nestjs/common@10.4.15(transitive)
- Removed@nestjs/core@10.4.15(transitive)
- Removed@nuxtjs/opencollective@0.3.2(transitive)
- Removedansi-styles@4.3.0(transitive)
- Removedchalk@4.1.2(transitive)
- Removedcolor-convert@2.0.1(transitive)
- Removedcolor-name@1.1.4(transitive)
- Removedconsola@2.15.3(transitive)
- Removedhas-flag@4.0.0(transitive)
- Removednode-fetch@2.7.0(transitive)
- Removedpath-to-regexp@3.3.08.0.0(transitive)
- Removedsupports-color@7.2.0(transitive)
- Removedtr46@0.0.3(transitive)
- Removedwebidl-conversions@3.0.1(transitive)
- Removedwhatwg-url@5.0.0(transitive)
Updatedpath-to-regexp@8.2.0