birchill / bugsnag-zero Goto Github PK
View Code? Open in Web Editor NEWLightweight Bugsnag client
License: MIT License
Lightweight Bugsnag client
License: MIT License
I noticed the official client now has this: https://github.com/bugsnag/bugsnag-js/blob/bc61c6e3a06512982384d4a4d7ede88968aec18b/packages/core/event.js#L202-L213
When set to true, options’s passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.
This is usually done for scroll/touch events, but I imagine it should be fine to set for click
event too.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
This repository currently has no open or pending branches.
.github/workflows/tests.yml
actions/checkout v4
actions/setup-node v4.0.2
package.json
ua-parser-js ^1.0.32
@rollup/plugin-typescript 11.1.6
@types/aws-lambda 8.10.133
@types/node 20.11.19
@types/ua-parser-js 0.7.39
husky 9.0.11
lint-staged 15.2.2
pinst 3.0.0
prettier 3.2.5
rollup 4.11.0
standard-version 9.5.0
tslib 2.6.2
typescript 5.3.3
vitest 1.2.2
vitest-github-actions-reporter 0.11.1
.nvmrc
fetch(new URL('/', location.href))
It throws here because url
is undefined:
bugsnag-zero/src/fetch-breadcrumbs.ts
Line 69 in 3828de7
It will fail for Request
objects too.
I'm getting this error reported from Firefox 115. It's try-caught here:
bugsnag-zero/src/to-exception.ts
Lines 123 to 130 in bcb3a6a
However it seems that it still gets reported to bugsnag anyway. I am not sure what the repro for this is though.
Hi!
Are there any plans for adding custom endpoints? or maybe some workarounds?
We've been using bugsnag-js
till now and were forced to use custom endpoints due to GDPR (we don't send data directly to Bugsnag and use our server as a proxy of sort, strip any personal data out of the request and forward it to Bugsnag). Recently, we started working on reducing our app's bundle size and found out bugsnag-js
is the second after react-dom
in terms of bundle size.
Thank you for your work on this library. It'd be really cool if we could replace bugsnag-js with bugsnag-zero
.
See #109 (comment) onwards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.