@sentry/node 9.1.0 → 9.2.0-alpha.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 (63) hide show
  1. package/build/cjs/integrations/anr/index.js +1 -1
  2. package/build/cjs/integrations/local-variables/local-variables-async.js +1 -1
  3. package/build/cjs/integrations/tracing/express-v5/enums/AttributeNames.js +22 -0
  4. package/build/cjs/integrations/tracing/express-v5/enums/AttributeNames.js.map +1 -0
  5. package/build/cjs/integrations/tracing/express-v5/enums/ExpressLayerType.js +23 -0
  6. package/build/cjs/integrations/tracing/express-v5/enums/ExpressLayerType.js.map +1 -0
  7. package/build/cjs/integrations/tracing/express-v5/instrumentation.js +295 -0
  8. package/build/cjs/integrations/tracing/express-v5/instrumentation.js.map +1 -0
  9. package/build/cjs/integrations/tracing/express-v5/internal-types.js +29 -0
  10. package/build/cjs/integrations/tracing/express-v5/internal-types.js.map +1 -0
  11. package/build/cjs/integrations/tracing/express-v5/utils.js +176 -0
  12. package/build/cjs/integrations/tracing/express-v5/utils.js.map +1 -0
  13. package/build/cjs/integrations/tracing/express.js +47 -31
  14. package/build/cjs/integrations/tracing/express.js.map +1 -1
  15. package/build/cjs/integrations/tracing/fastify.js +1 -0
  16. package/build/cjs/integrations/tracing/fastify.js.map +1 -1
  17. package/build/cjs/integrations/tracing/index.js +1 -0
  18. package/build/cjs/integrations/tracing/index.js.map +1 -1
  19. package/build/esm/integrations/anr/index.js +1 -1
  20. package/build/esm/integrations/anr/worker-script.js +2 -2
  21. package/build/esm/integrations/local-variables/local-variables-async.js +1 -1
  22. package/build/esm/integrations/local-variables/worker-script.js +2 -2
  23. package/build/esm/integrations/tracing/express-v5/enums/AttributeNames.js +22 -0
  24. package/build/esm/integrations/tracing/express-v5/enums/AttributeNames.js.map +1 -0
  25. package/build/esm/integrations/tracing/express-v5/enums/ExpressLayerType.js +23 -0
  26. package/build/esm/integrations/tracing/express-v5/enums/ExpressLayerType.js.map +1 -0
  27. package/build/esm/integrations/tracing/express-v5/instrumentation.js +291 -0
  28. package/build/esm/integrations/tracing/express-v5/instrumentation.js.map +1 -0
  29. package/build/esm/integrations/tracing/express-v5/internal-types.js +26 -0
  30. package/build/esm/integrations/tracing/express-v5/internal-types.js.map +1 -0
  31. package/build/esm/integrations/tracing/express-v5/utils.js +169 -0
  32. package/build/esm/integrations/tracing/express-v5/utils.js.map +1 -0
  33. package/build/esm/integrations/tracing/express.js +48 -33
  34. package/build/esm/integrations/tracing/express.js.map +1 -1
  35. package/build/esm/integrations/tracing/fastify.js +1 -0
  36. package/build/esm/integrations/tracing/fastify.js.map +1 -1
  37. package/build/esm/integrations/tracing/index.js +2 -1
  38. package/build/esm/integrations/tracing/index.js.map +1 -1
  39. package/build/esm/package.json +1 -1
  40. package/build/types/integrations/tracing/express-v5/enums/AttributeNames.d.ts +5 -0
  41. package/build/types/integrations/tracing/express-v5/enums/AttributeNames.d.ts.map +1 -0
  42. package/build/types/integrations/tracing/express-v5/enums/ExpressLayerType.d.ts +6 -0
  43. package/build/types/integrations/tracing/express-v5/enums/ExpressLayerType.d.ts.map +1 -0
  44. package/build/types/integrations/tracing/express-v5/instrumentation.d.ts +27 -0
  45. package/build/types/integrations/tracing/express-v5/instrumentation.d.ts.map +1 -0
  46. package/build/types/integrations/tracing/express-v5/internal-types.d.ts +38 -0
  47. package/build/types/integrations/tracing/express-v5/internal-types.d.ts.map +1 -0
  48. package/build/types/integrations/tracing/express-v5/types.d.ts +39 -0
  49. package/build/types/integrations/tracing/express-v5/types.d.ts.map +1 -0
  50. package/build/types/integrations/tracing/express-v5/utils.d.ts +51 -0
  51. package/build/types/integrations/tracing/express-v5/utils.d.ts.map +1 -0
  52. package/build/types/integrations/tracing/express.d.ts +3 -0
  53. package/build/types/integrations/tracing/express.d.ts.map +1 -1
  54. package/build/types/integrations/tracing/fastify.d.ts.map +1 -1
  55. package/build/types/integrations/tracing/index.d.ts.map +1 -1
  56. package/build/types-ts3.8/integrations/tracing/express-v5/enums/AttributeNames.d.ts +5 -0
  57. package/build/types-ts3.8/integrations/tracing/express-v5/enums/ExpressLayerType.d.ts +6 -0
  58. package/build/types-ts3.8/integrations/tracing/express-v5/instrumentation.d.ts +27 -0
  59. package/build/types-ts3.8/integrations/tracing/express-v5/internal-types.d.ts +38 -0
  60. package/build/types-ts3.8/integrations/tracing/express-v5/types.d.ts +39 -0
  61. package/build/types-ts3.8/integrations/tracing/express-v5/utils.d.ts +57 -0
  62. package/build/types-ts3.8/integrations/tracing/express.d.ts +3 -0
  63. package/package.json +32 -32
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/node",
3
- "version": "9.1.0",
3
+ "version": "9.2.0-alpha.0",
4
4
  "description": "Sentry Node SDK using OpenTelemetry for performance instrumentation",
