fix(imports): use node: built-in imports and remove dead smartpromise/smartdelay exports

This commit is contained in:
2026-02-11 15:57:37 +00:00
parent ec3440406f
commit 9c3f7acae8
8 changed files with 23 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
import { expect, tap } from '@git.zone/tstest/tapbundle';
import * as crypto from 'crypto';
import * as crypto from 'node:crypto';
import {
RadiusAuthenticator,
RadiusPacket,

View File

@@ -1,5 +1,5 @@
import { expect, tap } from '@git.zone/tstest/tapbundle';
import * as crypto from 'crypto';
import * as crypto from 'node:crypto';
import { RadiusAuthenticator } from '../../ts_server/index.js';
tap.test('should calculate CHAP response per RFC', async () => {

View File

@@ -1,5 +1,5 @@
import { expect, tap } from '@git.zone/tstest/tapbundle';
import * as crypto from 'crypto';
import * as crypto from 'node:crypto';
import { RadiusAuthenticator } from '../../ts_server/index.js';
tap.test('should encrypt and decrypt short password (< 16 chars)', async () => {