require the use of node prefix on native imports
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
import { EventParams, EventsService } from '@backstage/plugin-events-node';
|
||||
import { SignalPayload } from '@backstage/plugin-signals-node';
|
||||
import crypto from 'crypto';
|
||||
import crypto from 'node:crypto';
|
||||
import { RawData, WebSocket } from 'ws';
|
||||
import { v4 as uuid } from 'uuid';
|
||||
import { JsonObject } from '@backstage/types';
|
||||
|
||||
@@ -24,12 +24,12 @@ import {
|
||||
LoggerService,
|
||||
UserInfoService,
|
||||
} from '@backstage/backend-plugin-api';
|
||||
import * as https from 'https';
|
||||
import http, { IncomingMessage } from 'http';
|
||||
import * as https from 'node:https';
|
||||
import http, { IncomingMessage } from 'node:http';
|
||||
import { SignalManager } from './SignalManager';
|
||||
import { EventsService } from '@backstage/plugin-events-node';
|
||||
import { WebSocket, WebSocketServer } from 'ws';
|
||||
import { Duplex } from 'stream';
|
||||
import { Duplex } from 'node:stream';
|
||||
import { Config } from '@backstage/config';
|
||||
|
||||
export interface RouterOptions {
|
||||
|
||||
Reference in New Issue
Block a user