diff --git a/package-lock.json b/package-lock.json index 5239d035c0..29f5e7c6cb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8914,6 +8914,8 @@ "resolved": "https://registry.npmjs.org/@nestjs/microservices/-/microservices-9.4.3.tgz", "integrity": "sha512-piMw8d3C4ppc5St5AhQEtecMhyeBK2Q1VYk4AL3NKtG6U0fzz/6KLiETpWdKXmazeI/m7qac2upOvwmRzle0aA==", "dev": true, + "optional": true, + "peer": true, "dependencies": { "iterare": "1.2.1", "tslib": "2.5.3" @@ -8971,13 +8973,17 @@ "version": "2.5.3", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.3.tgz", "integrity": "sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w==", - "dev": true + "dev": true, + "optional": true, + "peer": true }, "node_modules/@nestjs/platform-express": { "version": "9.4.3", "resolved": "https://registry.npmjs.org/@nestjs/platform-express/-/platform-express-9.4.3.tgz", "integrity": "sha512-FpdczWoRSC0zz2dNL9u2AQLXKXRVtq4HgHklAhbL59X0uy+mcxhlSThG7DHzDMkoSnuuHY8ojDVf7mDxk+GtCw==", "dev": true, + "optional": true, + "peer": true, "dependencies": { "body-parser": "1.20.2", "cors": "2.8.5", @@ -8999,6 +9005,8 @@ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, + "optional": true, + "peer": true, "dependencies": { "ms": "2.0.0" } @@ -9008,6 +9016,8 @@ "resolved": "https://registry.npmjs.org/express/-/express-4.18.2.tgz", "integrity": "sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==", "dev": true, + "optional": true, + "peer": true, "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", @@ -9050,6 +9060,8 @@ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz", "integrity": "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==", "dev": true, + "optional": true, + "peer": true, "dependencies": { "bytes": "3.1.2", "content-type": "~1.0.4", @@ -9074,6 +9086,8 @@ "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", "dev": true, + "optional": true, + "peer": true, "dependencies": { "debug": "2.6.9", "encodeurl": "~1.0.2", @@ -9091,19 +9105,25 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "dev": true + "dev": true, + "optional": true, + "peer": true }, "node_modules/@nestjs/platform-express/node_modules/path-to-regexp": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==", - "dev": true + "dev": true, + "optional": true, + "peer": true }, "node_modules/@nestjs/platform-express/node_modules/raw-body": { "version": "2.5.1", "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", "dev": true, + "optional": true, + "peer": true, "dependencies": { "bytes": "3.1.2", "http-errors": "2.0.0", @@ -9118,13 +9138,17 @@ "version": "2.5.3", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.3.tgz", "integrity": "sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w==", - "dev": true + "dev": true, + "optional": true, + "peer": true }, "node_modules/@nestjs/websockets": { "version": "9.4.3", "resolved": "https://registry.npmjs.org/@nestjs/websockets/-/websockets-9.4.3.tgz", "integrity": "sha512-LMLKJWZbWH3VQRxDK/658ynyN1n5lLCIen/dey2y5TzB0RNgxlSso/YJATVVfWNaT2CxPG8TUQMOTdopXCWGQw==", "dev": true, + "optional": true, + "peer": true, "dependencies": { "iterare": "1.2.1", "object-hash": "3.0.0", @@ -9147,7 +9171,9 @@ "version": "2.5.3", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.3.tgz", "integrity": "sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w==", - "dev": true + "dev": true, + "optional": true, + "peer": true }, "node_modules/@netflix/nerror": { "version": "1.1.3", @@ -14340,7 +14366,9 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/append-field/-/append-field-1.0.0.tgz", "integrity": "sha512-klpgFSWLW1ZEs8svjfb7g4qWY0YS5imI82dTg+QahUvJ8YqAY0P10Uk8tTyh9ZGuYEZEMaeJYCF5BFuX552hsw==", - "dev": true + "dev": true, + "optional": true, + "peer": true }, "node_modules/append-transform": { "version": "2.0.0", @@ -16477,6 +16505,8 @@ "resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz", "integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==", "dev": true, + "optional": true, + "peer": true, "dependencies": { "streamsearch": "^1.1.0" }, @@ -17736,6 +17766,8 @@ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", "dev": true, + "optional": true, + "peer": true, "engines": { "node": ">= 0.6" } @@ -26689,7 +26721,9 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==", - "dev": true + "dev": true, + "optional": true, + "peer": true }, "node_modules/merge-source-map": { "version": "1.1.0", @@ -27664,6 +27698,8 @@ "resolved": "https://registry.npmjs.org/multer/-/multer-1.4.4-lts.1.tgz", "integrity": "sha512-WeSGziVj6+Z2/MwQo3GvqzgR+9Uc+qt8SwHKh3gvNPiISKfsMfG4SvCOFYlxxgkXt7yIV2i1yczehm0EOKIxIg==", "dev": true, + "optional": true, + "peer": true, "dependencies": { "append-field": "^1.0.0", "busboy": "^1.0.0", @@ -27685,6 +27721,8 @@ "engines": [ "node >= 0.8" ], + "optional": true, + "peer": true, "dependencies": { "buffer-from": "^1.0.0", "inherits": "^2.0.3", @@ -27697,6 +27735,8 @@ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", "dev": true, + "optional": true, + "peer": true, "dependencies": { "minimist": "^1.2.6" }, @@ -27709,6 +27749,8 @@ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", "dev": true, + "optional": true, + "peer": true, "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -27723,13 +27765,17 @@ "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true + "dev": true, + "optional": true, + "peer": true }, "node_modules/multer/node_modules/string_decoder": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "dev": true, + "optional": true, + "peer": true, "dependencies": { "safe-buffer": "~5.1.0" } @@ -29618,6 +29664,8 @@ "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", "dev": true, + "optional": true, + "peer": true, "engines": { "node": ">= 6" } @@ -32951,6 +32999,8 @@ "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", "dev": true, + "optional": true, + "peer": true, "dependencies": { "encodeurl": "~1.0.2", "escape-html": "~1.0.3", @@ -34081,6 +34131,8 @@ "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz", "integrity": "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==", "dev": true, + "optional": true, + "peer": true, "engines": { "node": ">=10.0.0" } @@ -39696,9 +39748,6 @@ "devDependencies": { "@nestjs/common": "9.4.3", "@nestjs/core": "9.4.3", - "@nestjs/microservices": "9.4.3", - "@nestjs/platform-express": "9.4.3", - "@nestjs/websockets": "9.4.3", "@opentelemetry/api": "^1.3.0", "@opentelemetry/context-async-hooks": "^1.8.0", "@opentelemetry/sdk-trace-base": "^1.8.0", @@ -49104,6 +49153,8 @@ "resolved": "https://registry.npmjs.org/@nestjs/microservices/-/microservices-9.4.3.tgz", "integrity": "sha512-piMw8d3C4ppc5St5AhQEtecMhyeBK2Q1VYk4AL3NKtG6U0fzz/6KLiETpWdKXmazeI/m7qac2upOvwmRzle0aA==", "dev": true, + "optional": true, + "peer": true, "requires": { "iterare": "1.2.1", "tslib": "2.5.3" @@ -49113,7 +49164,9 @@ "version": "2.5.3", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.3.tgz", "integrity": "sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w==", - "dev": true + "dev": true, + "optional": true, + "peer": true } } }, @@ -49122,6 +49175,8 @@ "resolved": "https://registry.npmjs.org/@nestjs/platform-express/-/platform-express-9.4.3.tgz", "integrity": "sha512-FpdczWoRSC0zz2dNL9u2AQLXKXRVtq4HgHklAhbL59X0uy+mcxhlSThG7DHzDMkoSnuuHY8ojDVf7mDxk+GtCw==", "dev": true, + "optional": true, + "peer": true, "requires": { "body-parser": "1.20.2", "cors": "2.8.5", @@ -49135,6 +49190,8 @@ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, + "optional": true, + "peer": true, "requires": { "ms": "2.0.0" } @@ -49144,6 +49201,8 @@ "resolved": "https://registry.npmjs.org/express/-/express-4.18.2.tgz", "integrity": "sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==", "dev": true, + "optional": true, + "peer": true, "requires": { "accepts": "~1.3.8", "array-flatten": "1.1.1", @@ -49183,6 +49242,8 @@ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz", "integrity": "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==", "dev": true, + "optional": true, + "peer": true, "requires": { "bytes": "3.1.2", "content-type": "~1.0.4", @@ -49205,6 +49266,8 @@ "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", "dev": true, + "optional": true, + "peer": true, "requires": { "debug": "2.6.9", "encodeurl": "~1.0.2", @@ -49219,19 +49282,25 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "dev": true + "dev": true, + "optional": true, + "peer": true }, "path-to-regexp": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==", - "dev": true + "dev": true, + "optional": true, + "peer": true }, "raw-body": { "version": "2.5.1", "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", "dev": true, + "optional": true, + "peer": true, "requires": { "bytes": "3.1.2", "http-errors": "2.0.0", @@ -49243,7 +49312,9 @@ "version": "2.5.3", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.3.tgz", "integrity": "sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w==", - "dev": true + "dev": true, + "optional": true, + "peer": true } } }, @@ -49252,6 +49323,8 @@ "resolved": "https://registry.npmjs.org/@nestjs/websockets/-/websockets-9.4.3.tgz", "integrity": "sha512-LMLKJWZbWH3VQRxDK/658ynyN1n5lLCIen/dey2y5TzB0RNgxlSso/YJATVVfWNaT2CxPG8TUQMOTdopXCWGQw==", "dev": true, + "optional": true, + "peer": true, "requires": { "iterare": "1.2.1", "object-hash": "3.0.0", @@ -49262,7 +49335,9 @@ "version": "2.5.3", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.3.tgz", "integrity": "sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w==", - "dev": true + "dev": true, + "optional": true, + "peer": true } } }, @@ -52632,9 +52707,6 @@ "requires": { "@nestjs/common": "9.4.3", "@nestjs/core": "9.4.3", - "@nestjs/microservices": "9.4.3", - "@nestjs/platform-express": "9.4.3", - "@nestjs/websockets": "9.4.3", "@opentelemetry/api": "^1.3.0", "@opentelemetry/context-async-hooks": "^1.8.0", "@opentelemetry/instrumentation": "^0.53.0", @@ -58138,7 +58210,9 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/append-field/-/append-field-1.0.0.tgz", "integrity": "sha512-klpgFSWLW1ZEs8svjfb7g4qWY0YS5imI82dTg+QahUvJ8YqAY0P10Uk8tTyh9ZGuYEZEMaeJYCF5BFuX552hsw==", - "dev": true + "dev": true, + "optional": true, + "peer": true }, "append-transform": { "version": "2.0.0", @@ -59997,6 +60071,8 @@ "resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz", "integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==", "dev": true, + "optional": true, + "peer": true, "requires": { "streamsearch": "^1.1.0" } @@ -60980,7 +61056,9 @@ "version": "0.5.0", "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", - "dev": true + "dev": true, + "optional": true, + "peer": true }, "cookie-signature": { "version": "1.0.6", @@ -67934,7 +68012,9 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==", - "dev": true + "dev": true, + "optional": true, + "peer": true }, "merge-source-map": { "version": "1.1.0", @@ -68709,6 +68789,8 @@ "resolved": "https://registry.npmjs.org/multer/-/multer-1.4.4-lts.1.tgz", "integrity": "sha512-WeSGziVj6+Z2/MwQo3GvqzgR+9Uc+qt8SwHKh3gvNPiISKfsMfG4SvCOFYlxxgkXt7yIV2i1yczehm0EOKIxIg==", "dev": true, + "optional": true, + "peer": true, "requires": { "append-field": "^1.0.0", "busboy": "^1.0.0", @@ -68724,6 +68806,8 @@ "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", "dev": true, + "optional": true, + "peer": true, "requires": { "buffer-from": "^1.0.0", "inherits": "^2.0.3", @@ -68736,6 +68820,8 @@ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", "dev": true, + "optional": true, + "peer": true, "requires": { "minimist": "^1.2.6" } @@ -68745,6 +68831,8 @@ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", "dev": true, + "optional": true, + "peer": true, "requires": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -68759,13 +68847,17 @@ "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true + "dev": true, + "optional": true, + "peer": true }, "string_decoder": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "dev": true, + "optional": true, + "peer": true, "requires": { "safe-buffer": "~5.1.0" } @@ -70274,7 +70366,9 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", - "dev": true + "dev": true, + "optional": true, + "peer": true }, "object-inspect": { "version": "1.13.1", @@ -72806,6 +72900,8 @@ "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", "dev": true, + "optional": true, + "peer": true, "requires": { "encodeurl": "~1.0.2", "escape-html": "~1.0.3", @@ -73697,7 +73793,9 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz", "integrity": "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==", - "dev": true + "dev": true, + "optional": true, + "peer": true }, "streamx": { "version": "2.16.1", diff --git a/plugins/node/instrumentation-amqplib/.tav.yml b/plugins/node/instrumentation-amqplib/.tav.yml index bf4e3eed80..8dd3a78a9b 100644 --- a/plugins/node/instrumentation-amqplib/.tav.yml +++ b/plugins/node/instrumentation-amqplib/.tav.yml @@ -1,4 +1,6 @@ -'amqplib': - versions: ">=0.5.5" +amqplib: + versions: + include: ">=0.5.5" + mode: latest-minors commands: - - yarn test + - npm test diff --git a/plugins/node/instrumentation-cucumber/.tav.yml b/plugins/node/instrumentation-cucumber/.tav.yml index a1771a240c..0a9cf7031d 100644 --- a/plugins/node/instrumentation-cucumber/.tav.yml +++ b/plugins/node/instrumentation-cucumber/.tav.yml @@ -1,7 +1,11 @@ '@cucumber/cucumber': - - versions: '^8.0.0 || ^9.0.0' + - versions: + include: '^8.0.0 || ^9.0.0' + mode: latest-minors node: '>=14' commands: npm test - - versions: '^10.0.0' + - versions: + include: '^10.0.0' + mode: latest-minors node: '>=18' commands: npm test diff --git a/plugins/node/instrumentation-dataloader/.tav.yml b/plugins/node/instrumentation-dataloader/.tav.yml index f0baa3a47a..6b8c5c32dd 100644 --- a/plugins/node/instrumentation-dataloader/.tav.yml +++ b/plugins/node/instrumentation-dataloader/.tav.yml @@ -1,4 +1,6 @@ dataloader: # Testing ^2.0.0 covers about 90% of the downloaded versions - versions: "^2.0.0" + versions: + include: "^2.0.0" + mode: latest-minors commands: npm run test diff --git a/plugins/node/instrumentation-lru-memoizer/.tav.yml b/plugins/node/instrumentation-lru-memoizer/.tav.yml index bf8a138d1b..e6a3bbf017 100644 --- a/plugins/node/instrumentation-lru-memoizer/.tav.yml +++ b/plugins/node/instrumentation-lru-memoizer/.tav.yml @@ -1,4 +1,6 @@ 'lru-memoizer': - versions: ">=1.3 <3" + versions: + include: ">=1.3 <3" + mode: latest-minors commands: - npm test diff --git a/plugins/node/instrumentation-socket.io/.tav.yml b/plugins/node/instrumentation-socket.io/.tav.yml index a7c5a52ec5..c8d487e10d 100644 --- a/plugins/node/instrumentation-socket.io/.tav.yml +++ b/plugins/node/instrumentation-socket.io/.tav.yml @@ -1,5 +1,7 @@ 'socket.io': - - versions: "2.1.1 || 2.2.0 || 2.3.0 || 2.4.0 || ^2.5.0" + - versions: + include: "^2.1.1" + mode: latest-minors peerDependencies: socket.io-client@^2 commands: - npm run test @@ -9,7 +11,9 @@ commands: - npm run test - - versions: "4.5.3 || 4.6.2 || ^4.7.1" + - versions: + include: "^4.5.3" + mode: latest-minors peerDependencies: socket.io-client@^4 commands: - npm run test diff --git a/plugins/node/opentelemetry-instrumentation-aws-sdk/.tav.yml b/plugins/node/opentelemetry-instrumentation-aws-sdk/.tav.yml index 5db96c82f3..33461acc0b 100644 --- a/plugins/node/opentelemetry-instrumentation-aws-sdk/.tav.yml +++ b/plugins/node/opentelemetry-instrumentation-aws-sdk/.tav.yml @@ -1,19 +1,28 @@ "aws-sdk": # A small subset of releases in the range [2.308.0, 3) to reduce testing time. - versions: "2.308.0 || 2.556.0 || 2.801.0 || 2.1049.0 || 2.1297.0 || 2.1546.0 || >=2.1548.0" + versions: + include: "^2.308.0" + mode: max-7 commands: - npm run test +# Versions [3.363.0, 3.377.0] of all @aws-sdk/client-* were bad releases. See: +# - https://github.com/open-telemetry/opentelemetry-js-contrib/pull/2464#issuecomment-2403652552 +# - https://github.com/open-telemetry/opentelemetry-js-contrib/issues/1828#issuecomment-1834276719 + "@aws-sdk/client-s3": - # A small subset of releases in the range [3.6.1, 4) to reduce testing time. - # - 3.377.0 was a bad release (see issue #1828). # - 3.529.0 was missing the fast-xml-parser dependency (https://github.com/aws/aws-sdk-js-v3/releases/tag/v3.529.1) - versions: "3.6.1 || 3.55.0 || 3.180.0 || 3.289.0 || 3.385.0 || 3.498.0 || >=3.529.1" + versions: + include: "^3.6.1" + exclude: "3.529.0 || >=3.363.0 <=3.377.0" + mode: "max-7" commands: - npm run test "@aws-sdk/client-sqs": - # A small subset of releases in the range [3.24.0, 4) to reduce testing time. - versions: "3.24.0 || 3.94.0 || 3.202.0 || 3.296.0 || 3.388.0 || 3.496.0 || >=3.503.1" + versions: + include: "^3.24.0" + exclude: ">=3.363.0 <=3.377.0" + mode: "max-7" commands: - npm run test diff --git a/plugins/node/opentelemetry-instrumentation-bunyan/.tav.yml b/plugins/node/opentelemetry-instrumentation-bunyan/.tav.yml index 84c75a6dc0..f3fa90578f 100644 --- a/plugins/node/opentelemetry-instrumentation-bunyan/.tav.yml +++ b/plugins/node/opentelemetry-instrumentation-bunyan/.tav.yml @@ -1,4 +1,6 @@ bunyan: # Testing ^1.8.12 covers at least 95% of the downloaded versions - versions: "^1.8.12" + versions: + include: "^1.8.12" + mode: latest-minors commands: npm run test diff --git a/plugins/node/opentelemetry-instrumentation-express/.tav.yml b/plugins/node/opentelemetry-instrumentation-express/.tav.yml index 241e7dcc4b..eeee57a593 100644 --- a/plugins/node/opentelemetry-instrumentation-express/.tav.yml +++ b/plugins/node/opentelemetry-instrumentation-express/.tav.yml @@ -1,3 +1,5 @@ express: - - versions: "^4.16.2" + - versions: + include: "^4.16.2" + mode: latest-minors commands: npm run test diff --git a/plugins/node/opentelemetry-instrumentation-fastify/.tav.yml b/plugins/node/opentelemetry-instrumentation-fastify/.tav.yml index 6f23da47eb..608eb2dbf8 100644 --- a/plugins/node/opentelemetry-instrumentation-fastify/.tav.yml +++ b/plugins/node/opentelemetry-instrumentation-fastify/.tav.yml @@ -1,9 +1,11 @@ "fastify": - # Sanity check the first 4.x release, instead of all releases, plus recent - # releases. - - versions: "4.0.0 || >=4.24.3 <5" + - versions: + include: "^4.0.0" + mode: max-7 commands: npm run test - - versions: ">=5 <6" + - versions: + include: ">=5 <6" + mode: max-7 commands: npm run test peerDependencies: "@fastify/express@4.0.1" node: '>=20' diff --git a/plugins/node/opentelemetry-instrumentation-graphql/.tav.yml b/plugins/node/opentelemetry-instrumentation-graphql/.tav.yml index 603ce40daf..ab32f433d2 100644 --- a/plugins/node/opentelemetry-instrumentation-graphql/.tav.yml +++ b/plugins/node/opentelemetry-instrumentation-graphql/.tav.yml @@ -1,4 +1,5 @@ graphql: - # Taking a sample from the most downloaded versions in the range "14 || 15 || 16" - versions: "16.4.0 || 16.3.0 || 16.2.0 || 16.0.0 || ^15.8.0 || 15.7.2 || 15.6.1 || 15.6.0 || 15.5.3 || 15.5.1 || 15.5.0 || 15.4.0 || 15.3.0 || ^14.7.0 || 14.6.0 || 14.5.8 || 14.0.0" + versions: + include: "14 || 15 || 16" + mode: max-7 commands: npm run test diff --git a/plugins/node/opentelemetry-instrumentation-hapi/.tav.yml b/plugins/node/opentelemetry-instrumentation-hapi/.tav.yml index c1d07484cb..738740e3f9 100644 --- a/plugins/node/opentelemetry-instrumentation-hapi/.tav.yml +++ b/plugins/node/opentelemetry-instrumentation-hapi/.tav.yml @@ -1,11 +1,17 @@ "@hapi/hapi": - - versions: "^19.2.0 || ^18.4.1 || ^17.9.0" + - versions: + include: "^19.2.0 || ^18.4.1 || ^17.9.0" + mode: latest-minors node: ">=14 <16" commands: npm test - - versions: "^20.3.0" + - versions: + include: "^20.3.0" + mode: latest-minors node: ">=14" commands: npm test - - versions: "^21.3.3" + - versions: + include: "^21.3.3" + mode: latest-minors node: ">=14.15.0" commands: npm test diff --git a/plugins/node/opentelemetry-instrumentation-ioredis/.tav.yml b/plugins/node/opentelemetry-instrumentation-ioredis/.tav.yml index cc4d970155..eb2248a00b 100644 --- a/plugins/node/opentelemetry-instrumentation-ioredis/.tav.yml +++ b/plugins/node/opentelemetry-instrumentation-ioredis/.tav.yml @@ -1,4 +1,7 @@ ioredis: # Ignoring v4.19.0. Tests never ends. Caused by https://github.com/luin/ioredis/pull/1219 - versions: "^2.5.0 || ^3.2.2 || 4.14.1 || 4.16.3 || 4.17.3 || 4.18.0 || 4.19.2 || 4.19.4 || 4.22.0 || 4.24.5 || 4.26.0 || 4.27.11 || ^4.28.5 || 5.0.6 || 5.2.6 || ^5.3.2" + versions: + include: '>=2.0.0 <6' + exclude: '4.19.0' + mode: max-7 commands: npm run test diff --git a/plugins/node/opentelemetry-instrumentation-koa/.tav.yml b/plugins/node/opentelemetry-instrumentation-koa/.tav.yml index 2cd22120aa..973c1fb861 100644 --- a/plugins/node/opentelemetry-instrumentation-koa/.tav.yml +++ b/plugins/node/opentelemetry-instrumentation-koa/.tav.yml @@ -1,8 +1,12 @@ "@koa/router": - versions: "8.0.8 || 9.4.0 || 10.0.0 || 10.1.1 || 11.0.1 || >=12.0.0" + versions: + include: ">=8.0.0" + mode: latest-minors commands: npm run test koa: # Testing ^2.7.0 covers at least 97% of the downloaded koa versions - versions: "^2.7.0" + versions: + include: "^2.7.0" + mode: latest-minors commands: npm run test diff --git a/plugins/node/opentelemetry-instrumentation-mongodb/.tav.yml b/plugins/node/opentelemetry-instrumentation-mongodb/.tav.yml index fadf8c0d27..681ef1dcb6 100644 --- a/plugins/node/opentelemetry-instrumentation-mongodb/.tav.yml +++ b/plugins/node/opentelemetry-instrumentation-mongodb/.tav.yml @@ -1,5 +1,7 @@ mongodb: - - versions: ">=3.3 <4" + - versions: + include: ">=3.3 <4" + mode: max-7 commands: npm run test-v3 - versions: include: ">=4 <5" @@ -9,9 +11,14 @@ mongodb: # tests for the wrong version. # Ref: https://github.com/open-telemetry/opentelemetry-js-contrib/pull/2001#issuecomment-1992202942 exclude: "4.17.2" + mode: max-7 commands: npm run test-v4 - - versions: ">=5 <6" + - versions: + include: ">=5 <6" + mode: max-7 commands: npm run test-v5-v6 - - versions: ">=6 <7" + - versions: + include: ">=6 <7" + mode: max-7 node: '>=15.0.0' commands: npm run test-v5-v6 diff --git a/plugins/node/opentelemetry-instrumentation-mysql2/.tav.yml b/plugins/node/opentelemetry-instrumentation-mysql2/.tav.yml index e0965468ab..10c6cee55b 100644 --- a/plugins/node/opentelemetry-instrumentation-mysql2/.tav.yml +++ b/plugins/node/opentelemetry-instrumentation-mysql2/.tav.yml @@ -1,11 +1,8 @@ mysql2: - - versions: <4 >=3.2.0 || 3.1.0 || 3.0.0 - commands: npm run test - - - versions: <3 >=2.3.2 || 2.3.0 || 2.2.5 || 2.1.0 - # Skip 2.3.3 which installs types from git which takes 10m on it's own - commands: npm run test - - - versions: 1.4.2 || 1.5.3 || 1.6.4 || 1.6.5 || 1.7.0 + versions: + include: ">=1.4.2 <4" # Skip v1.6.2, which is broken - commands: npm run test + # Skip 2.3.3 which installs types from git which takes 10m on it's own + exclude: "1.6.2 || 2.3.3" + mode: latest-minors + commands: npm run test diff --git a/plugins/node/opentelemetry-instrumentation-nestjs-core/.tav.yml b/plugins/node/opentelemetry-instrumentation-nestjs-core/.tav.yml index ba5fe6062a..f412b3cb3e 100644 --- a/plugins/node/opentelemetry-instrumentation-nestjs-core/.tav.yml +++ b/plugins/node/opentelemetry-instrumentation-nestjs-core/.tav.yml @@ -1,27 +1,44 @@ "@nestjs/core": - - versions: "^8.2.0 || 8.1.2 || 8.1.1 || 8.0.11 || 8.0.9 || 8.0.6" + - versions: + include: ">=10.0.0 <11" + mode: latest-minors + # NestJS 10 requires Node.js v16 or later. + # https://docs.nestjs.com/migration-guide#dropping-support-for-nodejs-v12 + node: ">=16" + peerDependencies: + - "@nestjs/common@^10.0.0" + - "rxjs@^7.1.0" + commands: npm run test + + - versions: + include: ">=9.0.0 <10" + mode: latest-minors + peerDependencies: + - "@nestjs/common@^9.0.0" + - "rxjs@^7.1.0" + commands: npm run test + + - versions: + include: ">=8.0.0 <9" + mode: latest-minors peerDependencies: - "@nestjs/common@^8.0.0" - - "@nestjs/microservices@^8.0.0" - - "@nestjs/platform-express@^8.0.0" - - "@nestjs/websockets@^8.0.0" - "rxjs@^7.1.0" commands: npm run test - - versions: "^7.6.17 || 7.6.15 || 7.6.13 || 7.6.12" + - versions: + # We *could* test all 7.x "latest-minors", but the latest 7.x release was + # 2021, so let's just test the latest. + include: "^7.6.18" peerDependencies: - "@nestjs/common@^7.0.0" - - "@nestjs/microservices@^7.0.0" - "@nestjs/platform-express@^7.0.0" - - "@nestjs/websockets@^7.0.0" - "rxjs@^6.0.0" commands: npm run test - versions: "6.11.11" peerDependencies: - "@nestjs/common@^6.0.0" - - "@nestjs/microservices@^6.0.0" - "@nestjs/platform-express@^6.0.0" - - "@nestjs/websockets@^6.0.0" - "rxjs@^6.0.0" commands: npm run test diff --git a/plugins/node/opentelemetry-instrumentation-nestjs-core/package.json b/plugins/node/opentelemetry-instrumentation-nestjs-core/package.json index 377b82a2fa..ba291c1e21 100644 --- a/plugins/node/opentelemetry-instrumentation-nestjs-core/package.json +++ b/plugins/node/opentelemetry-instrumentation-nestjs-core/package.json @@ -47,9 +47,6 @@ "devDependencies": { "@nestjs/common": "9.4.3", "@nestjs/core": "9.4.3", - "@nestjs/microservices": "9.4.3", - "@nestjs/platform-express": "9.4.3", - "@nestjs/websockets": "9.4.3", "@opentelemetry/api": "^1.3.0", "@opentelemetry/context-async-hooks": "^1.8.0", "@opentelemetry/sdk-trace-base": "^1.8.0", diff --git a/plugins/node/opentelemetry-instrumentation-nestjs-core/scripts/test-all-versions b/plugins/node/opentelemetry-instrumentation-nestjs-core/scripts/test-all-versions deleted file mode 100755 index 07de70e070..0000000000 --- a/plugins/node/opentelemetry-instrumentation-nestjs-core/scripts/test-all-versions +++ /dev/null @@ -1,78 +0,0 @@ -#!/usr/bin/env bash - -# return to the default package.json and install all deps -git checkout -- package.json -npm install - -test_silent () { - npm run test &> /dev/null && echo OK || echo FAIL -} - -echo -e "\n## 4.0.0" -npm install -D \ - reflect-metadata@0.1.13 \ - @nestjs/common@^4.0.0 \ - @nestjs/core@^4.0.0 \ - @nestjs/microservices@^4.0.0 \ - @nestjs/websockets@^4.0.0 \ - rxjs@^5.4.2 \ - rxjs-compat@^6.0.0 > /dev/null -test_silent - -echo -e "\n## ^4.0.0" -npm install -D \ - reflect-metadata@0.1.13 \ - @nestjs/common@^4.4.0 \ - @nestjs/core@^4.4.0 \ - @nestjs/microservices@^4.4.0 \ - @nestjs/websockets@^4.4.0 \ - rxjs@^5.4.2 \ - rxjs-compat@^6.0.0 > /dev/null -test_silent - -echo -e "\n## ^5.0.0" -npm install -D \ - reflect-metadata@0.1.13 \ - @nestjs/common@^5.0.0 \ - @nestjs/core@^5.0.0 \ - @nestjs/microservices@^5.0.0 \ - @nestjs/websockets@^5.0.0 \ - rxjs@^6.0.0 \ - rxjs-compat@^6.0.0 > /dev/null -test_silent - -echo -e "\n## ^6.0.0" -npm install -D \ - reflect-metadata@0.1.13 \ - @nestjs/common@^6.0.0 \ - @nestjs/core@^6.0.0 \ - @nestjs/microservices@^6.0.0 \ - @nestjs/websockets@^6.0.0 \ - @nestjs/platform-express@^6.0.0 \ - rxjs@^6.0.0 \ - rxjs-compat@^6.0.0 > /dev/null -test_silent - -echo -e "\n## ^7.0.0" -npm install -D \ - reflect-metadata@0.1.13 \ - @nestjs/common@^7.0.0 \ - @nestjs/core@^7.0.0 \ - @nestjs/microservices@^7.0.0 \ - @nestjs/websockets@^7.0.0 \ - @nestjs/platform-express@^7.0.0 \ - rxjs@^7.0.0 \ - rxjs-compat@latest > /dev/null -test_silent - -echo -e "\n## ^8.0.0" -npm install -D \ - reflect-metadata@0.1.13 \ - @nestjs/common@^8.0.0 \ - @nestjs/core@^8.0.0 \ - @nestjs/microservices@^8.0.0 \ - @nestjs/websockets@^8.0.0 \ - @nestjs/platform-express@^8.0.0 \ - rxjs@^7.2.0 \ - rxjs-compat@latest > /dev/null -test_silent diff --git a/plugins/node/opentelemetry-instrumentation-nestjs-core/test/setup.ts b/plugins/node/opentelemetry-instrumentation-nestjs-core/test/setup.ts index 1b77efe8ea..23fdcb8662 100644 --- a/plugins/node/opentelemetry-instrumentation-nestjs-core/test/setup.ts +++ b/plugins/node/opentelemetry-instrumentation-nestjs-core/test/setup.ts @@ -232,7 +232,7 @@ export const setup = async (version: string): Promise => { ); } - const app = await core.NestFactory.create(AppModule); + const app = await core.NestFactory.create(AppModule, { logger: false }); if (app.listenAsync) { await app.listenAsync(0, 'localhost'); } else { diff --git a/plugins/node/opentelemetry-instrumentation-pg/.tav.yml b/plugins/node/opentelemetry-instrumentation-pg/.tav.yml index 9f9320f8d5..eea3b2b2fb 100644 --- a/plugins/node/opentelemetry-instrumentation-pg/.tav.yml +++ b/plugins/node/opentelemetry-instrumentation-pg/.tav.yml @@ -1,5 +1,6 @@ pg: - # a sample from supported versions - - versions: "8.5.1 || 8.6.0 || 8.7.1" - peerDependencies: pg-pool@^3 - commands: npm run test + versions: + include: '>=8.0.3 <9' + mode: max-7 + peerDependencies: pg-pool@^3 + commands: npm run test diff --git a/plugins/node/opentelemetry-instrumentation-pg/README.md b/plugins/node/opentelemetry-instrumentation-pg/README.md index ba267f7f17..b2657c625e 100644 --- a/plugins/node/opentelemetry-instrumentation-pg/README.md +++ b/plugins/node/opentelemetry-instrumentation-pg/README.md @@ -17,7 +17,7 @@ npm install --save @opentelemetry/instrumentation-pg ### Supported Versions -- [`pg`](https://www.npmjs.com/package/pg) versions `>=8.0.0 <9` +- [`pg`](https://www.npmjs.com/package/pg) versions `>=8.0.3 <9` - [`pg-pool`](https://www.npmjs.com/package/pg-pool) versions `>=2.0.0 <4` ## Usage diff --git a/plugins/node/opentelemetry-instrumentation-pg/package.json b/plugins/node/opentelemetry-instrumentation-pg/package.json index e1ec7ec1aa..9097002910 100644 --- a/plugins/node/opentelemetry-instrumentation-pg/package.json +++ b/plugins/node/opentelemetry-instrumentation-pg/package.json @@ -16,8 +16,8 @@ "prepublishOnly": "npm run compile", "tdd": "npm run test -- --watch-extensions ts --watch", "test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts'", - "test-all-versions": "cross-env IN_TAV=true tav", - "test-all-versions:local": "cross-env IN_TAV=true RUN_POSTGRES_TESTS_LOCAL=true npm run test-all-versions", + "test-all-versions": "tav", + "test-all-versions:local": "cross-env RUN_POSTGRES_TESTS_LOCAL=true npm run test-all-versions", "test:debug": "ts-mocha --inspect-brk --no-timeouts -p tsconfig.json 'test/**/*.test.ts'", "test:local": "cross-env RUN_POSTGRES_TESTS_LOCAL=true npm run test", "version:update": "node ../../../scripts/version-update.js", diff --git a/plugins/node/opentelemetry-instrumentation-pg/src/instrumentation.ts b/plugins/node/opentelemetry-instrumentation-pg/src/instrumentation.ts index e7c3da7a5f..ee2ab49fee 100644 --- a/plugins/node/opentelemetry-instrumentation-pg/src/instrumentation.ts +++ b/plugins/node/opentelemetry-instrumentation-pg/src/instrumentation.ts @@ -124,7 +124,7 @@ export class PgInstrumentation extends InstrumentationBase=8.0.0 <9'], + ['>=8.0.3 <9'], (module: any) => { const moduleExports: typeof pgTypes = module[Symbol.toStringTag] === 'Module' diff --git a/plugins/node/opentelemetry-instrumentation-pg/test/pg-pool.test.ts b/plugins/node/opentelemetry-instrumentation-pg/test/pg-pool.test.ts index 45b0d46467..aa89830104 100644 --- a/plugins/node/opentelemetry-instrumentation-pg/test/pg-pool.test.ts +++ b/plugins/node/opentelemetry-instrumentation-pg/test/pg-pool.test.ts @@ -277,6 +277,7 @@ describe('pg-pool', () => { await client.query('SELECT NOW()'); } finally { client.release(); + await newPool.end(); } const spans = memoryExporter.getFinishedSpans(); assert.strictEqual(spans.length, 0); diff --git a/plugins/node/opentelemetry-instrumentation-pino/.tav.yml b/plugins/node/opentelemetry-instrumentation-pino/.tav.yml index 94d5d5f97e..737cc73989 100644 --- a/plugins/node/opentelemetry-instrumentation-pino/.tav.yml +++ b/plugins/node/opentelemetry-instrumentation-pino/.tav.yml @@ -1,10 +1,11 @@ pino: - - versions: "^9.0.0" + - versions: + include: '>=9.0.0 <10' + mode: latest-minors node: ">=18" commands: npm run test - - versions: "^8.21.0 || 8.20.0 || 8.16.2 || 8.12.1 || 8.8.0 || 8.4.0 || 8.0.0 || ^7.11.0 || 7.8.0 || 7.2.0 || ^6.13.3 || 5.17.0 || 5.14.0" + - versions: + include: '>=5.14.0 <9' + mode: max-7 node: ">=14" commands: npm run test - - versions: "^7.11.0 || 7.8.0 || 7.2.0 || ^6.13.1 || 5.17.0 || 5.14.0" - node: ">=8 <14" - commands: npm run test diff --git a/plugins/node/opentelemetry-instrumentation-redis-4/.tav.yml b/plugins/node/opentelemetry-instrumentation-redis-4/.tav.yml index 2a13580b74..8890082e4c 100644 --- a/plugins/node/opentelemetry-instrumentation-redis-4/.tav.yml +++ b/plugins/node/opentelemetry-instrumentation-redis-4/.tav.yml @@ -1,7 +1,7 @@ redis: - jobs: - # The latest minor releases in the range "^4.0.0", excluding - # "4.6.9", which was a bad release that accidentally broke - # node v14 support. - - versions: "4.0.0 || 4.0.6 || 4.1.1 || 4.2.0 || 4.3.1 || 4.4.0 || 4.5.1 || ^4.6.11" - commands: npm run test + versions: + include: "^4.0.0" + # "4.6.9" was a bad release that accidentally broke node v14 support. + exclude: "4.6.9" + mode: latest-minors + commands: npm run test diff --git a/plugins/node/opentelemetry-instrumentation-redis/.tav.yml b/plugins/node/opentelemetry-instrumentation-redis/.tav.yml index c6b5a4154f..81020bc78f 100644 --- a/plugins/node/opentelemetry-instrumentation-redis/.tav.yml +++ b/plugins/node/opentelemetry-instrumentation-redis/.tav.yml @@ -1,3 +1,5 @@ redis: - versions: ^2.6.0 || ^3.0.0 + versions: + include: '>=2.6.0 <4' + mode: latest-minors commands: npm run test diff --git a/plugins/node/opentelemetry-instrumentation-restify/.tav.yml b/plugins/node/opentelemetry-instrumentation-restify/.tav.yml index a1ef4c915c..8d354d0d58 100644 --- a/plugins/node/opentelemetry-instrumentation-restify/.tav.yml +++ b/plugins/node/opentelemetry-instrumentation-restify/.tav.yml @@ -1,8 +1,12 @@ restify: - - versions: "^10.0.0 || ^11.1.0" + - versions: + include: '>=10.0.0 <12' + mode: latest-minors node: ">=18" commands: npm run test - - versions: "4.3.4 || 5.2.0 || 6.4.0 || 7.7.0 || ^8.4.0 || 9.1.0 || ^10.0.0 || ^11.1.0" + - versions: + include: '>=4.1.0 <10' + mode: max-7 node: "<18" commands: npm run test diff --git a/plugins/node/opentelemetry-instrumentation-restify/README.md b/plugins/node/opentelemetry-instrumentation-restify/README.md index dc08120c43..1894864da5 100644 --- a/plugins/node/opentelemetry-instrumentation-restify/README.md +++ b/plugins/node/opentelemetry-instrumentation-restify/README.md @@ -17,7 +17,7 @@ npm install --save @opentelemetry/instrumentation-restify ### Supported Versions -- [`restify`](https://www.npmjs.com/package/restify) versions `>=4.0.0 <12` +- [`restify`](https://www.npmjs.com/package/restify) versions `>=4.1.0 <12` ## Usage diff --git a/plugins/node/opentelemetry-instrumentation-restify/src/instrumentation.ts b/plugins/node/opentelemetry-instrumentation-restify/src/instrumentation.ts index 372b90d3ae..81c4bc90c0 100644 --- a/plugins/node/opentelemetry-instrumentation-restify/src/instrumentation.ts +++ b/plugins/node/opentelemetry-instrumentation-restify/src/instrumentation.ts @@ -35,7 +35,7 @@ import { isPromise, isAsyncFunction } from './utils'; import { getRPCMetadata, RPCType } from '@opentelemetry/core'; import type { RestifyInstrumentationConfig } from './types'; -const supportedVersions = ['>=4.0.0 <12']; +const supportedVersions = ['>=4.1.0 <12']; export class RestifyInstrumentation extends InstrumentationBase { constructor(config: RestifyInstrumentationConfig = {}) { diff --git a/plugins/node/opentelemetry-instrumentation-restify/test/restify.test.ts b/plugins/node/opentelemetry-instrumentation-restify/test/restify.test.ts index 90f50071ed..ee7e6c524e 100644 --- a/plugins/node/opentelemetry-instrumentation-restify/test/restify.test.ts +++ b/plugins/node/opentelemetry-instrumentation-restify/test/restify.test.ts @@ -241,12 +241,13 @@ describe('Restify Instrumentation', () => { rootSpan.end(); assert.strictEqual(memoryExporter.getFinishedSpans().length, 4); - if (semver.satisfies(LIB_VERSION, '>=8')) { + if (semver.satisfies(LIB_VERSION, '>=8.2.0')) { + // Error handling changed slightly in v8.2.0 (https://github.com/restify/node-restify/pull/1757). assert.deepEqual( result, '{"code":"Internal","message":"Error: NOK"}' ); - } else if (semver.satisfies(LIB_VERSION, '>=7 <8')) { + } else if (semver.satisfies(LIB_VERSION, '>=7 <8.2.0')) { assert.deepEqual( result, '{"code":"Internal","message":"caused by Error: NOK"}' diff --git a/plugins/node/opentelemetry-instrumentation-winston/.tav.yml b/plugins/node/opentelemetry-instrumentation-winston/.tav.yml index 34335a07f7..4ab7caaa65 100644 --- a/plugins/node/opentelemetry-instrumentation-winston/.tav.yml +++ b/plugins/node/opentelemetry-instrumentation-winston/.tav.yml @@ -1,5 +1,6 @@ winston: - # A selection of versions of Winston 2.x and 3.x - - versions: "2.0.0 || 2.4.0 || 2.4.7 || 3.3.1 || 3.6.0 || 3.10.0 || ^3.11.0" - commands: npm run test + versions: + include: '>=2.0.0 <4' + mode: max-7 + commands: npm run test