diff --git a/.github/SECURITY.md b/.github/SECURITY.md new file mode 100644 index 00000000..9eb6238e --- /dev/null +++ b/.github/SECURITY.md @@ -0,0 +1,17 @@ +# Security Policy + +## Supported Versions + +Project is currently in development and is not yet ready to be used. + +| Version | Supported | +| ------- | ------------------ | +| 0.1.0 @ dev | :white_check_mark: | + +## Reporting a Vulnerability + +You can report a vulnerability by opening an issue on the [project's GitHub](https://github.com/SernHandler/Sern/issues) repository. + +Please provide as much information as possible when reporting a vulnerability. We are looking for information for, the affected version, and the steps to reproduce the vulnerability. + +Be patient, we are working on fixing all reported vulnerabilities. diff --git a/src/handler/sern.ts b/src/handler/sern.ts index 9b478d60..1d65856b 100644 --- a/src/handler/sern.ts +++ b/src/handler/sern.ts @@ -3,7 +3,13 @@ import type * as Utils from './utilities/preprocessors/args'; import type { Arg, Context, Visibility, possibleOutput } from '../types/handler'; -import type { ApplicationCommandOptionData, Awaitable, Client, CommandInteraction, Message } from 'discord.js'; +import type { + ApplicationCommandOptionData, + Awaitable, + Client, + CommandInteraction, + Message +} from 'discord.js'; import { Ok, Result, None, Some } from 'ts-results'; import { isBot, hasPrefix, fmt } from './utilities/messageHelpers'; diff --git a/tsconfig.json b/tsconfig.json index ba13dc1a..f35ae23e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,21 +1,21 @@ { - "compilerOptions": { - "experimentalDecorators": true, - "resolveJsonModule": true, - "target": "esnext", - "module": "commonjs", - "outDir": "dist", - "rootDir": "src", - "strict": true, - "esModuleInterop": true, - "noImplicitAny": true, - "strictNullChecks": true, - "importsNotUsedAsValues": "error", - "skipLibCheck": true, - "declaration": true, - "forceConsistentCasingInFileNames": true, - }, - "exclude": ["node_modules", "tests", "dist"], - "include": ["src"], - } - \ No newline at end of file + "compilerOptions": { + "experimentalDecorators": true, + "resolveJsonModule": true, + "target": "esnext", + "module": "commonjs", + "outDir": "dist", + "rootDir": "src", + "strict": true, + "esModuleInterop": true, + "noImplicitAny": true, + "strictNullChecks": true, + "importsNotUsedAsValues": "error", + "moduleResolution": "node", + "skipLibCheck": true, + "declaration": true, + "forceConsistentCasingInFileNames": true, + }, + "exclude": ["node_modules", "tests", "dist"], + "include": ["src"], +} \ No newline at end of file