@nestjs/azure-func-http
Advanced tools
Comparing version 0.4.1 to 0.4.2
@@ -17,2 +17,3 @@ import { RequestMethod } from '@nestjs/common'; | ||
getRequestUrl(request: any): string; | ||
getRequestHostname(request: any): string; | ||
createMiddlewareFactory(requestMethod: RequestMethod): (path: string, callback: Function) => any; | ||
@@ -19,0 +20,0 @@ getType(): string; |
@@ -63,2 +63,5 @@ "use strict"; | ||
} | ||
getRequestHostname(request) { | ||
return request.hostname; | ||
} | ||
createMiddlewareFactory(requestMethod) { | ||
@@ -65,0 +68,0 @@ return this.routerMethodFactory |
{ | ||
"name": "@nestjs/azure-func-http", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "Nest - modern, fast, powerful node.js web framework (@azure-func-http)", | ||
@@ -11,2 +11,3 @@ "author": "Kamil Mysliwiec", | ||
"build:schematics": "tsc -p tsconfig.schematics.json", | ||
"lint": "eslint 'lib/**/*.ts' --fix", | ||
"precommit": "lint-staged", | ||
@@ -16,3 +17,5 @@ "prepublish:npm": "npm run build", | ||
"prepublish:next": "npm run build", | ||
"publish:next": "npm publish --access public --tag next" | ||
"publish:next": "npm publish --access public --tag next", | ||
"prerelease": "npm run build", | ||
"release": "release-it" | ||
}, | ||
@@ -27,14 +30,22 @@ "peerDependencies": { | ||
"@azure/functions": "1.0.3", | ||
"@nestjs/common": "6.10.14", | ||
"@nestjs/core": "6.10.14", | ||
"@commitlint/cli": "8.3.5", | ||
"@commitlint/config-angular": "8.3.4", | ||
"@nestjs/common": "6.11.5", | ||
"@nestjs/core": "6.11.5", | ||
"@types/node": "11.15.0", | ||
"husky": "4.0.7", | ||
"lint-staged": "9.5.0", | ||
"@typescript-eslint/eslint-plugin": "2.18.0", | ||
"@typescript-eslint/parser": "2.18.0", | ||
"eslint": "6.8.0", | ||
"eslint-config-prettier": "6.10.0", | ||
"eslint-plugin-import": "2.20.1", | ||
"husky": "4.2.1", | ||
"lint-staged": "10.0.7", | ||
"prettier": "1.19.1", | ||
"release-it": "12.4.3", | ||
"ts-morph": "5.0.0", | ||
"typescript": "3.7.4" | ||
"typescript": "3.7.5" | ||
}, | ||
"dependencies": { | ||
"@angular-devkit/schematics": "8.3.22", | ||
"@schematics/angular": "8.3.22", | ||
"@angular-devkit/schematics": "8.3.23", | ||
"@schematics/angular": "8.3.23", | ||
"cors": "2.8.5", | ||
@@ -46,6 +57,11 @@ "trouter": "3.1.0" | ||
"*.ts": [ | ||
"prettier --write", | ||
"git add" | ||
"prettier --write" | ||
] | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged", | ||
"commit-msg": "commitlint -c .commitlintrc.json -E HUSKY_GIT_PARAMS" | ||
} | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39840
46
561
17
+ Added@angular-devkit/core@8.3.23(transitive)
+ Added@angular-devkit/schematics@8.3.23(transitive)
+ Added@schematics/angular@8.3.23(transitive)
- Removed@angular-devkit/core@8.3.22(transitive)
- Removed@angular-devkit/schematics@8.3.22(transitive)
- Removed@schematics/angular@8.3.22(transitive)
Updated@schematics/angular@8.3.23