UNPKG

beyond-lib

Version:

beyond lib cookie storage dateformat htmlencode htmldecode datediff eventbus

65 lines (40 loc) 1.1 kB
**2.1.1** 修复 createProxy 误删 **2.1.0** 修复 EventBus 的类型错误 **2.0.2** 用 ts 重写 增加 createStore,createProxy 和 memory parseUrl 和 parseBrowser 修改导出方法名称 **1.3.2** 修复 tsd 文件 **1.3.1** 修复 browser 对平台的检测 修复 android 拼写错误 **1.3.0** 增加 EventBus 对 Event 上添加属性接口 **1.2.0** 增加 EventBus **1.0.3** 调整部分接口返回的数据 修复部分bug **0.6.2** 修复cookie的时间设置bug **0.6.0** 增加以下功能接口 - dateDiff - encodeHTML - decodeHTML - namespace - klass url 解析升级 - url上如果不存在 ? 和 #,则 search 和 hash 返回null - 移除 protocol 末尾的 ':' ,search首位的 '?',hash首位的 '#' - 移除解析返回的href属性,增加url和origin **0.5.1** - 修复npm版本号和官网问题 **0.5.0** - 更新 url.parse 返回的hash,不包含 # 符号 - 修复 dateFormat ,年份不再返回1位或者3位 - 更新 storage ,不对url做检测,移除部分不用的api - 更新 browser 检测,支持 Edge 浏览器