refactor: Use ESM (#8358)
* wip * wip * fix * clean up * Update tsconfig.json * Update activitypub.ts * wip
This commit is contained in:
parent
0a882471f3
commit
d071d18dd7
737 changed files with 4135 additions and 3678 deletions
|
|
@ -1,11 +1,11 @@
|
|||
import { DOMWindow, JSDOM } from 'jsdom';
|
||||
import fetch from 'node-fetch';
|
||||
import { getJson, getHtml, getAgentByUrl } from '@/misc/fetch';
|
||||
import { Instance } from '@/models/entities/instance';
|
||||
import { Instances } from '@/models/index';
|
||||
import { getFetchInstanceMetadataLock } from '@/misc/app-lock';
|
||||
import Logger from './logger';
|
||||
import { URL } from 'url';
|
||||
import { getJson, getHtml, getAgentByUrl } from '@/misc/fetch.js';
|
||||
import { Instance } from '@/models/entities/instance.js';
|
||||
import { Instances } from '@/models/index.js';
|
||||
import { getFetchInstanceMetadataLock } from '@/misc/app-lock.js';
|
||||
import Logger from './logger.js';
|
||||
import { URL } from 'node:url';
|
||||
|
||||
const logger = new Logger('metadata', 'cyan');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue