fix(imports): use node: built-in imports and remove dead smartpromise/smartdelay exports
This commit is contained in:
@@ -1,13 +1,7 @@
|
||||
import * as crypto from 'crypto';
|
||||
import * as dgram from 'dgram';
|
||||
|
||||
// Import from smartpromise for deferred promises
|
||||
import * as smartpromise from '@push.rocks/smartpromise';
|
||||
import * as smartdelay from '@push.rocks/smartdelay';
|
||||
import * as crypto from 'node:crypto';
|
||||
import * as dgram from 'node:dgram';
|
||||
|
||||
export {
|
||||
crypto,
|
||||
dgram,
|
||||
smartpromise,
|
||||
smartdelay,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user