77 Commits

Author SHA1 Message Date
wangben 914e1b47c1 Fix codex
issues:https://gitee.com/openharmony/js_util_module/issues/I5HJRN

Signed-off-by: wangben <wangben15@huawei.com>
2022-07-18 14:03:44 +08:00
chenqy930 a2620dc1e5 Switch component ark_ts2abc to arkcompiler_ets_frontend
Signed-off-by: chenqy930 <chenqiuyao@huawei.com>
Change-Id: I6e8c689d51a8a67edddea3be3c83a46bf7be5b57
2022-07-12 10:18:20 +08:00
shikai-123 8629b220a2 Modify the return value type of promisewrapper
Change the return value from object to function

issues: https://gitee.com/openharmony/js_util_module/issues/I5DVPV

Signed-off-by: zhoufei <zhoufei38@huawei.com>
2022-07-04 12:36:50 +08:00
chuxuezhe111 2289db98d4 add the relative_path argument to adapter the root_build_dir
Signed-off-by: chuxuezhe111 <hanjixiao@huawei.com>
2022-06-29 01:22:00 -07:00
wangben 7717bb161c encode adds Chinese encoding
Description:add gbk gb2312 gb18030 format

issues:https://gitee.com/openharmony/js_util_module/issues/I5BM5H

Signed-off-by: wangben <wangben15@huawei.com>
2022-06-10 15:23:10 +08:00
xdmal 4bfceff79c Solve that Textdecode class cannot decode GBK, GB8030 and GB2312
Call the SetHwIcuDirectory() function to initialize the ICU data

issue:https://gitee.com/openharmony/js_util_module/issues/I5BC1R

Signed-off-by: xdmal <maxiaodong16@huawei.com>
2022-06-08 16:05:43 +08:00
xllify 74b818e4a7 Modify Util warehouse base64 code
Modify function parameters, delete a judgment

issue:https://gitee.com/openharmony/js_api_module/issues/I582UQ

Signed-off-by: xllify <lixinlong18@huawei.com>
2022-05-18 16:03:00 +08:00
mamingshuai b3760ba346 !115 ace_engine、napi 部件名仓名和目录名整改
Merge pull request !115 from 0420
2022-04-27 14:07:50 +00:00
zhangxiao72 ae5537ae18 ace_engine、napi 部件名仓名和目录名整改
Change-Id: I977eb3eae853b7269c11c32cad1fe42979fd7858
Signed-off-by: zhangxiao72 <zhangxiao72@huawei.com>
2022-04-20 17:17:33 +08:00
xdmal cad7b3343d Resolve multithreaded use case crashes
Fix the static napi_property_descriptor to napi_property_descriptor

issue: https://gitee.com/openharmony/js_util_module/issues/I53KX3

Signed-off-by: xdmal <maxiaodong16@huawei.com>
2022-04-20 09:09:29 +08:00
xdmal 3a24eac032 Fix thread safety issues
Save the env not in the class and pass it down through the method

issue: https://gitee.com/openharmony/js_util_module/issues/I52PCX

Signed-off-by: xdmal <maxiaodong16@huawei.com>
2022-04-14 14:55:30 +08:00
xdmal 2049a155d9 Keep the Types class consistent with d.ts
Change the class name Types to types

issue: https://gitee.com/openharmony/js_util_module/issues/I51I4Y

Signed-off-by: xdmal <maxiaodong16@huawei.com>
2022-04-07 14:13:47 +08:00
shikai-123 ba77c21a50 Modify defects of util
https://gitee.com/openharmony/js_util_module/issues/I4ZBQ3

Signed-off-by: shikai-123 <shikai25@huawei.com>
2022-03-26 09:11:47 +08:00
shikai-123 92848eec46 Modify defects of util
https://gitee.com/openharmony/js_util_module/issues/I4YGH9

