nestjs-real-ip
Advanced tools
Comparing version 2.2.0 to 3.0.1
{ | ||
"name": "nestjs-real-ip", | ||
"author": "Alex Kalashnikov", | ||
"version": "2.2.0", | ||
"version": "3.0.1", | ||
"description": "A concise decorator for retrieving an IP address from http request with Nest.js controller method", | ||
@@ -43,12 +43,2 @@ "keywords": [ | ||
"main": "./dist/src/index.js", | ||
"scripts": { | ||
"build": "tsc", | ||
"lint": "eslint \"{src,__tests__}/**/*.ts\" --fix && prettier --write \"{src,__tests__}/**/*.ts\"", | ||
"test": "jest", | ||
"prepare": "npm run build", | ||
"prepublishOnly": "npm test && npm run lint", | ||
"preversion": "npm run lint", | ||
"version": "git add -A src", | ||
"postversion": "git push && git push --tags" | ||
}, | ||
"dependencies": { | ||
@@ -58,15 +48,15 @@ "@supercharge/request-ip": "^1.2.0" | ||
"peerDependencies": { | ||
"@nestjs/common": "8 - 9" | ||
"@nestjs/common": ">=8" | ||
}, | ||
"devDependencies": { | ||
"@jest/types": "^28.0.0", | ||
"@nestjs/common": "^9.0.0", | ||
"@nestjs/core": "^9.0.0", | ||
"@nestjs/platform-express": "^9.0.0", | ||
"@nestjs/platform-fastify": "^9.0.0", | ||
"@nestjs/testing": "^9.0.0", | ||
"@types/jest": "^28.1.5", | ||
"@jest/types": "^29.5.0", | ||
"@nestjs/common": "^10.0.0", | ||
"@nestjs/core": "^10.0.0", | ||
"@nestjs/platform-express": "^10.0.0", | ||
"@nestjs/platform-fastify": "^10.0.0", | ||
"@nestjs/testing": "^10.0.0", | ||
"@types/jest": "^29.5.2", | ||
"@types/node": "^18.0.4", | ||
"@typescript-eslint/eslint-plugin": "^5.30.6", | ||
"@typescript-eslint/parser": "^5.30.6", | ||
"@typescript-eslint/eslint-plugin": "^5.59.11", | ||
"@typescript-eslint/parser": "^5.59.11", | ||
"eslint": "^8.19.0", | ||
@@ -79,3 +69,3 @@ "eslint-config-airbnb-typescript": "^17.0.0", | ||
"eslint-plugin-unused-imports": "^2.0.0", | ||
"jest": "^28.1.3", | ||
"jest": "^29.5.0", | ||
"lodash": "^4.17.21", | ||
@@ -86,8 +76,8 @@ "prettier": "^2.7.1", | ||
"supertest": "^6.2.4", | ||
"ts-jest": "^28.0.5", | ||
"ts-jest": "^29.1.0", | ||
"ts-loader": "^9.3.1", | ||
"ts-node": "^10.9.1", | ||
"tsconfig-paths": "^4.0.0", | ||
"typescript": "^4.7.4", | ||
"webpack": "^5.0.0" | ||
"typescript": "^4.8.0", | ||
"webpack": "^5.87.0" | ||
}, | ||
@@ -122,3 +112,11 @@ "license": "MIT", | ||
] | ||
}, | ||
"scripts": { | ||
"build": "tsc", | ||
"lint": "eslint \"{src,__tests__}/**/*.ts\" --fix && prettier --write \"{src,__tests__}/**/*.ts\"", | ||
"test": "jest", | ||
"preversion": "npm run lint", | ||
"version": "git add -A src", | ||
"postversion": "git push && git push --tags" | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
169769
17
170