Skip to content

Commit

Permalink
chore(package): upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
pascaliske committed Aug 19, 2024
1 parent 8e2af16 commit 700e810
Show file tree
Hide file tree
Showing 3 changed files with 270 additions and 312 deletions.
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
"@angular/platform-browser": "^18.2.0",
"@angular/platform-browser-dynamic": "^18.2.0",
"@angular/router": "^18.2.0",
"core-js": "^3.26.0",
"core-js": "^3.38.0",
"rxjs": "~7.8.1",
"tslib": "^2.4.1",
"tslib": "^2.6.3",
"zone.js": "~0.14.10"
},
"devDependencies": {
Expand All @@ -56,23 +56,23 @@
"@angular/cli": "^18.2.0",
"@angular/compiler-cli": "^18.2.0",
"@angular/language-service": "^18.2.0",
"@commitlint/cli": "^19.0.0",
"@commitlint/config-conventional": "^19.0.0",
"@commitlint/cli": "^19.4.0",
"@commitlint/config-conventional": "^19.2.2",
"@pascaliske/eslint-config": "^3.0.1",
"@pascaliske/prettier-config": "^1.2.0",
"@pascaliske/prettier-config": "^1.3.0",
"@rstacruz/bump-cli": "^2.0.1",
"@sentry/browser": "^7.17.3",
"@types/node": "^20.0.0",
"@sentry/browser": "^8.26.0",
"@types/node": "^22.4.1",
"@typescript-eslint/eslint-plugin": "8.1.0",
"@typescript-eslint/parser": "8.1.0",
"codelyzer": "^6.0.2",
"eslint": "^9.9.0",
"husky": "^9.0.10",
"lint-staged": "^15.0.0",
"husky": "^9.1.4",
"lint-staged": "^15.2.9",
"ng-packagr": "^18.2.0",
"prettier": "^3.0.0",
"prettier": "^3.3.3",
"standard-changelog": "^6.0.0",
"ts-node": "~10.9.1",
"typescript": "~5.4.5"
"ts-node": "~10.9.2",
"typescript": "~5.5.4"
}
}
14 changes: 7 additions & 7 deletions projects/ngx-sentry/src/lib/sentry.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import {
captureMessage,
captureException,
captureEvent,
configureScope,
getCurrentScope,
withScope,
Breadcrumb,
Severity,
SeverityLevel,
Event,
Scope,
} from '@sentry/browser'
Expand Down Expand Up @@ -35,7 +35,7 @@ export class SentryService {
* @param - The severity level of the message
* @returns - Returns the generated event id
*/
public captureMessage(message: string, level: Severity): string {
public captureMessage(message: string, level: SeverityLevel): string {
return captureMessage(message, level)
}

Expand All @@ -60,12 +60,12 @@ export class SentryService {
}

/**
* Configure a {@link Scope}.
* Get the current {@link Scope}.
*
* @param - A callback for configuring the scope
* @returns - Returns the current scope
*/
public configureScope(callback: (scope: Scope) => void): void {
configureScope(callback)
public getCurrentScope(): Scope {
return getCurrentScope()
}

/**
Expand Down
Loading

0 comments on commit 700e810

Please sign in to comment.