@ihabdevteam/core 0.8.1 → 0.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5936,6 +5936,16 @@ export declare function toStandardPronunciation(word: string): string;
5936
5936
  * 스토리지 파일명에 사용 — hex는 단일 케이스(0-9a-f)라 대소문자를 구분하지 않는
5937
5937
  * 파일시스템(macOS APFS 등)에서도 절대 충돌하지 않는다.
5938
5938
  * 가 → eab080
5939
+ *
5940
+ * **NFC 로 모은 뒤 인코딩한다.** 한글은 같은 글자를 두 가지로 적을 수 있다 —
5941
+ * '사과'(NFC, 2코드포인트)와 '사과'(NFD, 4코드포인트)는 눈에 똑같지만 바이트가 다르다.
5942
+ * 파일을 **쓰는 쪽**(TTS·이미지 에이전트)이 NFC 로 모아 올리므로, **읽는 쪽**인 이
5943
+ * 함수가 모으지 않으면 NFD 입력이 들어온 순간 없는 이름을 찾는다 — 올린 쪽은 성공,
5944
+ * 찾는 쪽은 없음, 그리고 **오류는 안 난다**(소리·이미지가 조용히 빠진다).
5945
+ *
5946
+ * macOS 파일시스템과 일부 IME 가 NFD 를 내므로, 사람이 붙여 넣은 낱말이 들어오는
5947
+ * 경로에서 만난다. NFC 입력에는 아무 변화가 없어(정규화해도 같은 바이트) 기존에
5948
+ * 올라간 파일 이름은 그대로 찾는다.
5939
5949
  * @public
5940
5950
  */
5941
5951
  export declare function toStorageName(text: string): string;