@nuxtjs/sentry
Advanced tools
+12
-0
@@ -0,1 +1,13 @@ | ||
| ## [4.0.0](https://github.com/nuxt-community/sentry-module/compare/v3.3.1...v4.0.0) (2020-03-24) | ||
| ### ⚠ BREAKING CHANGES | ||
| * Requires at least Nuxt v2.10.0 | ||
| ### Bug Fixes | ||
| * **deps:** update Sentry dependencies to v5.15.0 ([#166](https://github.com/nuxt-community/sentry-module/issues/166)) ([ebea3ca](https://github.com/nuxt-community/sentry-module/commit/ebea3ca5364f5b1499a9f88e4f6873243e514ed0)) | ||
| * properly handle publishing when custom webpack config is added ([#167](https://github.com/nuxt-community/sentry-module/issues/167)) ([ca2f680](https://github.com/nuxt-community/sentry-module/commit/ca2f680635996d3cc08ff1783e7cb59af28a91b4)) | ||
| # Changelog | ||
@@ -2,0 +14,0 @@ |
+8
-13
@@ -166,20 +166,15 @@ import { resolve, join } from 'path' | ||
| // Enable publishing of sourcemaps | ||
| if (!options.disabled) { | ||
| this.extendBuild((config, { isClient, isModern, isDev }) => { | ||
| if (!options.publishRelease || isDev) { | ||
| return | ||
| if (options.publishRelease && !options.disabled && !this.options.dev) { | ||
| this.nuxt.hook('webpack:config', (webpackConfigs) => { | ||
| for (const config of webpackConfigs) { | ||
| config.devtool = options.sourceMapStyle | ||
| } | ||
| config.devtool = options.sourceMapStyle | ||
| // Add WebpackPlugin to last build config | ||
| // when not in spa mode upload only at server build | ||
| if (isClient && this.options.mode !== 'spa') { | ||
| return | ||
| } | ||
| // when in spa mode upload only at modern build if enabled | ||
| if (isClient && !isModern && this.options.modern) { | ||
| return | ||
| } | ||
| const config = webpackConfigs[webpackConfigs.length - 1] | ||
| config.plugins = config.plugins || [] | ||
| config.plugins.push(new WebpackPlugin(options.webpackConfig)) | ||
| logger.info('Enabling uploading of release sourcemaps to Sentry') | ||
@@ -186,0 +181,0 @@ }) |
+10
-9
| { | ||
| "name": "@nuxtjs/sentry", | ||
| "version": "3.3.1", | ||
| "version": "4.0.0", | ||
| "description": "Sentry module for Nuxt.js", | ||
@@ -19,3 +19,3 @@ "repository": "nuxt-community/sentry-module", | ||
| "lint": "eslint --ext .vue,.js lib test", | ||
| "release": "standard-version && git push --follow-tags && npm publish", | ||
| "release": "release-it", | ||
| "test": "npm run lint && jest" | ||
@@ -40,5 +40,5 @@ }, | ||
| "dependencies": { | ||
| "@sentry/browser": "^5.13.2", | ||
| "@sentry/integrations": "^5.13.2", | ||
| "@sentry/node": "^5.13.2", | ||
| "@sentry/browser": "^5.15.0", | ||
| "@sentry/integrations": "^5.15.0", | ||
| "@sentry/node": "^5.15.0", | ||
| "@sentry/webpack-plugin": "^1.10.0", | ||
@@ -49,6 +49,7 @@ "consola": "^2.11.3", | ||
| "devDependencies": { | ||
| "@babel/core": "^7.8.7", | ||
| "@babel/preset-env": "^7.8.7", | ||
| "@babel/core": "^7.9.0", | ||
| "@babel/preset-env": "^7.9.0", | ||
| "@nuxtjs/eslint-config": "^2.0.2", | ||
| "@nuxtjs/module-test-utils": "^1.5.0", | ||
| "@nuxtjs/module-test-utils": "^1.6.1", | ||
| "@release-it/conventional-changelog": "^1.1.0", | ||
| "babel-core": "^7.0.0-bridge.0", | ||
@@ -60,3 +61,3 @@ "babel-jest": "^25.1.0", | ||
| "nuxt-edge": "^2.11.1-26378723.c5d0067", | ||
| "standard-version": "^7.1.0", | ||
| "release-it": "^13.3.0", | ||
| "typescript": "^3.8.3" | ||
@@ -63,0 +64,0 @@ }, |
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
33889
1.64%13
8.33%233
-2.51%Updated
Updated
Updated