fix: Remove node: protocol
parent
4c2a24377f
commit
0e932d833a
|
@ -42,6 +42,9 @@
|
|||
},
|
||||
"xo": {
|
||||
"prettier": true,
|
||||
"rules": {
|
||||
"unicorn/prefer-node-protocol": "off"
|
||||
},
|
||||
"globals": [
|
||||
"Request",
|
||||
"Response",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import cp from 'node:child_process';
|
||||
import fs from 'node:fs/promises';
|
||||
import path from 'node:path';
|
||||
import cp from 'child_process';
|
||||
import fs from 'fs/promises';
|
||||
import path from 'path';
|
||||
import getPort from 'get-port';
|
||||
// @ts-expect-error: Missing types
|
||||
import tcpPortUsed from 'tcp-port-used';
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import cp from 'node:child_process';
|
||||
import cp from 'child_process';
|
||||
// @ts-expect-error: Missing types
|
||||
import {binary} from 'deno-prebuilt';
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import process from 'node:process';
|
||||
import cp from 'node:child_process';
|
||||
import path from 'node:path';
|
||||
import process from 'process';
|
||||
import cp from 'child_process';
|
||||
import path from 'path';
|
||||
|
||||
import {Platform, Result} from './types.js';
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import process from 'node:process';
|
||||
import net from 'node:net';
|
||||
import path from 'node:path';
|
||||
import process from 'process';
|
||||
import net from 'net';
|
||||
import path from 'path';
|
||||
|
||||
import Koa from 'koa';
|
||||
import files from 'koa-files';
|
||||
|
|
Loading…
Reference in New Issue