diff --git a/package-lock.json b/package-lock.json index f6b53d69..81c3b768 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,10 +14,10 @@ "@bugsnag/js": "^7.6.0", "@myrotvorets/envalidators": "^2.0.0", "@myrotvorets/opentelemetry-configurator": "^2.0.1", - "@myrotvorets/opentelemetry-plugin-knex": "^0.24.0", + "@myrotvorets/opentelemetry-plugin-knex": "^0.29.0", "@opentelemetry/api": "^1.0.1", "@opentelemetry/core": "^1.0.0", - "@opentelemetry/instrumentation": "^0.33.0", + "@opentelemetry/instrumentation": "^0.43.0", "debug": "^4.3.1", "envalid": "^7.0.0", "knex": "^2.0.0", @@ -1448,47 +1448,36 @@ } }, "node_modules/@myrotvorets/opentelemetry-plugin-knex": { - "version": "0.24.0", - "resolved": "https://npm.pkg.github.com/download/@myrotvorets/opentelemetry-plugin-knex/0.24.0/89589f40ab32a10915a687ab09ec6aa1b6ef6fe7", - "integrity": "sha512-w93ruJXHEC1dfD+/4RnNurJ1zZhvkWT/9STvoG3r7JMyZxO3ocTaX8bF6ExtfsxaeiQaTO8jmaqo9nRNYWLaNw==", + "version": "0.29.0", + "resolved": "https://npm.pkg.github.com/download/@myrotvorets/opentelemetry-plugin-knex/0.29.0/3efeb12bf3f12c3edf1394271d1ed13ece04a93a", + "integrity": "sha512-l4y6AMLdEfwqlsil1f73lzoxlaR9X7stSFWnpbEu/V22kqlq3cnHkUFYQ1gcJsXe3JME9ggLknDq0fI2+/yIKg==", "license": "MIT", "dependencies": { "@opentelemetry/api": "^1.0.1", "@opentelemetry/core": "^1.0.0", - "@opentelemetry/instrumentation": "^0.31.0", + "@opentelemetry/instrumentation": "^0.42.0", "@opentelemetry/semantic-conventions": "^1.0.0" }, "peerDependencies": { - "knex": "^0.95.0 || ^1.0.0 || ^2.0.0" - } - }, - "node_modules/@myrotvorets/opentelemetry-plugin-knex/node_modules/@opentelemetry/api-metrics": { - "version": "0.31.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/api-metrics/-/api-metrics-0.31.0.tgz", - "integrity": "sha512-PcL1x0kZtMie7NsNy67OyMvzLEXqf3xd0TZJKHHPMGTe89oMpNVrD1zJB1kZcwXOxLlHHb6tz21G3vvXPdXyZg==", - "deprecated": "Please use @opentelemetry/api >= 1.3.0", - "dependencies": { - "@opentelemetry/api": "^1.0.0" - }, - "engines": { - "node": ">=14" + "knex": "^1.0.0 || ^2.0.0" } }, "node_modules/@myrotvorets/opentelemetry-plugin-knex/node_modules/@opentelemetry/instrumentation": { - "version": "0.31.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation/-/instrumentation-0.31.0.tgz", - "integrity": "sha512-b2hFebXPtBcut4d81b8Kg6GiCoAS8nxb8kYSronQYAXxwNSetqHwIJ2nKLo1slFH1UWUXn0zi3eDez2Sn/9uMQ==", - "dependencies": { - "@opentelemetry/api-metrics": "0.31.0", - "require-in-the-middle": "^5.0.3", - "semver": "^7.3.2", + "version": "0.42.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation/-/instrumentation-0.42.0.tgz", + "integrity": "sha512-GurYTghhmz/JlV2jGzGQbZLWBmzsjWKVOunZnoy1fzYtZ3mHBAmEFWXwQyAi6lQwnWsEq6u/xacGY60qH2onnw==", + "dependencies": { + "@types/shimmer": "^1.0.2", + "import-in-the-middle": "1.4.2", + "require-in-the-middle": "^7.1.1", + "semver": "^7.5.2", "shimmer": "^1.2.1" }, "engines": { "node": ">=14" }, "peerDependencies": { - "@opentelemetry/api": "^1.0.0" + "@opentelemetry/api": "^1.3.0" } }, "node_modules/@nodelib/fs.scandir": { @@ -1527,25 +1516,13 @@ } }, "node_modules/@opentelemetry/api": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.4.1.tgz", - "integrity": "sha512-O2yRJce1GOc6PAy3QxFM4NzFiWzvScDC1/5ihYBL6BUEVdq0XMWN01sppE+H6bBXbaFYipjwFLEWLg5PaSOThA==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.6.0.tgz", + "integrity": "sha512-OWlrQAnWn9577PhVgqjUvMr1pg57Bc4jv0iL4w0PRuOSRvq67rvHW9Ie/dZVMvCzhSCB+UxhcY/PmCmFj33Q+g==", "engines": { "node": ">=8.0.0" } }, - "node_modules/@opentelemetry/api-metrics": { - "version": "0.33.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/api-metrics/-/api-metrics-0.33.0.tgz", - "integrity": "sha512-78evfPRRRnJA6uZ3xuBuS3VZlXTO/LRs+Ff1iv3O/7DgibCtq9k27T6Zlj8yRdJDFmcjcbQrvC0/CpDpWHaZYA==", - "deprecated": "Please use @opentelemetry/api >= 1.3.0", - "dependencies": { - "@opentelemetry/api": "^1.0.0" - }, - "engines": { - "node": ">=14" - } - }, "node_modules/@opentelemetry/context-async-hooks": { "version": "1.17.0", "resolved": "https://registry.npmjs.org/@opentelemetry/context-async-hooks/-/context-async-hooks-1.17.0.tgz", @@ -1606,20 +1583,21 @@ } }, "node_modules/@opentelemetry/instrumentation": { - "version": "0.33.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation/-/instrumentation-0.33.0.tgz", - "integrity": "sha512-8joPjKJ6TznNt04JbnzZG+m1j/4wm1OIrX7DEw/V5lyZ9/2fahIqG72jeZ26VKOZnLOpVzUUnU/dweURqBzT3Q==", - "dependencies": { - "@opentelemetry/api-metrics": "0.33.0", - "require-in-the-middle": "^5.0.3", - "semver": "^7.3.2", + "version": "0.43.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation/-/instrumentation-0.43.0.tgz", + "integrity": "sha512-S1uHE+sxaepgp+t8lvIDuRgyjJWisAb733198kwQTUc9ZtYQ2V2gmyCtR1x21ePGVLoMiX/NWY7WA290hwkjJQ==", + "dependencies": { + "@types/shimmer": "^1.0.2", + "import-in-the-middle": "1.4.2", + "require-in-the-middle": "^7.1.1", + "semver": "^7.5.2", "shimmer": "^1.2.1" }, "engines": { "node": ">=14" }, "peerDependencies": { - "@opentelemetry/api": "^1.0.0" + "@opentelemetry/api": "^1.3.0" } }, "node_modules/@opentelemetry/instrumentation-http": { @@ -1997,6 +1975,11 @@ "dev": true, "peer": true }, + "node_modules/@types/shimmer": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@types/shimmer/-/shimmer-1.0.3.tgz", + "integrity": "sha512-F/IjUGnV6pIN7R4ZV4npHJVoNtaLZWvb+2/9gctxjb99wkpI7Ozg8VPogwDiTRyjLwZXAYxjvdg1KS8LTHKdDA==" + }, "node_modules/@types/stack-utils": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.1.tgz", @@ -2231,7 +2214,6 @@ "version": "8.10.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz", "integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==", - "dev": true, "bin": { "acorn": "bin/acorn" }, @@ -2239,6 +2221,14 @@ "node": ">=0.4.0" } }, + "node_modules/acorn-import-assertions": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz", + "integrity": "sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==", + "peerDependencies": { + "acorn": "^8" + } + }, "node_modules/acorn-jsx": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", @@ -3003,8 +2993,7 @@ "node_modules/cjs-module-lexer": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.2.3.tgz", - "integrity": "sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ==", - "dev": true + "integrity": "sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ==" }, "node_modules/cli-cursor": { "version": "4.0.0", @@ -4845,6 +4834,17 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/import-in-the-middle": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/import-in-the-middle/-/import-in-the-middle-1.4.2.tgz", + "integrity": "sha512-9WOz1Yh/cvO/p69sxRmhyQwrIGGSp7EIdcb+fFNVi7CzQGQB8U1/1XrKVSbEd/GNOAeM0peJtmi7+qphe7NvAw==", + "dependencies": { + "acorn": "^8.8.2", + "acorn-import-assertions": "^1.9.0", + "cjs-module-lexer": "^1.2.2", + "module-details-from-path": "^1.0.3" + } + }, "node_modules/import-local": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", @@ -7403,16 +7403,16 @@ } }, "node_modules/require-in-the-middle": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/require-in-the-middle/-/require-in-the-middle-5.2.0.tgz", - "integrity": "sha512-efCx3b+0Z69/LGJmm9Yvi4cqEdxnoGnxYxGxBghkkTTFeXRtTCmmhO0AnAfHz59k957uTSuy8WaHqOs8wbYUWg==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/require-in-the-middle/-/require-in-the-middle-7.2.0.tgz", + "integrity": "sha512-3TLx5TGyAY6AOqLBoXmHkNql0HIf2RGbuMgCDT2WO/uGVAPJs6h7Kl+bN6TIZGd9bWhWPwnDnTHGtW8Iu77sdw==", "dependencies": { "debug": "^4.1.1", "module-details-from-path": "^1.0.3", "resolve": "^1.22.1" }, "engines": { - "node": ">=6" + "node": ">=8.6.0" } }, "node_modules/resolve": { diff --git a/package.json b/package.json index 0d900250..e257b1e7 100644 --- a/package.json +++ b/package.json @@ -24,10 +24,10 @@ "@bugsnag/js": "^7.6.0", "@myrotvorets/envalidators": "^2.0.0", "@myrotvorets/opentelemetry-configurator": "^2.0.1", - "@myrotvorets/opentelemetry-plugin-knex": "^0.24.0", + "@myrotvorets/opentelemetry-plugin-knex": "^0.29.0", "@opentelemetry/api": "^1.0.1", "@opentelemetry/core": "^1.0.0", - "@opentelemetry/instrumentation": "^0.33.0", + "@opentelemetry/instrumentation": "^0.43.0", "debug": "^4.3.1", "envalid": "^7.0.0", "knex": "^2.0.0",