@sentry/profiling-node 8.41.0 → 8.42.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.
- package/lib/cjs/index.js +1 -4
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.js +1 -4
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/package.json +1 -1
- package/lib/sentry_cpu_profiler-darwin-arm64-108.node +0 -0
- package/lib/sentry_cpu_profiler-darwin-arm64-115.node +0 -0
- package/lib/sentry_cpu_profiler-darwin-arm64-127.node +0 -0
- package/lib/sentry_cpu_profiler-darwin-arm64-93.node +0 -0
- package/lib/sentry_cpu_profiler-darwin-x64-108.node +0 -0
- package/lib/sentry_cpu_profiler-darwin-x64-115.node +0 -0
- package/lib/sentry_cpu_profiler-darwin-x64-127.node +0 -0
- package/lib/sentry_cpu_profiler-darwin-x64-93.node +0 -0
- package/lib/sentry_cpu_profiler-win32-x64-108.node +0 -0
- package/lib/sentry_cpu_profiler-win32-x64-115.node +0 -0
- package/lib/sentry_cpu_profiler-win32-x64-127.node +0 -0
- package/lib/sentry_cpu_profiler-win32-x64-93.node +0 -0
- package/lib/types/integration.d.ts +2 -2
- package/lib/types/integration.d.ts.map +1 -1
- package/lib/types/spanProfileUtils.d.ts +1 -1
- package/lib/types/spanProfileUtils.d.ts.map +1 -1
- package/lib/types/types.d.ts +1 -1
- package/lib/types/types.d.ts.map +1 -1
- package/lib/types/utils.d.ts +1 -1
- package/lib/types/utils.d.ts.map +1 -1
- package/lib/types-ts3.8/integration.d.ts +2 -2
- package/lib/types-ts3.8/spanProfileUtils.d.ts +1 -1
- package/lib/types-ts3.8/types.d.ts +1 -1
- package/lib/types-ts3.8/utils.d.ts +1 -1
- package/package.json +3 -4
package/lib/cjs/index.js
CHANGED
|
@@ -201,8 +201,7 @@ const CpuProfilerBindings = new Bindings();
|
|
|
201
201
|
const NODE_VERSION = core.parseSemver(process.versions.node) ;
|
|
202
202
|
const NODE_MAJOR = NODE_VERSION.major;
|
|
203
203
|
|
|
204
|
-
function _nullishCoalesce$1(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }function _optionalChain$1(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
205
|
-
|
|
204
|
+
function _nullishCoalesce$1(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }function _optionalChain$1(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
206
205
|
// We require the file because if we import it, it will be included in the bundle.
|
|
207
206
|
// I guess tsc does not check file contents when it's imported.
|
|
208
207
|
const PROFILER_THREAD_ID_STRING = String(worker_threads.threadId);
|
|
@@ -725,8 +724,6 @@ var ProfileFormat;(function (ProfileFormat) {
|
|
|
725
724
|
const CHUNK = 1; ProfileFormat[ProfileFormat["CHUNK"] = CHUNK] = "CHUNK";
|
|
726
725
|
})(ProfileFormat || (ProfileFormat = {}));
|
|
727
726
|
|
|
728
|
-
/* eslint-disable max-lines */
|
|
729
|
-
|
|
730
727
|
const CHUNK_INTERVAL_MS = 5000;
|
|
731
728
|
const PROFILE_MAP = new core.LRUMap(50);
|
|
732
729
|
const PROFILE_TIMEOUTS = {};
|
package/lib/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/esm/index.js
CHANGED
|
@@ -209,8 +209,7 @@ const CpuProfilerBindings = new Bindings();
|
|
|
209
209
|
const NODE_VERSION = parseSemver(process.versions.node) ;
|
|
210
210
|
const NODE_MAJOR = NODE_VERSION.major;
|
|
211
211
|
|
|
212
|
-
function _nullishCoalesce$1(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }function _optionalChain$1(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
213
|
-
|
|
212
|
+
function _nullishCoalesce$1(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }function _optionalChain$1(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
214
213
|
// We require the file because if we import it, it will be included in the bundle.
|
|
215
214
|
// I guess tsc does not check file contents when it's imported.
|
|
216
215
|
const PROFILER_THREAD_ID_STRING = String(threadId$1);
|
|
@@ -733,8 +732,6 @@ var ProfileFormat;(function (ProfileFormat) {
|
|
|
733
732
|
const CHUNK = 1; ProfileFormat[ProfileFormat["CHUNK"] = CHUNK] = "CHUNK";
|
|
734
733
|
})(ProfileFormat || (ProfileFormat = {}));
|
|
735
734
|
|
|
736
|
-
/* eslint-disable max-lines */
|
|
737
|
-
|
|
738
735
|
const CHUNK_INTERVAL_MS = 5000;
|
|
739
736
|
const PROFILE_MAP = new LRUMap(50);
|
|
740
737
|
const PROFILE_TIMEOUTS = {};
|
package/lib/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/esm/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"module","version":"8.
|
|
1
|
+
{"type":"module","version":"8.42.0","sideEffects":false}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { ProfilingIntegration } from '@sentry/core';
|
|
1
2
|
import type { NodeClient } from '@sentry/node';
|
|
2
|
-
import type { ProfilingIntegration } from '@sentry/types';
|
|
3
3
|
/** Exported only for tests. */
|
|
4
4
|
export declare const _nodeProfilingIntegration: () => ProfilingIntegration<NodeClient>;
|
|
5
5
|
/**
|
|
@@ -8,5 +8,5 @@ export declare const _nodeProfilingIntegration: () => ProfilingIntegration<NodeC
|
|
|
8
8
|
* contains a profile on it's metadata. If that is the case, we create a profiling event envelope
|
|
9
9
|
* and delete the profile from the transaction metadata.
|
|
10
10
|
*/
|
|
11
|
-
export declare const nodeProfilingIntegration: () => import("@sentry/
|
|
11
|
+
export declare const nodeProfilingIntegration: () => import("@sentry/core").Integration;
|
|
12
12
|
//# sourceMappingURL=integration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration.d.ts","sourceRoot":"","sources":["../../src/integration.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"integration.d.ts","sourceRoot":"","sources":["../../src/integration.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAA+C,oBAAoB,EAAQ,MAAM,cAAc,CAAC;AAa5G,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AA2Z/C,+BAA+B;AAC/B,eAAO,MAAM,yBAAyB,QAAQ,qBAAqB,UAAU,CA8CnD,CAAC;AAE3B;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,0CAA+C,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { CustomSamplingContext, Span } from '@sentry/core';
|
|
1
2
|
import type { NodeClient } from '@sentry/node';
|
|
2
|
-
import type { CustomSamplingContext, Span } from '@sentry/types';
|
|
3
3
|
import type { RawThreadCpuProfile } from './types';
|
|
4
4
|
export declare const MAX_PROFILE_DURATION_MS: number;
|
|
5
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spanProfileUtils.d.ts","sourceRoot":"","sources":["../../src/spanProfileUtils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"spanProfileUtils.d.ts","sourceRoot":"","sources":["../../src/spanProfileUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEhE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAGnD,eAAO,MAAM,uBAAuB,QAAY,CAAC;AAEjD;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,UAAU,GAAG,SAAS,EAC9B,IAAI,EAAE,IAAI,EACV,qBAAqB,CAAC,EAAE,qBAAqB,GAC5C,MAAM,GAAG,SAAS,CAkFpB;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,GAAG,SAAS,GAAG,mBAAmB,GAAG,IAAI,CAsBtG"}
|
package/lib/types/types.d.ts
CHANGED
package/lib/types/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAE1C,UAAU,MAAM;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,sBAAsB,EAAE,MAAM,CAAC;CAChC;AAED,UAAU,WAAW;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,UAAU,WAAW;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE;QACN,sBAAsB,EAAE,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AC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,CAAC,MAAM,GAAG,mBAAmB,GAAG,IAAI,CAAC;IACtF,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,CAAC,KAAK,GAAG,kBAAkB,GAAG,IAAI,CAAC;CACrF"}
|
package/lib/types/utils.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Client, ContinuousThreadCpuProfile, DebugImage, DsnComponents, Envelope, Event, EventEnvelopeHeaders, Profile, ProfileChunk, ProfileChunkEnvelope, SdkInfo, ThreadCpuProfile } from '@sentry/
|
|
1
|
+
import type { Client, ContinuousThreadCpuProfile, DebugImage, DsnComponents, Envelope, Event, EventEnvelopeHeaders, Profile, ProfileChunk, ProfileChunkEnvelope, SdkInfo, ThreadCpuProfile } from '@sentry/core';
|
|
2
2
|
import type { RawChunkCpuProfile, RawThreadCpuProfile } from './types';
|
|
3
3
|
export declare const PROFILER_THREAD_ID_STRING: string;
|
|
4
4
|
export declare const PROFILER_THREAD_NAME: string;
|
package/lib/types/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,MAAM,EAEN,0BAA0B,EAC1B,UAAU,EACV,aAAa,EACb,QAAQ,EACR,KAAK,EACL,oBAAoB,EACpB,OAAO,EACP,YAAY,EACZ,oBAAoB,EAEpB,OAAO,EACP,gBAAgB,EACjB,MAAM,cAAc,CAAC;AActB,OAAO,KAAK,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAIvE,eAAO,MAAM,yBAAyB,QAAmB,CAAC;AAC1D,eAAO,MAAM,oBAAoB,QAAmC,CAAC;AA2BrE;;;;;;GAMG;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S,EAC5B,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,GAAG,CAAC,EAAE,aAAa,GAClB,oBAAoB,CAOtB;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,YAAY,EACnB,OAAO,EAAE,OAAO,GAAG,SAAS,EAC5B,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,GAAG,CAAC,EAAE,aAAa,GAClB,oBAAoB,CAQtB;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,cAAc,EAAE,aAAa,CAAC,MAAM,CAAC,GAAG,UAAU,EAAE,CAQtG"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { ProfilingIntegration } from '@sentry/core';
|
|
1
2
|
import { NodeClient } from '@sentry/node';
|
|
2
|
-
import { ProfilingIntegration } from '@sentry/types';
|
|
3
3
|
/** Exported only for tests. */
|
|
4
4
|
export declare const _nodeProfilingIntegration: () => ProfilingIntegration<NodeClient>;
|
|
5
5
|
/**
|
|
@@ -8,5 +8,5 @@ export declare const _nodeProfilingIntegration: () => ProfilingIntegration<NodeC
|
|
|
8
8
|
* contains a profile on it's metadata. If that is the case, we create a profiling event envelope
|
|
9
9
|
* and delete the profile from the transaction metadata.
|
|
10
10
|
*/
|
|
11
|
-
export declare const nodeProfilingIntegration: () => import("@sentry/
|
|
11
|
+
export declare const nodeProfilingIntegration: () => import("@sentry/core").Integration;
|
|
12
12
|
//# sourceMappingURL=integration.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { CustomSamplingContext, Span } from '@sentry/core';
|
|
1
2
|
import { NodeClient } from '@sentry/node';
|
|
2
|
-
import { CustomSamplingContext, Span } from '@sentry/types';
|
|
3
3
|
import { RawThreadCpuProfile } from './types';
|
|
4
4
|
export declare const MAX_PROFILE_DURATION_MS: number;
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Client, ContinuousThreadCpuProfile, DebugImage, DsnComponents, Envelope, Event, EventEnvelopeHeaders, Profile, ProfileChunk, ProfileChunkEnvelope, SdkInfo, ThreadCpuProfile } from '@sentry/
|
|
1
|
+
import { Client, ContinuousThreadCpuProfile, DebugImage, DsnComponents, Envelope, Event, EventEnvelopeHeaders, Profile, ProfileChunk, ProfileChunkEnvelope, SdkInfo, ThreadCpuProfile } from '@sentry/core';
|
|
2
2
|
import { RawChunkCpuProfile, RawThreadCpuProfile } from './types';
|
|
3
3
|
export declare const PROFILER_THREAD_ID_STRING: string;
|
|
4
4
|
export declare const PROFILER_THREAD_NAME: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/profiling-node",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.42.0",
|
|
4
4
|
"description": "Official Sentry SDK for Node.js Profiling",
|
|
5
5
|
"repository": "git://github.com/getsentry/sentry-javascript.git",
|
|
6
6
|
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/profiling-node",
|
|
@@ -75,9 +75,8 @@
|
|
|
75
75
|
"test": "cross-env SENTRY_PROFILER_BINARY_DIR=lib jest --config jest.config.js"
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
|
-
"@sentry/core": "8.
|
|
79
|
-
"@sentry/node": "8.
|
|
80
|
-
"@sentry/types": "8.41.0",
|
|
78
|
+
"@sentry/core": "8.42.0",
|
|
79
|
+
"@sentry/node": "8.42.0",
|
|
81
80
|
"detect-libc": "^2.0.2",
|
|
82
81
|
"node-abi": "^3.61.0"
|
|
83
82
|
},
|