Commit Graph

36 Commits

Author SHA1 Message Date
raon0211
0eab4b9c9c feat(mapValues): Ensure compatibility with mapValues 2024-08-09 10:40:35 +09:00
raon0211
9c0f7b8210 test(isBoolean): Add test cases from lodash 2024-08-08 18:50:35 +09:00
raon0211
ce412ff996 feat(isEqual): Implement isEqual 2024-08-07 18:50:11 +09:00
Dayong Lee
f715a730d3
feat(flattenDeep, flattenDepth): add compatibility with lodash (#334)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-08-02 22:00:24 +09:00
오병진
fcc166a8fa
feat(size, compat): implement size function (#275)
* feat(size, compat): implement size function

Signed-off-by: sunrabbit123 <qudwls185@naver.com>

* fix: typo

Signed-off-by: sunrabbit123 <qudwls185@naver.com>

* bench(size): add benchamrk code

Signed-off-by: sunrabbit123 <qudwls185@naver.com>

* enhance(size): refactor size implementation

Signed-off-by: sunrabbit123 <qudwls185@naver.com>

* remove: unused code

Signed-off-by: sunrabbit123 <qudwls185@naver.com>

* fix: type check

Signed-off-by: sunrabbit123 <qudwls185@naver.com>

* fix: typo

Signed-off-by: sunrabbit123 <qudwls185@naver.com>

---------

Signed-off-by: sunrabbit123 <qudwls185@naver.com>
2024-07-31 22:00:02 +09:00
Dayong Lee
2d1c406398
feat(flatten): add compatibility with lodash (#330)
* feat(flatten): add compatibility

* Add bench

* Add doc

* fix jsdoc
2024-07-31 21:54:21 +09:00
raon0211
876931405a feat(cloneDeep): Support full feature parity with lodash 2024-07-31 21:50:17 +09:00
Dayong Lee
a02b4158eb
feat(isObjectLike, isArguments): Add isObjectLike and isArguments with compatibility test (#279)
* Add isObjectLike

* Add isArguments

* remove duplicate function noop

* Remove un duplicated function

* add bench

* update compatibility

* Add docs

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-25 16:36:57 +09:00
raon0211
834a71589a docs: Update docs for compatibility
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-07-25 12:17:18 +09:00
Sojin Park
2df30f70db feat(isTypedArray): Add isTypedArray 2024-07-21 22:56:28 +09:00
정해준
999a4daf87
feat(isNull): Add compatibility with lodash (#264)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* feat(isNull): Add isNull benchmark

* feat(isNull): Add compat's isNull test code

* docs(isNull): Update isNull status from 'review' to 'complete'

* Update src/compat/predicate/isNull.spec.ts

* Update src/compat/predicate/isNull.spec.ts

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-21 11:06:54 +09:00
정해준
d0812b81ab
feat(isUndefined): Add compatibility with lodash (#266)
* feat(isUndefined): Add isUndefined benchmark

* feat(isUndefined): Add compat's isUndefined test code

* docs(isUndefined): Update isUndefined status from 'review' to 'complete'

* fix(isUndefined): fix typo

* Update src/compat/predicate/isUndefined.spec.ts

* Update src/compat/predicate/isUndefined.spec.ts

* Update src/compat/predicate/isUndefined.spec.ts

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-21 11:04:50 +09:00
Dayong Lee
2f76fd2461
test(invert): add compatibility testcase (#261) 2024-07-21 10:58:58 +09:00
Dayong Lee
e0469bf394
feat(fill): Add compatibility with lodash (#259)
* feat(fill): Add compatibility with lodash

* Change docs and export fill
2024-07-21 10:58:40 +09:00
Dayong Lee
bd7cb34cb7
feat(isArrayLike,isFunction): Add isArrayLike and isFunction with compatibility (#265)
* add isArrayLike and isFunction

* Add bench

* Add create arguments function

* Add isArrayLike function

* Add compatibility

* Change sub title to korean in isLength docs

* Add docs

* Fix typo error

* add toArgs testcase and remove a unusable expression

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-21 10:51:09 +09:00
KiKoS0
25cd782b5a
test(initial,last,takeRight,without,uniq): Add lodash compat tests (#269)
* test(initial): Add compat tests

* test(last): Add compat tests

* test(takeRight): Add compat tests

* fix(takeRight): Set default count to 1 & handle negative values

* chore(initial,last): Remove _.map from test names

* test(without): Add compat tests

* test(uniq): Add compat tests
2024-07-21 10:44:22 +09:00
Sojin Park
35fbc4caa7 docs: Ensure compatibility of isArray with lodash 2024-07-21 10:41:25 +09:00
Sojin Park
cbd4d3d002 docs: Update docs for compatibility
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-07-20 12:00:40 +09:00
오병진
caedf69aed
feat(isLength): Add isLength (#245)
* feat(predicate, compat, isLength): impl isLength

Signed-off-by: sunrabbit123 <qudwls185@naver.com>

* docs: change compatibility mark

Signed-off-by: sunrabbit123 <qudwls185@naver.com>

* test(isLength, compat): add test case link

Signed-off-by: sunrabbit123 <qudwls185@naver.com>

* docs(predicate, isLength): add route path on vitepress

Signed-off-by: sunrabbit123 <qudwls185@naver.com>

* Update docs/ko/reference/predicate/isLength.md

---------

Signed-off-by: sunrabbit123 <qudwls185@naver.com>
Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-20 11:18:20 +09:00
Youngjun Choi
3f7136734b
test: Add test cases for take (#252)
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-20 11:04:28 +09:00
raon0211
376499351f feat(isPlainObject): Add isPlainObject 2024-07-19 19:08:13 +09:00
KiKoS0
0bb2a1ad51
test(head, tail): Add lodash tests (#239)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* chore: Add lodash tests for tail

* chore: Add lodash tests for head

* Update src/array/tail.ts

* Update src/compat/array/head.spec.ts

* Update src/compat/array/head.spec.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-19 09:47:03 +09:00
raon0211
eee44287e7 docs: Note that we do not handle cases where internal object prototypes were modified 2024-07-19 09:44:30 +09:00
raon0211
e09517f05c feat(concat): Add concat to es-toolkit/compat 2024-07-19 01:05:02 +09:00
raon0211
32a79fd4e8 feat(difference): Add compatibility for difference 2024-07-19 00:51:07 +09:00
raon0211
f00ea62ee6 docs: Elaborate what the implementation status means 2024-07-19 00:23:49 +09:00
raon0211
93d3e6a192 docs: Update compatibility docs for max & min 2024-07-19 00:07:26 +09:00
raon0211
6739c840ed test: Add test cases to ensure that drop & dropRight is compatible with es-toolkit 2024-07-18 23:07:30 +09:00
raon0211
96f3ce72cf chore: Move get to compat & document 2024-07-18 22:59:11 +09:00
raon0211
8143e8461c docs: Update compatibility docs 2024-07-18 21:51:57 +09:00
raon0211
566a3fcab1 chore: Ensure compatibility for compact 2024-07-18 21:47:13 +09:00
raon0211
2db0b49579 chore(startsWith, endsWith): Update docs and import tests from lodash 2024-07-18 21:36:32 +09:00
raon0211
0d9e34243a docs: Update compatibility table 2024-07-18 20:37:19 +09:00
raon0211
38a939f31f docs: Update docs for compat 2024-07-18 20:31:35 +09:00
Sojin Park
e3cd91f59d docs: Elaborate docs for es-toolkit/compat 2024-07-15 00:02:40 +09:00
Sojin Park
acb74650a6 feat: Introduce es-toolkit/compat, and add chunk in compat 2024-07-14 23:55:52 +09:00