@nuxtjs/sentry
Advanced tools
| import merge from 'lodash.mergewith' | ||
| // @ts-ignore | ||
| import { relativeTo } from '@nuxt/utils' | ||
| import * as Integrations from '@sentry/integrations' | ||
| import { canInitialize } from './utils' | ||
| export const PLUGGABLE_INTEGRATIONS = ['CaptureConsole', 'Debug', 'Dedupe', 'ExtraErrorData', 'ReportingObserver', 'RewriteFrames'] | ||
| export const PLUGGABLE_INTEGRATIONS = ['CaptureConsole', 'Debug', 'Dedupe', 'ExtraErrorData', 'HttpClient', 'ReportingObserver', 'RewriteFrames'] | ||
| export const BROWSER_INTEGRATIONS = ['InboundFilters', 'FunctionToString', 'TryCatch', 'Breadcrumbs', 'GlobalHandlers', 'LinkedErrors', 'HttpContext'] | ||
@@ -127,2 +129,3 @@ const SERVER_INTEGRATIONS = ['CaptureConsole', 'Debug', 'Dedupe', 'ExtraErrorData', 'RewriteFrames', 'Modules', 'Transaction'] | ||
| clientConfigPath = moduleContainer.nuxt.resolver.resolveAlias(options.clientConfig) | ||
| clientConfigPath = relativeTo(moduleContainer.options.buildDir, clientConfigPath) | ||
| } else { | ||
@@ -147,2 +150,3 @@ options.config = merge(options.config, options.clientConfig) | ||
| customClientIntegrations = moduleContainer.nuxt.resolver.resolveAlias(options.customClientIntegrations) | ||
| customClientIntegrations = relativeTo(moduleContainer.options.buildDir, customClientIntegrations) | ||
| } else { | ||
@@ -149,0 +153,0 @@ logger.warn(`Invalid customClientIntegrations option. Expected a file path, got "${typeof (options.customClientIntegrations)}".`) |
@@ -0,1 +1,2 @@ | ||
| /* eslint-disable import/order */ | ||
| import Vue from 'vue' | ||
@@ -2,0 +3,0 @@ import merge from '~lodash.mergewith' |
@@ -85,3 +85,3 @@ import Vue from 'vue' | ||
| <% if (options.dev) { %> | ||
| console.warn(`$sentryLoad was called but window.<%= globals.nuxt %> is not available, delaying sentry loading until onNuxtReady callback. Do you really need to use lazy loading for Sentry?`) | ||
| console.warn('$sentryLoad was called but window.<%= globals.nuxt %> is not available, delaying sentry loading until onNuxtReady callback. Do you really need to use lazy loading for Sentry?') | ||
| <% } %> | ||
@@ -88,0 +88,0 @@ <% if (options.lazy.injectLoadHook) { %> |
+16
-15
| { | ||
| "name": "@nuxtjs/sentry", | ||
| "version": "7.0.4", | ||
| "version": "7.1.1", | ||
| "description": "Sentry module for Nuxt.js", | ||
@@ -55,30 +55,31 @@ "repository": "nuxt-community/sentry-module", | ||
| "dependencies": { | ||
| "@sentry/integrations": "^7.37.2", | ||
| "@sentry/node": "^7.37.2", | ||
| "@sentry/vue": "^7.37.2", | ||
| "@nuxt/utils": "2.x", | ||
| "@sentry/integrations": "^7.39.0", | ||
| "@sentry/node": "^7.39.0", | ||
| "@sentry/vue": "^7.39.0", | ||
| "consola": "^2.15.3", | ||
| "lodash.mergewith": "^4.6.2", | ||
| "mlly": "^1.0.0" | ||
| "mlly": "^1.1.1" | ||
| }, | ||
| "devDependencies": { | ||
| "@babel/core": "^7.20.12", | ||
| "@babel/core": "^7.21.0", | ||
| "@babel/preset-env": "^7.20.2", | ||
| "@nuxt/types": "^2.15.8", | ||
| "@nuxt/types": "^2.16.0", | ||
| "@nuxtjs/eslint-config-typescript": "^12.0.0", | ||
| "@nuxtjs/module-test-utils": "^1.6.3", | ||
| "@release-it/conventional-changelog": "^5.1.1", | ||
| "@sentry/tracing": "^7.37.2", | ||
| "@sentry/tracing": "^7.39.0", | ||
| "@sentry/webpack-plugin": "^1.20.0", | ||
| "@types/jest": "^29.2.5", | ||
| "@types/jest": "^29.4.0", | ||
| "@types/lodash.mergewith": "^4.6.7", | ||
| "@types/node": "^16.18.11", | ||
| "@types/node": "^16.18.13", | ||
| "@types/request-promise-native": "^1.0.18", | ||
| "babel-core": "^7.0.0-bridge.0", | ||
| "babel-jest": "^29.3.1", | ||
| "babel-jest": "^29.4.3", | ||
| "codecov": "^3.8.3", | ||
| "eslint": "^8.31.0", | ||
| "eslint": "^8.35.0", | ||
| "eslint-plugin-jest": "^27.2.1", | ||
| "jest": "^29.3.1", | ||
| "nuxt": "^2.15.8", | ||
| "playwright-chromium": "^1.29.2", | ||
| "jest": "^29.4.3", | ||
| "nuxt": "^2.16.1", | ||
| "playwright-chromium": "^1.31.1", | ||
| "release-it": "^15.6.0", | ||
@@ -85,0 +86,0 @@ "sentry-testkit": "^5.0.5", |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 10 instances in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 10 instances in 1 package
45369
0.71%988
0.51%7
16.67%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
Updated
Updated
Updated
Updated