@toss/hangul
Advanced tools
Comparing version 1.7.0 to 1.7.1
@@ -6,2 +6,10 @@ # Change Log | ||
## [1.7.1](https://github.com/toss/slash/compare/@toss/hangul@1.7.0...@toss/hangul@1.7.1) (2024-10-24) | ||
**Note:** Version bump only for package @toss/hangul | ||
# [1.7.0](https://github.com/toss/slash/compare/@toss/hangul@1.6.1...@toss/hangul@1.7.0) (2024-03-26) | ||
@@ -8,0 +16,0 @@ |
@@ -0,1 +1,6 @@ | ||
/** | ||
* This method has been moved to the es-hangul library. | ||
* Please use es-hangul for this functionality going forward. | ||
* @deprecated This feature is now available in the es-hangul package. | ||
*/ | ||
export declare function chosungIncludes(x: string, y: string): boolean; |
@@ -0,2 +1,12 @@ | ||
/** | ||
* This method has been moved to the es-hangul library. | ||
* Please use es-hangul for this functionality going forward. | ||
* @deprecated This feature is now available in the es-hangul package. | ||
*/ | ||
export declare function disassembleHangulToGroups(str: string): string[][]; | ||
/** | ||
* This method has been moved to the es-hangul library. | ||
* Please use es-hangul for this functionality going forward. | ||
* @deprecated This feature is now available in the es-hangul package. | ||
*/ | ||
export declare function disassembleHangul(str: string): string; |
@@ -0,1 +1,6 @@ | ||
/** | ||
* This method has been moved to the es-hangul library. | ||
* Please use es-hangul for this functionality going forward. | ||
* @deprecated This feature is now available in the es-hangul package. | ||
*/ | ||
export declare function hangulIncludes(x: string, y: string): boolean; |
@@ -236,4 +236,7 @@ 'use strict'; | ||
return { | ||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion | ||
first: HANGUL_CHARACTERS_BY_FIRST_INDEX[firstIndex], | ||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion | ||
middle: HANGUL_CHARACTERS_BY_MIDDLE_INDEX[middleIndex], | ||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion | ||
last: HANGUL_CHARACTERS_BY_LAST_INDEX[lastIndex] | ||
@@ -243,2 +246,8 @@ }; | ||
/** | ||
* This method has been moved to the es-hangul library. | ||
* Please use es-hangul for this functionality going forward. | ||
* @deprecated This feature is now available in the es-hangul package. | ||
*/ | ||
function disassembleHangulToGroups(str) { | ||
@@ -291,2 +300,8 @@ /* | ||
} | ||
/** | ||
* This method has been moved to the es-hangul library. | ||
* Please use es-hangul for this functionality going forward. | ||
* @deprecated This feature is now available in the es-hangul package. | ||
*/ | ||
function disassembleHangul(str) { | ||
@@ -299,2 +314,8 @@ return disassembleHangulToGroups(str).reduce(function (hanguls, disassembleds) { | ||
/** @tossdocs-ignore */ | ||
/** | ||
* This method has been moved to the es-hangul library. | ||
* Please use es-hangul for this functionality going forward. | ||
* @deprecated This feature is now available in the es-hangul package. | ||
*/ | ||
function hangulIncludes(x, y) { | ||
@@ -352,2 +373,8 @@ var disassembledX = disassembleHangul(x); | ||
/** @tossdocs-ignore */ | ||
/** | ||
* This method has been moved to the es-hangul library. | ||
* Please use es-hangul for this functionality going forward. | ||
* @deprecated This feature is now available in the es-hangul package. | ||
*/ | ||
function chosungIncludes(x, y) { | ||
@@ -376,2 +403,8 @@ if (!isOnlyInitialConsonant(y)) { | ||
var λ‘_μ‘°μ¬ = ['μΌλ‘/λ‘', 'μΌλ‘μ/λ‘μ', 'μΌλ‘μ¨/λ‘μ¨', 'μΌλ‘λΆν°/λ‘λΆν°']; | ||
/** | ||
* This method has been moved to the es-hangul library. | ||
* Please use es-hangul for this functionality going forward. | ||
* @deprecated This feature is now available in the es-hangul package. | ||
*/ | ||
function josa(word, josa) { | ||
@@ -378,0 +411,0 @@ if (word.length === 0) { |
declare type JosaOption = 'μ΄/κ°' | 'μ/λ₯Ό' | 'μ/λ' | 'μΌλ‘/λ‘' | 'μ/κ³Ό' | 'μ΄λ/λ' | 'μ΄λ/λ' | 'μ/μΌ' | 'μ΄λ/λ' | 'μ΄μμ/μμ' | 'μΌλ‘μ/λ‘μ' | 'μΌλ‘μ¨/λ‘μ¨' | 'μΌλ‘λΆν°/λ‘λΆν°'; | ||
/** | ||
* This method has been moved to the es-hangul library. | ||
* Please use es-hangul for this functionality going forward. | ||
* @deprecated This feature is now available in the es-hangul package. | ||
*/ | ||
export declare function josa(word: string, josa: JosaOption): string; | ||
@@ -3,0 +8,0 @@ export declare namespace josa { |
{ | ||
"name": "@toss/hangul", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"sideEffects": false, | ||
@@ -27,2 +27,3 @@ "exports": { | ||
"test": "jest", | ||
"coverage": "jest --coverage", | ||
"typecheck": "tsc --noEmit" | ||
@@ -34,4 +35,4 @@ }, | ||
"@testing-library/jest-dom": "^5.16.4", | ||
"@toss/jest": "^0.2.1", | ||
"@toss/rollup-config": "^0.2.0", | ||
"@tossteam/jest": "^17", | ||
"@types/jest": "^28.1.8", | ||
@@ -45,3 +46,3 @@ "@types/node": "^14.14.41", | ||
"rollup": "^2.77.0", | ||
"typescript": "4.8.3" | ||
"typescript": "^5.4.5" | ||
}, | ||
@@ -63,4 +64,5 @@ "publishConfig": { | ||
}, | ||
"gitHead": "e5bee62c99fb08dbd6306c1259636571e91991cf", | ||
"module": "./esm/index.mjs" | ||
"gitHead": "6a4434621e29e014d537ae3dc0f026364b893a69", | ||
"module": "./esm/index.mjs", | ||
"types": "./dist/index.d.ts" | ||
} |
@@ -5,2 +5,17 @@ # @toss/hangul | ||
## μ§μ μ’ λ£ μλ΄ | ||
`@toss/hangul`μ λ μ΄μ μ§μλμ§ μμ΅λλ€. μλ‘μ΄ ν¨ν€μ§ `es-hangul`λ‘ μ νλμμΌλ©°, μ΄λ κΈ°λ₯μ±κ³Ό μ±λ₯μ΄ κ°μ λμμ΅λλ€. | ||
### μΆμ² μ‘°μΉ μ¬ν: | ||
- μμ‘΄μ±μ `es-hangul`λ‘ μ λ°μ΄νΈνμΈμ. | ||
- μ κΈ°λ₯κ³Ό ꡬν μΈλΆμ¬νμ λν΄μλ `es-hangul` λ¬Έμλ₯Ό μ°Έκ³ ν΄ μ£ΌμΈμ. | ||
μ§μμ μΈ μ§μκ³Ό μ΄ν΄μ κ°μ¬λ립λλ€. | ||
## λ¬Έμ | ||
`es-hangul`μ λν μμΈν μ 보λ [es-hangul λ¬Έμ](https://es-hangul.slash.page/)μμ νμΈνμ€ μ μμ΅λλ€. | ||
## λ°°κ²½ | ||
@@ -7,0 +22,0 @@ |
@@ -5,2 +5,17 @@ # @toss/hangul | ||
## Deprecation Notice | ||
Please note that `@toss/hangul` has been deprecated. We have transitioned to a new package, `es-hangul`, which offers improved functionality and performance. | ||
### Recommended Actions: | ||
- Update your dependencies to use `es-hangul`. | ||
- Refer to the `es-hangul` documentation for new features and implementation details. | ||
Thank you for your continued support and understanding. | ||
## Documentation | ||
For more information about `es-hangul`, please visit [es-hangul documentation](https://es-hangul.slash.page/). | ||
## Motivation | ||
@@ -7,0 +22,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41843
874
33