Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@sentry/integrations
Advanced tools
The @sentry/integrations package provides a collection of official integrations for Sentry, which is an error tracking and performance monitoring platform. These integrations extend the functionality of Sentry by connecting it with other services and tools, enhancing error reporting, and providing additional context for debugging.
Redux Integration
This integration captures actions and state from the Redux library, providing a detailed snapshot of the application state at the time of an error.
import * as Sentry from '@sentry/react';
import { Integrations } from '@sentry/integrations';
Sentry.init({
dsn: 'YOUR_DSN',
integrations: [new Integrations.BrowserTracing(), new Integrations.Redux({})]
});
Vue Integration
This integration hooks into the Vue.js framework to capture errors and provide enhanced error reporting with additional context specific to Vue applications.
import * as Sentry from '@sentry/vue';
import { Integrations } from '@sentry/integrations';
Sentry.init({
dsn: 'YOUR_DSN',
integrations: [new Integrations.BrowserTracing()],
Vue: Vue
});
Dedupe Integration
The Dedupe integration helps prevent sending duplicate error events to Sentry. It is useful for reducing noise and conserving event quota.
import * as Sentry from '@sentry/browser';
import { Dedupe } from '@sentry/integrations';
Sentry.init({
dsn: 'YOUR_DSN',
integrations: [new Dedupe()]
});
Bugsnag provides error monitoring for web, mobile, and server applications. Similar to Sentry, it offers real-time error reporting and allows for custom integrations. However, it is a separate service with its own set of integrations and SDKs.
Rollbar offers real-time error tracking and crash reporting for web applications. Like Sentry, it includes features for monitoring, alerting, and analytics. Rollbar has its own set of integrations and SDKs, which are different from those provided by Sentry.
Raygun provides crash reporting, real user monitoring, and user tracking. It is an alternative to Sentry with its own set of features and integrations. Raygun's focus is on providing insights into the user experience and performance issues.
This package was discontinued with version 8.0.0 of the Sentry JavaScript SDKs. All integrations from this package are
now directly exported from the SDK packages like @sentry/react
or @sentry/node
. For more information have a look at
the migration guide for
client- and
server-side
SDKs.
Pluggable integrations that can be used to enhance JS SDKs.
All of the integrations can also be found on our CDN e.g.:
Angular integration: https://browser.sentry-cdn.com/5.0.0/angular.min.js
Please make sure to always to match the version of the integration with the version of the JS SDK you are loading.
FAQs
Pluggable integrations that can be used to enhance JS SDKs
We found that @sentry/integrations demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 11 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.