Skip to content

Commit 89c6576

Browse files
renovate[bot]rchl
andauthored
fix(deps): update sentry sdk (#656)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Rafal Chlodnicki <rafal@squareup.com>
1 parent 2ca7f06 commit 89c6576

File tree

22 files changed

+693
-653
lines changed

22 files changed

+693
-653
lines changed

.eslintrc.cjs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,17 @@ module.exports = {
1717
'vue/multi-word-component-names': 'off',
1818
},
1919
overrides: [
20+
{
21+
files: ['**/.nuxt/*.js'],
22+
rules: {
23+
'comma-spacing': 'off',
24+
'import/order': 'off',
25+
'key-spacing': 'off',
26+
'object-curly-spacing': 'off',
27+
'quote-props': 'off',
28+
quotes: 'off',
29+
},
30+
},
2031
{
2132
files: ['*.vue'],
2233
parserOptions: {

docs/content/en/configuration/options.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,11 +243,10 @@ sentry: {
243243
Dedupe: {},
244244
ExtraErrorData: {},
245245
RewriteFrames: { root: <rootDir> },
246-
Transaction: {},
247246
}
248247
```
249248
- Sentry by default enables the following server integrations: `Console`, `ContextLines`, `Context`, `FunctionToString`, `Http`, `InboundFilters`, `LinkedErrors`, `Modules`,`OnUncaughtException`, `OnUnhandledRejection`, `RequestData`.
250-
- The full list of server integrations that are supported includes the ones above plus: `CaptureConsole`, `Debug`, `Dedupe`, `ExtraErrorData`, `RewriteFrames`, `Transaction`.
249+
- The full list of server integrations that are supported includes the ones above plus: `CaptureConsole`, `Debug`, `Dedupe`, `ExtraErrorData`, `Hapi`, `RewriteFrames`.
251250
- Integration options can be specified in the object value corresponding to the individual integration key.
252251
- To disable integration that is enabled by default, pass `false` as a value. For example to disable `ExtraErrorData` integration (only) set the option to:
253252
```js

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"release": "release-it",
4545
"test": "yarn prepack && vitest run --single-thread && yarn lint:fixture && yarn typecheck",
4646
"test:watch": "vitest",
47-
"typecheck": "yarn dev:prepare && tsc",
47+
"typecheck": "yarn dev:prepare && tsc && tsc -p ./test/tsconfig.json",
4848
"coverage": "codecov"
4949
},
5050
"lint-staged": {
@@ -59,11 +59,11 @@
5959
}
6060
},
6161
"dependencies": {
62-
"@sentry/core": "^7.81.1",
63-
"@sentry/integrations": "^7.81.1",
64-
"@sentry/node": "^7.81.1",
65-
"@sentry/utils": "^7.81.1",
66-
"@sentry/vue": "^7.81.1",
62+
"@sentry/core": "^7.100.0",
63+
"@sentry/integrations": "^7.100.0",
64+
"@sentry/node": "^7.100.0",
65+
"@sentry/utils": "^7.100.0",
66+
"@sentry/vue": "^7.100.0",
6767
"consola": "^3.2.3",
6868
"defu": "^6.1.2",
6969
"hash-sum": "^2.0.0",
@@ -79,8 +79,8 @@
7979
"@nuxtjs/eslint-config-typescript": "12.1.0",
8080
"@nuxtjs/module-test-utils": "1.6.3",
8181
"@release-it/conventional-changelog": "8.0.1",
82-
"@sentry/profiling-node": "1.2.6",
83-
"@sentry/webpack-plugin": "2.10.1",
82+
"@sentry/profiling-node": "1.3.5",
83+
"@sentry/webpack-plugin": "2.14.0",
8484
"@size-limit/file": "11.0.0",
8585
"@types/hash-sum": "1.0.2",
8686
"@types/lodash.mergewith": "4.6.9",

size-check/typescript/config/server.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ModuleOptions } from 'src/types'
1+
import type { ModuleOptions } from '../../../src/types'
22

33
export default function (): ModuleOptions['serverConfig'] {
44
return {

src/module.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ export default defineNuxtModule<ModuleConfiguration>({
4343
Dedupe: {},
4444
ExtraErrorData: {},
4545
RewriteFrames: { root: nuxt.options.rootDir },
46-
Transaction: {},
4746
},
4847
customClientIntegrations: '',
4948
customServerIntegrations: '',
@@ -87,6 +86,7 @@ export default defineNuxtModule<ModuleConfiguration>({
8786
// Work-around issues with Nuxt not being able to resolve unhoisted dependencies that are imported in webpack context.
8887
const aliasedDependencies = [
8988
'lodash.mergewith',
89+
'@sentry/browser',
9090
'@sentry/core',
9191
'@sentry/integrations',
9292
'@sentry/utils',
@@ -95,7 +95,6 @@ export default defineNuxtModule<ModuleConfiguration>({
9595
for (const dep of aliasedDependencies) {
9696
nuxt.options.alias[`~${dep}`] = (await resolvePath(dep, { url: moduleDir })).replace(/\/cjs\//, '/esm/')
9797
}
98-
nuxt.options.alias['~@sentry/browser-sdk'] = (await resolvePath('@sentry/browser/esm/sdk', { url: moduleDir }))
9998

10099
if (serverSentryEnabled(options)) {
101100
/**

0 commit comments

Comments
 (0)