03c914f9e8
Fixed ragfair memory leak where NPC player ids would continuously get added into the cache map, when those offers expire the entry on the dictionary would be left empty but the string allocation on the key would remain in memory, overtime it would stack up to massive amounts of memory usage Co-authored-by: clodan <clodan@clodan.com> Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/319 Co-authored-by: Alex <clodan@noreply.dev.sp-tarkov.com> Co-committed-by: Alex <clodan@noreply.dev.sp-tarkov.com>
93 lines
3.2 KiB
JSON
93 lines
3.2 KiB
JSON
{
|
|
"name": "aki-server",
|
|
"version": "3.8.1",
|
|
"author": "SPT-AKI Server",
|
|
"license": "NCSA",
|
|
"main": "obj/bundle.js",
|
|
"repository": "https://dev.sp-tarkov.com/SPT-AKI/Server",
|
|
"description": "The single-player modding framework for Escape From Tarkov.",
|
|
"icon": "assets/images/icon.ico",
|
|
"engines": {
|
|
"node": "20.11.1"
|
|
},
|
|
"scripts": {
|
|
"check:circular": "madge --circular --ts-config tsconfig.json --extensions ts ./src/",
|
|
"lint": "biome ci src --formatter-enabled=false --max-diagnostics=200",
|
|
"lint:fix": "biome check --apply-unsafe --max-diagnostics=200 . && dprint fmt --incremental=false",
|
|
"style": "dprint check --incremental=false",
|
|
"style:fix": "dprint fmt --incremental=false",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage",
|
|
"test:ui": "vitest --ui --coverage",
|
|
"build:release": "cross-env PKG_CACHE_PATH=\"./.pkg-cache\" gulp build:release",
|
|
"build:debug": "cross-env PKG_CACHE_PATH=\"./.pkg-cache\" gulp build:debug",
|
|
"build:bleeding": "cross-env PKG_CACHE_PATH=\"./.pkg-cache\" gulp build:bleeding",
|
|
"build:bleedingmods": "cross-env PKG_CACHE_PATH=\"./.pkg-cache\" gulp build:bleedingmods",
|
|
"run:build": "gulp run:build",
|
|
"run:debug": "gulp run:debug",
|
|
"run:profiler": "gulp run:profiler",
|
|
"gen:types": "tsc -p tsconfig.typedef.json --resolveJsonModule",
|
|
"gen:docs": "typedoc --options ./typedoc.json --entryPointStrategy expand ./src"
|
|
},
|
|
"dependencies": {
|
|
"atomically": "~1.7",
|
|
"buffer-crc32": "^1.0.0",
|
|
"closest-match": "~1.3",
|
|
"date-fns": "~2.30",
|
|
"date-fns-tz": "~2.0",
|
|
"i18n": "~0.15",
|
|
"json-fixer": "~1.6",
|
|
"json5": "~2.2",
|
|
"jsonc": "~2.0",
|
|
"proper-lockfile": "~4.1",
|
|
"reflect-metadata": "~0.2",
|
|
"semver": "~7.6",
|
|
"source-map-support": "~0.5",
|
|
"tsyringe": "~4.8",
|
|
"typescript": "~5.4",
|
|
"winston": "~3.12",
|
|
"winston-daily-rotate-file": "~5.0",
|
|
"ws": "~8.16"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "~1.6",
|
|
"@pnpm/exe": "8.15.4",
|
|
"@swc/cli": "~0.3",
|
|
"@swc/core": "~1.4",
|
|
"@types/i18n": "~0.13",
|
|
"@types/node": "~20.11",
|
|
"@types/proper-lockfile": "~4.1",
|
|
"@types/semver": "~7.5",
|
|
"@types/ws": "~8.5",
|
|
"@typescript-eslint/eslint-plugin": "~7.2",
|
|
"@typescript-eslint/parser": "~7.2",
|
|
"@vitest/coverage-istanbul": "~1.3",
|
|
"@vitest/ui": "~1.3",
|
|
"@yao-pkg/pkg": "5.11.5",
|
|
"@yao-pkg/pkg-fetch": "3.5.9",
|
|
"cross-env": "~7.0",
|
|
"dprint": "~0.45",
|
|
"eslint": "~8.57",
|
|
"fs-extra": "~11.2",
|
|
"gulp": "~4.0",
|
|
"gulp-decompress": "~3.0",
|
|
"gulp-download": "~0.0.1",
|
|
"gulp-execa": "~6.0",
|
|
"gulp-rename": "~2.0",
|
|
"madge": "~6.1",
|
|
"minimist": "~1.2",
|
|
"resedit": "~2.0",
|
|
"ts-node-dev": "~2.0",
|
|
"tsconfig-paths": "~4.2",
|
|
"typedoc": "~0.25",
|
|
"typemoq": "~2.1",
|
|
"vitest": "~1.3"
|
|
},
|
|
"targets": {
|
|
"default": {
|
|
"includeNodeModules": true
|
|
}
|
|
}
|
|
}
|