From db52252c686d9907c8579fa8f98d32404bc98a74 Mon Sep 17 00:00:00 2001 From: PalmDevs Date: Sun, 30 Mar 2025 01:39:44 +0700 Subject: [PATCH] chore(lib/patcher): prefix internal files with underscore --- lib/patcher/src/{internal.ts => _internal.ts} | 0 lib/patcher/src/hooks/after.ts | 2 +- lib/patcher/src/hooks/before.ts | 2 +- lib/patcher/src/hooks/instead.ts | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename lib/patcher/src/{internal.ts => _internal.ts} (100%) diff --git a/lib/patcher/src/internal.ts b/lib/patcher/src/_internal.ts similarity index 100% rename from lib/patcher/src/internal.ts rename to lib/patcher/src/_internal.ts diff --git a/lib/patcher/src/hooks/after.ts b/lib/patcher/src/hooks/after.ts index 351eff7..cd02d5c 100644 --- a/lib/patcher/src/hooks/after.ts +++ b/lib/patcher/src/hooks/after.ts @@ -4,7 +4,7 @@ import { unproxy, type HookNode, type PatchedFunctionProxyState, -} from '../internal' +} from '../_internal' function unpatchAfter( state: PatchedFunctionProxyState, diff --git a/lib/patcher/src/hooks/before.ts b/lib/patcher/src/hooks/before.ts index 5f0bc02..61cf36b 100644 --- a/lib/patcher/src/hooks/before.ts +++ b/lib/patcher/src/hooks/before.ts @@ -4,7 +4,7 @@ import { unproxy, type HookNode, type PatchedFunctionProxyState, -} from '../internal' +} from '../_internal' function unpatchBefore( state: PatchedFunctionProxyState, diff --git a/lib/patcher/src/hooks/instead.ts b/lib/patcher/src/hooks/instead.ts index e312b32..ca92c28 100644 --- a/lib/patcher/src/hooks/instead.ts +++ b/lib/patcher/src/hooks/instead.ts @@ -6,7 +6,7 @@ import { type FunctionProxyState, type InsteadHookNode, type PatchedFunctionProxyState, -} from '../internal' +} from '../_internal' const insteadHookProxyHandler = { ...patchedFunctionProxyHandler,