@nestjs/azure-func-http
Advanced tools
Comparing version
"use strict"; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } | ||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
@@ -15,2 +16,3 @@ }); | ||
handle(createApp, context, req) { | ||
req['_body'] = true; | ||
if (handler) { | ||
@@ -17,0 +19,0 @@ return handler(context, req); |
{ | ||
"name": "@nestjs/azure-func-http", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "Nest - modern, fast, powerful node.js web framework (@azure-func-http)", | ||
@@ -24,14 +24,14 @@ "author": "Kamil Mysliwiec", | ||
"@azure/functions": "1.0.3", | ||
"@nestjs/common": "6.8.5", | ||
"@nestjs/core": "6.8.5", | ||
"@nestjs/common": "6.10.14", | ||
"@nestjs/core": "6.10.14", | ||
"@types/node": "11.15.0", | ||
"husky": "3.0.9", | ||
"lint-staged": "9.4.2", | ||
"prettier": "1.18.2", | ||
"ts-morph": "4.3.2", | ||
"typescript": "3.6.4" | ||
"husky": "3.1.0", | ||
"lint-staged": "9.5.0", | ||
"prettier": "1.19.1", | ||
"ts-morph": "5.0.0", | ||
"typescript": "3.7.4" | ||
}, | ||
"dependencies": { | ||
"@angular-devkit/schematics": "8.3.15", | ||
"@schematics/angular": "8.3.15", | ||
"@angular-devkit/schematics": "8.3.20", | ||
"@schematics/angular": "8.3.20", | ||
"azure-function-express": "2.0.0", | ||
@@ -38,0 +38,0 @@ "cors": "2.8.5", |
{ | ||
"semanticCommits": true, | ||
"packageRules": [{ | ||
"depTypeList": ["devDependencies"], | ||
"automerge": true | ||
}], | ||
"extends": [ | ||
@@ -3,0 +8,0 @@ "config:base" |
@@ -31,3 +31,3 @@ "use strict"; | ||
const rootSource = schematics_1.apply(schematics_1.url('./files/root'), [ | ||
schematics_1.template(Object.assign({}, core_1.strings, options, { rootDir: options.rootDir, getRootDirectory: () => options.rootDir, stripTsExtension: (s) => s.replace(/\.ts$/, ''), getRootModuleName: () => options.rootModuleClassName, getRootModulePath: () => options.rootModuleFileName })) | ||
schematics_1.template(Object.assign(Object.assign(Object.assign({}, core_1.strings), options), { rootDir: options.rootDir, getRootDirectory: () => options.rootDir, stripTsExtension: (s) => s.replace(/\.ts$/, ''), getRootModuleName: () => options.rootModuleClassName, getRootModulePath: () => options.rootModuleFileName })) | ||
]); | ||
@@ -34,0 +34,0 @@ return schematics_1.chain([schematics_1.mergeWith(rootSource), addDependenciesAndScripts()]); |
Sorry, the diff of this file is not supported yet
400
1.78%34585
-0.19%+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
Updated