refactor: Use ESM (#8358)
* wip * wip * fix * clean up * Update tsconfig.json * Update activitypub.ts * wip
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import { URL } from 'url';
|
||||
import { getJson } from '@/misc/fetch';
|
||||
import { query as urlQuery } from '@/prelude/url';
|
||||
import { URL } from 'node:url';
|
||||
import { getJson } from '@/misc/fetch.js';
|
||||
import { query as urlQuery } from '@/prelude/url.js';
|
||||
|
||||
type ILink = {
|
||||
href: string;
|
||||
|
Reference in New Issue
Block a user