Skip to content

Commit 1945f73

Browse files
committed
Fix astro https issue
1 parent bf052f6 commit 1945f73

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

packages/node-experimental/src/proxy/base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
/* eslint-disable @typescript-eslint/explicit-member-accessibility */
3030
/* eslint-disable @typescript-eslint/member-ordering */
3131
/* eslint-disable jsdoc/require-jsdoc */
32-
import * as http from 'http';
3332
import type * as net from 'net';
33+
import * as http from 'node:http';
3434
import type { Duplex } from 'stream';
3535
import type * as tls from 'tls';
3636

packages/node-experimental/src/proxy/helpers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
*/
2828

2929
/* eslint-disable jsdoc/require-jsdoc */
30-
import * as http from 'http';
31-
import * as https from 'https';
30+
import * as http from 'node:http';
31+
import * as https from 'node:https';
3232
import type { Readable } from 'stream';
3333

3434
export type ThenableRequest = http.ClientRequest & {

packages/node-experimental/src/transports/http.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import * as http from 'http';
2-
import * as https from 'https';
1+
import * as http from 'node:http';
2+
import * as https from 'node:https';
33
import { Readable } from 'stream';
44
import { createGzip } from 'zlib';
55
import { createTransport } from '@sentry/core';

0 commit comments

Comments
 (0)