@sentry/profiling-node 8.55.1 → 8.55.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1145,7 +1145,7 @@ const _nodeProfilingIntegration = (() => {
1145
1145
  core.consoleSandbox(() => {
1146
1146
  // eslint-disable-next-line no-console
1147
1147
  console.warn(
1148
- `[Sentry Profiling] You are using a Node.js version that does not have prebuilt binaries (${NODE_VERSION}).`,
1148
+ `[Sentry Profiling] You are using a Node.js version that does not have prebuilt binaries (${NODE_VERSION.major}.${NODE_VERSION.minor}.${NODE_VERSION.patch}).`,
1149
1149
  'The @sentry/profiling-node package only has prebuilt support for the following LTS versions of Node.js: 16, 18, 20, 22.',
1150
1150
  'To use the @sentry/profiling-node package with this version of Node.js, you will need to compile the native addon from source.',
1151
1151
  'See: https://github.com/getsentry/sentry-javascript/tree/develop/packages/profiling-node#building-the-package-from-source',