Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add sentry error monitoring integration #43

Merged
merged 1 commit into from
Dec 24, 2024

Conversation

abhisek
Copy link
Member

@abhisek abhisek commented Dec 23, 2024

Add setry.io SDK integration for error monitoring in production.

Copy link

vercel bot commented Dec 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
platform-safedep-io ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2024 6:14pm

Copy link

vet Summary Report

This report is generated by vet

Policy Checks

  • ✅ Vulnerability
  • ✅ Malware
  • ✅ License
  • ❌ Popularity
  • ❌ Maintenance
  • ✅ Security Posture
  • ❌ Threats

Threats

LockfilePoisoning

  • ⚠️ Found in manifest package-lock.json, Package wrap-ansi-cjs resolved to an URL https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz that does not follow the package name path convention. Refer to this for more details
  • ⚠️ Found in manifest package-lock.json, Package string-width-cjs resolved to an URL https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz that does not follow the package name path convention. Refer to this for more details
  • ⚠️ Found in manifest package-lock.json, Package strip-ansi-cjs resolved to an URL https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz that does not follow the package name path convention. Refer to this for more details
Changed Packages

Changed Packages

  • ⚠️ [Npm] xtend@4.0.2
  • ✅ [Npm] @sentry/opentelemetry@8.47.0
  • ⚠️ [Npm] node-fetch@2.7.0
  • ✅ [Npm] @webassemblyjs/wasm-edit@1.14.1
  • ✅ [Npm] @rollup/plugin-commonjs@28.0.1
  • ✅ [Npm] @sentry/webpack-plugin@2.22.7
  • ⚠️ [Npm] webidl-conversions@3.0.1
  • ⚠️ [Npm] pg-int8@1.0.1
  • ✅ [Npm] uuid@9.0.1
  • ✅ [Npm] commondir@1.0.1
  • ✅ [Npm] @opentelemetry/instrumentation-mysql@0.44.0
  • ✅ [Npm] @webassemblyjs/helper-wasm-bytecode@1.13.2
  • ✅ [Npm] commander@2.20.3
  • ✅ [Npm] @opentelemetry/instrumentation-kafkajs@0.6.0
  • ✅ [Npm] @sentry/vercel-edge@8.47.0
  • ✅ [Npm] @opentelemetry/instrumentation@0.56.0
  • ✅ [Npm] webpack-virtual-modules@0.5.0
  • ✅ [Npm] @opentelemetry/instrumentation-ioredis@0.46.0
  • ✅ [Npm] webpack-sources@3.2.3
  • ✅ [Npm] terser-webpack-plugin@5.3.11
  • ✅ [Npm] @opentelemetry/instrumentation-tedious@0.17.0
  • ⚠️ [Npm] json-schema-traverse@1.0.0
  • ✅ [Npm] type-fest@0.7.1
  • ✅ [Npm] @types/pg-pool@2.0.6
  • ✅ [Npm] @opentelemetry/api-logs@0.53.0
  • ✅ [Npm] @opentelemetry/core@1.29.0
  • ✅ [Npm] @opentelemetry/core@1.30.0
  • ✅ [Npm] terser@5.37.0
  • ✅ [Npm] tr46@0.0.3
  • ✅ [Npm] @webassemblyjs/leb128@1.13.2
  • ✅ [Npm] @sentry/node@8.47.0
  • ✅ [Npm] @opentelemetry/instrumentation-express@0.46.0
  • ⚠️ [Npm] postgres-array@2.0.0
  • ✅ [Npm] @types/shimmer@1.2.0
  • ✅ [Npm] @opentelemetry/instrumentation-koa@0.46.0
  • ✅ [Npm] @webassemblyjs/helper-numbers@1.13.2
  • ✅ [Npm] @opentelemetry/resources@1.30.0
  • ✅ [Npm] @opentelemetry/instrumentation-graphql@0.46.0
  • ⚠️ [Npm] neo-async@2.6.2
  • ✅ [Npm] @sentry/bundler-plugin-core@2.22.7
  • ✅ [Npm] @webassemblyjs/wasm-gen@1.14.1
  • ✅ [Npm] webpack@5.97.1
  • ✅ [Npm] @opentelemetry/semantic-conventions@1.27.0
  • ✅ [Npm] @types/connect@3.4.36
  • ⚠️ [Npm] shimmer@1.2.1
  • ✅ [Npm] @opentelemetry/sql-common@0.40.1
  • ✅ [Npm] @sentry/cli-linux-arm@2.39.1
  • ✅ [Npm] @types/eslint-scope@3.7.7
  • ✅ [Npm] @sentry-internal/replay-canvas@8.47.0
  • ✅ [Npm] @rollup/pluginutils@5.1.4
  • ✅ [Npm] glob@9.3.5
  • ✅ [Npm] schema-utils@3.3.0
  • ⚠️ [Npm] require-from-string@2.0.2
  • ⚠️ [Npm] ajv-formats@2.1.1
  • ✅ [Npm] watchpack@2.4.2
  • ✅ [Npm] @webassemblyjs/wasm-parser@1.14.1
  • ✅ [Npm] acorn-import-attributes@1.9.5
  • ✅ [Npm] @opentelemetry/instrumentation-dataloader@0.15.0
  • ⚠️ [Npm] estree-walker@2.0.2
  • ✅ [Npm] @types/tedious@4.0.14
  • ✅ [Npm] @sentry/browser@8.47.0
  • ⚠️ [Npm] eslint-scope@5.1.1
  • ✅ [Npm] @webassemblyjs/helper-wasm-section@1.14.1
  • ✅ [Npm] @webassemblyjs/helper-buffer@1.14.1
  • ✅ [Npm] @opentelemetry/instrumentation-fastify@0.43.0
  • ✅ [Npm] @opentelemetry/instrumentation-mysql2@0.44.0
  • ⚠️ [Npm] postgres-interval@1.2.0
  • ⚠️ [Npm] source-map-support@0.5.21
  • ⚠️ [Npm] safe-buffer@5.2.1
  • ✅ [Npm] magic-string@0.30.17
  • ✅ [Npm] @opentelemetry/context-async-hooks@1.30.0
  • ✅ [Npm] schema-utils@4.3.0
  • ⚠️ [Npm] glob-to-regexp@0.4.1
  • ✅ [Npm] @opentelemetry/api-logs@0.56.0
  • ⚠️ [Npm] stacktrace-parser@0.1.10
  • ✅ [Npm] @sentry/cli@2.39.1
  • ✅ [Npm] @types/estree@1.0.6
  • ✅ [Npm] es-module-lexer@1.5.4
  • ✅ [Npm] @webassemblyjs/helper-api-error@1.13.2
  • ✅ [Npm] @types/mysql@2.15.26
  • ⚠️ [Npm] @jridgewell/source-map@0.3.6
  • ⚠️ [Npm] postgres-bytea@1.0.0
  • ✅ [Npm] @opentelemetry/instrumentation-undici@0.9.0
  • ✅ [Npm] fdir@6.4.2
  • ✅ [Npm] fast-uri@3.0.3
  • ✅ [Npm] @sentry/cli-win32-i686@2.39.1
  • ⚠️ [Npm] hoist-non-react-statics@3.3.2
  • ⚠️ [Npm] @xtuc/long@4.2.2
  • ✅ [Npm] @opentelemetry/instrumentation-nestjs-core@0.43.0
  • ✅ [Npm] @opentelemetry/redis-common@0.36.2
  • ✅ [Npm] pg-protocol@1.7.0
  • ✅ [Npm] jest-worker@27.5.1
  • ⚠️ [Npm] pg-types@2.2.0
  • ✅ [Npm] @opentelemetry/instrumentation-mongodb@0.50.0
  • ✅ [Npm] @opentelemetry/instrumentation-generic-pool@0.42.0
  • ✅ [Npm] ajv@8.17.1
  • ✅ [Npm] @sentry/cli-linux-arm64@2.39.1
  • ✅ [Npm] @sentry-internal/replay@8.47.0
  • ✅ [Npm] magic-string@0.30.8
  • ✅ [Npm] @webassemblyjs/wasm-opt@1.14.1
  • ⚠️ [Npm] module-details-from-path@1.0.3
  • ⚠️ [Npm] require-in-the-middle@7.4.0
  • ⚠️ [Npm] minimatch@8.0.4
  • ✅ [Npm] @types/json-schema@7.0.15
  • ✅ [Npm] @opentelemetry/instrumentation-amqplib@0.45.0
  • ✅ [Npm] @opentelemetry/instrumentation-fs@0.18.0
  • ✅ [Npm] @opentelemetry/instrumentation-hapi@0.44.0
  • ⚠️ [Npm] ajv-keywords@3.5.2
  • ✅ [Npm] @opentelemetry/instrumentation-mongoose@0.45.0
  • ✅ [Npm] @opentelemetry/semantic-conventions@1.28.0
  • ⚠️ [Npm] loader-runner@4.3.0
  • ✅ [Npm] whatwg-url@5.0.0
  • ✅ [Npm] import-in-the-middle@1.12.0
  • ✅ [Npm] @sentry-internal/browser-utils@8.47.0
  • ✅ [Npm] @opentelemetry/instrumentation-redis-4@0.45.0
  • ✅ [Npm] @sentry/cli-win32-x64@2.39.1
  • ⚠️ [Npm] @xtuc/ieee754@1.2.0
  • ⚠️ [Npm] postgres-date@1.0.7
  • ✅ [Npm] @sentry/core@8.47.0
  • ✅ [Npm] @sentry-internal/feedback@8.47.0
  • ✅ [Npm] @webassemblyjs/utf8@1.13.2
  • ✅ [Npm] @prisma/instrumentation@5.22.0
  • ⚠️ [Npm] minipass@4.2.8
  • ✅ [Npm] @webassemblyjs/wast-printer@1.14.1
  • ✅ [Npm] rollup@3.29.5
  • ✅ [Npm] unplugin@1.0.1
  • ✅ [Npm] serialize-javascript@6.0.2
  • ✅ [Npm] @opentelemetry/sdk-trace-base@1.30.0
  • ✅ [Npm] @opentelemetry/instrumentation@0.53.0
  • ⚠️ [Npm] events@3.3.0
  • ✅ [Npm] @webassemblyjs/floating-point-hex-parser@1.13.2
  • ✅ [Npm] @opentelemetry/instrumentation-lru-memoizer@0.43.0
  • ✅ [Npm] @types/pg@8.6.1
  • ✅ [Npm] @opentelemetry/instrumentation-http@0.56.0
  • ✅ [Npm] @webassemblyjs/ast@1.14.1
  • ⚠️ [Npm] forwarded-parse@2.1.2
  • ⚠️ [Npm] picomatch@4.0.2
  • ✅ [Npm] @opentelemetry/instrumentation-pg@0.49.0
  • ✅ [Npm] @opentelemetry/api@1.9.0
  • ✅ [Npm] @types/eslint@9.6.1
  • ✅ [Npm] @opentelemetry/instrumentation-knex@0.43.0
  • ⚠️ [Npm] chrome-trace-event@1.0.4
  • ⚠️ [Npm] estraverse@4.3.0
  • ⚠️ [Npm] ajv-keywords@5.1.0
  • ✅ [Npm] dotenv@16.4.7
  • ✅ [Npm] @sentry/cli-linux-x64@2.39.1
  • ✅ [Npm] @webassemblyjs/ieee754@1.13.2
  • ✅ [Npm] @sentry/babel-plugin-component-annotate@2.22.7
  • ✅ [Npm] is-reference@1.2.1
  • ✅ [Npm] @opentelemetry/instrumentation-connect@0.42.0
  • ⚠️ [Npm] proxy-from-env@1.1.0
  • ⚠️ [Npm] progress@2.0.3
  • ⚠️ [Npm] randombytes@2.1.0
  • ✅ [Npm] @sentry/cli-darwin@2.39.1
  • ✅ [Npm] @sentry/react@8.47.0
  • ✅ [Npm] @sentry/cli-linux-i686@2.39.1
  • ✅ [Npm] @sentry/nextjs@8.47.0
