Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@micro-sentry/breadcrumbs-plugin
Advanced tools
Readme
@micro-sentry is a tiny sentry client to monitor your applications without raising your bundle size.
👜 It is small. So, it is at most 2.27 kB (gzip) in size instead of default 85.1 kB (gzip), yet it retains all the the essential functionality.
🛠 It is easy to set up. There is a lightweight wrapper for Angular and a browser tool for other frameworks or vanilla.
Check out all the core functionality here.
Angular:
Micro-sentry version | Angular version |
---|---|
>= 6 | >= 14 |
>= 5 | >= 13 |
>= 4 | >= 12 |
>= 3 | >= 11 |
>= 2 | >= 10 |
npm i @micro-sentry/angular
Other:
npm i @micro-sentry/browser
[!NOTE] since version @micro-sentry/browser@7 breadcrumbs-plugin is a separate package
npm i @micro-sentry/breadcrumbs-plugin
You can use provide api in standalone applications:
import { provideMicroSentry } from '@micro-sentry/angular';
bootstrapApplication(AppComponent, {
providers: [
provideMicroSentry({
dsn: 'https://kj12kj1n23@sentry.domain.com/123',
}),
],
});
Or add it into app.module.ts
of your application:
import { MicroSentryModule } from '@micro-sentry/angular';
@NgModule({
imports: [
// options 1: via module
MicroSentryModule.forRoot({
dsn: 'https://kj12kj1n23@sentry.domain.com/123',
}),
],
providers: [
// option 2: via provide
provideMicroSentry({
dsn: 'https://kj12kj1n23@sentry.domain.com/123',
}),
],
})
export class AppModule {}
If you do not use Angular framework, you can install @micro-sentry/browser
module to create client manually.
const client = new BrowserMicroSentryClient({
dsn: 'https://kj12kj1n23@sentry.domain.com/123',
});
try {
// your app code
} catch (e) {
client.report(e);
}
This list encapsulates the key functionalities supported by micro-sentry, emphasizing its focus on essential error tracking and management.
Igor Katsuba |
Roman Sedov |
🆓 Feel free to use our library in your commercial and private applications
All micro-sentry packages are covered by Apache 2.0
Read more about this license here
FAQs
[![npm version](https://img.shields.io/npm/v/@micro-sentry/angular.svg)](https://npmjs.com/package/@micro-sentry/angular)
The npm package @micro-sentry/breadcrumbs-plugin receives a total of 87 weekly downloads. As such, @micro-sentry/breadcrumbs-plugin popularity was classified as not popular.
We found that @micro-sentry/breadcrumbs-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.