@sentry/profiling-node 8.55.0 → 8.55.2

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
- {"type":"module","version":"8.55.0","sideEffects":false}
1
+ {"type":"module","version":"8.55.2","sideEffects":false}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/profiling-node",
3
- "version": "8.55.0",
3
+ "version": "8.55.2",
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",
@@ -58,27 +58,25 @@
58
58
  "fix": "eslint . --format stylish --fix",
59
59
  "lint:fix": "yarn fix:eslint && yarn fix:clang",
60
60
  "lint:fix:clang": "node clang-format.js --fix",
61
- "build": "yarn build:lib && yarn build:bindings:configure && yarn build:bindings",
61
+ "build": "yarn build:lib && yarn build:copy-bindings",
62
62
  "build:lib": "yarn build:types && rollup -c rollup.npm.config.mjs",
63
- "build:transpile": "yarn build:bindings:configure && yarn build:bindings && yarn build:lib",
63
+ "build:transpile": "yarn build:copy-bindings && yarn build:lib",
64
64
  "build:types:downlevel": "yarn downlevel-dts lib/types lib/types-ts3.8 --to ts3.8",
65
65
  "build:types": "tsc -p tsconfig.types.json && yarn build:types:downlevel",
66
66
  "build:types:watch": "tsc -p tsconfig.types.json --watch",
67
67
  "build:bindings:configure": "node-gyp configure",
68
- "build:bindings:configure:arm64": "node-gyp configure --arch=arm64 --target_arch=arm64",
69
68
  "build:bindings": "node-gyp build && node scripts/copy-target.js",
70
- "build:bindings:arm64": "node-gyp build --arch=arm64 && node scripts/copy-target.js",
71
- "build:dev": "yarn clean && yarn build:bindings:configure && yarn build",
69
+ "build:copy-bindings": "cp -r compiled-bindings/ lib/",
70
+ "build:dev": "yarn clean && yarn build",
72
71
  "build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
73
72
  "build:watch": "run-p build:transpile:watch build:types:watch",
74
73
  "build:tarball": "npm pack",
75
- "test:watch": "cross-env SENTRY_PROFILER_BINARY_DIR=build jest --watch",
76
- "test:bundle": "node test-binaries.esbuild.js",
77
- "test": "cross-env SENTRY_PROFILER_BINARY_DIR=lib jest --config jest.config.js"
74
+ "test:watch": "cross-env SENTRY_PROFILER_BINARY_DIR=compiled-bindings jest --watch",
75
+ "test": "cross-env SENTRY_PROFILER_BINARY_DIR=compiled-bindings jest --config jest.config.js"
78
76
  },
79
77
  "dependencies": {
80
- "@sentry/core": "8.55.0",
81
- "@sentry/node": "8.55.0",
78
+ "@sentry/core": "8.55.2",
79
+ "@sentry/node": "8.55.2",
82
80
  "detect-libc": "^2.0.2",
83
81
  "node-abi": "^3.61.0"
84
82
  },
@@ -11,7 +11,7 @@ function clean(err) {
11
11
 
12
12
  function recompileFromSource() {
13
13
  console.log('@sentry/profiling-node: Compiling from source...');
14
- let spawn = child_process.spawnSync('npm', ['run', 'build:bindings:configure'], {
14
+ let spawn = child_process.spawnSync('npm run build:bindings:configure', {
15
15
  stdio: ['inherit', 'inherit', 'pipe'],
16
16
  env: process.env,
17
17
  shell: true,
@@ -23,7 +23,7 @@ function recompileFromSource() {
23
23
  return;
24
24
  }
25
25
 
26
- spawn = child_process.spawnSync('npm', ['run', 'build:bindings'], {
26
+ spawn = child_process.spawnSync('npm run build:bindings', {
27
27
  stdio: ['inherit', 'inherit', 'pipe'],
28
28
  env: process.env,
29
29
  shell: true,