Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More β†’
Socket
Sign inDemoInstall
Socket

@toss/hangul

Package Overview
Dependencies
Maintainers
0
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@toss/hangul - npm Package Compare versions

Comparing version 1.7.0 to 1.7.1

8

CHANGELOG.md

@@ -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 {

12

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚑️ by Socket Inc