From 808c90fe4b656741fa99f8a58f74713876708b18 Mon Sep 17 00:00:00 2001 From: "romain.lenzotti" Date: Wed, 27 Feb 2019 10:17:15 +0100 Subject: [PATCH] chore: update example --- integration/multer/package.json | 12 ++--- .../middlewares/MultipartFilesOverrided.ts | 1 + integration/multer/yarn.lock | 48 +++++++++---------- 3 files changed, 31 insertions(+), 30 deletions(-) diff --git a/integration/multer/package.json b/integration/multer/package.json index 6b948177468..a3bc1e4aee7 100644 --- a/integration/multer/package.json +++ b/integration/multer/package.json @@ -21,12 +21,12 @@ "author": "", "license": "MIT", "dependencies": { - "@tsed/core": "5.2.1", - "@tsed/di": "5.2.1", - "@tsed/common": "5.2.1", - "@tsed/swagger": "5.2.1", - "@tsed/testing": "5.2.1", - "@tsed/multipartfiles": "5.2.1", + "@tsed/core": "5.2.2", + "@tsed/di": "5.2.2", + "@tsed/common": "5.2.2", + "@tsed/swagger": "5.2.2", + "@tsed/testing": "5.2.2", + "@tsed/multipartfiles": "5.2.2", "@types/swagger-schema-official": "^2.0.9", "body-parser": "^1.18.3", "compression": "^1.7.1", diff --git a/integration/multer/src/middlewares/MultipartFilesOverrided.ts b/integration/multer/src/middlewares/MultipartFilesOverrided.ts index b629f1868df..26c855024f4 100644 --- a/integration/multer/src/middlewares/MultipartFilesOverrided.ts +++ b/integration/multer/src/middlewares/MultipartFilesOverrided.ts @@ -7,6 +7,7 @@ import { Res, ServerSettingsService } from "@tsed/common"; +import {promisify} from "@tsed/core"; import {MultipartFileMiddleware} from "@tsed/multipartfiles"; import * as Express from "express"; import * as multer from "multer"; diff --git a/integration/multer/yarn.lock b/integration/multer/yarn.lock index da07520a915..e49e510969f 100644 --- a/integration/multer/yarn.lock +++ b/integration/multer/yarn.lock @@ -133,10 +133,10 @@ resolved "https://registry.yarnpkg.com/@sinonjs/samsam/-/samsam-2.1.3.tgz#62cf2a9b624edc795134135fe37fc2ae8ea36be3" integrity sha512-8zNeBkSKhU9a5cRNbpCKau2WWPfan+Q2zDlcXvXyhn9EsMqgYs4qzo0XHNVlXC6ABQL8fT6nV+zzo5RTHJzyXw== -"@tsed/common@5.2.1": - version "5.2.1" - resolved "https://registry.yarnpkg.com/@tsed/common/-/common-5.2.1.tgz#20ff669879988fdd273d7c1b9e5a357b91c8e0db" - integrity sha512-rOiV/HRVR9G6aIBHEuRog/h8F644jtRuAEJHAL0eWA9kevCs3vRkr4nVnYa4sxMGjrsQoF5HZGNcME7DgNKb9w== +"@tsed/common@5.2.2": + version "5.2.2" + resolved "https://registry.yarnpkg.com/@tsed/common/-/common-5.2.2.tgz#de27dbeea463a37b8ea0ddd14576f597822d3b82" + integrity sha512-L3PwNyO0sB2Yd5U78SaR5qK7/6BDqzO5D2eBS9FXrRtMvUDLNJ9HpuOSnHEiBAaUn3O5z0fWs9UjecZyNLzqTg== dependencies: "@types/json-schema" "^6.0.1" globby "^8.0.1" @@ -145,43 +145,43 @@ ts-log-debug "^4.0.1" tslib "^1.9.0" -"@tsed/core@5.2.1": - version "5.2.1" - resolved "https://registry.yarnpkg.com/@tsed/core/-/core-5.2.1.tgz#4aa5fe347585346e4d8c6a98c2e5d18361d43112" - integrity sha512-yZ3ytLdrYEMZIA8hLhIrx5os4WlqsNRAw73NpQhF7TLvMR0hrS7PcReqfzSXApnuAMFfhEfRe/fLhec4rh/Rmg== +"@tsed/core@5.2.2": + version "5.2.2" + resolved "https://registry.yarnpkg.com/@tsed/core/-/core-5.2.2.tgz#2d0f853d32bcb168a46bfa3af03eb5c977a78c84" + integrity sha512-H9zet2l3yq+AvULUFxvdBVy8mnxwITbjFcdKtEvIPZNkZV3ewTMAFVDY0EVcYozX529X/gAmXu3L2kqHRu/6tg== dependencies: reflect-metadata "^0.1.12" source-map-support "^0.5.3" tslib "^1.8.0" -"@tsed/di@5.2.1": - version "5.2.1" - resolved "https://registry.yarnpkg.com/@tsed/di/-/di-5.2.1.tgz#50e993076e2f8d887af3ff5ea8fe2c4bb68cf9b0" - integrity sha512-gVrmx95NOS/Y54sSuNAABxpBld0VukLNFOumeVpvNgfUru4SFX8ry4lYl43hp+1TFfv8KtkTRS0ULRtBdPgkkw== +"@tsed/di@5.2.2": + version "5.2.2" + resolved "https://registry.yarnpkg.com/@tsed/di/-/di-5.2.2.tgz#d08ae17639731a4cc22e47b109b195cb842caee9" + integrity sha512-C9blo7Cmx2sUowlidemZX/7EbbuzI9luVn1yWrhCrw02O3Bo9vG19OYApFADMGgpylmynT3J2RezRrjcTv6O0w== dependencies: tslib "^1.8.0" -"@tsed/multipartfiles@5.2.1": - version "5.2.1" - resolved "https://registry.yarnpkg.com/@tsed/multipartfiles/-/multipartfiles-5.2.1.tgz#612a98a93e66fac25b7883823ed643e8295cae46" - integrity sha512-dSbWTeqIJr2IT1Nqoh7l7bsIAq1jhfcaRJayxTZITtBA25VoF0mwmWLc94tV6C3o/vnV61nixoGNfaE6I54R9g== +"@tsed/multipartfiles@5.2.2": + version "5.2.2" + resolved "https://registry.yarnpkg.com/@tsed/multipartfiles/-/multipartfiles-5.2.2.tgz#ca59e280128058efea5b8cc54ba1fe53260a2e98" + integrity sha512-CObBqcFAVdFqXeQtXRpU/eeFf+x2Y/2skRJlh0B0XTvk4rtnBKepTfTs2fkgeOA2YpVYuBohsr9PWCqEMXKm3w== dependencies: multer "^1.3.0" tslib "^1.9.0" -"@tsed/swagger@5.2.1": - version "5.2.1" - resolved "https://registry.yarnpkg.com/@tsed/swagger/-/swagger-5.2.1.tgz#149c6066f17f1ea1fda1848913aa7c48d329f3ca" - integrity sha512-x882gC02jGGjlF/wbWTmW9Yi+EeaPKDslYo6d+1KD1Waq1w6wa+pqfB4aqS+SrLg38jhl7DOK1hqlqN6T2EBIw== +"@tsed/swagger@5.2.2": + version "5.2.2" + resolved "https://registry.yarnpkg.com/@tsed/swagger/-/swagger-5.2.2.tgz#96fe050ff226d8ae2059a6beee59ec13ef12fb06" + integrity sha512-jGsUliGnXZEcNkdNImkGPMSmXsCyJnViuXlua2vBQfmqIG+vYPMfV3WD2Xq/Ud67MFDLjmOvnCEBKfcrEwQ/NQ== dependencies: ejs "^2.5.9" swagger-ui-dist "^3.13.6" tslib "^1.9.0" -"@tsed/testing@5.2.1": - version "5.2.1" - resolved "https://registry.yarnpkg.com/@tsed/testing/-/testing-5.2.1.tgz#c8dbffe0cb90cd3a3fe90e3c040892c3875bb7b8" - integrity sha512-KImo5oYZyjVpiasqBqxXbzD2xvir1t/YKje5tMmJ0VBUF/5+87KX0ciN+tWvzVcmAn9wNfAw7CBbdvDVbKtReg== +"@tsed/testing@5.2.2": + version "5.2.2" + resolved "https://registry.yarnpkg.com/@tsed/testing/-/testing-5.2.2.tgz#bf5986b72486e4346241f5a4a37a3f24ebd4ce4e" + integrity sha512-uVKkxCHSS+wTvBmjYoCPWu3xihY9A0/bgrjZkr3ps9NlNbnsa9EKsy5gzOWAC5zpn4/Q3ysUo/9hGuqWLSEgYw== dependencies: tslib "^1.9.0"