Signed-off-by: shikai-123 <shikai25@huawei.com>
2022-03-22 14:33:38 +08:00
xllify f4834f81c7 Modify the issue in the js_util_module warehouse
Signed-off-by: xllify <lixinlong18@huawei.com>

 Author:    xllify <lixinlong18huawei.com>
 Date:      Fri Mar 11 17:02:39 2022 +0800

 Please enter the commit message for your changes. Lines starting
 with '#' will be ignored, and an empty message aborts the commit.

 Author:    xllify <lixinlong18huawei.com>
 Date:      Fri Mar 11 17:02:39 2022 +0800

 Please enter the commit message for your changes. Lines starting
 with '#' will be ignored, and an empty message aborts the commit.

 Author:    xllify <lixinlong18huawei.com>
 Date:      Fri Mar 11 17:02:39 2022 +0800

 Please enter the commit message for your changes. Lines starting
 with '#' will be ignored, and an empty message aborts the commit.

 Author:    xllify <lixinlong18huawei.com>
 Date:      Fri Mar 11 17:02:39 2022 +0800
2022-03-14 15:07:16 +08:00
Bi 3945b421ed Modify the issue in the js_util_module warehouse
Signed-off-by: xllify <lixinlong18@huawei.com>

 Author:    xllify <lixinlong18@huawei.com>
 Date:      Fri Mar 11 16:35:49 2022 +0800
2022-03-11 16:51:24 +08:00
xdmal a0430f80f6 Fix code bugs
Signed-off-by: xdmal <maxiaodong16@huawei.com>
2022-02-28 15:35:18 +08:00
shikai-123 c7ba8f21a9 Modify defects of util
Deal with a priority problem of ternary operation

https://gitee.com/openharmony/js_util_module/issues/I4V6Y1

Signed-off-by: shikai-123 <shikai25@huawei.com>
2022-02-25 09:29:18 +08:00
shikai-123 8c822182e8 Modify defects of util
StrError function is a risk function, and some interface types of decode are modified

https://gitee.com/openharmony/js_util_module/issues/I4UZCC

Signed-off-by: shikai-123 <shikai25@huawei.com>
2022-02-23 17:41:21 +08:00
shikai-123 216ae9369b Modify type-any of util
Any type in TS file is risky, so it is modified to other types as required

https://gitee.com/openharmony/js_util_module/issues/I4UR7A

Signed-off-by: shikai-123 <shikai25@huawei.com>
2022-02-22 20:33:51 +08:00
shikai-123 0732d44914 Signed-off-by: shikai-123 <lifansheng1@huawei.com>
Modify defects of util
2022-02-21 16:01:20 +08:00
shikai-123 5db59eb641 Signed-off-by: shikai-123 <lifansheng1@huawei.com>
Modify defects of util
2022-02-21 09:12:01 +08:00
shikai-123 d1ff52bcd6 Signed-off-by: shikai-123 <lifansheng1@huawei.com>
Modify defects of util
2022-02-18 15:08:40 +08:00
shikai-123 97c60bb4c6 Modify defects of util
Signed-off-by: shikai-123 <lifansheng1@huawei.com>

 On branch master
 Your branch is up to date with 'origin/master'.
2022-02-16 20:35:06 +08:00
shikai-123 eaec996103 Signed-off-by: shikai-123 <lifansheng1@huawei.com>
Modify defects
2022-02-16 17:44:58 +08:00
shikai-123 5e0a81e602 Signed-off-by: shikai-123 <lifansheng1@huawei.com>
Replace compileruntime with utils
2022-02-15 16:01:03 +08:00
shikai b5f57978df Signed-off-by: shikai <shikai25@huawei.com>
Modify build.gn of util
2022-02-12 23:07:04 +08:00
xliu 3af09b15bf Replace ohos.build with bundle.json
Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: Ic9350e4cb1b2b051b068989187ab24c66f82bcc0
2022-01-24 22:52:16 +08:00
lifansheng 27033a675e Signed-off-by: lifansheng <lifansheng1@huawei.com>
On branch master
 Your branch is up to date with 'origin/master'.
2021-12-22 09:32:44 +08:00
lifansheng 5b0d1d93b5 Signed-off-by: lifansheng <lifansheng1@huawei.com>
On branch master
 Your branch is up to date with 'origin/master'.
