Sharkey/packages/backend/src/core
Kagami Sascha Rosylight 9965bc8f94
Fix moduleNameMapper to not resolve .wasm.js to .wasm (#9894)
* Fix moduleNameMapper to not resolve `.wasm.js` to `.js`

Fixes #9767

Undici [tries to import `./llhttp/llhttp.wasm.js`](e155c6db5c/lib/client.js (L342)) which is currently broken by the (hacky) module name mapper.

* longer timeout value

* 30s

* 50s

* 60s to be safe

* Revert "60s to be safe"

This reverts commit f3e0f5796273c0cdcbd901e8c08ae3136b9768f8.

* 2cc98226ca revert?

* revert

* remove timeout

* detectOpenHandles

* Really solved?

* Revert "detectOpenHandles"

This reverts commit 29214bdff80e15998f34171bf409d454a3d10129.

* Add `coveragePathIgnorePatterns`

* Revert "Add `coveragePathIgnorePatterns`"

This reverts commit fcf8c6806b339b7c21f53137f9939d00020904aa.

* Import jsonld dynamically

* remove import

* add comment

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-12 17:18:31 +09:00
..
activitypub Fix moduleNameMapper to not resolve .wasm.js to .wasm (#9894) 2023-02-12 17:18:31 +09:00
chart drop hashtag chart 2023-02-03 14:10:14 +09:00
entities enhance(server): videoThumbnailGenerator config (#9845) 2023-02-12 09:13:47 +09:00
AccountUpdateService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
AchievementService.ts refactor: fix types 2023-02-09 11:46:08 +09:00
AiService.ts chore: fix import position 2022-12-04 17:05:32 +09:00
AntennaService.ts perf(server): cache blocking 2023-02-04 12:40:40 +09:00
AppLockService.ts chore: fix import position 2022-12-04 17:05:32 +09:00
CaptchaService.ts fix(server): turnstile-failed: missing-input-secret 2023-01-26 11:31:43 +09:00
CoreModule.ts drop hashtag chart 2023-02-03 14:10:14 +09:00
CreateNotificationService.ts fix typo 2023-02-04 10:02:03 +09:00
CreateSystemUserService.ts Role (#9437) 2023-01-12 21:02:26 +09:00
CustomEmojiService.ts revert: 650187deaf 2023-02-08 20:07:19 +09:00
DeleteAccountService.ts fix typo 2023-02-04 10:02:03 +09:00
DownloadService.ts Deny UNIX domain socket (#9802) 2023-02-05 13:51:59 +09:00
DriveService.ts enhance(server): videoThumbnailGenerator config (#9845) 2023-02-12 09:13:47 +09:00
EmailService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
FederatedInstanceService.ts refactor: rename instance.caughtAt to instance.firstRetrievedAt 2023-01-16 05:02:38 +09:00
FetchInstanceMetadataService.ts fix(server): node-fetchおよびgotを使う以前の実装に戻す 2023-01-25 12:00:04 +09:00
FileInfoService.ts fix(server): 特定のPNG画像のアップロードに失敗する問題を修正 2023-01-09 14:03:22 +09:00
GlobalEventService.ts chore: fix import position 2022-12-04 17:05:32 +09:00
HashtagService.ts drop hashtag chart 2023-02-03 14:10:14 +09:00
HttpRequestService.ts refactor: fix type 2023-02-01 20:13:22 +09:00
IdService.ts fix: typo (#9300) 2022-12-10 08:55:07 +09:00
ImageProcessingService.ts refactor: /proxyをFileServerServiceに統合し、/proxyのurlで/filesが指定されていた場合は直接ファイルを解決するようにする (#9709) 2023-01-26 16:06:29 +09:00
InstanceActorService.ts chore: fix import position 2022-12-04 17:05:32 +09:00
InternalStorageService.ts chore: fix import position 2022-12-04 17:05:32 +09:00
LoggerService.ts drop syslog 2023-02-03 15:08:36 +09:00
MessagingService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
MetaService.ts フォロワー数、フォロー数もConditional roleで利用できるように 2023-01-14 08:27:23 +09:00
MfmService.ts chore: fix import position 2022-12-04 17:05:32 +09:00
ModerationLogService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
NoteCreateService.ts fix typo 2023-02-04 10:02:03 +09:00
NoteDeleteService.ts fix typo 2023-02-04 10:02:03 +09:00
NotePiningService.ts refactor: rename role.options -> role.policies 2023-01-15 20:52:53 +09:00
NoteReadService.ts fix typo 2023-02-04 10:02:03 +09:00
NotificationService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
PollService.ts perf(server): cache blocking 2023-02-04 12:40:40 +09:00
ProxyAccountService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
PushNotificationService.ts chore: remove unused function (truncateUnreadAntennaNote) 2023-01-04 11:09:05 +00:00
QueryService.ts refactor: fix types 2023-02-09 11:02:37 +09:00
QueueModule.ts refactor 2022-12-04 10:16:03 +09:00
QueueService.ts feat: make possible to export favorited notes 2023-01-01 16:53:10 +09:00
ReactionService.ts perf(server): cache blocking 2023-02-04 12:40:40 +09:00
RelayService.ts chore: fix import position 2022-12-04 17:05:32 +09:00
RemoteLoggerService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
RemoteUserResolveService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
RoleService.ts コンディショナルロールもバッジとして表示可能に 2023-02-11 09:03:43 +09:00
S3Service.ts fix(server): node-fetchおよびgotを使う以前の実装に戻す 2023-01-25 12:00:04 +09:00
SignupService.ts Role (#9437) 2023-01-12 21:02:26 +09:00
TwoFactorAuthenticationService.ts chore: fix import position 2022-12-04 17:05:32 +09:00
UserBlockingService.ts perf(server): cache blocking 2023-02-04 12:40:40 +09:00
UserCacheService.ts フォロワー数、フォロー数もConditional roleで利用できるように 2023-01-14 08:27:23 +09:00
UserFollowingService.ts fix(server): cannot follow user 2023-02-04 19:19:30 +09:00
UserKeypairStoreService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
UserListService.ts improve error handling 2023-02-12 10:36:43 +09:00
UserMutingService.ts fix typo 2023-02-04 10:02:03 +09:00
UserSuspendService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
UtilityService.ts enhance: Judge instance block by endsWith (#9263) 2023-01-13 18:21:07 +09:00
VideoProcessingService.ts enhance(server): videoThumbnailGenerator config (#9845) 2023-02-12 09:13:47 +09:00
WebfingerService.ts perf(backend): Use undici instead of node-fetch and got (#9459) 2023-01-12 21:03:02 +09:00
WebhookService.ts refactor: fix type 2023-02-01 20:15:11 +09:00