@sentry/profiling-node 7.112.1 → 7.113.0

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.
Files changed (35) hide show
  1. package/README.md +1 -1
  2. package/binding.gyp +11 -1
  3. package/bindings/cpu_profiler.cc +3 -0
  4. package/lib/index.js +22 -1
  5. package/lib/index.js.map +1 -1
  6. package/lib/sentry_cpu_profiler-darwin-arm64-108.node +0 -0
  7. package/lib/sentry_cpu_profiler-darwin-arm64-115.node +0 -0
  8. package/lib/sentry_cpu_profiler-darwin-arm64-127.node +0 -0
  9. package/lib/sentry_cpu_profiler-darwin-arm64-93.node +0 -0
  10. package/lib/sentry_cpu_profiler-darwin-x64-108.node +0 -0
  11. package/lib/sentry_cpu_profiler-darwin-x64-115.node +0 -0
  12. package/lib/sentry_cpu_profiler-darwin-x64-127.node +0 -0
  13. package/lib/sentry_cpu_profiler-darwin-x64-93.node +0 -0
  14. package/lib/sentry_cpu_profiler-linux-arm64-glibc-108.node +0 -0
  15. package/lib/sentry_cpu_profiler-linux-arm64-glibc-115.node +0 -0
  16. package/lib/sentry_cpu_profiler-linux-arm64-glibc-127.node +0 -0
  17. package/lib/sentry_cpu_profiler-linux-arm64-glibc-93.node +0 -0
  18. package/lib/sentry_cpu_profiler-linux-arm64-musl-108.node +0 -0
  19. package/lib/sentry_cpu_profiler-linux-arm64-musl-115.node +0 -0
  20. package/lib/sentry_cpu_profiler-linux-arm64-musl-127.node +0 -0
  21. package/lib/sentry_cpu_profiler-linux-arm64-musl-93.node +0 -0
  22. package/lib/sentry_cpu_profiler-linux-x64-glibc-108.node +0 -0
  23. package/lib/sentry_cpu_profiler-linux-x64-glibc-115.node +0 -0
  24. package/lib/sentry_cpu_profiler-linux-x64-glibc-127.node +0 -0
  25. package/lib/sentry_cpu_profiler-linux-x64-glibc-93.node +0 -0
  26. package/lib/sentry_cpu_profiler-linux-x64-musl-108.node +0 -0
  27. package/lib/sentry_cpu_profiler-linux-x64-musl-115.node +0 -0
  28. package/lib/sentry_cpu_profiler-linux-x64-musl-127.node +0 -0
  29. package/lib/sentry_cpu_profiler-linux-x64-musl-93.node +0 -0
  30. package/lib/sentry_cpu_profiler-win32-x64-108.node +0 -0
  31. package/lib/sentry_cpu_profiler-win32-x64-115.node +0 -0
  32. package/lib/sentry_cpu_profiler-win32-x64-127.node +0 -0
  33. package/lib/sentry_cpu_profiler-win32-x64-93.node +0 -0
  34. package/lib/types/cpu_profiler.d.ts.map +1 -1
  35. package/package.json +7 -7
package/README.md CHANGED
@@ -68,7 +68,7 @@ npm i -g windows-build-tools
68
68
 
69
69
  ### Prebuilt binaries
70
70
 
71
- We currently ship prebuilt binaries for a few of the most common platforms and node versions (v16-20).
71
+ We currently ship prebuilt binaries for a few of the most common platforms and node versions (v16-22).
72
72
 
73
73
  - macOS x64
74
74
  - Linux ARM64 (musl)
package/binding.gyp CHANGED
@@ -6,5 +6,15 @@
6
6
  # Silence gcc8 deprecation warning https://github.com/nodejs/nan/issues/807#issuecomment-455750192
7
7
  "cflags": ["-Wno-cast-function-type"]
8
8
  },
9
- ]
9
+ ],
10
+ 'conditions': [
11
+ [ 'OS=="win"', {
12
+ 'defines': [
13
+ # Stop <windows.h> from defining macros that conflict with
14
+ # std::min() and std::max(). We don't use <windows.h> (much)
15
+ # but we still inherit it from uv.h.
16
+ 'NOMINMAX',
17
+ ]
18
+ }],
19
+ ],
10
20
  }
