Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"@types/sinon": "^7.0.11",
"chai": "^4.1.2",
"codecov": "^3.6.5",
"eslint": "7.27.0",
"jest": "^24.7.1",
"karma-browserstack-launcher": "^1.5.1",
"karma-firefox-launcher": "^1.1.0",
Expand Down
1 change: 0 additions & 1 deletion packages/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"@angular/core": "^10.0.3",
"@angular/router": "^10.0.3",
"@sentry-internal/eslint-config-sdk": "6.5.0",
"eslint": "7.6.0",
"npm-run-all": "^4.1.2",
"prettier": "1.19.0",
"rimraf": "^2.6.3",
Expand Down
1 change: 0 additions & 1 deletion packages/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"btoa": "^1.2.1",
"chai": "^4.1.2",
"chokidar": "^3.0.2",
"eslint": "7.6.0",
"jest": "^24.7.1",
"jsdom": "^15.0.0",
"karma": "^4.1.0",
Expand Down
1 change: 0 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
},
"devDependencies": {
"@sentry-internal/eslint-config-sdk": "6.5.0",
"eslint": "7.6.0",
"jest": "^24.7.1",
"npm-run-all": "^4.1.2",
"prettier": "1.19.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/basebackend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export abstract class BaseBackend<O extends Options> implements Backend {
* @inheritDoc
*/
public sendEvent(event: Event): void {
this._transport.sendEvent(event).then(null, reason => {
void this._transport.sendEvent(event).then(null, reason => {
logger.error(`Error while sending event: ${reason}`);
});
}
Expand All @@ -105,7 +105,7 @@ export abstract class BaseBackend<O extends Options> implements Backend {
return;
}

this._transport.sendSession(session).then(null, reason => {
void this._transport.sendSession(session).then(null, reason => {
logger.error(`Error while sending session: ${reason}`);
});
}
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/baseclient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ export abstract class BaseClient<B extends Backend, O extends Options> implement
*/
protected _process<T>(promise: PromiseLike<T>): void {
this._processing += 1;
promise.then(
void promise.then(
value => {
this._processing -= 1;
return value;
Expand Down
1 change: 0 additions & 1 deletion packages/ember/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
"ember-test-selectors": "^4.1.0",
"ember-try": "^1.4.0",
"ember-window-mock": "^0.7.1",
"eslint": "7.6.0",
"eslint-plugin-ember": "^8.6.0",
"eslint-plugin-node": "^11.1.0",
"loader.js": "^4.7.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eslint": ">=5"
},
"devDependencies": {
"eslint": "7.6.0",
"eslint": "7.27.0",
"typescript": "3.7.5"
},
"scripts": {
Expand Down
1 change: 0 additions & 1 deletion packages/gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"devDependencies": {
"@sentry-internal/eslint-config-sdk": "6.5.0",
"@testing-library/react": "^10.4.9",
"eslint": "7.6.0",
"jest": "^24.7.1",
"npm-run-all": "^4.1.2",
"prettier": "1.19.0",
Expand Down
1 change: 0 additions & 1 deletion packages/hub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
},
"devDependencies": {
"@sentry-internal/eslint-config-sdk": "6.5.0",
"eslint": "7.6.0",
"jest": "^24.7.1",
"npm-run-all": "^4.1.2",
"prettier": "1.19.0",
Expand Down
1 change: 0 additions & 1 deletion packages/integrations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"devDependencies": {
"@sentry-internal/eslint-config-sdk": "6.5.0",
"chai": "^4.1.2",
"eslint": "7.6.0",
"jest": "^24.7.1",
"npm-run-all": "^4.1.2",
"prettier": "1.19.0",
Expand Down
1 change: 0 additions & 1 deletion packages/minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
},
"devDependencies": {
"@sentry-internal/eslint-config-sdk": "6.5.0",
"eslint": "7.6.0",
"jest": "^24.7.1",
"npm-run-all": "^4.1.2",
"prettier": "1.19.0",
Expand Down
1 change: 0 additions & 1 deletion packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"@types/express": "^4.17.2",
"@types/lru-cache": "^5.1.0",
"@types/node": "~10.17.0",
"eslint": "7.6.0",
"express": "^4.17.1",
"jest": "^24.7.1",
"nock": "^13.0.5",
Expand Down
1 change: 0 additions & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"@types/react-router-3": "npm:@types/react-router@3.0.24",
"@types/react-router-4": "npm:@types/react-router@5.1.14",
"@types/react-router-5": "npm:@types/react-router@5.1.14",
"eslint": "7.6.0",
"eslint-plugin-react": "^7.20.5",
"eslint-plugin-react-hooks": "^4.0.8",
"history-4": "npm:history@4.6.0",
Expand Down
1 change: 0 additions & 1 deletion packages/serverless/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"@sentry-internal/eslint-config-sdk": "6.5.0",
"@types/node": "^14.6.4",
"aws-sdk": "^2.765.0",
"eslint": "7.6.0",
"find-up": "^5.0.0",
"google-gax": "^2.9.0",
"jest": "^24.7.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/serverless/src/awslambda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ export function wrapHandler<TEvent, TResult>(
// This should never happen, but still can if someone writes a handler as
// `async (event, context, callback) => {}`
if (isPromise(rv)) {
(rv as Promise<NonNullable<TResult>>).then(resolve, reject);
void (rv as Promise<NonNullable<TResult>>).then(resolve, reject);
}
})
: (handler as AsyncHandler<typeof handler>);
Expand Down
4 changes: 2 additions & 2 deletions packages/serverless/src/gcpfunction/cloud_events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function _wrapCloudEventFunction(
}
transaction.finish();

flush(options.flushTimeout)
void flush(options.flushTimeout)
.then(() => {
callback(...args);
})
Expand All @@ -72,7 +72,7 @@ function _wrapCloudEventFunction(
return (fn as CloudEventFunctionWithCallback)(context, newCallback);
}

Promise.resolve()
void Promise.resolve()
.then(() => (fn as CloudEventFunction)(context))
.then(
result => {
Expand Down
4 changes: 2 additions & 2 deletions packages/serverless/src/gcpfunction/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function _wrapEventFunction(
}
transaction.finish();

flush(options.flushTimeout)
void flush(options.flushTimeout)
.then(() => {
callback(...args);
})
Expand All @@ -67,7 +67,7 @@ function _wrapEventFunction(
return (fn as EventFunctionWithCallback)(data, context, newCallback);
}

Promise.resolve()
void Promise.resolve()
.then(() => (fn as EventFunction)(data, context))
.then(
result => {
Expand Down
1 change: 0 additions & 1 deletion packages/tracing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"@sentry/browser": "6.5.0",
"@types/express": "^4.17.1",
"@types/jsdom": "^16.2.3",
"eslint": "7.6.0",
"jest": "^24.7.1",
"jsdom": "^16.2.2",
"npm-run-all": "^4.1.2",
Expand Down
1 change: 0 additions & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
},
"devDependencies": {
"@sentry-internal/eslint-config-sdk": "6.5.0",
"eslint": "7.6.0",
"npm-run-all": "^4.1.2",
"prettier": "1.19.0",
"typescript": "3.7.5"
Expand Down
1 change: 0 additions & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"devDependencies": {
"@sentry-internal/eslint-config-sdk": "6.5.0",
"chai": "^4.1.2",
"eslint": "7.6.0",
"jest": "^24.7.1",
"npm-run-all": "^4.1.2",
"prettier": "1.19.0",
Expand Down
1 change: 0 additions & 1 deletion packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
},
"devDependencies": {
"@sentry-internal/eslint-config-sdk": "6.5.0",
"eslint": "7.6.0",
"jest": "^24.7.1",
"jsdom": "^16.2.2",
"npm-run-all": "^4.1.2",
Expand Down
1 change: 0 additions & 1 deletion packages/wasm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"@sentry-internal/eslint-config-sdk": "6.5.0",
"@types/jest-environment-puppeteer": "^4.4.0",
"@types/puppeteer": "^5.4.0",
"eslint": "7.6.0",
"express": "^4.17.1",
"jest": "^24.7.1",
"jest-puppeteer": "^4.4.0",
Expand Down
Loading