UNPKG

nestjs-aborter

Version:

Automatic request cancellation and timeout handling for NestJS applications

109 lines (108 loc) 2.96 kB
{ "name": "nestjs-aborter", "version": "1.0.1", "description": "Automatic request cancellation and timeout handling for NestJS applications", "author": "Wahyu Tricahyo <wahyutrchy@gmail.com>", "private": false, "license": "MIT", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist/**/*.js", "dist/**/*.d.ts", "README.md", "LICENSE" ], "keywords": [ "nestjs", "nest", "abort", "aborter", "interceptor", "abort-controller", "request-cancellation", "timeout", "abort-signal", "request-handling" ], "repository": { "type": "git", "url": "git+https://github.com/whytrchy/nestjs-aborter.git" }, "bugs": { "url": "https://github.com/whytrchy/nestjs-aborter/issues" }, "homepage": "https://github.com/whytrchy/nestjs-aborter#readme", "scripts": { "build": "nest build", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", "test": "jest", "test:watch": "jest --watch", "test:cov": "jest --coverage", "prepublishOnly": "npm run build && npm run test" }, "dependencies": { "@nestjs/common": "^9.0.0 || ^10.0.0 || ^11.0.0", "@nestjs/core": "^9.0.0 || ^10.0.0 || ^11.0.0", "reflect-metadata": "^0.1.13 || ^0.2.0", "rxjs": "^7.0.0" }, "peerDependencies": { "@nestjs/common": "^9.0.0 || ^10.0.0 || ^11.0.0", "@nestjs/core": "^9.0.0 || ^10.0.0 || ^11.0.0", "reflect-metadata": "^0.1.13 || ^0.2.0", "rxjs": "^7.0.0" }, "devDependencies": { "@eslint/eslintrc": "^3.2.0", "@eslint/js": "^9.18.0", "@nestjs/cli": "^11.0.0", "@nestjs/platform-express": "^11.0.1", "@nestjs/schematics": "^11.0.0", "@nestjs/testing": "^11.0.1", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^11.0.6", "@semantic-release/npm": "^12.0.2", "@types/express": "^5.0.0", "@types/jest": "^30.0.0", "@types/node": "^22.10.7", "@types/supertest": "^6.0.2", "eslint": "^9.18.0", "eslint-config-prettier": "^10.0.1", "eslint-plugin-prettier": "^5.2.2", "globals": "^16.0.0", "jest": "^30.0.0", "prettier": "^3.4.2", "semantic-release": "^24.2.9", "source-map-support": "^0.5.21", "supertest": "^7.0.0", "ts-jest": "^29.2.5", "ts-loader": "^9.5.2", "ts-node": "^10.9.2", "tsconfig-paths": "^4.2.0", "typescript": "^5.7.3", "typescript-eslint": "^8.20.0" }, "jest": { "moduleFileExtensions": [ "js", "json", "ts" ], "rootDir": ".", "testRegex": ".*\\.spec\\.ts$", "transform": { "^.+\\.(t|j)s$": "ts-jest" }, "collectCoverageFrom": [ "src/**/*.(t|j)s", "!src/**/*.spec.ts", "!src/**/*.module.ts", "!src/**/index.ts" ], "coverageDirectory": "./coverage", "testEnvironment": "node" } }