🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

@nuxtjs/sentry

Package Overview
Dependencies
Maintainers
7
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxtjs/sentry - npm Package Compare versions

Comparing version
5.1.3
to
5.1.4
+8
-0
lib/core/hooks.js

@@ -289,1 +289,9 @@ import { resolve, posix } from 'path'

}
export async function shutdownServerSentry () {
if (process.sentry) {
await process.sentry.close()
// @ts-ignore
process.sentry = undefined
}
}
+2
-1
import consola from 'consola'
import merge from 'lodash.mergewith'
import { Handlers as SentryHandlers, captureException, withScope } from '@sentry/node'
import { buildHook, initializeServerSentry, webpackConfigHook } from './core/hooks'
import { buildHook, initializeServerSentry, shutdownServerSentry, webpackConfigHook } from './core/hooks'
import { boolToText, canInitialize, clientSentryEnabled, envToBool, serverSentryEnabled } from './core/utils'

@@ -112,2 +112,3 @@

this.nuxt.hook('ready', () => initializeServerSentry(this, options))
this.nuxt.hook('generate:done', () => shutdownServerSentry())
}

@@ -114,0 +115,0 @@

{
"name": "@nuxtjs/sentry",
"version": "5.1.3",
"version": "5.1.4",
"description": "Sentry module for Nuxt.js",

@@ -22,2 +22,3 @@ "repository": "nuxt-community/sentry-module",

"dev:fixture": "nuxt -c ./test/fixture/default/nuxt.config.js",
"dev:generate": "nuxt generate -c ./test/fixture/default/nuxt.config.js",
"lint": "eslint --ext .vue,.js,.ts lib test types",

@@ -47,5 +48,5 @@ "lint:fixture": "eslint --ext .vue,.js --no-ignore 'test/fixture/*/.nuxt/sentry.*'",

"dependencies": {
"@sentry/browser": "^6.11.0",
"@sentry/integrations": "^6.11.0",
"@sentry/node": "^6.11.0",
"@sentry/browser": "^6.13.2",
"@sentry/integrations": "^6.13.2",
"@sentry/node": "^6.13.2",
"@sentry/webpack-plugin": "^1.17.1",

@@ -56,4 +57,4 @@ "consola": "^2.15.3",

"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@babel/core": "^7.15.5",
"@babel/preset-env": "^7.15.6",
"@nuxt/types": "^2.15.8",

@@ -64,16 +65,16 @@ "@nuxtjs/eslint-config-typescript": "^6.0.1",

"@types/consola": "^2.2.5",
"@types/jest": "^27.0.1",
"@types/jest": "^27.0.2",
"@types/lodash.mergewith": "^4.6.6",
"@types/node": "^14.17.11",
"@types/node": "^14.17.20",
"@types/request-promise-native": "^1.0.18",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.0.6",
"babel-jest": "^27.2.4",
"codecov": "^3.8.3",
"eslint": "^7.32.0",
"jest": "^27.0.6",
"jest": "^27.2.4",
"nuxt": "^2.15.8",
"playwright-chromium": "^1.14.1",
"release-it": "^14.11.5",
"typescript": "^4.3.5"
"playwright-chromium": "^1.15.1",
"release-it": "^14.11.6",
"typescript": "^4.4.3"
},

@@ -80,0 +81,0 @@ "publishConfig": {