5
5
  "repository": "git://github.com/getsentry/sentry-javascript.git",
6
6
  "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/node",
@@ -68,37 +68,37 @@
68
68
  "@opentelemetry/api": "^1.9.0",
69
69
  "@opentelemetry/context-async-hooks": "^1.30.1",
70
70
  "@opentelemetry/core": "^1.30.1",
71
- "@opentelemetry/instrumentation": "^0.57.1",
72
- "@opentelemetry/instrumentation-amqplib": "^0.46.0",
73
- "@opentelemetry/instrumentation-connect": "0.43.0",
74
- "@opentelemetry/instrumentation-dataloader": "0.16.0",
75
- "@opentelemetry/instrumentation-express": "0.47.0",
76
- "@opentelemetry/instrumentation-fastify": "0.44.1",
77
- "@opentelemetry/instrumentation-fs": "0.19.0",
78
- "@opentelemetry/instrumentation-generic-pool": "0.43.0",
79
- "@opentelemetry/instrumentation-graphql": "0.47.0",
80
- "@opentelemetry/instrumentation-hapi": "0.45.1",
81
- "@opentelemetry/instrumentation-http": "0.57.1",
82
- "@opentelemetry/instrumentation-ioredis": "0.47.0",
83
- "@opentelemetry/instrumentation-kafkajs": "0.7.0",
84
- "@opentelemetry/instrumentation-knex": "0.44.0",
85
- "@opentelemetry/instrumentation-koa": "0.47.0",
86
- "@opentelemetry/instrumentation-lru-memoizer": "0.44.0",
87
- "@opentelemetry/instrumentation-mongodb": "0.51.0",
88
- "@opentelemetry/instrumentation-mongoose": "0.46.0",
89
- "@opentelemetry/instrumentation-mysql": "0.45.0",
90
- "@opentelemetry/instrumentation-mysql2": "0.45.0",
91
- "@opentelemetry/instrumentation-pg": "0.51.0",
92
- "@opentelemetry/instrumentation-redis-4": "0.46.0",
93
- "@opentelemetry/instrumentation-tedious": "0.18.0",
94
- "@opentelemetry/instrumentation-undici": "0.10.0",
71
+ "@opentelemetry/instrumentation": "^0.57.2",
72
+ "@opentelemetry/instrumentation-amqplib": "^0.46.1",
73
+ "@opentelemetry/instrumentation-connect": "0.43.1",
74
+ "@opentelemetry/instrumentation-dataloader": "0.16.1",
75
+ "@opentelemetry/instrumentation-express": "0.47.1",
76
+ "@opentelemetry/instrumentation-fastify": "0.44.2",
77
+ "@opentelemetry/instrumentation-fs": "0.19.1",
78
+ "@opentelemetry/instrumentation-generic-pool": "0.43.1",
79
+ "@opentelemetry/instrumentation-graphql": "0.47.1",
80
+ "@opentelemetry/instrumentation-hapi": "0.45.2",
81
+ "@opentelemetry/instrumentation-http": "0.57.2",
82
+ "@opentelemetry/instrumentation-ioredis": "0.47.1",
83
+ "@opentelemetry/instrumentation-kafkajs": "0.7.1",
84
+ "@opentelemetry/instrumentation-knex": "0.44.1",
85
+ "@opentelemetry/instrumentation-koa": "0.47.1",
86
+ "@opentelemetry/instrumentation-lru-memoizer": "0.44.1",
87
+ "@opentelemetry/instrumentation-mongodb": "0.52.0",
88
+ "@opentelemetry/instrumentation-mongoose": "0.46.1",
89
+ "@opentelemetry/instrumentation-mysql": "0.45.1",
90
+ "@opentelemetry/instrumentation-mysql2": "0.45.2",
91
+ "@opentelemetry/instrumentation-pg": "0.51.1",
92
+ "@opentelemetry/instrumentation-redis-4": "0.46.1",
93
+ "@opentelemetry/instrumentation-tedious": "0.18.1",
94
+ "@opentelemetry/instrumentation-undici": "0.10.1",
95
95
  "@opentelemetry/resources": "^1.30.1",
96
96
  "@opentelemetry/sdk-trace-base": "^1.30.1",
97
- "@opentelemetry/semantic-conventions": "^1.28.0",
97
+ "@opentelemetry/semantic-conventions": "^1.30.0",
98
98
  "@prisma/instrumentation": "6.2.1",
99
- "@sentry/core": "9.1.0",
100
- "@sentry/opentelemetry": "9.1.0",
101
- "import-in-the-middle": "^1.12.0"
99
+ "@sentry/core": "9.2.0-alpha.0",
100
+ "@sentry/opentelemetry": "9.2.0-alpha.0",
101
+ "import-in-the-middle": "^1.13.0"
102
102
  },
103
103
  "devDependencies": {
104
104
  "@types/node": "^18.19.1"
@@ -119,9 +119,9 @@
119
119
  "clean": "rimraf build coverage sentry-node-*.tgz",
120
120
  "fix": "eslint . --format stylish --fix",
121
121
  "lint": "eslint . --format stylish",
122
- "test": "yarn test:jest",
123
- "test:jest": "jest",
124
- "test:watch": "jest --watch",
122
+ "test": "yarn test:unit",
123
+ "test:unit": "vitest run",
124
+ "test:watch": "vitest --watch",
125
125
  "yalc:publish": "yalc publish --push --sig"
126
126
  },
127
127
  "volta": {