You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@sentry-internal/node-cpu-profiler

Package Overview
Dependencies
Maintainers
9
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry-internal/node-cpu-profiler - npm Package Compare versions

Comparing version

to
2.1.0

30

lib/index.js

@@ -46,2 +46,11 @@ "use strict";

}
if (process.versions.electron) {
try {
return require('../build/Release/sentry_cpu_profiler.node');
}
catch (e) {
console.warn("The '@sentry/profiling-node' binary could not be found. Use '@electron/rebuild' to ensure the native module is built for Electron.");
throw e;
}
}
// We need the fallthrough so that in the end, we can fallback to the dynamic require.

@@ -51,5 +60,2 @@ // This is for cases where precompiled binaries were not provided, but may have been compiled from source.

if (arch === 'x64') {
if (abi === '93') {
return require('./sentry_cpu_profiler-darwin-x64-93.node');
}
if (abi === '108') {

@@ -66,5 +72,2 @@ return require('./sentry_cpu_profiler-darwin-x64-108.node');

if (arch === 'arm64') {
if (abi === '93') {
return require('./sentry_cpu_profiler-darwin-arm64-93.node');
}
if (abi === '108') {

@@ -83,5 +86,2 @@ return require('./sentry_cpu_profiler-darwin-arm64-108.node');

if (arch === 'x64') {
if (abi === '93') {
return require('./sentry_cpu_profiler-win32-x64-93.node');
}
if (abi === '108') {

@@ -101,5 +101,2 @@ return require('./sentry_cpu_profiler-win32-x64-108.node');

if (stdlib === 'musl') {
if (abi === '93') {
return require('./sentry_cpu_profiler-linux-x64-musl-93.node');
}
if (abi === '108') {

@@ -116,5 +113,2 @@ return require('./sentry_cpu_profiler-linux-x64-musl-108.node');

if (stdlib === 'glibc') {
if (abi === '93') {
return require('./sentry_cpu_profiler-linux-x64-glibc-93.node');
}
if (abi === '108') {

@@ -133,5 +127,2 @@ return require('./sentry_cpu_profiler-linux-x64-glibc-108.node');

if (stdlib === 'musl') {
if (abi === '93') {
return require('./sentry_cpu_profiler-linux-arm64-musl-93.node');
}
if (abi === '108') {

@@ -148,5 +139,2 @@ return require('./sentry_cpu_profiler-linux-arm64-musl-108.node');

if (stdlib === 'glibc') {
if (abi === '93') {
return require('./sentry_cpu_profiler-linux-arm64-glibc-93.node');
}
if (abi === '108') {

@@ -153,0 +141,0 @@ return require('./sentry_cpu_profiler-linux-arm64-glibc-108.node');

{
"name": "@sentry-internal/node-cpu-profiler",
"version": "2.0.0",
"version": "2.1.0",
"description": "Binaries for Sentry Node Profiling",

@@ -43,7 +43,10 @@ "repository": "git://github.com/getsentry/sentry-javascript-profiling-node-binaries.git",

"build:tarball": "npm pack",
"test": "node ./test/prepare.js && vitest run --testTimeout 60000"
"test": "yarn test:bindings && yarn test:bundling && yarn test:electron",
"test:bundling": "node test/prepare.mjs bundler && vitest run --testTimeout 60000 ./test/bundler",
"test:electron": "node test/prepare.mjs electron && vitest run --testTimeout 120000 ./test/electron",
"test:bindings": "node test/prepare.mjs bindings && vitest run --testTimeout 60000 ./test/bindings"
},
"dependencies": {
"detect-libc": "^2.0.2",
"node-abi": "^3.61.0"
"detect-libc": "^2.0.3",
"node-abi": "^3.73.0"
},

@@ -59,3 +62,3 @@ "devDependencies": {

"typescript": "^5.7.3",
"vitest": "^3.0.4"
"vitest": "^3.0.5"
},

@@ -62,0 +65,0 @@ "sideEffects": false,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet