Commit Graph

106 Commits

Author SHA1 Message Date
Dongho Kim
b648c2c496
docs(iteratee): Update docs (#792)
* docs(iteratee): Add `identity` function link

* docs(iteratee): Add examples for property-value pairs and partial objects

* iteratee

---------

Co-authored-by: raon0211 <raon0211@toss.im>
2024-11-07 18:22:54 +09:00
Evgeny Kirpichyov
de5265cdf4
feat(compat): add forEach function (#749)
* feat(compat): add `forEach` function

* add bench

* remove debug

* remove useless type assertion

* test: Add tests from lodash

* test: Fix benchmarks & add each

* docs: Update docs

* style: Fix lint

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-11-03 23:48:07 +09:00
D-Sketon
4004c3fe22
fix(rearg): fix docs (#768) 2024-11-01 10:57:44 +09:00
Sojin Park
e0d24242e3 docs: Remove dead link 2024-10-26 20:03:17 +09:00
Sojin Park
9936d10699 docs: Add docs for replace, iteratee, and differenceBy (compat) 2024-10-26 19:57:14 +09:00
Sojin Park
c5fa2654a4 fix(isEmpty): Move isEmpty to compatibility library 2024-10-26 19:42:42 +09:00
Dayong Lee
adbe18e34d
feat(template): add template in compat layer (#681)
* Almost done

* Finish template

* Fix tsc error

* Split let and const

* Refactor

* Remove `toString`

* Refactor to use `string.matchAll`

* Remove circular dependency

* Fix lint error

* Add comment

* Fix compatibility problem

* docs

---------

Co-authored-by: raon0211 <raon0211@toss.im>
2024-10-24 21:44:29 +09:00
hyunwoo
415d325ff0
feat(uniqueId): Add uniqueId to compat layer (#714)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* feat(uniqueId): Add uniqueId to compat layer

* refactor: changed the implementation of uniqueId to improve readability.

* feat: use lodash's test code

* test: add test case

* Update docs

---------

Co-authored-by: raon0211 <raon0211@toss.im>
2024-10-24 13:51:24 +09:00
D-Sketon
4a8ea44edd
fix(compat): fix type error (#729)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-10-21 12:10:37 +09:00
D-Sketon
1497a949f9
fix(some): fix lodash compatibility (#728) 2024-10-19 21:56:49 +09:00
D-Sketon
61f5bfd7bf
fix(flatten/flattenDeep/flattenDepth/slice/zipObjectDeep): fix lodash compatibility (#716) 2024-10-16 10:04:17 +09:00
D-Sketon
f37b4ac064
fix(every/fill/filter/find/findIndex/findLastIndex/indexOf/join): fix lodash compatibility (#707)
* fix(every/fill/filter/find/findIndex/findLastIndex/indexOf/join): fix lodash compatibility

* test docs

* fix doc

* Update src/compat/array/filter.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-14 23:51:41 +09:00
Dongho Kim
3ed5a4132f
docs(first): Update example (#712)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-10-14 23:41:44 +09:00
raon0211
610f479593 style: Fix style 2024-10-14 15:36:07 +09:00
Sojin Park
274034524d style: Fix ESLint & Prettier 2024-10-09 22:28:27 +09:00
HyunWoo Choi
faa0f2f582
feat(compat) : add toSafeInteger (#691)
* feat : add toSafeInteger

* feat : add lodash test

* feat : add toSafeInteger bench

* docs : add toSafeInteger Docs

* Update docs/ja/reference/compat/util/toSafeInteger.md

* Update docs/reference/compat/util/toSafeInteger.md

* Update docs/zh_hans/reference/compat/util/toSafeInteger.md

* Update docs/ko/reference/compat/util/toSafeInteger.md

* Update docs/ja/reference/compat/util/toSafeInteger.md

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-09 11:58:06 +09:00
raon0211
25602192d8 docs: Fix docs style 2024-10-07 22:25:31 +09:00
raon0211
c5bbf032a4 docs: Fix docs style 2024-10-07 09:59:13 +09:00
Sojin Park
98f71ff7fa docs(eq): Update docs for eq 2024-10-03 18:04:17 +09:00
Sojin Park
de8c69e9f8 feat(defaults, toDefaulted): Add toDefaulted & fix doc 2024-10-03 18:03:36 +09:00
Seongjee Kim
1ff80546dd
feat(invertBy): add invertBy to compat (#574)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
* add invertBy to compat

* add invertBy bench

* add invertBy .md

* Update benchmarks/performance/invertBy.bench.ts

* Update docs/reference/object/invertBy.md

* Update invertBy.ts

* Update src/compat/object/invertBy.ts

* Update invertBy.ts

* update invertBy

* update invertBy

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-01 23:14:18 +09:00
Dongho Kim
a093c732a4
fix(filter): Ensure filter provide correct arguments to the predicate function (#619)
* fix(filter): Ensure `filter` provide correct arguments to the predicate function

* docs(filter): Update docs for `filter`

* Update src/compat/array/filter.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-09-29 17:59:44 +09:00
Dongho Kim
6fa1f00e07
docs(every): Update docs for every (#617) 2024-09-29 17:37:30 +09:00
Dongho Kim
93d256d21d
docs(flip): Update docs for flip (#618) 2024-09-29 17:36:37 +09:00
Sojin Park
5c39817c0a chore: Move includes to array 2024-09-29 00:35:45 +09:00
Sojin Park
dd30980a68 docs(includes): Add docs for includes 2024-09-29 00:29:53 +09:00
kimjeonghee
6e3226e2f0
feat(filter): add filter function (#610)
* feat: create filter function

* test: filter

* docs: filter

* fix: test case description

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-28 23:44:52 +09:00
Sojin Park
7eed956ee0 docs(flip): Update docs for flip 2024-09-28 22:54:54 +09:00
D-Sketon
4e92675248
feat(flip): implement flip (#582) 2024-09-28 22:50:31 +09:00
Sojin Park
efe7932200 feat(every): Ensure compatibility with lodash 2024-09-28 22:48:32 +09:00
Sojin Park
819d64ecfa docs: Add missing docs and style docs 2024-09-28 22:22:34 +09:00
Wojciech Maj
7016baf301
docs: fix castArray import paths (#598)
Closes #597
2024-09-26 10:54:17 +09:00
D-Sketon
f7853a80c1
docs: fix import (#599)
* docs: fix import

* docs: fix import
2024-09-26 10:53:52 +09:00
raon0211
92500e54da docs: Add docs for functions
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-25 17:37:03 +09:00
D-Sketon
36b14bef50
feat(defer): implement defer (#581)
* feat(defer): implement defer

* make lint happy

* export
2024-09-24 10:32:09 +09:00
Minhee Lee
212ba9ae47
feat(isFinite): add isFinite to compat (#577)
* feat: append isFinite to compat

Co-authored-by: hyesungoh <haesungoh414@gmail.com>

* test: isFinite

Co-authored-by: hyesungoh <haesungoh414@gmail.com>

* docs: isFinite

Co-authored-by: hyesungoh <haesungoh414@gmail.com>

* docs: add ts docs

Co-authored-by: hyesungoh <haesungoh414@gmail.com>

* Update docs/reference/compat/predicate/isFinite.md

* Update src/compat/predicate/isFinite.ts

* Update src/compat/predicate/isFinite.ts

---------

Co-authored-by: hyesungoh <haesungoh414@gmail.com>
Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-24 10:30:53 +09:00
Junseong Park
0c4edbb2b9
docs: Update wrong headings and contents (#547)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-18 17:36:04 +09:00
Sojin Park
ca9857d108 docs: Fix docs styling 2024-09-18 17:23:01 +09:00
Sojin Park
192a7d59fa feat(clamp, inRange, random): Ensure compatibility with lodash 2024-09-18 17:11:21 +09:00
Sojin Park
e32bd2462b docs: Add missing docs 2024-09-18 16:26:28 +09:00
raon0211
f2f4b8ec88 docs: Fix docs style 2024-09-14 20:32:06 +09:00
raon0211
4b9c4985b6 fix(unset): Fix behavior of unset, add docs 2024-09-14 17:53:27 +09:00
raon0211
dcfc521109 docs: Move toString to util 2024-09-14 17:44:09 +09:00
raon0211
c407bcc807 feat(toPath): Add toPath in compatibility library 2024-09-14 17:37:12 +09:00
raon0211
06f68c20b9 docs: Fix docs style
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-14 14:47:53 +09:00
mattiacoll
0375c66a9e
feat(isSafeInteger): add isSafeInteger function (#529)
* Implement isInteger

* Implement isInteger

* Implement isSafeInteger

* docs: Add isSafeInteger and use native Number.isSafeInteger

* fix: Remove isInteger, isSafeInteger

* doc

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-14 14:47:33 +09:00
raon0211
2867dcdc7d docs(toString): Add docs for toString 2024-09-14 14:26:40 +09:00
mattiacoll
ff8976e5de
feat(isInteger): add isInteger function (#528)
* Implement isInteger

* Update docs/reference/math/isInteger.md

* Update src/math/isInteger.ts

* Update src/math/isInteger.ts

* Update docs/reference/math/isInteger.md

* Update docs/reference/math/isInteger.md

* docs(isInteger): Add docs for isInteger

* lint

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: raon0211 <raon0211@toss.im>
2024-09-14 14:26:00 +09:00
DonghyunKim98
7aad9d6b9a
docs: Fix incorrect docs in isObject (#520)
* fix : wrong docs in isObject docs

* Update isObject.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-09-13 16:42:43 +09:00
raon0211
db82e936f6 docs: Update docs for upperCase 2024-09-13 15:48:18 +09:00