Policy Violations

Packages Violating Policy

[Npm] xtend@4.0.2 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] node-fetch@2.7.0 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] webidl-conversions@3.0.1 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] pg-int8@1.0.1 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component popularity is low by Github stars count
  • ⚡ Use an alternative package that is popular

[Npm] json-schema-traverse@1.0.0 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] postgres-array@2.0.0 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] neo-async@2.6.2 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] shimmer@1.2.1 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] require-from-string@2.0.2 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] ajv-formats@2.1.1 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] estree-walker@2.0.2 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] eslint-scope@5.1.1 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] postgres-interval@1.2.0 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] source-map-support@0.5.21 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] safe-buffer@5.2.1 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] glob-to-regexp@0.4.1 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] stacktrace-parser@0.1.10 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] @jridgewell/source-map@0.3.6 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] postgres-bytea@1.0.0 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] hoist-non-react-statics@3.3.2 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] @xtuc/long@4.2.2 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] pg-types@2.2.0 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] module-details-from-path@1.0.3 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component popularity is low by Github stars count
  • ⚡ Use an alternative package that is popular

[Npm] require-in-the-middle@7.4.0 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] minimatch@8.0.4 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] ajv-keywords@3.5.2 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] loader-runner@4.3.0 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] @xtuc/ieee754@1.2.0 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] postgres-date@1.0.7 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] minipass@4.2.8 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] events@3.3.0 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] forwarded-parse@2.1.2 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] picomatch@4.0.2 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] chrome-trace-event@1.0.4 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] estraverse@4.3.0 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] ajv-keywords@5.1.0 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] proxy-from-env@1.1.0 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] progress@2.0.3 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

