@sentry/profiling-node 10.49.0 → 10.50.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/README.md +9 -3
- package/build/esm/package.json +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -239,13 +239,19 @@ the binaries will be copied. This is wasteful as you will likely only need one o
|
|
|
239
239
|
runtime.
|
|
240
240
|
|
|
241
241
|
To prune the other libraries, profiling-node ships with a small utility script that helps you prune unused binaries. The
|
|
242
|
-
script can be invoked via `sentry-prune-profiler-binaries
|
|
243
|
-
|
|
242
|
+
script can be invoked via `sentry-prune-profiler-binaries`:
|
|
243
|
+
|
|
244
|
+
```bash
|
|
245
|
+
npx --package=@sentry/profiling-node sentry-prune-profiler-binaries
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
Use `--help` to see a list of available options or `--dry-run` if you want it to log the binaries that would have been
|
|
249
|
+
deleted.
|
|
244
250
|
|
|
245
251
|
Example of only preserving a binary to run node16 on linux x64 musl.
|
|
246
252
|
|
|
247
253
|
```bash
|
|
248
|
-
sentry-prune-profiler-binaries --target_dir_path=./dist --target_platform=linux --target_node=16 --target_stdlib=musl --target_arch=x64
|
|
254
|
+
npx --package=@sentry/profiling-node sentry-prune-profiler-binaries --target_dir_path=./dist --target_platform=linux --target_node=16 --target_stdlib=musl --target_arch=x64
|
|
249
255
|
```
|
|
250
256
|
|
|
251
257
|
Which will output something like
|
package/build/esm/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"module","version":"10.
|
|
1
|
+
{"type":"module","version":"10.50.0","sideEffects":false}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/profiling-node",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.50.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",
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"@sentry-internal/node-cpu-profiler": "^2.2.0",
|
|
65
|
-
"@sentry/core": "10.
|
|
66
|
-
"@sentry/node": "10.
|
|
65
|
+
"@sentry/core": "10.50.0",
|
|
66
|
+
"@sentry/node": "10.50.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@types/node": "^18.19.1"
|