
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@bitsler/sentry
Advanced tools
Sentry module for Nuxt.js
The module enables error logging through Sentry.
public_key and private_key options, since the updated Sentry packages don't support these anymore.@nuxtjs/sentry dependency using yarn or npm to your project@nuxtjs/sentry to modules section of nuxt.config.js{
modules: [
'@nuxtjs/sentry',
],
sentry: {
dsn: '', // Enter your project's DSN here
config: {}, // Additional config
}
}
Versions of NuxtJS before v2.4.0 are not supported by this package.
Enter your DSN in the NuxtJS config file. Additional config settings can be found here.
In a Vue component, Sentry is available as this.$sentry, so we can call functions like
this.$sentry.captureException(new Error('example'))
where this is a Vue instance.
Options can be passed using either environment variables or sentry section in nuxt.config.js.
Normally setting required DSN information would be enough.
String
process.env.SENTRY_DSN || falsedsn is provided, Sentry will be initialised, but errors will not be logged. See #47 for more information about this.Boolean
process.env.SENTRY_DISABLED || falsetrue.Boolean
process.env.SENTRY_DISABLE_CLIENT_SIDE || falseBoolean
process.env.SENTRY_DISABLE_SERVER_SIDE || falseBoolean
process.env.SENTRY_INITIALIZE || trueBoolean
process.env.SENTRY_PUBLISH_RELEASE || falseBoolean
process.env.SENTRY_DISABLE_SERVER_RELEASE || falseBoolean
process.env.SENTRY_DISABLE_CLIENT_RELEASE || falseDictionary
{
Dedupe: {},
ExtraErrorData: {},
ReportingObserver: {},
RewriteFrames: {},
Vue: {attachProps: true}
}
Dictionary
{
Dedupe: {},
ExtraErrorData: {},
RewriteFrames: {},
Transaction: {}
}
Object
{ environment: this.options.dev ? 'development' : 'production' }Object
{ }Object
{ }Support for the sentry-webpack-plugin was introduced #a6cd8d3. This can be used to send releases to Sentry. Use the publishRelease option to enable this feature.
Note that releases are only submitted to Sentry when (options.publishRelease && !isDev) is true.
Copyright (c) Diederik van den Burger diederik@glue.group
FAQs
Sentry module for Nuxt.js
The npm package @bitsler/sentry receives a total of 14 weekly downloads. As such, @bitsler/sentry popularity was classified as not popular.
We found that @bitsler/sentry demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.