From 5c85b7711fc9a66f73ce2e2e3401b9322996f766 Mon Sep 17 00:00:00 2001 From: krishnachaitanya Date: Thu, 9 Jan 2025 16:12:44 +0530 Subject: [PATCH] chore: vulnerability fix by upgrading pyroscope dep --- package-lock.json | 414 ++++------------------------------------------ package.json | 2 +- 2 files changed, 33 insertions(+), 383 deletions(-) diff --git a/package-lock.json b/package-lock.json index 99efc2e7fd..bef9077ab1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "@datadog/pprof": "^3.1.0", "@koa/router": "^12.0.0", "@ndhoule/extend": "^2.0.0", - "@pyroscope/nodejs": "^0.2.9", + "@pyroscope/nodejs": "^0.4.3", "@rudderstack/integrations-lib": "^0.2.13", "@rudderstack/json-template-engine": "^0.18.0", "@rudderstack/workflow-engine": "^0.8.13", @@ -6444,44 +6444,6 @@ "node": ">= 12" } }, - "node_modules/@mapbox/node-pre-gyp": { - "version": "1.0.11", - "license": "BSD-3-Clause", - "dependencies": { - "detect-libc": "^2.0.0", - "https-proxy-agent": "^5.0.0", - "make-dir": "^3.1.0", - "node-fetch": "^2.6.7", - "nopt": "^5.0.0", - "npmlog": "^5.0.1", - "rimraf": "^3.0.2", - "semver": "^7.3.5", - "tar": "^6.1.11" - }, - "bin": { - "node-pre-gyp": "bin/node-pre-gyp" - } - }, - "node_modules/@mapbox/node-pre-gyp/node_modules/make-dir": { - "version": "3.1.0", - "license": "MIT", - "dependencies": { - "semver": "^6.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@mapbox/node-pre-gyp/node_modules/make-dir/node_modules/semver": { - "version": "6.3.1", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, "node_modules/@ndhoule/extend": { "version": "2.0.0", "license": "MIT" @@ -6536,58 +6498,16 @@ "url": "https://opencollective.com/unts" } }, - "node_modules/@protobufjs/aspromise": { - "version": "1.1.2", - "license": "BSD-3-Clause" - }, - "node_modules/@protobufjs/base64": { - "version": "1.1.2", - "license": "BSD-3-Clause" - }, - "node_modules/@protobufjs/codegen": { - "version": "2.0.4", - "license": "BSD-3-Clause" - }, - "node_modules/@protobufjs/eventemitter": { - "version": "1.1.0", - "license": "BSD-3-Clause" - }, - "node_modules/@protobufjs/fetch": { - "version": "1.1.0", - "license": "BSD-3-Clause", - "dependencies": { - "@protobufjs/aspromise": "^1.1.1", - "@protobufjs/inquire": "^1.1.0" - } - }, - "node_modules/@protobufjs/float": { - "version": "1.0.2", - "license": "BSD-3-Clause" - }, - "node_modules/@protobufjs/inquire": { - "version": "1.1.0", - "license": "BSD-3-Clause" - }, - "node_modules/@protobufjs/path": { - "version": "1.1.2", - "license": "BSD-3-Clause" - }, - "node_modules/@protobufjs/pool": { - "version": "1.1.0", - "license": "BSD-3-Clause" - }, - "node_modules/@protobufjs/utf8": { - "version": "1.1.0", - "license": "BSD-3-Clause" - }, "node_modules/@pyroscope/nodejs": { - "version": "0.2.9", - "license": "Apache-2.0", + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@pyroscope/nodejs/-/nodejs-0.4.3.tgz", + "integrity": "sha512-RpQ71SnBvMt7RErgCVgQ3wyKnsVQYntWXDNQVOiBujHsgIW20u+o3J9luEcM9IbCdm/Qsa9NV/SvhZevdcALQA==", "dependencies": { + "@datadog/pprof": "^5.4.1", "axios": "^0.28.0", "debug": "^4.3.3", "form-data": "^4.0.0", - "pprof": "^4.0.0", + "p-limit": "^3.1.0", "regenerator-runtime": "^0.13.11", "source-map": "^0.7.3" }, @@ -6595,6 +6515,22 @@ "node": ">=v18" } }, + "node_modules/@pyroscope/nodejs/node_modules/@datadog/pprof": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/@datadog/pprof/-/pprof-5.4.1.tgz", + "integrity": "sha512-IvpL96e/cuh8ugP5O8Czdup7XQOLHeIDgM5pac5W7Lc1YzGe5zTtebKFpitvb1CPw1YY+1qFx0pWGgKP2kOfHg==", + "hasInstallScript": true, + "dependencies": { + "delay": "^5.0.0", + "node-gyp-build": "<4.0", + "p-limit": "^3.1.0", + "pprof-format": "^2.1.0", + "source-map": "^0.7.4" + }, + "engines": { + "node": ">=16" + } + }, "node_modules/@pyroscope/nodejs/node_modules/axios": { "version": "0.28.1", "license": "MIT", @@ -8108,10 +8044,6 @@ "version": "1.2.0", "license": "ISC" }, - "node_modules/abbrev": { - "version": "1.1.1", - "license": "ISC" - }, "node_modules/accepts": { "version": "1.3.8", "license": "MIT", @@ -8331,33 +8263,6 @@ "dev": true, "license": "BSD-2-Clause" }, - "node_modules/aproba": { - "version": "2.0.0", - "license": "ISC" - }, - "node_modules/are-we-there-yet": { - "version": "2.0.0", - "license": "ISC", - "dependencies": { - "delegates": "^1.0.0", - "readable-stream": "^3.6.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/are-we-there-yet/node_modules/readable-stream": { - "version": "3.6.2", - "license": "MIT", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/arg": { "version": "4.1.3", "dev": true, @@ -8765,13 +8670,6 @@ "node": ">=8" } }, - "node_modules/bindings": { - "version": "1.5.0", - "license": "MIT", - "dependencies": { - "file-uri-to-path": "1.0.0" - } - }, "node_modules/bintrees": { "version": "1.0.2", "license": "MIT" @@ -9189,13 +9087,6 @@ "node": ">= 0.8.0" } }, - "node_modules/chownr": { - "version": "2.0.0", - "license": "ISC", - "engines": { - "node": ">=10" - } - }, "node_modules/ci-info": { "version": "3.9.0", "dev": true, @@ -9413,13 +9304,6 @@ "simple-swizzle": "^0.2.2" } }, - "node_modules/color-support": { - "version": "1.1.3", - "license": "ISC", - "bin": { - "color-support": "bin.js" - } - }, "node_modules/colorette": { "version": "2.0.20", "dev": true, @@ -9755,10 +9639,6 @@ "version": "1.0.11", "license": "MIT" }, - "node_modules/console-control-strings": { - "version": "1.1.0", - "license": "ISC" - }, "node_modules/content-disposition": { "version": "0.5.4", "license": "MIT", @@ -11037,13 +10917,6 @@ "node": ">=8" } }, - "node_modules/detect-libc": { - "version": "2.0.3", - "license": "Apache-2.0", - "engines": { - "node": ">=8" - } - }, "node_modules/detect-newline": { "version": "3.1.0", "dev": true, @@ -11377,6 +11250,7 @@ }, "node_modules/emoji-regex": { "version": "8.0.0", + "dev": true, "license": "MIT" }, "node_modules/empty-dir": { @@ -12367,10 +12241,6 @@ "node": "^10.12.0 || >=12.0.0" } }, - "node_modules/file-uri-to-path": { - "version": "1.0.0", - "license": "MIT" - }, "node_modules/filelist": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz", @@ -12482,13 +12352,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/findit2": { - "version": "2.2.3", - "license": "MIT", - "engines": { - "node": ">=0.8.22" - } - }, "node_modules/findup-sync": { "version": "4.0.0", "dev": true, @@ -12642,30 +12505,6 @@ "node": ">=10" } }, - "node_modules/fs-minipass": { - "version": "2.1.0", - "license": "ISC", - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/fs-minipass/node_modules/minipass": { - "version": "3.3.6", - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/fs-minipass/node_modules/yallist": { - "version": "4.0.0", - "license": "ISC" - }, "node_modules/fs.realpath": { "version": "1.0.0", "license": "ISC" @@ -12712,24 +12551,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/gauge": { - "version": "3.0.2", - "license": "ISC", - "dependencies": { - "aproba": "^1.0.3 || ^2.0.0", - "color-support": "^1.1.2", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.1", - "object-assign": "^4.1.1", - "signal-exit": "^3.0.0", - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1", - "wide-align": "^1.1.2" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/gensync": { "version": "1.0.0-beta.2", "dev": true, @@ -13553,10 +13374,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/has-unicode": { - "version": "2.0.1", - "license": "ISC" - }, "node_modules/has-value": { "version": "2.0.2", "license": "MIT", @@ -17000,10 +16817,6 @@ "dev": true, "license": "MIT" }, - "node_modules/lodash.sortby": { - "version": "4.7.0", - "license": "MIT" - }, "node_modules/lodash.startcase": { "version": "4.4.0", "dev": true, @@ -17274,10 +17087,6 @@ "node": ">= 12.0.0" } }, - "node_modules/long": { - "version": "5.2.3", - "license": "Apache-2.0" - }, "node_modules/longest": { "version": "2.0.1", "dev": true, @@ -17821,41 +17630,6 @@ "node": ">=16 || 14 >=14.17" } }, - "node_modules/minizlib": { - "version": "2.1.2", - "license": "MIT", - "dependencies": { - "minipass": "^3.0.0", - "yallist": "^4.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/minizlib/node_modules/minipass": { - "version": "3.3.6", - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/minizlib/node_modules/yallist": { - "version": "4.0.0", - "license": "ISC" - }, - "node_modules/mkdirp": { - "version": "1.0.4", - "license": "MIT", - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/mocked-env": { "version": "1.3.5", "dev": true, @@ -18143,10 +17917,6 @@ "dev": true, "license": "ISC" }, - "node_modules/nan": { - "version": "2.19.0", - "license": "MIT" - }, "node_modules/nanoid": { "version": "3.3.7", "dev": true, @@ -18300,19 +18070,6 @@ "node": ">=12" } }, - "node_modules/nopt": { - "version": "5.0.0", - "license": "ISC", - "dependencies": { - "abbrev": "1" - }, - "bin": { - "nopt": "bin/nopt.js" - }, - "engines": { - "node": ">=6" - } - }, "node_modules/normalize-package-data": { "version": "2.5.0", "license": "BSD-2-Clause", @@ -18362,16 +18119,6 @@ "node": ">=8" } }, - "node_modules/npmlog": { - "version": "5.0.1", - "license": "ISC", - "dependencies": { - "are-we-there-yet": "^2.0.0", - "console-control-strings": "^1.1.0", - "gauge": "^3.0.0", - "set-blocking": "^2.0.0" - } - }, "node_modules/number-is-nan": { "version": "1.0.1", "dev": true, @@ -18386,6 +18133,7 @@ }, "node_modules/object-assign": { "version": "4.1.1", + "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -19053,58 +18801,10 @@ "dev": true, "license": "MIT" }, - "node_modules/pprof": { - "version": "4.0.0", - "hasInstallScript": true, - "license": "Apache-2.0", - "dependencies": { - "@mapbox/node-pre-gyp": "^1.0.9", - "bindings": "^1.2.1", - "delay": "^5.0.0", - "findit2": "^2.2.3", - "nan": "^2.17.0", - "p-limit": "^3.0.0", - "protobufjs": "~7.2.4", - "source-map": "~0.8.0-beta.0", - "split": "^1.0.1" - }, - "engines": { - "node": ">=14.0.0" - } - }, "node_modules/pprof-format": { - "version": "2.0.7", - "license": "MIT" - }, - "node_modules/pprof/node_modules/source-map": { - "version": "0.8.0-beta.0", - "license": "BSD-3-Clause", - "dependencies": { - "whatwg-url": "^7.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/pprof/node_modules/tr46": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "punycode": "^2.1.0" - } - }, - "node_modules/pprof/node_modules/webidl-conversions": { - "version": "4.0.2", - "license": "BSD-2-Clause" - }, - "node_modules/pprof/node_modules/whatwg-url": { - "version": "7.1.0", - "license": "MIT", - "dependencies": { - "lodash.sortby": "^4.7.0", - "tr46": "^1.0.1", - "webidl-conversions": "^4.0.2" - } + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/pprof-format/-/pprof-format-2.1.0.tgz", + "integrity": "sha512-0+G5bHH0RNr8E5hoZo/zJYsL92MhkZjwrHp3O2IxmY8RJL9ooKeuZ8Tm0ZNBw5sGZ9TiM71sthTjWoR2Vf5/xw==" }, "node_modules/precinct": { "version": "8.3.1", @@ -19480,28 +19180,6 @@ "node": ">= 6" } }, - "node_modules/protobufjs": { - "version": "7.2.6", - "hasInstallScript": true, - "license": "BSD-3-Clause", - "dependencies": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/node": ">=13.7.0", - "long": "^5.0.0" - }, - "engines": { - "node": ">=12.0.0" - } - }, "node_modules/proxy-from-env": { "version": "1.1.0", "license": "MIT" @@ -20254,6 +19932,7 @@ }, "node_modules/set-blocking": { "version": "2.0.0", + "dev": true, "license": "ISC" }, "node_modules/set-function-length": { @@ -20464,6 +20143,7 @@ }, "node_modules/split": { "version": "1.0.1", + "dev": true, "license": "MIT", "dependencies": { "through": "2" @@ -21030,6 +20710,7 @@ }, "node_modules/string-width": { "version": "4.2.3", + "dev": true, "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", @@ -21064,6 +20745,7 @@ }, "node_modules/string-width/node_modules/is-fullwidth-code-point": { "version": "3.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -21306,32 +20988,6 @@ "node": ">=6" } }, - "node_modules/tar": { - "version": "6.2.1", - "license": "ISC", - "dependencies": { - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "minipass": "^5.0.0", - "minizlib": "^2.1.1", - "mkdirp": "^1.0.3", - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/tar/node_modules/minipass": { - "version": "5.0.0", - "license": "ISC", - "engines": { - "node": ">=8" - } - }, - "node_modules/tar/node_modules/yallist": { - "version": "4.0.0", - "license": "ISC" - }, "node_modules/tdigest": { "version": "0.1.2", "license": "MIT", @@ -21389,6 +21045,7 @@ }, "node_modules/through": { "version": "2.3.8", + "dev": true, "license": "MIT" }, "node_modules/through2": { @@ -22093,13 +21750,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/wide-align": { - "version": "1.1.5", - "license": "ISC", - "dependencies": { - "string-width": "^1.0.2 || 2 || 3 || 4" - } - }, "node_modules/widest-line": { "version": "3.1.0", "dev": true, diff --git a/package.json b/package.json index 7f713bdd5d..edf32a47bb 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "@datadog/pprof": "^3.1.0", "@koa/router": "^12.0.0", "@ndhoule/extend": "^2.0.0", - "@pyroscope/nodejs": "^0.2.9", + "@pyroscope/nodejs": "^0.4.3", "@rudderstack/integrations-lib": "^0.2.13", "@rudderstack/json-template-engine": "^0.18.0", "@rudderstack/workflow-engine": "^0.8.13",