Skip to content

Commit afc205d

Browse files
committed
ref: Remove PURE
1 parent 7c1e604 commit afc205d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/browser/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ let windowIntegrations = {};
1010

1111
// This block is needed to add compatibility with the integrations packages when used with a CDN
1212
// tslint:disable: no-unsafe-any
13-
const _window = /*#__PURE__*/ getGlobalObject<Window>();
13+
const _window = getGlobalObject<Window>();
1414
if (_window.Sentry && _window.Sentry.Integrations) {
1515
windowIntegrations = _window.Sentry.Integrations;
1616
}

packages/browser/src/transports/fetch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { getGlobalObject, logger, parseRetryAfterHeader, supportsReferrerPolicy,
44

55
import { BaseTransport } from './base';
66

7-
const global = /*#__PURE__*/ getGlobalObject<Window>();
7+
const global = getGlobalObject<Window>();
88

99
/** `fetch` based transport */
1010
export class FetchTransport extends BaseTransport {

packages/node/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export { INTEGRATIONS as Integrations, Transports, Handlers };
5959

6060
// We need to patch domain on the global __SENTRY__ object to make it work for node
6161
// if we don't do this, browser bundlers will have troubles resolving require('domain')
62-
const carrier = /*#__PURE__*/ getMainCarrier();
62+
const carrier = getMainCarrier();
6363
if (carrier.__SENTRY__) {
6464
carrier.__SENTRY__.extensions = carrier.__SENTRY__.extensions || {};
6565
if (!carrier.__SENTRY__.extensions.domain) {

packages/node/src/integrations/http.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { fill, parseSemver } from '@sentry/utils';
44
import * as http from 'http';
55
import * as https from 'https';
66

7-
const NODE_VERSION = /*#__PURE__*/ parseSemver(process.versions.node);
7+
const NODE_VERSION = parseSemver(process.versions.node);
88

99
/** http module integration */
1010
export class Http implements Integration {

0 commit comments

Comments
 (0)