2021-11-26 09:47:16 +08:00
lifansheng 2f8e3f3b54 Signed-off-by: lifansheng <lifansheng1@huawei.com>
On branch master
 Your branch is up to date with 'origin/master'.
2021-11-25 11:20:30 +08:00
lifansheng 0b18173c8d Signed-off-by: lifansheng <lifansheng1@huawei.com>
On branch master
 Your branch is up to date with 'origin/master'.
2021-11-25 10:27:17 +08:00
lifansheng cbbeb82ddc Signed-off-by: lifansheng <lifansheng1@huawei.com>
On branch master
 Your branch is up to date with 'origin/master'.
2021-11-23 09:46:46 +08:00
lifansheng 178d6eaaeb Signed-off-by: lifansheng <lifansheng1@huawei.com>
On branch master
 Your branch is up to date with 'origin/master'.
2021-11-22 17:28:59 +08:00
lifansheng e203293649 Signed-off-by: lifansheng <lifansheng1@huawei.com>
On branch master
 Your branch is up to date with 'origin/master'.
2021-11-22 16:15:42 +08:00
lifansheng 765e0b9a55 Signed-off-by: lifansheng <lifansheng1@huawei.com>
On branch master
 Your branch is up to date with 'origin/master'.
2021-11-15 17:52:08 +08:00
lifansheng f6b6986464 Signed-off-by: lifansheng <lifansheng1@huawei.com>
On branch master
 Your branch is up to date with 'origin/master'.
2021-10-27 15:45:39 +08:00
lifansheng ac2d630348 Signed-off-by: lifansheng <lifansheng1@huawei.com>
On branch master
 Your branch is up to date with 'origin/master'.
2021-10-26 18:00:54 +08:00
lifansheng 8b7e1c1049 Signed-off-by: lifansheng <lifansheng1@huawei.com>
On branch master
 Your branch is up to date with 'origin/master'.
2021-10-20 17:19:10 +08:00
lifansheng b77a91b531 Signed-off-by: lifansheng <lifansheng1@huawei.com>
On branch master
 Your branch is up to date with 'origin/master'.
2021-10-19 17:05:10 +08:00
lifansheng be96eadefd Signed-off-by: lifansheng <lifansheng1@huawei.com>
On branch master
 Your branch is up to date with 'origin/master'.
2021-10-18 14:34:30 +08:00
lifansheng 9958d50136 Signed-off-by: lifansheng <lifansheng1@huawei.com>
On branch master
 Your branch is up to date with 'origin/master'.
2021-10-18 10:34:49 +08:00
lifansheng 6edebac011 Signed-off-by: lifansheng <lifansheng1@huawei.com>
On branch master
 Your branch is up to date with 'origin/master'.
2021-10-16 17:27:09 +08:00
lifansheng 3d7cca6595 Signed-off-by: lifansheng <lifansheng1@huawei.com>
On branch master
 Your branch is up to date with 'origin/master'.
2021-10-16 16:35:25 +08:00
lifansheng 3ab87f08ef Signed-off-by: lifansheng <lifansheng1@huawei.com>
On branch master
 Your branch is up to date with 'origin/master'.
2021-10-14 16:48:14 +08:00
Wang 4d5af398ce On branch master
Your branch is up to date with 'origin/master'.
Signed-off-by:lifansheng <lifansheng1@huawei.com>
2021-10-12 16:15:42 +08:00
Wang 5ee8dfb505 On branch master
Your branch is up to date with 'origin/master'.
Signed-off-by:lifansheng <lifansheng1@huawei.com>
2021-10-11 14:48:36 +08:00
Wang 274745c9ef On branch master
Your branch is up to date with 'origin/master'.
Signed-off-by:lifansheng <lifansheng1@huawei.com>
2021-10-11 14:11:51 +08:00
Wang b778b1e7c9 On branch master
Your branch is up to date with 'origin/master'.
Signed-off-by:lifansheng <lifansheng1@huawei.com>
2021-10-11 11:06:20 +08:00
Wang 31f9c7091b On branch master
Your branch is up to date with 'origin/master'.
Signed-off-by:lifansheng <lifansheng1@huawei.com>
2021-10-11 11:05:32 +08:00