From fc41920a7759570ec37bf78dbbe1cf865663554f Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 28 Jul 2020 13:18:39 +0000 Subject: [PATCH] fix(deps): update dependency fastify to v3 --- package-lock.json | 148 +++++++++++++++--- package.json | 2 +- .../deprecated/000-dogs-app/package-lock.json | 120 +++++++------- sample/deprecated/000-dogs-app/package.json | 2 +- .../002-microservice-app/package-lock.json | 120 +++++++------- .../002-microservice-app/package.json | 2 +- .../003-memory-app/package-lock.json | 120 +++++++------- sample/deprecated/003-memory-app/package.json | 2 +- .../deprecated/004-grpc-app/package-lock.json | 120 +++++++------- sample/deprecated/004-grpc-app/package.json | 2 +- 10 files changed, 393 insertions(+), 245 deletions(-) diff --git a/package-lock.json b/package-lock.json index 323a2bd13..12b24fb21 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6248,31 +6248,31 @@ "dev": true }, "fastify": { - "version": "2.15.0", - "resolved": "https://registry.npmjs.org/fastify/-/fastify-2.15.0.tgz", - "integrity": "sha512-wbLA9Tif2A9m0tkzCUIqGyIqncM9iI8QTd++HRnmkbUk4mEs4/d8k9LaBR0ypytHvQJ1TNQbJ+m1Mt0MmfUhuA==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/fastify/-/fastify-3.1.1.tgz", + "integrity": "sha512-A7kBZIFAdpE/8MZ9qHpQV9IVPpfX63uWMaPN4p0fetax10C2p56iV/VEB5hOgtlXzayGn+4tf+tNHcZsfrjlnA==", "dev": true, "requires": { "abstract-logging": "^2.0.0", - "ajv": "^6.12.0", - "avvio": "^6.4.1", - "fast-json-stringify": "^1.18.0", - "find-my-way": "^2.2.2", + "ajv": "^6.12.2", + "avvio": "^7.1.2", + "fast-json-stringify": "^2.2.1", + "fastify-error": "^0.1.0", + "find-my-way": "^3.0.0", "flatstr": "^1.0.12", - "light-my-request": "^3.7.3", - "middie": "^4.1.0", - "pino": "^5.17.0", - "proxy-addr": "^2.0.6", - "readable-stream": "^3.6.0", - "rfdc": "^1.1.2", - "secure-json-parse": "^2.1.0", - "tiny-lru": "^7.0.2" + "light-my-request": "^4.0.0", + "pino": "^6.2.1", + "proxy-addr": "^2.0.5", + "readable-stream": "^3.4.0", + "rfdc": "^1.1.4", + "secure-json-parse": "^2.0.0", + "tiny-lru": "^7.0.0" }, "dependencies": { "ajv": { - "version": "6.12.2", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.2.tgz", - "integrity": "sha512-k+V+hzjm5q/Mr8ef/1Y9goCmlsK4I6Sm74teeyGvFk1XrOsbsKLjEdrvny42CZ+a8sXbk8KWpY/bDwS+FLL2UQ==", + "version": "6.12.3", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.3.tgz", + "integrity": "sha512-4K0cK3L1hsqk9xIb2z9vs/XU+PGJZ9PNpJRDS9YLzmNdX6jmVPfamLvTJr0aDAusnHyCHO6MjzlkAsgtqp9teA==", "dev": true, "requires": { "fast-deep-equal": "^3.1.1", @@ -6281,6 +6281,96 @@ "uri-js": "^4.2.2" } }, + "avvio": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/avvio/-/avvio-7.1.2.tgz", + "integrity": "sha512-mzJqhylHN4u5VeUWt4Vol4u8lhOFJMZmdE+GR0vP4Ea6Fg36m5b0e4zy8FCBD+dcagbOxSgfMSJ48jxELduk7w==", + "dev": true, + "requires": { + "archy": "^1.0.0", + "debug": "^4.0.0", + "fastq": "^1.6.1", + "queue-microtask": "^1.1.2" + } + }, + "debug": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "fast-json-stringify": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/fast-json-stringify/-/fast-json-stringify-2.2.3.tgz", + "integrity": "sha512-5VT2l3XUORCxkeVCvrcUqfoEIIzuop1lxwwT/THlOkAfrhlIuriWXdFGKU2hZQxz0KOiWSYoZTatumGYCXfAlA==", + "dev": true, + "requires": { + "ajv": "^6.11.0", + "deepmerge": "^4.2.2", + "string-similarity": "^4.0.1" + } + }, + "fastq": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.8.0.tgz", + "integrity": "sha512-SMIZoZdLh/fgofivvIkmknUXyPnvxRE3DhtZ5Me3Mrsk5gyPL42F0xr51TdRXskBxHfMp+07bcYzfsYEsSQA9Q==", + "dev": true, + "requires": { + "reusify": "^1.0.4" + } + }, + "find-my-way": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/find-my-way/-/find-my-way-3.0.1.tgz", + "integrity": "sha512-tHUHIRGTcfl3phGKLZeD2Xkb+I0QZr4xduSwCJG5Ke11pdJTGuMDtAyAiJzUdWBZJgHA0H42Pb0WF3H321KbRA==", + "dev": true, + "requires": { + "fast-decode-uri-component": "^1.0.0", + "safe-regex2": "^2.0.0", + "semver-store": "^0.3.0" + } + }, + "light-my-request": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/light-my-request/-/light-my-request-4.0.1.tgz", + "integrity": "sha512-kGRfzvSS9P/zEsnu34pUisOz2FAPqkHFJfdezW6HRzLLlzjY+1LTRRuh2d82SkW/M/QWNVWnXTZ0HMUydz2fgg==", + "dev": true, + "requires": { + "ajv": "^6.12.2", + "cookie": "^0.4.0", + "readable-stream": "^3.6.0", + "set-cookie-parser": "^2.4.1" + } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "pino": { + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/pino/-/pino-6.4.1.tgz", + "integrity": "sha512-1zDSQworQZw14tvqjuW5aj5GV5oUQpV5Bz5wnpVVltVPBzaOoV1Dv+oKn1xNCz2CCkOyZd+kkdlel9lCLBYl+Q==", + "dev": true, + "requires": { + "fast-redact": "^2.0.0", + "fast-safe-stringify": "^2.0.7", + "flatstr": "^1.0.12", + "pino-std-serializers": "^2.4.2", + "quick-format-unescaped": "^4.0.1", + "sonic-boom": "^1.0.0" + } + }, + "quick-format-unescaped": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/quick-format-unescaped/-/quick-format-unescaped-4.0.1.tgz", + "integrity": "sha512-RyYpQ6Q5/drsJyOhrWHYMWTedvjTIat+FTwv0K4yoUxzvekw2aRHMQJLlnvt8UantkZg2++bEzD9EdxXqkWf4A==", + "dev": true + }, "readable-stream": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", @@ -6291,6 +6381,16 @@ "string_decoder": "^1.1.1", "util-deprecate": "^1.0.1" } + }, + "sonic-boom": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/sonic-boom/-/sonic-boom-1.0.2.tgz", + "integrity": "sha512-sRMmXu7uFDXoniGvtLHuQk5KWovLWoi6WKASn7rw0ro41mPf0fOolkGp4NE6680CbxvNh26zWNyFQYYWXe33EA==", + "dev": true, + "requires": { + "atomic-sleep": "^1.0.0", + "flatstr": "^1.0.12" + } } } }, @@ -6304,6 +6404,12 @@ "vary": "^1.1.2" } }, + "fastify-error": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/fastify-error/-/fastify-error-0.1.0.tgz", + "integrity": "sha512-jyCEc3VPEc8/PUwzDQAM2JlXLK2BG6L19mMJzbGij0TfdY1sHF9pCnnAn6Vcoi84TMTBOJynNDQUMUz6cjRmBw==", + "dev": true + }, "fastify-formbody": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/fastify-formbody/-/fastify-formbody-4.0.3.tgz", @@ -13486,6 +13592,12 @@ "integrity": "sha512-w7fLxIRCRT7U8Qu53jQnJyPkYZIaR4n5151KMfcJlO/A9397Wxb1amJvROTK6TOnp7PfoAmg/qXiNHI+08jRfA==", "dev": true }, + "queue-microtask": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.1.4.tgz", + "integrity": "sha512-eY/4Obve9cE5FK8YvC1cJsm5cr7XvAurul8UtBDJ2PR1p5NmAwHtvAt5ftcLtwYRCUKNhxCneZZlxmUDFoSeKA==", + "dev": true + }, "quick-format-unescaped": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/quick-format-unescaped/-/quick-format-unescaped-3.0.3.tgz", diff --git a/package.json b/package.json index ede2c24a7..1e9faef94 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "@types/node": "13.13.5", "amqp-connection-manager": "3.2.0", "amqplib": "0.6.0", - "fastify": "2.15.0", + "fastify": "3.1.1", "fastify-formbody": "4.0.3", "grpc": "1.24.3", "gulp": "4.0.2", diff --git a/sample/deprecated/000-dogs-app/package-lock.json b/sample/deprecated/000-dogs-app/package-lock.json index ffaac9d00..f76461d88 100644 --- a/sample/deprecated/000-dogs-app/package-lock.json +++ b/sample/deprecated/000-dogs-app/package-lock.json @@ -1249,13 +1249,14 @@ "integrity": "sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==" }, "avvio": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/avvio/-/avvio-6.5.0.tgz", - "integrity": "sha512-BmzcZ7gFpyFJsW8G+tfQw8vJNUboA9SDkkHLZ9RAALhvw/rplfWwni8Ee1rA11zj/J7/E5EvZmweusVvTHjWCA==", + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/avvio/-/avvio-7.1.2.tgz", + "integrity": "sha512-mzJqhylHN4u5VeUWt4Vol4u8lhOFJMZmdE+GR0vP4Ea6Fg36m5b0e4zy8FCBD+dcagbOxSgfMSJ48jxELduk7w==", "requires": { "archy": "^1.0.0", "debug": "^4.0.0", - "fastq": "^1.6.0" + "fastq": "^1.6.1", + "queue-microtask": "^1.1.2" }, "dependencies": { "debug": { @@ -2495,9 +2496,9 @@ "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=" }, "fast-json-stringify": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/fast-json-stringify/-/fast-json-stringify-1.21.0.tgz", - "integrity": "sha512-xY6gyjmHN3AK1Y15BCbMpeO9+dea5ePVsp3BouHCdukcx0hOHbXwFhRodhcI0NpZIgDChSeAKkHW9YjKvhwKBA==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/fast-json-stringify/-/fast-json-stringify-2.2.3.tgz", + "integrity": "sha512-5VT2l3XUORCxkeVCvrcUqfoEIIzuop1lxwwT/THlOkAfrhlIuriWXdFGKU2hZQxz0KOiWSYoZTatumGYCXfAlA==", "requires": { "ajv": "^6.11.0", "deepmerge": "^4.2.2", @@ -2521,24 +2522,24 @@ "integrity": "sha512-Utm6CdzT+6xsDk2m8S6uL8VHxNwI6Jub+e9NYTcAms28T84pTa25GJQV9j0CY0N1rM8hK4x6grpF2BQf+2qwVA==" }, "fastify": { - "version": "2.15.2", - "resolved": "https://registry.npmjs.org/fastify/-/fastify-2.15.2.tgz", - "integrity": "sha512-Inbodl5a/Vb12m2gjD+RRRSByPJByQ38KdxGS5IT4587S1jIn6gWv7pYELPreoGJgzsN5YfC4xsfpQ2Ju4M6iw==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/fastify/-/fastify-3.1.1.tgz", + "integrity": "sha512-A7kBZIFAdpE/8MZ9qHpQV9IVPpfX63uWMaPN4p0fetax10C2p56iV/VEB5hOgtlXzayGn+4tf+tNHcZsfrjlnA==", "requires": { "abstract-logging": "^2.0.0", - "ajv": "^6.12.0", - "avvio": "^6.5.0", - "fast-json-stringify": "^1.18.0", - "find-my-way": "^2.2.2", + "ajv": "^6.12.2", + "avvio": "^7.1.2", + "fast-json-stringify": "^2.2.1", + "fastify-error": "^0.1.0", + "find-my-way": "^3.0.0", "flatstr": "^1.0.12", - "light-my-request": "^3.7.3", - "middie": "^4.1.0", - "pino": "^5.17.0", - "proxy-addr": "^2.0.6", - "readable-stream": "^3.6.0", - "rfdc": "^1.1.2", - "secure-json-parse": "^2.1.0", - "tiny-lru": "^7.0.2" + "light-my-request": "^4.0.0", + "pino": "^6.2.1", + "proxy-addr": "^2.0.5", + "readable-stream": "^3.4.0", + "rfdc": "^1.1.4", + "secure-json-parse": "^2.0.0", + "tiny-lru": "^7.0.0" }, "dependencies": { "ajv": { @@ -2577,6 +2578,11 @@ } } }, + "fastify-error": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/fastify-error/-/fastify-error-0.1.0.tgz", + "integrity": "sha512-jyCEc3VPEc8/PUwzDQAM2JlXLK2BG6L19mMJzbGij0TfdY1sHF9pCnnAn6Vcoi84TMTBOJynNDQUMUz6cjRmBw==" + }, "fastq": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.8.0.tgz", @@ -2628,9 +2634,9 @@ } }, "find-my-way": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/find-my-way/-/find-my-way-2.2.3.tgz", - "integrity": "sha512-C7dxfbX8pV1maLd31ygkBEOaD51Ls4dROuHjeSQZf1FeQinUzq3UA/kSPecLSDy9iAQufd8w1zgp7j64kyLdhw==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/find-my-way/-/find-my-way-3.0.1.tgz", + "integrity": "sha512-tHUHIRGTcfl3phGKLZeD2Xkb+I0QZr4xduSwCJG5Ke11pdJTGuMDtAyAiJzUdWBZJgHA0H42Pb0WF3H321KbRA==", "requires": { "fast-decode-uri-component": "^1.0.0", "safe-regex2": "^2.0.0", @@ -4561,16 +4567,27 @@ } }, "light-my-request": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/light-my-request/-/light-my-request-3.8.0.tgz", - "integrity": "sha512-cIOWmNsgoStysmkzcv2EwvLwMb2hEm6oqKMerG/b5ey9F0we2Qony8cAZgBktmGPYUvPyKsDCzMcYU6fXbpWew==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/light-my-request/-/light-my-request-4.0.1.tgz", + "integrity": "sha512-kGRfzvSS9P/zEsnu34pUisOz2FAPqkHFJfdezW6HRzLLlzjY+1LTRRuh2d82SkW/M/QWNVWnXTZ0HMUydz2fgg==", "requires": { - "ajv": "^6.10.2", + "ajv": "^6.12.2", "cookie": "^0.4.0", - "readable-stream": "^3.4.0", + "readable-stream": "^3.6.0", "set-cookie-parser": "^2.4.1" }, "dependencies": { + "ajv": { + "version": "6.12.3", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.3.tgz", + "integrity": "sha512-4K0cK3L1hsqk9xIb2z9vs/XU+PGJZ9PNpJRDS9YLzmNdX6jmVPfamLvTJr0aDAusnHyCHO6MjzlkAsgtqp9teA==", + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, "readable-stream": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", @@ -4730,22 +4747,6 @@ "picomatch": "^2.0.5" } }, - "middie": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/middie/-/middie-4.1.0.tgz", - "integrity": "sha512-eylPpZA+K3xO9kpDjagoPkEUkNcWV3EAo5OEz0MqsekUpT7KbnQkk8HNZkh4phx2vvOAmNNZuLRWF9lDDHPpVQ==", - "requires": { - "path-to-regexp": "^4.0.0", - "reusify": "^1.0.2" - }, - "dependencies": { - "path-to-regexp": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-4.0.5.tgz", - "integrity": "sha512-l+fTaGG2N9ZRpCEUj5fG1VKdDLaiqwCIvPngpnxzREhcdobhZC4ou4w984HBu72DqAJ5CfcdV6tjqNOunfpdsQ==" - } - } - }, "mime": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz", @@ -5168,16 +5169,16 @@ "dev": true }, "pino": { - "version": "5.17.0", - "resolved": "https://registry.npmjs.org/pino/-/pino-5.17.0.tgz", - "integrity": "sha512-LqrqmRcJz8etUjyV0ddqB6OTUutCgQULPFg2b4dtijRHUsucaAdBgSUW58vY6RFSX+NT8963F+q0tM6lNwGShA==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/pino/-/pino-6.4.1.tgz", + "integrity": "sha512-1zDSQworQZw14tvqjuW5aj5GV5oUQpV5Bz5wnpVVltVPBzaOoV1Dv+oKn1xNCz2CCkOyZd+kkdlel9lCLBYl+Q==", "requires": { "fast-redact": "^2.0.0", "fast-safe-stringify": "^2.0.7", "flatstr": "^1.0.12", "pino-std-serializers": "^2.4.2", - "quick-format-unescaped": "^3.0.3", - "sonic-boom": "^0.7.5" + "quick-format-unescaped": "^4.0.1", + "sonic-boom": "^1.0.0" } }, "pino-std-serializers": { @@ -5287,10 +5288,15 @@ "integrity": "sha512-eRzhrN1WSINYCDCbrz796z37LOe3m5tmW7RQf6oBntukAG1nmovJvhnwHHRMAfeoItc1m2Hk02WER2aQ/iqs+A==", "dev": true }, + "queue-microtask": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.1.4.tgz", + "integrity": "sha512-eY/4Obve9cE5FK8YvC1cJsm5cr7XvAurul8UtBDJ2PR1p5NmAwHtvAt5ftcLtwYRCUKNhxCneZZlxmUDFoSeKA==" + }, "quick-format-unescaped": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/quick-format-unescaped/-/quick-format-unescaped-3.0.3.tgz", - "integrity": "sha512-dy1yjycmn9blucmJLXOfZDx1ikZJUi6E8bBZLnhPG5gBrVhHXx2xVyqqgKBubVNEXmx51dBACMHpoMQK/N/AXQ==" + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/quick-format-unescaped/-/quick-format-unescaped-4.0.1.tgz", + "integrity": "sha512-RyYpQ6Q5/drsJyOhrWHYMWTedvjTIat+FTwv0K4yoUxzvekw2aRHMQJLlnvt8UantkZg2++bEzD9EdxXqkWf4A==" }, "range-parser": { "version": "1.2.1", @@ -6013,9 +6019,9 @@ } }, "sonic-boom": { - "version": "0.7.7", - "resolved": "https://registry.npmjs.org/sonic-boom/-/sonic-boom-0.7.7.tgz", - "integrity": "sha512-Ei5YOo5J64GKClHIL/5evJPgASXFVpfVYbJV9PILZQytTK6/LCwHvsZJW2Ig4p9FMC2OrBrMnXKgRN/OEoAWfg==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/sonic-boom/-/sonic-boom-1.0.2.tgz", + "integrity": "sha512-sRMmXu7uFDXoniGvtLHuQk5KWovLWoi6WKASn7rw0ro41mPf0fOolkGp4NE6680CbxvNh26zWNyFQYYWXe33EA==", "requires": { "atomic-sleep": "^1.0.0", "flatstr": "^1.0.12" diff --git a/sample/deprecated/000-dogs-app/package.json b/sample/deprecated/000-dogs-app/package.json index 2ea28ea43..84b1fea7d 100644 --- a/sample/deprecated/000-dogs-app/package.json +++ b/sample/deprecated/000-dogs-app/package.json @@ -20,7 +20,7 @@ "@nestjs/core": "7.3.0", "@nestjs/platform-express": "7.3.0", "@nestjs/testing": "7.3.0", - "fastify": "2.15.2", + "fastify": "3.1.1", "reflect-metadata": "0.1.13", "typescript": "3.9.7" }, diff --git a/sample/deprecated/002-microservice-app/package-lock.json b/sample/deprecated/002-microservice-app/package-lock.json index f7214df9b..f66b6af21 100644 --- a/sample/deprecated/002-microservice-app/package-lock.json +++ b/sample/deprecated/002-microservice-app/package-lock.json @@ -1733,13 +1733,14 @@ "integrity": "sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==" }, "avvio": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/avvio/-/avvio-6.5.0.tgz", - "integrity": "sha512-BmzcZ7gFpyFJsW8G+tfQw8vJNUboA9SDkkHLZ9RAALhvw/rplfWwni8Ee1rA11zj/J7/E5EvZmweusVvTHjWCA==", + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/avvio/-/avvio-7.1.2.tgz", + "integrity": "sha512-mzJqhylHN4u5VeUWt4Vol4u8lhOFJMZmdE+GR0vP4Ea6Fg36m5b0e4zy8FCBD+dcagbOxSgfMSJ48jxELduk7w==", "requires": { "archy": "^1.0.0", "debug": "^4.0.0", - "fastq": "^1.6.0" + "fastq": "^1.6.1", + "queue-microtask": "^1.1.2" }, "dependencies": { "debug": { @@ -3132,9 +3133,9 @@ "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=" }, "fast-json-stringify": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/fast-json-stringify/-/fast-json-stringify-1.21.0.tgz", - "integrity": "sha512-xY6gyjmHN3AK1Y15BCbMpeO9+dea5ePVsp3BouHCdukcx0hOHbXwFhRodhcI0NpZIgDChSeAKkHW9YjKvhwKBA==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/fast-json-stringify/-/fast-json-stringify-2.2.3.tgz", + "integrity": "sha512-5VT2l3XUORCxkeVCvrcUqfoEIIzuop1lxwwT/THlOkAfrhlIuriWXdFGKU2hZQxz0KOiWSYoZTatumGYCXfAlA==", "requires": { "ajv": "^6.11.0", "deepmerge": "^4.2.2", @@ -3158,24 +3159,24 @@ "integrity": "sha512-Utm6CdzT+6xsDk2m8S6uL8VHxNwI6Jub+e9NYTcAms28T84pTa25GJQV9j0CY0N1rM8hK4x6grpF2BQf+2qwVA==" }, "fastify": { - "version": "2.15.2", - "resolved": "https://registry.npmjs.org/fastify/-/fastify-2.15.2.tgz", - "integrity": "sha512-Inbodl5a/Vb12m2gjD+RRRSByPJByQ38KdxGS5IT4587S1jIn6gWv7pYELPreoGJgzsN5YfC4xsfpQ2Ju4M6iw==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/fastify/-/fastify-3.1.1.tgz", + "integrity": "sha512-A7kBZIFAdpE/8MZ9qHpQV9IVPpfX63uWMaPN4p0fetax10C2p56iV/VEB5hOgtlXzayGn+4tf+tNHcZsfrjlnA==", "requires": { "abstract-logging": "^2.0.0", - "ajv": "^6.12.0", - "avvio": "^6.5.0", - "fast-json-stringify": "^1.18.0", - "find-my-way": "^2.2.2", + "ajv": "^6.12.2", + "avvio": "^7.1.2", + "fast-json-stringify": "^2.2.1", + "fastify-error": "^0.1.0", + "find-my-way": "^3.0.0", "flatstr": "^1.0.12", - "light-my-request": "^3.7.3", - "middie": "^4.1.0", - "pino": "^5.17.0", - "proxy-addr": "^2.0.6", - "readable-stream": "^3.6.0", - "rfdc": "^1.1.2", - "secure-json-parse": "^2.1.0", - "tiny-lru": "^7.0.2" + "light-my-request": "^4.0.0", + "pino": "^6.2.1", + "proxy-addr": "^2.0.5", + "readable-stream": "^3.4.0", + "rfdc": "^1.1.4", + "secure-json-parse": "^2.0.0", + "tiny-lru": "^7.0.0" }, "dependencies": { "ajv": { @@ -3191,6 +3192,11 @@ } } }, + "fastify-error": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/fastify-error/-/fastify-error-0.1.0.tgz", + "integrity": "sha512-jyCEc3VPEc8/PUwzDQAM2JlXLK2BG6L19mMJzbGij0TfdY1sHF9pCnnAn6Vcoi84TMTBOJynNDQUMUz6cjRmBw==" + }, "fastq": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.8.0.tgz", @@ -3247,9 +3253,9 @@ } }, "find-my-way": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/find-my-way/-/find-my-way-2.2.3.tgz", - "integrity": "sha512-C7dxfbX8pV1maLd31ygkBEOaD51Ls4dROuHjeSQZf1FeQinUzq3UA/kSPecLSDy9iAQufd8w1zgp7j64kyLdhw==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/find-my-way/-/find-my-way-3.0.1.tgz", + "integrity": "sha512-tHUHIRGTcfl3phGKLZeD2Xkb+I0QZr4xduSwCJG5Ke11pdJTGuMDtAyAiJzUdWBZJgHA0H42Pb0WF3H321KbRA==", "requires": { "fast-decode-uri-component": "^1.0.0", "safe-regex2": "^2.0.0", @@ -6082,14 +6088,27 @@ } }, "light-my-request": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/light-my-request/-/light-my-request-3.8.0.tgz", - "integrity": "sha512-cIOWmNsgoStysmkzcv2EwvLwMb2hEm6oqKMerG/b5ey9F0we2Qony8cAZgBktmGPYUvPyKsDCzMcYU6fXbpWew==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/light-my-request/-/light-my-request-4.0.1.tgz", + "integrity": "sha512-kGRfzvSS9P/zEsnu34pUisOz2FAPqkHFJfdezW6HRzLLlzjY+1LTRRuh2d82SkW/M/QWNVWnXTZ0HMUydz2fgg==", "requires": { - "ajv": "^6.10.2", + "ajv": "^6.12.2", "cookie": "^0.4.0", - "readable-stream": "^3.4.0", + "readable-stream": "^3.6.0", "set-cookie-parser": "^2.4.1" + }, + "dependencies": { + "ajv": { + "version": "6.12.3", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.3.tgz", + "integrity": "sha512-4K0cK3L1hsqk9xIb2z9vs/XU+PGJZ9PNpJRDS9YLzmNdX6jmVPfamLvTJr0aDAusnHyCHO6MjzlkAsgtqp9teA==", + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + } } }, "lines-and-columns": { @@ -6225,15 +6244,6 @@ "picomatch": "^2.0.5" } }, - "middie": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/middie/-/middie-4.1.0.tgz", - "integrity": "sha512-eylPpZA+K3xO9kpDjagoPkEUkNcWV3EAo5OEz0MqsekUpT7KbnQkk8HNZkh4phx2vvOAmNNZuLRWF9lDDHPpVQ==", - "requires": { - "path-to-regexp": "^4.0.0", - "reusify": "^1.0.2" - } - }, "mime": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz", @@ -6638,11 +6648,6 @@ "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", "dev": true }, - "path-to-regexp": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-4.0.5.tgz", - "integrity": "sha512-l+fTaGG2N9ZRpCEUj5fG1VKdDLaiqwCIvPngpnxzREhcdobhZC4ou4w984HBu72DqAJ5CfcdV6tjqNOunfpdsQ==" - }, "performance-now": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", @@ -6656,16 +6661,16 @@ "dev": true }, "pino": { - "version": "5.17.0", - "resolved": "https://registry.npmjs.org/pino/-/pino-5.17.0.tgz", - "integrity": "sha512-LqrqmRcJz8etUjyV0ddqB6OTUutCgQULPFg2b4dtijRHUsucaAdBgSUW58vY6RFSX+NT8963F+q0tM6lNwGShA==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/pino/-/pino-6.4.1.tgz", + "integrity": "sha512-1zDSQworQZw14tvqjuW5aj5GV5oUQpV5Bz5wnpVVltVPBzaOoV1Dv+oKn1xNCz2CCkOyZd+kkdlel9lCLBYl+Q==", "requires": { "fast-redact": "^2.0.0", "fast-safe-stringify": "^2.0.7", "flatstr": "^1.0.12", "pino-std-serializers": "^2.4.2", - "quick-format-unescaped": "^3.0.3", - "sonic-boom": "^0.7.5" + "quick-format-unescaped": "^4.0.1", + "sonic-boom": "^1.0.0" } }, "pino-std-serializers": { @@ -6800,10 +6805,15 @@ "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", "dev": true }, + "queue-microtask": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.1.4.tgz", + "integrity": "sha512-eY/4Obve9cE5FK8YvC1cJsm5cr7XvAurul8UtBDJ2PR1p5NmAwHtvAt5ftcLtwYRCUKNhxCneZZlxmUDFoSeKA==" + }, "quick-format-unescaped": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/quick-format-unescaped/-/quick-format-unescaped-3.0.3.tgz", - "integrity": "sha512-dy1yjycmn9blucmJLXOfZDx1ikZJUi6E8bBZLnhPG5gBrVhHXx2xVyqqgKBubVNEXmx51dBACMHpoMQK/N/AXQ==" + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/quick-format-unescaped/-/quick-format-unescaped-4.0.1.tgz", + "integrity": "sha512-RyYpQ6Q5/drsJyOhrWHYMWTedvjTIat+FTwv0K4yoUxzvekw2aRHMQJLlnvt8UantkZg2++bEzD9EdxXqkWf4A==" }, "range-parser": { "version": "1.2.1", @@ -7550,9 +7560,9 @@ } }, "sonic-boom": { - "version": "0.7.7", - "resolved": "https://registry.npmjs.org/sonic-boom/-/sonic-boom-0.7.7.tgz", - "integrity": "sha512-Ei5YOo5J64GKClHIL/5evJPgASXFVpfVYbJV9PILZQytTK6/LCwHvsZJW2Ig4p9FMC2OrBrMnXKgRN/OEoAWfg==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/sonic-boom/-/sonic-boom-1.0.2.tgz", + "integrity": "sha512-sRMmXu7uFDXoniGvtLHuQk5KWovLWoi6WKASn7rw0ro41mPf0fOolkGp4NE6680CbxvNh26zWNyFQYYWXe33EA==", "requires": { "atomic-sleep": "^1.0.0", "flatstr": "^1.0.12" diff --git a/sample/deprecated/002-microservice-app/package.json b/sample/deprecated/002-microservice-app/package.json index 2e73d247d..9772f9253 100644 --- a/sample/deprecated/002-microservice-app/package.json +++ b/sample/deprecated/002-microservice-app/package.json @@ -24,7 +24,7 @@ "@nestjs/websockets": "7.3.0", "class-transformer": "0.2.3", "class-validator": "0.12.2", - "fastify": "2.15.2", + "fastify": "3.1.1", "lodash": "4.17.19", "redis": "3.0.2", "reflect-metadata": "0.1.13", diff --git a/sample/deprecated/003-memory-app/package-lock.json b/sample/deprecated/003-memory-app/package-lock.json index d4e52ba8b..69164a9c4 100644 --- a/sample/deprecated/003-memory-app/package-lock.json +++ b/sample/deprecated/003-memory-app/package-lock.json @@ -1371,13 +1371,14 @@ "integrity": "sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==" }, "avvio": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/avvio/-/avvio-6.5.0.tgz", - "integrity": "sha512-BmzcZ7gFpyFJsW8G+tfQw8vJNUboA9SDkkHLZ9RAALhvw/rplfWwni8Ee1rA11zj/J7/E5EvZmweusVvTHjWCA==", + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/avvio/-/avvio-7.1.2.tgz", + "integrity": "sha512-mzJqhylHN4u5VeUWt4Vol4u8lhOFJMZmdE+GR0vP4Ea6Fg36m5b0e4zy8FCBD+dcagbOxSgfMSJ48jxELduk7w==", "requires": { "archy": "^1.0.0", "debug": "^4.0.0", - "fastq": "^1.6.0" + "fastq": "^1.6.1", + "queue-microtask": "^1.1.2" }, "dependencies": { "debug": { @@ -2691,9 +2692,9 @@ "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=" }, "fast-json-stringify": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/fast-json-stringify/-/fast-json-stringify-1.21.0.tgz", - "integrity": "sha512-xY6gyjmHN3AK1Y15BCbMpeO9+dea5ePVsp3BouHCdukcx0hOHbXwFhRodhcI0NpZIgDChSeAKkHW9YjKvhwKBA==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/fast-json-stringify/-/fast-json-stringify-2.2.3.tgz", + "integrity": "sha512-5VT2l3XUORCxkeVCvrcUqfoEIIzuop1lxwwT/THlOkAfrhlIuriWXdFGKU2hZQxz0KOiWSYoZTatumGYCXfAlA==", "requires": { "ajv": "^6.11.0", "deepmerge": "^4.2.2", @@ -2717,24 +2718,24 @@ "integrity": "sha512-Utm6CdzT+6xsDk2m8S6uL8VHxNwI6Jub+e9NYTcAms28T84pTa25GJQV9j0CY0N1rM8hK4x6grpF2BQf+2qwVA==" }, "fastify": { - "version": "2.15.2", - "resolved": "https://registry.npmjs.org/fastify/-/fastify-2.15.2.tgz", - "integrity": "sha512-Inbodl5a/Vb12m2gjD+RRRSByPJByQ38KdxGS5IT4587S1jIn6gWv7pYELPreoGJgzsN5YfC4xsfpQ2Ju4M6iw==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/fastify/-/fastify-3.1.1.tgz", + "integrity": "sha512-A7kBZIFAdpE/8MZ9qHpQV9IVPpfX63uWMaPN4p0fetax10C2p56iV/VEB5hOgtlXzayGn+4tf+tNHcZsfrjlnA==", "requires": { "abstract-logging": "^2.0.0", - "ajv": "^6.12.0", - "avvio": "^6.5.0", - "fast-json-stringify": "^1.18.0", - "find-my-way": "^2.2.2", + "ajv": "^6.12.2", + "avvio": "^7.1.2", + "fast-json-stringify": "^2.2.1", + "fastify-error": "^0.1.0", + "find-my-way": "^3.0.0", "flatstr": "^1.0.12", - "light-my-request": "^3.7.3", - "middie": "^4.1.0", - "pino": "^5.17.0", - "proxy-addr": "^2.0.6", - "readable-stream": "^3.6.0", - "rfdc": "^1.1.2", - "secure-json-parse": "^2.1.0", - "tiny-lru": "^7.0.2" + "light-my-request": "^4.0.0", + "pino": "^6.2.1", + "proxy-addr": "^2.0.5", + "readable-stream": "^3.4.0", + "rfdc": "^1.1.4", + "secure-json-parse": "^2.0.0", + "tiny-lru": "^7.0.0" }, "dependencies": { "ajv": { @@ -2750,6 +2751,11 @@ } } }, + "fastify-error": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/fastify-error/-/fastify-error-0.1.0.tgz", + "integrity": "sha512-jyCEc3VPEc8/PUwzDQAM2JlXLK2BG6L19mMJzbGij0TfdY1sHF9pCnnAn6Vcoi84TMTBOJynNDQUMUz6cjRmBw==" + }, "fastq": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.8.0.tgz", @@ -2801,9 +2807,9 @@ } }, "find-my-way": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/find-my-way/-/find-my-way-2.2.3.tgz", - "integrity": "sha512-C7dxfbX8pV1maLd31ygkBEOaD51Ls4dROuHjeSQZf1FeQinUzq3UA/kSPecLSDy9iAQufd8w1zgp7j64kyLdhw==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/find-my-way/-/find-my-way-3.0.1.tgz", + "integrity": "sha512-tHUHIRGTcfl3phGKLZeD2Xkb+I0QZr4xduSwCJG5Ke11pdJTGuMDtAyAiJzUdWBZJgHA0H42Pb0WF3H321KbRA==", "requires": { "fast-decode-uri-component": "^1.0.0", "safe-regex2": "^2.0.0", @@ -4748,14 +4754,27 @@ } }, "light-my-request": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/light-my-request/-/light-my-request-3.8.0.tgz", - "integrity": "sha512-cIOWmNsgoStysmkzcv2EwvLwMb2hEm6oqKMerG/b5ey9F0we2Qony8cAZgBktmGPYUvPyKsDCzMcYU6fXbpWew==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/light-my-request/-/light-my-request-4.0.1.tgz", + "integrity": "sha512-kGRfzvSS9P/zEsnu34pUisOz2FAPqkHFJfdezW6HRzLLlzjY+1LTRRuh2d82SkW/M/QWNVWnXTZ0HMUydz2fgg==", "requires": { - "ajv": "^6.10.2", + "ajv": "^6.12.2", "cookie": "^0.4.0", - "readable-stream": "^3.4.0", + "readable-stream": "^3.6.0", "set-cookie-parser": "^2.4.1" + }, + "dependencies": { + "ajv": { + "version": "6.12.3", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.3.tgz", + "integrity": "sha512-4K0cK3L1hsqk9xIb2z9vs/XU+PGJZ9PNpJRDS9YLzmNdX6jmVPfamLvTJr0aDAusnHyCHO6MjzlkAsgtqp9teA==", + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + } } }, "lines-and-columns": { @@ -4891,15 +4910,6 @@ "picomatch": "^2.0.5" } }, - "middie": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/middie/-/middie-4.1.0.tgz", - "integrity": "sha512-eylPpZA+K3xO9kpDjagoPkEUkNcWV3EAo5OEz0MqsekUpT7KbnQkk8HNZkh4phx2vvOAmNNZuLRWF9lDDHPpVQ==", - "requires": { - "path-to-regexp": "^4.0.0", - "reusify": "^1.0.2" - } - }, "mime": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz", @@ -5304,11 +5314,6 @@ "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", "dev": true }, - "path-to-regexp": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-4.0.5.tgz", - "integrity": "sha512-l+fTaGG2N9ZRpCEUj5fG1VKdDLaiqwCIvPngpnxzREhcdobhZC4ou4w984HBu72DqAJ5CfcdV6tjqNOunfpdsQ==" - }, "performance-now": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", @@ -5322,16 +5327,16 @@ "dev": true }, "pino": { - "version": "5.17.0", - "resolved": "https://registry.npmjs.org/pino/-/pino-5.17.0.tgz", - "integrity": "sha512-LqrqmRcJz8etUjyV0ddqB6OTUutCgQULPFg2b4dtijRHUsucaAdBgSUW58vY6RFSX+NT8963F+q0tM6lNwGShA==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/pino/-/pino-6.4.1.tgz", + "integrity": "sha512-1zDSQworQZw14tvqjuW5aj5GV5oUQpV5Bz5wnpVVltVPBzaOoV1Dv+oKn1xNCz2CCkOyZd+kkdlel9lCLBYl+Q==", "requires": { "fast-redact": "^2.0.0", "fast-safe-stringify": "^2.0.7", "flatstr": "^1.0.12", "pino-std-serializers": "^2.4.2", - "quick-format-unescaped": "^3.0.3", - "sonic-boom": "^0.7.5" + "quick-format-unescaped": "^4.0.1", + "sonic-boom": "^1.0.0" } }, "pino-std-serializers": { @@ -5441,10 +5446,15 @@ "integrity": "sha512-eRzhrN1WSINYCDCbrz796z37LOe3m5tmW7RQf6oBntukAG1nmovJvhnwHHRMAfeoItc1m2Hk02WER2aQ/iqs+A==", "dev": true }, + "queue-microtask": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.1.4.tgz", + "integrity": "sha512-eY/4Obve9cE5FK8YvC1cJsm5cr7XvAurul8UtBDJ2PR1p5NmAwHtvAt5ftcLtwYRCUKNhxCneZZlxmUDFoSeKA==" + }, "quick-format-unescaped": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/quick-format-unescaped/-/quick-format-unescaped-3.0.3.tgz", - "integrity": "sha512-dy1yjycmn9blucmJLXOfZDx1ikZJUi6E8bBZLnhPG5gBrVhHXx2xVyqqgKBubVNEXmx51dBACMHpoMQK/N/AXQ==" + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/quick-format-unescaped/-/quick-format-unescaped-4.0.1.tgz", + "integrity": "sha512-RyYpQ6Q5/drsJyOhrWHYMWTedvjTIat+FTwv0K4yoUxzvekw2aRHMQJLlnvt8UantkZg2++bEzD9EdxXqkWf4A==" }, "range-parser": { "version": "1.2.1", @@ -6159,9 +6169,9 @@ } }, "sonic-boom": { - "version": "0.7.7", - "resolved": "https://registry.npmjs.org/sonic-boom/-/sonic-boom-0.7.7.tgz", - "integrity": "sha512-Ei5YOo5J64GKClHIL/5evJPgASXFVpfVYbJV9PILZQytTK6/LCwHvsZJW2Ig4p9FMC2OrBrMnXKgRN/OEoAWfg==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/sonic-boom/-/sonic-boom-1.0.2.tgz", + "integrity": "sha512-sRMmXu7uFDXoniGvtLHuQk5KWovLWoi6WKASn7rw0ro41mPf0fOolkGp4NE6680CbxvNh26zWNyFQYYWXe33EA==", "requires": { "atomic-sleep": "^1.0.0", "flatstr": "^1.0.12" diff --git a/sample/deprecated/003-memory-app/package.json b/sample/deprecated/003-memory-app/package.json index c2f9abb66..56f1b6490 100644 --- a/sample/deprecated/003-memory-app/package.json +++ b/sample/deprecated/003-memory-app/package.json @@ -22,7 +22,7 @@ "@nestjs/testing": "7.3.0", "class-transformer": "0.2.3", "class-validator": "0.12.2", - "fastify": "2.15.2", + "fastify": "3.1.1", "lodash": "4.17.19", "reflect-metadata": "0.1.13", "typescript": "3.9.7" diff --git a/sample/deprecated/004-grpc-app/package-lock.json b/sample/deprecated/004-grpc-app/package-lock.json index 8315df76d..1eaa5b6e8 100644 --- a/sample/deprecated/004-grpc-app/package-lock.json +++ b/sample/deprecated/004-grpc-app/package-lock.json @@ -1912,13 +1912,14 @@ "integrity": "sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==" }, "avvio": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/avvio/-/avvio-6.5.0.tgz", - "integrity": "sha512-BmzcZ7gFpyFJsW8G+tfQw8vJNUboA9SDkkHLZ9RAALhvw/rplfWwni8Ee1rA11zj/J7/E5EvZmweusVvTHjWCA==", + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/avvio/-/avvio-7.1.2.tgz", + "integrity": "sha512-mzJqhylHN4u5VeUWt4Vol4u8lhOFJMZmdE+GR0vP4Ea6Fg36m5b0e4zy8FCBD+dcagbOxSgfMSJ48jxELduk7w==", "requires": { "archy": "^1.0.0", "debug": "^4.0.0", - "fastq": "^1.6.0" + "fastq": "^1.6.1", + "queue-microtask": "^1.1.2" }, "dependencies": { "debug": { @@ -3403,9 +3404,9 @@ "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=" }, "fast-json-stringify": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/fast-json-stringify/-/fast-json-stringify-1.21.0.tgz", - "integrity": "sha512-xY6gyjmHN3AK1Y15BCbMpeO9+dea5ePVsp3BouHCdukcx0hOHbXwFhRodhcI0NpZIgDChSeAKkHW9YjKvhwKBA==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/fast-json-stringify/-/fast-json-stringify-2.2.3.tgz", + "integrity": "sha512-5VT2l3XUORCxkeVCvrcUqfoEIIzuop1lxwwT/THlOkAfrhlIuriWXdFGKU2hZQxz0KOiWSYoZTatumGYCXfAlA==", "requires": { "ajv": "^6.11.0", "deepmerge": "^4.2.2", @@ -3429,24 +3430,24 @@ "integrity": "sha512-Utm6CdzT+6xsDk2m8S6uL8VHxNwI6Jub+e9NYTcAms28T84pTa25GJQV9j0CY0N1rM8hK4x6grpF2BQf+2qwVA==" }, "fastify": { - "version": "2.15.2", - "resolved": "https://registry.npmjs.org/fastify/-/fastify-2.15.2.tgz", - "integrity": "sha512-Inbodl5a/Vb12m2gjD+RRRSByPJByQ38KdxGS5IT4587S1jIn6gWv7pYELPreoGJgzsN5YfC4xsfpQ2Ju4M6iw==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/fastify/-/fastify-3.1.1.tgz", + "integrity": "sha512-A7kBZIFAdpE/8MZ9qHpQV9IVPpfX63uWMaPN4p0fetax10C2p56iV/VEB5hOgtlXzayGn+4tf+tNHcZsfrjlnA==", "requires": { "abstract-logging": "^2.0.0", - "ajv": "^6.12.0", - "avvio": "^6.5.0", - "fast-json-stringify": "^1.18.0", - "find-my-way": "^2.2.2", + "ajv": "^6.12.2", + "avvio": "^7.1.2", + "fast-json-stringify": "^2.2.1", + "fastify-error": "^0.1.0", + "find-my-way": "^3.0.0", "flatstr": "^1.0.12", - "light-my-request": "^3.7.3", - "middie": "^4.1.0", - "pino": "^5.17.0", - "proxy-addr": "^2.0.6", - "readable-stream": "^3.6.0", - "rfdc": "^1.1.2", - "secure-json-parse": "^2.1.0", - "tiny-lru": "^7.0.2" + "light-my-request": "^4.0.0", + "pino": "^6.2.1", + "proxy-addr": "^2.0.5", + "readable-stream": "^3.4.0", + "rfdc": "^1.1.4", + "secure-json-parse": "^2.0.0", + "tiny-lru": "^7.0.0" }, "dependencies": { "ajv": { @@ -3462,6 +3463,11 @@ } } }, + "fastify-error": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/fastify-error/-/fastify-error-0.1.0.tgz", + "integrity": "sha512-jyCEc3VPEc8/PUwzDQAM2JlXLK2BG6L19mMJzbGij0TfdY1sHF9pCnnAn6Vcoi84TMTBOJynNDQUMUz6cjRmBw==" + }, "fastq": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.8.0.tgz", @@ -3518,9 +3524,9 @@ } }, "find-my-way": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/find-my-way/-/find-my-way-2.2.3.tgz", - "integrity": "sha512-C7dxfbX8pV1maLd31ygkBEOaD51Ls4dROuHjeSQZf1FeQinUzq3UA/kSPecLSDy9iAQufd8w1zgp7j64kyLdhw==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/find-my-way/-/find-my-way-3.0.1.tgz", + "integrity": "sha512-tHUHIRGTcfl3phGKLZeD2Xkb+I0QZr4xduSwCJG5Ke11pdJTGuMDtAyAiJzUdWBZJgHA0H42Pb0WF3H321KbRA==", "requires": { "fast-decode-uri-component": "^1.0.0", "safe-regex2": "^2.0.0", @@ -6762,14 +6768,27 @@ } }, "light-my-request": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/light-my-request/-/light-my-request-3.8.0.tgz", - "integrity": "sha512-cIOWmNsgoStysmkzcv2EwvLwMb2hEm6oqKMerG/b5ey9F0we2Qony8cAZgBktmGPYUvPyKsDCzMcYU6fXbpWew==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/light-my-request/-/light-my-request-4.0.1.tgz", + "integrity": "sha512-kGRfzvSS9P/zEsnu34pUisOz2FAPqkHFJfdezW6HRzLLlzjY+1LTRRuh2d82SkW/M/QWNVWnXTZ0HMUydz2fgg==", "requires": { - "ajv": "^6.10.2", + "ajv": "^6.12.2", "cookie": "^0.4.0", - "readable-stream": "^3.4.0", + "readable-stream": "^3.6.0", "set-cookie-parser": "^2.4.1" + }, + "dependencies": { + "ajv": { + "version": "6.12.3", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.3.tgz", + "integrity": "sha512-4K0cK3L1hsqk9xIb2z9vs/XU+PGJZ9PNpJRDS9YLzmNdX6jmVPfamLvTJr0aDAusnHyCHO6MjzlkAsgtqp9teA==", + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + } } }, "lines-and-columns": { @@ -6921,15 +6940,6 @@ "picomatch": "^2.0.5" } }, - "middie": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/middie/-/middie-4.1.0.tgz", - "integrity": "sha512-eylPpZA+K3xO9kpDjagoPkEUkNcWV3EAo5OEz0MqsekUpT7KbnQkk8HNZkh4phx2vvOAmNNZuLRWF9lDDHPpVQ==", - "requires": { - "path-to-regexp": "^4.0.0", - "reusify": "^1.0.2" - } - }, "mime": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz", @@ -7468,11 +7478,6 @@ "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", "dev": true }, - "path-to-regexp": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-4.0.5.tgz", - "integrity": "sha512-l+fTaGG2N9ZRpCEUj5fG1VKdDLaiqwCIvPngpnxzREhcdobhZC4ou4w984HBu72DqAJ5CfcdV6tjqNOunfpdsQ==" - }, "performance-now": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", @@ -7492,16 +7497,16 @@ "dev": true }, "pino": { - "version": "5.17.0", - "resolved": "https://registry.npmjs.org/pino/-/pino-5.17.0.tgz", - "integrity": "sha512-LqrqmRcJz8etUjyV0ddqB6OTUutCgQULPFg2b4dtijRHUsucaAdBgSUW58vY6RFSX+NT8963F+q0tM6lNwGShA==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/pino/-/pino-6.4.1.tgz", + "integrity": "sha512-1zDSQworQZw14tvqjuW5aj5GV5oUQpV5Bz5wnpVVltVPBzaOoV1Dv+oKn1xNCz2CCkOyZd+kkdlel9lCLBYl+Q==", "requires": { "fast-redact": "^2.0.0", "fast-safe-stringify": "^2.0.7", "flatstr": "^1.0.12", "pino-std-serializers": "^2.4.2", - "quick-format-unescaped": "^3.0.3", - "sonic-boom": "^0.7.5" + "quick-format-unescaped": "^4.0.1", + "sonic-boom": "^1.0.0" } }, "pino-std-serializers": { @@ -7704,10 +7709,15 @@ "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", "dev": true }, + "queue-microtask": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.1.4.tgz", + "integrity": "sha512-eY/4Obve9cE5FK8YvC1cJsm5cr7XvAurul8UtBDJ2PR1p5NmAwHtvAt5ftcLtwYRCUKNhxCneZZlxmUDFoSeKA==" + }, "quick-format-unescaped": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/quick-format-unescaped/-/quick-format-unescaped-3.0.3.tgz", - "integrity": "sha512-dy1yjycmn9blucmJLXOfZDx1ikZJUi6E8bBZLnhPG5gBrVhHXx2xVyqqgKBubVNEXmx51dBACMHpoMQK/N/AXQ==" + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/quick-format-unescaped/-/quick-format-unescaped-4.0.1.tgz", + "integrity": "sha512-RyYpQ6Q5/drsJyOhrWHYMWTedvjTIat+FTwv0K4yoUxzvekw2aRHMQJLlnvt8UantkZg2++bEzD9EdxXqkWf4A==" }, "range-parser": { "version": "1.2.1", @@ -8526,9 +8536,9 @@ } }, "sonic-boom": { - "version": "0.7.7", - "resolved": "https://registry.npmjs.org/sonic-boom/-/sonic-boom-0.7.7.tgz", - "integrity": "sha512-Ei5YOo5J64GKClHIL/5evJPgASXFVpfVYbJV9PILZQytTK6/LCwHvsZJW2Ig4p9FMC2OrBrMnXKgRN/OEoAWfg==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/sonic-boom/-/sonic-boom-1.0.2.tgz", + "integrity": "sha512-sRMmXu7uFDXoniGvtLHuQk5KWovLWoi6WKASn7rw0ro41mPf0fOolkGp4NE6680CbxvNh26zWNyFQYYWXe33EA==", "requires": { "atomic-sleep": "^1.0.0", "flatstr": "^1.0.12" diff --git a/sample/deprecated/004-grpc-app/package.json b/sample/deprecated/004-grpc-app/package.json index 64abc628d..55fae4204 100644 --- a/sample/deprecated/004-grpc-app/package.json +++ b/sample/deprecated/004-grpc-app/package.json @@ -27,7 +27,7 @@ "@nestjs/websockets": "7.3.0", "class-transformer": "0.2.2", "class-validator": "0.12.2", - "fastify": "2.15.2", + "fastify": "3.1.1", "grpc": "1.24.3", "lodash": "4.17.19", "redis": "3.0.2",