[Npm] randombytes@2.1.0 🔗

  • ➡️ Found in manifest package-lock.json
  • ⚠️ Component appears to be unmaintained

@abhisek
Copy link
Member Author

abhisek commented Dec 24, 2024

Threats

LockfilePoisoning

  • ⚠️ Found in manifest package-lock.json, Package wrap-ansi-cjs resolved to an URL https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz that does not follow the package name path convention. Refer to this for more details
  • ⚠️ Found in manifest package-lock.json, Package string-width-cjs resolved to an URL https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz that does not follow the package name path convention. Refer to this for more details
  • ⚠️ Found in manifest package-lock.json, Package strip-ansi-cjs resolved to an URL https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz that does not follow the package name path convention. Refer to this for more details

Changed Packages
Policy Violations

@insaaniManav This is a bug that we have in vet. I filed it at safedep/vet#300 May be you can assign it to yourself as a lower priority issue to look at when you start

@kunaldevxxx kunaldevxxx self-assigned this Dec 24, 2024
@kunaldevxxx kunaldevxxx self-requested a review December 24, 2024 06:46
@abhisek abhisek merged commit d0018c2 into main Dec 24, 2024
5 of 6 checks passed
@abhisek abhisek deleted the feat/sentry-integration branch December 24, 2024 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants