@sentry/node-cpu-profiler 2.4.3 → 2.4.4

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACV,4BAA4B,EAC5B,aAAa,EACb,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAQjB;;GAEG;AAEH,wBAAgB,uBAAuB,IAAI,4BAA4B,GAAG,SAAS,CAqKlF;AAED,eAAO,MAAM,0BAA0B,EAAE,4BAA4B,GAAG,SAAqC,CAAC;AAE9G,cAAM,QAAS,YAAW,qBAAqB;IACtC,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAclC,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,CAAC,MAAM,GAAG,mBAAmB,GAAG,IAAI;IACrF,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,CAAC,KAAK,GAAG,kBAAkB,GAAG,IAAI;CAsB3F;AAED,eAAO,MAAM,mBAAmB,UAAiB,CAAC;AAElD,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACV,4BAA4B,EAC5B,aAAa,EACb,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAQjB;;GAEG;AAEH,wBAAgB,uBAAuB,IAAI,4BAA4B,GAAG,SAAS,CAqKlF;AAED,eAAO,MAAM,0BAA0B,EAAE,4BAA4B,GAAG,SAAqC,CAAC;AAE9G,cAAM,QAAS,YAAW,qBAAqB;IACtC,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAclC,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,CAAC,MAAM,GAAG,mBAAmB,GAAG,IAAI;IACrF,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,CAAC,KAAK,GAAG,kBAAkB,GAAG,IAAI;CAuB3F;AAED,eAAO,MAAM,mBAAmB,UAAiB,CAAC;AAElD,cAAc,SAAS,CAAC"}
package/lib/index.js CHANGED
@@ -216,7 +216,9 @@ var Bindings = /** @class */ (function () {
216
216
  console.log('[Profiling] Native stopProfiling function is not available, ignoring call to stopProfiling.');
217
217
  return null;
218
218
  }
219
- return exports.PrivateCpuProfilerBindings.stopProfiling(name, format, node_worker_threads_1.threadId, !!global._sentryDebugIds);
219
+ return exports.PrivateCpuProfilerBindings.stopProfiling(name, format, node_worker_threads_1.threadId,
220
+ // Bundlers with native debug ID support (e.g. Turbopack) only write `_debugIds`; the SDK resolves both globals.
221
+ !!(global._sentryDebugIds || global._debugIds));
220
222
  };
221
223
  return Bindings;
222
224
  }());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/node-cpu-profiler",
3
- "version": "2.4.3",
3
+ "version": "2.4.4",
4
4
  "description": "Binaries for Sentry Node Profiling",
5
5
  "repository": "git://github.com/getsentry/sentry-javascript-profiling-node-binaries.git",
6
6
  "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/profiling-node",