-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
14dbe29
commit b9c35d5
Showing
228 changed files
with
1,217 additions
and
993 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-17.5 KB
.yarn/cache/@babel-helper-validator-identifier-npm-7.22.5-4536624779-12cb7d4535.zip
Binary file not shown.
Binary file added
BIN
+31.9 KB
.yarn/cache/@babel-helper-validator-identifier-npm-7.25.7-1c758f0472-ec6934cc47.zip
Binary file not shown.
Binary file added
BIN
+69.3 KB
.yarn/cache/@eslint-community-regexpp-npm-4.11.1-37bbb67aaa-934b6d3588.zip
Binary file not shown.
Binary file removed
BIN
-54.4 KB
.yarn/cache/@eslint-community-regexpp-npm-4.5.0-ee069447ee-fb2ec0131f.zip
Binary file not shown.
Binary file removed
BIN
-66.5 KB
.yarn/cache/@eslint-community-regexpp-npm-4.6.2-0fc083c210-59ea2fa13a.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+32.6 KB
.yarn/cache/@eslint-config-array-npm-0.18.0-bb4bc4e301-60ccad1eb4.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+17.6 KB
.yarn/cache/@eslint-object-schema-npm-2.1.4-0546250476-221e8d9f28.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-16.5 KB
.yarn/cache/@humanwhocodes-config-array-npm-0.11.10-7b63df9e7f-f93086ae6a.zip
Binary file not shown.
Binary file removed
BIN
-13.4 KB
.yarn/cache/@humanwhocodes-object-schema-npm-1.2.1-eb622b5d0e-b48a8f87fc.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-7.01 KB
.yarn/cache/@types-json-schema-npm-7.0.12-f05cfc0e99-7a72ba9cb7.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-749 KB
.yarn/cache/@typescript-eslint-eslint-plugin-npm-6.2.0-ce30a46e93-44e8b67c82.zip
Binary file not shown.
Binary file added
BIN
+822 KB
.yarn/cache/@typescript-eslint-eslint-plugin-npm-8.11.0-a8e5c1f59e-637760a5ff.zip
Binary file not shown.
Binary file removed
BIN
-10.1 KB
.yarn/cache/@typescript-eslint-parser-npm-6.2.0-776e45f503-ebea98d483.zip
Binary file not shown.
Binary file added
BIN
+9.12 KB
.yarn/cache/@typescript-eslint-parser-npm-8.11.0-1dbc8390a0-518c70a61d.zip
Binary file not shown.
Binary file removed
BIN
-316 KB
.yarn/cache/@typescript-eslint-scope-manager-npm-6.2.0-6adceb29a3-3dd9f68844.zip
Binary file not shown.
Binary file added
BIN
+335 KB
.yarn/cache/@typescript-eslint-scope-manager-npm-8.11.0-63dee792b4-8f1e776fc0.zip
Binary file not shown.
Binary file removed
BIN
-56 KB
.yarn/cache/@typescript-eslint-type-utils-npm-6.2.0-80d306e667-13a60c820b.zip
Binary file not shown.
Binary file added
BIN
+59.4 KB
.yarn/cache/@typescript-eslint-type-utils-npm-8.11.0-101e4a0b9c-6ac8b676b4.zip
Binary file not shown.
Binary file removed
BIN
-29.7 KB
.yarn/cache/@typescript-eslint-types-npm-6.2.0-8e14741b44-cbe90fdb3c.zip
Binary file not shown.
Binary file added
BIN
+33.8 KB
.yarn/cache/@typescript-eslint-types-npm-8.11.0-62c557a0b9-424986bae7.zip
Binary file not shown.
Binary file removed
BIN
-200 KB
.yarn/cache/@typescript-eslint-typescript-estree-npm-6.2.0-88c97a9049-be0561cc64.zip
Binary file not shown.
Binary file added
BIN
+185 KB
.yarn/cache/@typescript-eslint-typescript-estree-npm-8.11.0-2b184d9237-cec7c5768c.zip
Binary file not shown.
Binary file removed
BIN
-142 KB
.yarn/cache/@typescript-eslint-utils-npm-6.2.0-28a91fae91-e688d5ce5c.zip
Binary file not shown.
Binary file added
BIN
+115 KB
.yarn/cache/@typescript-eslint-utils-npm-8.11.0-f923a4e3e9-1b80312a15.zip
Binary file not shown.
Binary file removed
BIN
-11.2 KB
.yarn/cache/@typescript-eslint-visitor-keys-npm-6.2.0-8b5045a6fa-954c893253.zip
Binary file not shown.
Binary file added
BIN
+9.76 KB
.yarn/cache/@typescript-eslint-visitor-keys-npm-8.11.0-b52c2f749c-8d2bed15cc.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-5.74 KB
.yarn/cache/array-buffer-byte-length-npm-1.0.0-331671f28a-044e101ce1.zip
Binary file not shown.
Binary file added
BIN
+7.96 KB
.yarn/cache/array-buffer-byte-length-npm-1.0.1-e7afc30010-53524e08f4.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+13.6 KB
.yarn/cache/array.prototype.findlastindex-npm-1.2.5-f112a7bfcd-7c5c821f35.zip
Binary file not shown.
Binary file renamed
BIN
+10.8 KB
....flat-npm-1.3.1-e9a9e389c0-787bd3e938.zip → ....flat-npm-1.3.2-350729f7f4-d9d2f6f275.zip
Binary file not shown.
Binary file renamed
BIN
+11.2 KB
...atmap-npm-1.3.1-c65186ca34-f1f3d8e061.zip → ...atmap-npm-1.3.2-5c6a4af226-33f2000668.zip
Binary file not shown.
Binary file added
BIN
+11.1 KB
.yarn/cache/arraybuffer.prototype.slice-npm-1.0.3-97a993a091-0221f16c1e.zip
Binary file not shown.
Binary file removed
BIN
-7.62 KB
.yarn/cache/available-typed-arrays-npm-1.0.5-88f321e4d3-4d4d5e86ea.zip
Binary file not shown.
Binary file added
BIN
+9.76 KB
.yarn/cache/available-typed-arrays-npm-1.0.7-e5e5d79687-6c9da3a66c.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+6.96 KB
.yarn/cache/data-view-byte-length-npm-1.0.1-538a9e432e-f33c65e58d.zip
Binary file not shown.
Binary file added
BIN
+7.76 KB
.yarn/cache/data-view-byte-offset-npm-1.0.0-7112a24a4b-96f34f151b.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+26.3 KB
.yarn/cache/electron-to-chromium-npm-1.5.42-68cb27581f-869d481372.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-9.09 KB
.yarn/cache/eslint-config-prettier-npm-8.8.0-f1bf18b9b1-3638144cec.zip
Binary file not shown.
Binary file added
BIN
+9.58 KB
.yarn/cache/eslint-config-prettier-npm-9.1.0-0e1fd42d7d-411e3b3b1c.zip
Binary file not shown.
Binary file removed
BIN
-3.32 KB
.yarn/cache/eslint-import-resolver-node-npm-0.3.7-65bed19543-31c6dfbd34.zip
Binary file not shown.
Binary file added
BIN
+3.32 KB
.yarn/cache/eslint-import-resolver-node-npm-0.3.9-2a426afc4b-d52e08e1d9.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-16.6 KB
.yarn/cache/eslint-module-utils-npm-2.7.4-a1640084cb-25527e03d4.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-420 KB
.yarn/cache/eslint-plugin-import-npm-2.27.5-35b044b26f-b8ab9521bd.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-9.75 KB
.yarn/cache/eslint-plugin-prettier-npm-5.0.0-2f21113cba-4ea0e5f82a.zip
Binary file not shown.
Binary file added
BIN
+11.4 KB
.yarn/cache/eslint-plugin-prettier-npm-5.2.1-7057756a8d-10ddf68215.zip
Binary file not shown.
Binary file removed
BIN
-26.7 KB
.yarn/cache/eslint-plugin-promise-npm-6.1.1-8928fc7781-216c4348f7.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-234 KB
.yarn/cache/eslint-plugin-unicorn-npm-48.0.1-5cea5507f4-c7ee2d2c03.zip
Binary file not shown.
Binary file added
BIN
+272 KB
.yarn/cache/eslint-plugin-unicorn-npm-56.0.0-968a04d2ac-142c66c65b.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+12.4 KB
...-keys-npm-3.4.1-a5d0a58208-92641e7ccd.zip → ...-keys-npm-3.4.3-a356ac7e46-3f357c554a.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+42.2 KB
...-glob-npm-3.3.1-8045ff8f4d-51bcd15472.zip → ...-glob-npm-3.3.2-0a8cb4f2ca-222512e931.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-11.1 KB
.yarn/cache/function.prototype.name-npm-1.1.5-e776a642bb-5d426e5a38.zip
Binary file not shown.
Binary file added
BIN
+13.8 KB
.yarn/cache/function.prototype.name-npm-1.1.6-fd3a6a5cdd-4d40be44d4.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-6.89 KB
.yarn/cache/get-symbol-description-npm-1.0.0-9c95a4bc1f-7e5f298afe.zip
Binary file not shown.
Binary file added
BIN
+7.87 KB
.yarn/cache/get-symbol-description-npm-1.0.2-f8c332e0b5-e1cb53bc21.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+6.59 KB
.yarn/cache/has-property-descriptors-npm-1.0.2-d7077d09f1-2d8c9ab8ce.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-3.07 KB
.yarn/cache/is-inside-container-npm-1.0.0-f2c9e9bb96-c50b75a2ab.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+9.26 KB
.yarn/cache/is-shared-array-buffer-npm-1.0.3-3b3b3142a6-bc5402900d.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-3.26 KB
.yarn/cache/natural-compare-lite-npm-1.4.0-12b6b308ed-5222ac3986.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+7.03 KB
.yarn/cache/possible-typed-array-names-npm-1.0.0-3a8176348a-8ed3e96dfe.zip
Binary file not shown.
Binary file removed
BIN
-15.5 KB
.yarn/cache/regexp.prototype.flags-npm-1.4.3-df1c08b65d-3cde7cd22f.zip
Binary file not shown.
Binary file added
BIN
+17.6 KB
.yarn/cache/regexp.prototype.flags-npm-1.5.3-09ac29fab0-fe17bc4eeb.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-14 KB
.yarn/cache/string.prototype.trim-npm-1.2.7-3fbaf3b9d2-a1b795bdb4.zip
Binary file not shown.
Binary file added
BIN
+14.5 KB
.yarn/cache/string.prototype.trim-npm-1.2.9-7b24b35971-b2170903de.zip
Binary file not shown.
Binary file removed
BIN
-11 KB
.yarn/cache/string.prototype.trimend-npm-1.0.5-2b980efa37-14e660a4bd.zip
Binary file not shown.
Binary file removed
BIN
-11.3 KB
.yarn/cache/string.prototype.trimend-npm-1.0.6-304246ecc1-3893db9267.zip
Binary file not shown.
Binary file added
BIN
+11.5 KB
.yarn/cache/string.prototype.trimend-npm-1.0.8-9c0ed19266-c2e862ae72.zip
Binary file not shown.
Binary file removed
BIN
-11.1 KB
.yarn/cache/string.prototype.trimstart-npm-1.0.5-9e62187810-194a07b04a.zip
Binary file not shown.
Binary file renamed
BIN
+11.4 KB
...start-npm-1.0.6-0926caea6c-05e2cd06fa.zip → ...start-npm-1.0.8-8c6b16ba6e-160167dfbd.zip
Binary file not shown.
Binary file removed
BIN
-2.47 KB
.yarn/cache/strip-final-newline-npm-2.0.0-340c4f7c66-69412b5e25.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+68 KB
...aths-npm-3.14.1-17a815b5c5-51be8bd8f9.zip → ...aths-npm-3.15.0-ff68930e0e-2041beaedc.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+9.43 KB
.yarn/cache/typed-array-byte-length-npm-1.0.1-9ab0891fb8-e4a3832973.zip
Binary file not shown.
Binary file added
BIN
+9.46 KB
.yarn/cache/typed-array-byte-offset-npm-1.0.2-14b64ee0e1-ac26d720eb.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+6.86 KB
.yarn/cache/update-browserslist-db-npm-1.1.1-16e34017b1-7678dd8609.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
import { fixupConfigRules, fixupPluginRules } from '@eslint/compat'; | ||
import typescriptEslint from '@typescript-eslint/eslint-plugin'; | ||
import prettier from 'eslint-plugin-prettier'; | ||
import unicorn from 'eslint-plugin-unicorn'; | ||
import tsParser from '@typescript-eslint/parser'; | ||
import path from 'node:path'; | ||
import { fileURLToPath } from 'node:url'; | ||
import js from '@eslint/js'; | ||
import { FlatCompat } from '@eslint/eslintrc'; | ||
|
||
const __filename = fileURLToPath(import.meta.url); | ||
const __dirname = path.dirname(__filename); | ||
const compat = new FlatCompat({ | ||
baseDirectory: __dirname, | ||
recommendedConfig: js.configs.recommended, | ||
allConfig: js.configs.all, | ||
}); | ||
|
||
export default [ | ||
{ | ||
ignores: [ | ||
'**/dist', | ||
'**/node_modules', | ||
'**/.eslintrc.js', | ||
'**/jest.config.js', | ||
'**/babel.config.js', | ||
], | ||
}, | ||
...fixupConfigRules( | ||
compat.extends( | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/eslint-recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:import/recommended', | ||
'prettier', | ||
'plugin:unicorn/recommended', | ||
), | ||
), | ||
{ | ||
plugins: { | ||
'@typescript-eslint': fixupPluginRules(typescriptEslint), | ||
prettier, | ||
unicorn: fixupPluginRules(unicorn), | ||
}, | ||
|
||
languageOptions: { | ||
parser: tsParser, | ||
ecmaVersion: 'latest', | ||
sourceType: 'module', | ||
}, | ||
|
||
rules: { | ||
'no-console': 'off', | ||
'unicorn/no-negated-condition': 'off', | ||
'unicorn/no-null': 'off', | ||
'unicorn/prefer-type-error': 'off', | ||
'no-extra-boolean-cast': 'off', | ||
'newline-after-var': ['error', 'always'], | ||
'arrow-parens': [2, 'as-needed'], | ||
'prettier/prettier': 2, | ||
eqeqeq: ['error', 'always'], | ||
'unicorn/prevent-abbreviations': 'off', | ||
'unicorn/prefer-node-protocol': 0, | ||
'import/extensions': ['error', 'always'], | ||
'import/no-unresolved': 'off', | ||
'unicorn/no-anonymous-default-export': 'off', | ||
'unicorn/consistent-existence-index-check': 'off', | ||
}, | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,9 @@ | |
"devDependencies": { | ||
"@esbuild/darwin-arm64": "npm:0.19.8", | ||
"@esbuild/linux-x64": "npm:0.19.8", | ||
"@eslint/compat": "^1.2.1", | ||
"@eslint/eslintrc": "^3.1.0", | ||
"@eslint/js": "^9.13.0", | ||
"@rollup/rollup-darwin-arm64": "npm:4.6.1", | ||
"@rollup/rollup-linux-x64-gnu": "npm:4.6.1", | ||
"@types/express": "^4.17.17", | ||
|
@@ -45,15 +48,15 @@ | |
"@types/sinon": "^10.0.15", | ||
"@types/uuid": "^9.0.1", | ||
"@types/ws": "^8.5.4", | ||
"@typescript-eslint/eslint-plugin": "^6.2.0", | ||
"@typescript-eslint/parser": "^6.2.0", | ||
"@typescript-eslint/eslint-plugin": "^8.11.0", | ||
"@typescript-eslint/parser": "^8.11.0", | ||
"c8": "^7.13.0", | ||
"eslint": "^8.45.0", | ||
"eslint-config-prettier": "8.8.0", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-prettier": "5.0.0", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"eslint-plugin-unicorn": "^48.0.1", | ||
"eslint": "^9.13.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-import": "^2.31.0", | ||
"eslint-plugin-prettier": "^5.2.1", | ||
"eslint-plugin-promise": "^7.1.0", | ||
"eslint-plugin-unicorn": "^56.0.0", | ||
"nock": "^13.3.2", | ||
"prettier": "^3.0.0", | ||
"rimraf": "^5.0.1", | ||
|
@@ -68,4 +71,4 @@ | |
"type": "module", | ||
"main": "dist/server.js", | ||
"packageManager": "[email protected]" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.