punctualTimer
got returns of PunctualTimerReturns
- fix bugs of
nextVersion
- new
isNumberBrowser
function, see: isNumberBrowser - Default value of agent string for
getOsVersion
andgetAppVersion
changed to navigator.appVersion.
pattern
support mac/ip4/ip4_pri
osVersion
support Harmony
spliceUrlParam
Breaking change: SpliceUrlParamOptions
spliceUrlParam
Breaking change: remove encodeURIComponent
- upgrade
await-to-done
, fix types
- remove default params of
arrayBufferToBase64
getProperty
support defaultValue- fix types
- upgrade all packages
- fix types
- fix export error
- new
punctualTimer
function, see: punctualTimer
safeParse
safeStringify
supports converting bigint
randomColor
supports a range of custom color values, which can be used to customize the generation of dark, light, warm, etc.
- new
safeParse
safeStringify
function - upgrade all packages
- move
awaitTo
toawait-to-done
function, see: await-to-done - fix circle require
- new
clone
function, see: clone - new
isDate
function, see: isDate - new
isRegExp
function, see: isRegExp
- docs work
- new
sorter
function, see: sorter - new
sortPinyin
function, see: sortPinyin - upgrade all packages
- new
arrayBufferToBase64
function, see: arrayBufferToBase64 - new
arrayBufferToBlob
function, see: arrayBufferToBlob - new
base64ToArrayBuffer
function, see: base64ToArrayBuffer - new
base64ToBlob
function, see: base64ToBlob - new
base64ToFile
function, see: base64ToFile - new
blobToArrayBuffer
function, see: blobToArrayBuffer - new
blobToBase64
function, see: blobToBase64 - new
blobToUrl
function, see: blobToUrl - new
fileToBase64
function, see: fileToBase64 - new
svgToBlob
function, see: svgToBlob - new
urlToBlob
function, see: urlToBlob - new
inNodeJs
function, see: inNodeJs
- new
isEqual
function, see: isEqual - upgrade all packages
- new
getFileType
function, see: getFileType - upgrade all packages
- new
nextVersion
function, see: nextVersion - new
promiseFactory
function, see: promiseFactory
- new
mapTemplate
function, see: mapTemplate
waiting
support throw on timeout API Docs
compareVersion
support tag version API Docs
- fix regexp bug of appVersion
- revert nextIndex function
- new
isIterable
function, see: isIterable - Extend awaitTo to support passing in multiple promises, see: awaitTo
- fix types
- upgrade all packages
- new
getCookies
function, see: getCookies - some improvements for getType/getSession/getCache/fixNumber
- fix bugs: toThousands/parseUrlParam
- new pattern.number/nextIndex
- deprecated getScrollPosition
- fix types
- new
preloader
escape
unescape
randomColor
isDarkMode
waiting
function, see: preloader, escape, unescape, randomColor, isDarkMode, waiting
- new
shuffle
randomNumbers
function, see: shuffle, randomNumbers - Band new randomString function, see: randomString
- Optimize usage of
getQueryParams
getUrlParams
- upgrade all packages
- fix appVersion bug
- new
spliceUrlParam
function - deprecated
isDigitals
- fix types & bugs
- docs work
- new
awaitTo
fingerprint
browserVersion
function - fix bugs of
osVersion
- deprecated
trim
pattern
getDirParam
- docs work
- add
appVersion
osVersion
- deprecated
getOsVersion
getAppVersion
- add
copy
getQueryParam
getQueryParams
getUrlParams
function - change the params of
getUrlParam
- add
isWindow
function - add
isObject
isArray
function - remove
getRandomStrWidthSpecialChar
- remove
getParameter
- remove
getIsAppVersionLastest
, usecompareVersion
instead searchTreeObject
rename tosearchObject
getRandomNum
rename torandomNumber
getRandomStr
rename torandomString
- upgrade all packages
- add
compareVersion
API Docs - upgrade all packages
- drop
textareaInsertText
&textareaMoveToEnd
, If you still need to use it, we using grace-textarea
- add
inBrowser
API Docs - some translate work
- upgrade all packages
- fix esm module
- fix outputs
- fix exports
- fix export default
- fix types
- upgrade all packages
- use
use-downloads
- some translate work
- use
load-source
mount-css
mount-image
mount-script
mount-style
- some translate work
- split
csv
intoarrayToCSV
CSVToArray
CSVToJSON
JSONToCSV
- split
cache
intosetCache
getCache
delCache
- split
session
intosetSession
getSession
delSession
- split
cookie
intosetCookie
getCookie
delCookie
- drop
tslib
package - new build scripts & output
- Optimize build output by removing
tslib
from the package
- remove
imgAdapt
imgChoose
throttle
debounce
enWxJumpLink
enWxJumpLinkOld
deWxJumpLink
deWxJumpLinkOld
clearHtmlExpSN
clearHtmlN
clearHtmlNS
clearHtmlTag
formatTime
formatTimeStr
getFileType
clearBr
- move
arrayToCSV
CSVToArray
CSVToJSON
JSONToCSV
tocsv
- move
setCache
getCache
delCache
tocache
- move
setSession
getSession
delSession
tosession
- move
setCookie
getCookie
delCookie
tocookie
- add
isPlainObject
function - support
const addEvent = require('js-cool/addEvent')
This introduction method - build product differentiate between esnext and es5, default output esnext
splitThousand
=>toThousands
getWindowSize
=>windowSize
- new
extend
function
loadSource
mountCss
mountImg
mountJs
mountStyle
new support for passing in custom properties, adjusting the input form, and improving the ts type, fixing IE compatibility issues- dependency package upgrade
Extend the types supported by getType
method.
- add
setProperty
method - fix getProperty bug
- add
loadSource
mountCss
mountImg
mountJs
mountStyle
5 methods - upgrade the dependency package
- adjust exports export method, focus on supporting node esm mode
- optimize build scripts
- upgrade dependency packages
- upgrade dependency packages
- optimize the build process
- upgrade dependency packages
- optimize the documentation
- fix
tslib
package issue
- export module to keep default
- upgrade dependency package
- add getProperty method
- improve fillIPv6 method
- add fillIPv6 method
- add methods to find the intersection, concatenation, difference and complement of multiple arrays
- add contains method
- add a unique method for de-duplication
- build output banner
- improve typescript types
- upgrade dependency package
- refine typescript types
- add build es module
- fix several issues
- optimize code, optimize documentation
- refactor all the code to typescript
- rewrite method comments according to tsdoc specification
- use webpack to build umd package
- add all/any/RGBToHex/uuid methods
- add CSV to object conversion methods: arrayToCSV/CSVToArray/CSVToJSON/JSONtoCSV
- add splitThousand method
- fix nextIndex bug
- add openUrl method
- add download/searchTreeObject method
- update getCookie/setCookie methods
- handle bugs
- add nextIndex,fixNumber,delay,extend,getType,isArray,cleanData,getCache,setCache,delCache
- delete getLocal,setLocal,delLocal
- create project