@@ -1,3 +1,6 @@
1
+ #ifndef NOMINMAX
2
+ #define NOMINMAX
3
+ #endif
1
4
 
2
5
  #include <assert.h>
3
6
  #include <math.h>
package/lib/index.js CHANGED
@@ -1810,7 +1810,7 @@ function generatePropagationContext() {
1810
1810
  };
1811
1811
  }
1812
1812
 
1813
- const SDK_VERSION = '7.112.1';
1813
+ const SDK_VERSION = '7.113.0';
1814
1814
 
1815
1815
  /**
1816
1816
  * API compatibility version of this hub.
@@ -2591,6 +2591,9 @@ function importCppBindingsModule() {
2591
2591
  if (abi === '115') {
2592
2592
  return require('./sentry_cpu_profiler-darwin-x64-115.node');
2593
2593
  }
2594
+ if (abi === '127') {
2595
+ return require('./sentry_cpu_profiler-darwin-x64-127.node');
2596
+ }
2594
2597
  }
2595
2598
  if (arch === 'arm64') {
2596
2599
  if (abi === '93') {
@@ -2602,6 +2605,9 @@ function importCppBindingsModule() {
2602
2605
  if (abi === '115') {
2603
2606
  return require('./sentry_cpu_profiler-darwin-arm64-115.node');
2604
2607
  }
2608
+ if (abi === '127') {
2609
+ return require('./sentry_cpu_profiler-darwin-arm64-127.node');
2610
+ }
2605
2611
  }
2606
2612
  }
2607
2613
  if (platform === 'win32') {
@@ -2615,6 +2621,9 @@ function importCppBindingsModule() {
2615
2621
  if (abi === '115') {
2616
2622
  return require('./sentry_cpu_profiler-win32-x64-115.node');
2617
2623
  }
2624
+ if (abi === '127') {
2625
+ return require('./sentry_cpu_profiler-win32-x64-127.node');
2626
+ }
2618
2627
  }
2619
2628
  }
2620
2629
  if (platform === 'linux') {
@@ -2629,6 +2638,9 @@ function importCppBindingsModule() {
2629
2638
  if (abi === '115') {
2630
2639
  return require('./sentry_cpu_profiler-linux-x64-musl-115.node');
2631
2640
  }
2641
+ if (abi === '127') {
2642
+ return require('./sentry_cpu_profiler-linux-x64-musl-127.node');
2643
+ }
2632
2644
  }
2633
2645
  if (stdlib === 'glibc') {
2634
2646
  if (abi === '93') {
@@ -2640,6 +2652,9 @@ function importCppBindingsModule() {
2640
2652
  if (abi === '115') {
2641
2653
  return require('./sentry_cpu_profiler-linux-x64-glibc-115.node');
2642
2654
  }
2655
+ if (abi === '127') {
2656
+ return require('./sentry_cpu_profiler-linux-x64-glibc-127.node');
2657
+ }
2643
2658
  }
2644
2659
  }
2645
2660
  if (arch === 'arm64') {
@@ -2653,6 +2668,9 @@ function importCppBindingsModule() {
2653
2668
  if (abi === '115') {
2654
2669
  return require('./sentry_cpu_profiler-linux-arm64-musl-115.node');
2655
2670
  }
2671
+ if (abi === '127') {
2672
+ return require('./sentry_cpu_profiler-linux-arm64-musl-127.node');
2673
+ }
2656
2674
  }
2657
2675
  if (stdlib === 'glibc') {
2658
2676
  if (abi === '93') {
@@ -2664,6 +2682,9 @@ function importCppBindingsModule() {
2664
2682
  if (abi === '115') {
2665
2683
  return require('./sentry_cpu_profiler-linux-arm64-glibc-115.node');
2666
2684
  }
2685
+ if (abi === '127') {
2686
+ return require('./sentry_cpu_profiler-linux-arm64-glibc-127.node');
2687
+ }
2667
2688
  }
2668
2689
  }
2669
2690
  }