@nuxtjs/sentry
Advanced tools
+1
-1
| { | ||
| "name": "@nuxtjs/sentry", | ||
| "configKey": "sentry", | ||
| "version": "7.3.1" | ||
| "version": "7.4.0" | ||
| } |
+1
-1
@@ -208,3 +208,3 @@ import { fileURLToPath } from 'url'; | ||
| const BROWSER_INTEGRATIONS = ["Breadcrumbs", "Dedupe", "FunctionToString", "GlobalHandlers", "HttpContext", "InboundFilters", "LinkedErrors", "TryCatch"]; | ||
| const BROWSER_PLUGGABLE_INTEGRATIONS = ["CaptureConsole", "Debug", "ExtraErrorData", "HttpClient", "ReportingObserver", "RewriteFrames"]; | ||
| const BROWSER_PLUGGABLE_INTEGRATIONS = ["CaptureConsole", "ContextLines", "Debug", "ExtraErrorData", "HttpClient", "ReportingObserver", "RewriteFrames"]; | ||
| const BROWSER_VUE_INTEGRATIONS = ["Replay"]; | ||
@@ -211,0 +211,0 @@ const SERVER_INTEGRATIONS = ["Console", "ContextLines", "FunctionToString", "Http", "InboundFilters", "LinkedErrors", "LocalVariables", "Modules", "OnUncaughtException", "OnUnhandledRejection", "RequestData"]; |
| import Vue from 'vue' | ||
| <% if (options.lazy.injectMock) { %> | ||
| /* eslint-disable-next-line quotes, comma-spacing */ | ||
| const API_METHODS = <%= JSON.stringify(options.lazy.mockApiMethods)%> | ||
| let delayedCalls = [] | ||
@@ -44,5 +46,3 @@ let SentryMock = {} | ||
| <% if (options.lazy.injectMock) { %> | ||
| /* eslint-disable-next-line quotes, comma-spacing */ | ||
| const apiMethods = <%= JSON.stringify(options.lazy.mockApiMethods)%> | ||
| apiMethods.forEach((key) => { | ||
| API_METHODS.forEach((key) => { | ||
| SentryMock[key] = (...args) => delayedCalls.push([key, args]) | ||
@@ -145,4 +145,8 @@ }) | ||
| <% if (options.lazy.injectMock) { %> | ||
| // Dont unset delayedCalls & SentryMock during | ||
| // development, this will cause HMR issues | ||
| // Avoid crashes in case the reference to the mocked object is being used after the actual Sentry instance has loaded. | ||
| API_METHODS.forEach((key) => { | ||
| SentryMock[key] = (...args) => SentrySdk[key].apply(SentrySdk, args) | ||
| }) | ||
| // Dont unset delayedCalls & SentryMock during development - this will cause HMR issues. | ||
| <% if (!options.dev) { %> | ||
@@ -149,0 +153,0 @@ delayedCalls = undefined |
+22
-22
| { | ||
| "name": "@nuxtjs/sentry", | ||
| "version": "7.3.1", | ||
| "version": "7.4.0", | ||
| "description": "Sentry module for Nuxt.js", | ||
@@ -62,29 +62,29 @@ "repository": "nuxt-community/sentry-module", | ||
| "dependencies": { | ||
| "@sentry/core": "^7.57.0", | ||
| "@sentry/integrations": "^7.57.0", | ||
| "@sentry/node": "^7.57.0", | ||
| "@sentry/utils": "^7.57.0", | ||
| "@sentry/vue": "^7.57.0", | ||
| "consola": "^3.0.0", | ||
| "defu": "^6.0.0", | ||
| "@sentry/core": "^7.63.0", | ||
| "@sentry/integrations": "^7.63.0", | ||
| "@sentry/node": "^7.63.0", | ||
| "@sentry/utils": "^7.63.0", | ||
| "@sentry/vue": "^7.63.0", | ||
| "consola": "^3.2.3", | ||
| "defu": "^6.1.2", | ||
| "hash-sum": "^2.0.0", | ||
| "lodash.mergewith": "^4.6.2", | ||
| "mlly": "^1.0.0", | ||
| "pathe": "^1.0.0" | ||
| "mlly": "^1.4.0", | ||
| "pathe": "^1.1.1" | ||
| }, | ||
| "devDependencies": { | ||
| "@nuxt/module-builder": "0.4.0", | ||
| "@nuxt/types": "2.17.0", | ||
| "@nuxt/types": "2.17.1", | ||
| "@nuxtjs/eslint-config-typescript": "12.0.0", | ||
| "@nuxtjs/module-test-utils": "1.6.3", | ||
| "@release-it/conventional-changelog": "6.0.0", | ||
| "@sentry/profiling-node": "^1.0.7", | ||
| "@release-it/conventional-changelog": "7.0.0", | ||
| "@sentry/profiling-node": "^1.1.2", | ||
| "@sentry/webpack-plugin": "1.20.1", | ||
| "@size-limit/file": "^8.2.4", | ||
| "@size-limit/file": "^8.2.6", | ||
| "@types/hash-sum": "1.0.0", | ||
| "@types/lodash.mergewith": "4.6.7", | ||
| "@types/node": "16.18.38", | ||
| "@types/node": "16.18.40", | ||
| "@types/request-promise-native": "^1.0.18", | ||
| "codecov": "3.8.3", | ||
| "eslint": "8.44.0", | ||
| "eslint": "8.46.0", | ||
| "globby": "11.1.0", | ||
@@ -95,10 +95,10 @@ "hookable": "5.5.3", | ||
| "npm-run-all": "^4.1.5", | ||
| "nuxt": "2.17.0", | ||
| "playwright-chromium": "1.35.1", | ||
| "release-it": "15.11.0", | ||
| "sass": "1.63.6", | ||
| "nuxt": "2.17.1", | ||
| "playwright-chromium": "1.37.0", | ||
| "release-it": "16.1.4", | ||
| "sass": "1.65.1", | ||
| "sentry-testkit": "5.0.5", | ||
| "size-limit": "^8.2.4", | ||
| "size-limit": "^8.2.6", | ||
| "typescript": "5.1.6", | ||
| "vitest": "^0.32.0", | ||
| "vitest": "^0.34.1", | ||
| "vue": "2.7.14", | ||
@@ -105,0 +105,0 @@ "vuex": "3.6.2" |
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
47687
0.51%1100
0.27%Updated
Updated
Updated
Updated
Updated
Updated
Updated
Updated
Updated