@nuxtjs/sentry
Advanced tools
+14
-0
@@ -5,2 +5,16 @@ # Changelog | ||
| ### [3.3.1](https://github.com/nuxt-community/sentry-module/compare/v3.3.0...v3.3.1) (2020-03-06) | ||
| ## [3.3.0](https://github.com/nuxt-community/sentry-module/compare/v3.2.4...v3.3.0) (2020-02-27) | ||
| ### Features | ||
| * add sourceMapStyle option ([#158](https://github.com/nuxt-community/sentry-module/issues/158)) ([450bf75](https://github.com/nuxt-community/sentry-module/commit/450bf75f6586877f618bc7ad2a0e560e3d3fc861)), closes [#157](https://github.com/nuxt-community/sentry-module/issues/157) | ||
| ### Bug Fixes | ||
| * **deps:** update Sentry dependencies to v5.12.5 ([#154](https://github.com/nuxt-community/sentry-module/issues/154)) ([34203a6](https://github.com/nuxt-community/sentry-module/commit/34203a6cf981e8e6b2daaeea4b0acd3957df15f5)) | ||
| ### [3.2.4](https://github.com/nuxt-community/sentry-module/compare/v3.2.3...v3.2.4) (2020-02-14) | ||
@@ -7,0 +21,0 @@ |
+2
-1
@@ -24,2 +24,3 @@ import { resolve, join } from 'path' | ||
| attachCommits: process.env.SENTRY_AUTO_ATTACH_COMMITS || false, | ||
| sourceMapStyle: 'source-map', | ||
| repo: process.env.SENTRY_RELEASE_REPO || false, | ||
@@ -172,3 +173,3 @@ clientIntegrations: { | ||
| config.devtool = 'source-map' | ||
| config.devtool = options.sourceMapStyle | ||
@@ -175,0 +176,0 @@ // when not in spa mode upload only at server build |
+9
-8
| { | ||
| "name": "@nuxtjs/sentry", | ||
| "version": "3.2.4", | ||
| "version": "3.3.1", | ||
| "description": "Sentry module for Nuxt.js", | ||
@@ -39,5 +39,5 @@ "repository": "nuxt-community/sentry-module", | ||
| "dependencies": { | ||
| "@sentry/browser": "^5.12.1", | ||
| "@sentry/integrations": "^5.12.0", | ||
| "@sentry/node": "^5.12.3", | ||
| "@sentry/browser": "^5.13.2", | ||
| "@sentry/integrations": "^5.13.2", | ||
| "@sentry/node": "^5.13.2", | ||
| "@sentry/webpack-plugin": "^1.10.0", | ||
@@ -48,4 +48,4 @@ "consola": "^2.11.3", | ||
| "devDependencies": { | ||
| "@babel/core": "^7.8.4", | ||
| "@babel/preset-env": "^7.8.4", | ||
| "@babel/core": "^7.8.7", | ||
| "@babel/preset-env": "^7.8.7", | ||
| "@nuxtjs/eslint-config": "^2.0.2", | ||
@@ -58,4 +58,5 @@ "@nuxtjs/module-test-utils": "^1.5.0", | ||
| "jest": "^25.1.0", | ||
| "nuxt-edge": "^2.11.1-26357776.539c865", | ||
| "standard-version": "^7.1.0" | ||
| "nuxt-edge": "^2.11.1-26378723.c5d0067", | ||
| "standard-version": "^7.1.0", | ||
| "typescript": "^3.8.3" | ||
| }, | ||
@@ -62,0 +63,0 @@ "publishConfig": { |
+11
-4
@@ -41,3 +41,3 @@ # @nuxtjs/sentry | ||
| Enter your DSN in the NuxtJS config file. Additional config settings can be found [here](https://docs.sentry.io/clients/javascript/config/). | ||
| Enter your DSN in the NuxtJS config file. Additional config settings can be found [here](https://docs.sentry.io/error-reporting/configuration/?platform=browser). | ||
@@ -56,3 +56,3 @@ ### Usage in Vue component | ||
| While using nuxt's `asyncData` method, `$sentry` object in the `context` like other nuxt modules: | ||
| While using Nuxt's `asyncData` method, there's `$sentry` object in the `context`: | ||
@@ -72,3 +72,3 @@ ``` js | ||
| For the other special nuxt lifecycle areas like `plugins`, `middleware`, `modules`, and `nuxtServerInit`, the `$sentry` object is also accessible through the `context` object like so: | ||
| For the other special Nuxt lifecycle areas like `plugins`, `middleware`, and `nuxtServerInit`, the `$sentry` object is also accessible through the `context` object like so: | ||
@@ -89,3 +89,3 @@ ```js | ||
| Options can be passed using either environment variables or `sentry` section in `nuxt.config.js`. | ||
| Normally setting required DSN information would be enough. | ||
| Normally, setting required DSN information would be enough. | ||
@@ -119,2 +119,9 @@ ### dsn | ||
| ### sourceMapStyle | ||
| - Type: `String` | ||
| - Default: `source-map` | ||
| - Only has effect when `publishRelease = true` | ||
| - The type of source maps generated when publishing release to Sentry. See https://webpack.js.org/configuration/devtool for a list of available options | ||
| - **Note**: Consider using `hidden-source-map` instead. For most people, that should be a better option but due to it being a breaking change, it won't be set as the default until next major release | ||
| ### attachCommits | ||
@@ -121,0 +128,0 @@ - Type: `Boolean` |
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
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
33341
3.97%239
0.42%215
3.37%12
9.09%Updated
Updated
Updated