Skip to content

Commit

Permalink
release v4.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
saqqdy committed Jun 6, 2023
1 parent e167fb0 commit 216199c
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 61 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change logs

## 2023.06.06 v4.6.0

1. drop `textareaInsertText` & `textareaMoveToEnd`, If you still need to use it, we using [grace-textarea](https://github.com/saqqdy/grace-textarea)

## 2023.06.05 v4.5.0

1. add `inBrowser`
Expand Down
2 changes: 0 additions & 2 deletions README-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ const functionList = {
getRandomStrWidthSpecialChar, // 获取随机字符串带特殊符号
getCHSLength, // 获取字符串长度,中文算2个字符
cutCHSString, // 截取字符串,中文算2个字节
textareaInsertText, // textarea或input对象在指定的光标位置插入文字
textareaMoveToEnd, // textarea或input对象将光标定位到文字尾部
// 获取一下状态
isDigitals, // 是否为由数字组成的字符串
isExitsFunction, // 是否存在指定函数
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ const functionList = {
getRandomStrWidthSpecialChar, // get a random string with special symbols
getCHSLength, // get the length of the string, Chinese counts as 2 characters
cutCHSString, // get the string, Chinese count as 2 bytes
textareaInsertText, // textarea or input object to insert text at the specified cursor position
textareaMoveToEnd, // textarea or input object to position the cursor to the end of the text
// Get a status
isDigitals, // whether it is a string composed of numbers
isExitsFunction, // if the specified function exists
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "js-cool",
"description": "Collection of common JavaScript / TypeScript utilities",
"version": "4.5.0",
"version": "4.6.0",
"packageManager": "pnpm@8.6.0",
"main": "dist/index.cjs.js",
"module": "dist/index.esm-bundler.js",
Expand Down
4 changes: 0 additions & 4 deletions src/index.default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ import getRandomStr from './getRandomStr'
import getRandomStrWidthSpecialChar from './getRandomStrWidthSpecialChar'
import getCHSLength from './getCHSLength'
import cutCHSString from './cutCHSString'
import textareaInsertText from './textareaInsertText'
import textareaMoveToEnd from './textareaMoveToEnd'

// Get the status of
import isDigitals from './isDigitals'
Expand Down Expand Up @@ -156,8 +154,6 @@ export default {
setProperty,
stopBubble,
stopDefault,
textareaInsertText,
textareaMoveToEnd,
toThousands,
trim,
union,
Expand Down
4 changes: 0 additions & 4 deletions src/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ const {
setSession,
stopBubble,
stopDefault,
textareaInsertText,
textareaMoveToEnd,
toThousands,
trim,
union,
Expand Down Expand Up @@ -156,8 +154,6 @@ export {
setSession,
stopBubble,
stopDefault,
textareaInsertText,
textareaMoveToEnd,
toThousands,
trim,
union,
Expand Down
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ export { default as getRandomStr } from './getRandomStr'
export { default as getRandomStrWidthSpecialChar } from './getRandomStrWidthSpecialChar'
export { default as getCHSLength } from './getCHSLength'
export { default as cutCHSString } from './cutCHSString'
export { default as textareaInsertText } from './textareaInsertText'
export { default as textareaMoveToEnd } from './textareaMoveToEnd'

// Get the status of
export { default as isDigitals } from './isDigitals'
Expand Down
27 changes: 0 additions & 27 deletions src/textareaInsertText.ts

This file was deleted.

19 changes: 0 additions & 19 deletions src/textareaMoveToEnd.ts

This file was deleted.

0 comments on commit 216199c

Please sign in to comment.