mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-25 14:17:31 +00:00
c65e9bf76e
@simplewebauthn/server 13.3.3 fetched the CRL address in an android-key attestation certificate before it checked the chain or the signature, with no timeout or size cap, so anyone signed in could make the server request any URL by registering a passkey. 14.1.0 only checks revocation for a chain it validated against Google's pinned roots. 14.x refuses an expected origin with a path, a trailing slash or an uppercase host and an RP ID that is not lower case, where 13.x only failed to match them. The configured origins are now reduced to the origin the browser reports and the RP ID is lower-cased, so such settings keep working; an origins list in which nothing parses leaves passkeys unconfigured instead of falling back to APP_URL. Verification gets the algorithm list the options offer, and stored transports are read as plain strings. Stored credentials keep their format. typescript-eslint moves to 8.73.0.
159 lines
5.8 KiB
JSON
159 lines
5.8 KiB
JSON
{
|
|
"name": "@trek/server",
|
|
"version": "5.2.0",
|
|
"engines": {
|
|
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
|
},
|
|
"main": "src/index.ts",
|
|
"scripts": {
|
|
"start": "node --require tsconfig-paths/register dist/index.js",
|
|
"dev": "node scripts/dev.mjs",
|
|
"build": "node scripts/build.mjs",
|
|
"start:prod": "node --require tsconfig-paths/register dist/index.js",
|
|
"reset-admin": "node reset-admin.js",
|
|
"db:move-to-postgres": "node --import tsx src/move-to-postgres.ts",
|
|
"typecheck": "tsc --noEmit",
|
|
"typecheck:tests": "tsc -p tsconfig.tests.json --noEmit",
|
|
"typecheck:scripts": "tsc -p tsconfig.scripts.json --noEmit",
|
|
"db:call-graph": "node scripts/db-call-graph.mjs",
|
|
"lint:size": "node scripts/size-lint.mjs",
|
|
"lint:warnings": "node scripts/eslint-ratchet.mjs",
|
|
"lint:format": "node scripts/format-lint.mjs",
|
|
"lint:strict": "node scripts/strict-lint.mjs",
|
|
"lint:boundaries": "node scripts/import-boundaries.mjs",
|
|
"lint:dialect": "node scripts/dialect-lint.mjs",
|
|
"lint:engine-dispatch": "node scripts/engine-dispatch-ratchet.mjs",
|
|
"lint:tx": "node scripts/tx-writes.mjs",
|
|
"lint:test-sql": "node scripts/test-sql-ratchet.mjs",
|
|
"lint:test-mocks": "node scripts/test-mocks-ratchet.mjs",
|
|
"lint:test-new-service": "node scripts/test-new-service-ratchet.mjs",
|
|
"lint:query-api": "node scripts/query-api-ratchet.mjs",
|
|
"lint:mcp-zod": "node scripts/mcp-inline-zod.mjs",
|
|
"lint:service-http": "node scripts/service-http-ratchet.mjs",
|
|
"lint:response-contracts": "node scripts/response-contract-ratchet.mjs",
|
|
"contracts:dto-open": "node scripts/dto-open-shapes.mjs",
|
|
"gen:plugin-facts": "node --import tsx scripts/gen-plugin-facts.ts",
|
|
"check:plugin-facts": "node --import tsx scripts/gen-plugin-facts.ts --check",
|
|
"gen:entities": "node --import tsx scripts/generate-entities.ts",
|
|
"check:entities": "node --import tsx scripts/generate-entities.ts --check",
|
|
"gen:db-types": "node --import tsx scripts/generate-db-types.ts",
|
|
"check:db-types": "node --import tsx scripts/generate-db-types.ts --check",
|
|
"gen:pg-baseline": "node --import tsx scripts/generate-pg-baseline.ts",
|
|
"check:pg-baseline": "node --import tsx scripts/generate-pg-baseline.ts --check",
|
|
"gen:pg-migration": "node --import tsx scripts/generate-pg-migration.ts",
|
|
"probe:pg": "node --import tsx scripts/pg-probe.ts",
|
|
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
|
|
"format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"lint:check": "eslint .",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:unit": "vitest run tests/unit",
|
|
"test:integration": "vitest run tests/integration",
|
|
"test:ws": "vitest run tests/websocket",
|
|
"test:e2e": "vitest run tests/e2e",
|
|
"test:pg": "vitest run --config vitest.pg.config.ts",
|
|
"test:coverage": "vitest run --coverage"
|
|
},
|
|
"mikro-orm": {
|
|
"configPaths": [
|
|
"./src/mikro-orm.config.ts",
|
|
"./dist/mikro-orm.config.js"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@aws-lite/client": "^0.24.1",
|
|
"@aws-lite/s3": "^0.2.7",
|
|
"@mikro-orm/cli": "^7.2.7",
|
|
"@mikro-orm/core": "^7.2.7",
|
|
"@mikro-orm/migrations": "^7.2.7",
|
|
"@mikro-orm/nestjs": "^7.1.0",
|
|
"@mikro-orm/postgresql": "^7.2.7",
|
|
"@mikro-orm/seeder": "^7.2.7",
|
|
"@mikro-orm/sql": "^7.2.1",
|
|
"@mikro-orm/sqlite": "^7.2.7",
|
|
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
"@nestjs/common": "^11.2.5",
|
|
"@nestjs/config": "^4.0.4",
|
|
"@nestjs/core": "^11.2.5",
|
|
"@nestjs/platform-express": "^11.2.5",
|
|
"@nestjs/platform-ws": "^11.2.5",
|
|
"@nestjs/schedule": "^12.0.4",
|
|
"@nestjs/swagger": "^11.4.7",
|
|
"@nestjs/websockets": "^11.2.5",
|
|
"@simplewebauthn/server": "^14.1.0",
|
|
"@trek/shared": "*",
|
|
"archiver": "^6.0.2",
|
|
"bcryptjs": "^2.4.3",
|
|
"better-sqlite3": "^13.0.3",
|
|
"compression": "^1.8.2",
|
|
"cookie-parser": "^1.4.7",
|
|
"cors": "^2.8.6",
|
|
"cron": "^4.4.0",
|
|
"dotenv": "^18.0.10",
|
|
"exifr": "7.1.3",
|
|
"express": "^4.22.3",
|
|
"fast-xml-parser": "^5.12.1",
|
|
"helmet": "^8.3.0",
|
|
"imapflow": "^1.0.0",
|
|
"jimp": "^1.6.1",
|
|
"json5": "^2.2.3",
|
|
"jsonwebtoken": "^9.0.3",
|
|
"kysely": "^0.29.6",
|
|
"multer": "^2.5.0",
|
|
"nestjs-zod": "^5.6.0",
|
|
"nodemailer": "^10.6.1",
|
|
"otplib": "^12.0.1",
|
|
"pdf-parse": "^2.4.5",
|
|
"pg-cursor": "^2.22.1",
|
|
"qrcode": "^1.5.4",
|
|
"reflect-metadata": "^0.2.2",
|
|
"rxjs": "^7.8.2",
|
|
"semver": "^7.8.6",
|
|
"tsconfig-paths": "^4.2.0",
|
|
"tsx": "^4.23.15",
|
|
"typescript": "^6.0.3",
|
|
"tz-lookup": "^6.1.25",
|
|
"undici": "^7.30.1",
|
|
"unzipper": "^0.12.5",
|
|
"uuid": "^14.0.3",
|
|
"ws": "^8.23.0",
|
|
"zod": "^4.6.7"
|
|
},
|
|
"devDependencies": {
|
|
"@aws-lite/s3-types": "^0.2.8",
|
|
"@eslint/js": "^10.0.1",
|
|
"@mikro-orm/entity-generator": "^7.2.7",
|
|
"@nestjs/testing": "^11.2.5",
|
|
"@swc/core": "^1.16.22",
|
|
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
|
|
"@types/archiver": "^7.0.0",
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/better-sqlite3": "^7.6.13",
|
|
"@types/compression": "^1.8.1",
|
|
"@types/cookie-parser": "^1.4.10",
|
|
"@types/cors": "^2.8.19",
|
|
"@types/express": "^4.17.25",
|
|
"@types/jsonwebtoken": "^9.0.10",
|
|
"@types/multer": "^2.3.0",
|
|
"@types/node": "^25.9.8",
|
|
"@types/nodemailer": "^8.0.2",
|
|
"@types/qrcode": "^1.5.6",
|
|
"@types/semver": "^7.8.0",
|
|
"@types/supertest": "^7.2.1",
|
|
"@types/unzipper": "^0.10.11",
|
|
"@types/ws": "^8.18.2",
|
|
"@vitest/coverage-istanbul": "^4.1.11",
|
|
"eslint": "^9.39.5",
|
|
"eslint-config-flat-gitignore": "^2.4.0",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"prettier": "^3.10.1",
|
|
"prettier-plugin-organize-imports": "^4.3.0",
|
|
"supertest": "^7.3.1",
|
|
"typescript-eslint": "^8.73.0",
|
|
"unplugin-swc": "^1.6.0",
|
|
"vitest": "^4.1.11"
|
|
}
|
|
}
|