Commit Graph

460 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
Gromit (전민재)
0b8df1867b
refactor(mapKeys): improved mapKeys function type (#797)
* imp(mapKeys): improved mapKeys function type

* fix(utils): fixed eslint
2024-11-07 18:16:00 +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
hyunwoo
cbecb215f5
feat(findKey): add findKey (#755)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* feat(findKey): add findKey

* fix: add more accurate typescript support for findKey

* fix: change how functions are exported

* docs: Update docs

* refactor: Refactor implementation

* docs: Update docs

* style: Fix lint

* style: Fix lint

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-11-03 17:26:09 +09:00
Kae
6244714736
feat(isSubsetWith): update isSubset for object array support (#783)
* feat(isSubsetWith): isSubsetWith implementation

* docs: Update docs

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-11-03 16:51:39 +09:00
Dongho Kim
f09d5a3cf0
docs(floor): Correct docs (#774) 2024-11-01 11:09:50 +09:00
D-Sketon
4004c3fe22
fix(rearg): fix docs (#768) 2024-11-01 10:57:44 +09:00
D-Sketon
247fb77916
fix(mergeWith): improved mergeWith function types (#764)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-10-26 21:30:15 +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
Sojin Park
9ebaa98230 feat(isEmpty): Implement isEmpty 2024-10-26 18:47:01 +09:00
Gromit (전민재)
10205c016f
fix(toMerged): improved toMerged function types (#752) 2024-10-26 17:20:30 +09:00
raon0211
b4e384ded2 feat(invariant): Implement invariant 2024-10-24 22:00:17 +09:00
raon0211
a000c59764 docs(template): Fix docs in template for zh_hans 2024-10-24 21:45:24 +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
raon0211
bd7468fcd0 docs: Add missing docs 2024-10-24 18:10:25 +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
Kae
5d5f9c4f87
docs: translate text of Returns (#746) 2024-10-24 13:06:23 +09:00
Kae
a242ac4a41
docs: fix typos (#745) 2024-10-24 13:06:04 +09:00
Kae
a043c255c2
docs: translate text of Returns (#747) 2024-10-24 13:05:48 +09:00
Kae
c555abc0fd
docs: fix typos (#744) 2024-10-24 13:05:31 +09:00
Kae
d22c156d5d
docs(isMap, isNaN, isRegExp, isSet, toInteger, parseInt, floor): correct translation errors (#748)
* docs: correct translation errors

* Update docs/ja/reference/compat/math/floor.md

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-24 13:04:39 +09:00
Kae
1f22f1d434
docs: fix typo (#735)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-10-23 18:19:19 +09:00
Dongho Kim
4a1e410dd9
feat(intersectionBy): Add intersectionBy to compatibility layer (#721)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* feat(intersectionBy): Add `intersectionBy` to compatibility layer

* test(intersectionBy): Add test case for array-like objects
2024-10-22 22:40:31 +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
Jakub Sieczczyński
e71f706461
feat(median): Add median and medianBy functions (#723)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* add median

* add medianBy

* fix lint errors

* fix lint error

* Remove .toSorted usage

* Add export

* Update src/math/median.ts

* Apply suggestions from code review

* Update median.md

* Update median.md

* Update medianBy.md

* Update medianBy.md

* Update medianBy.md

* Update median.md

* docs

* docs

* docs

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-21 00:03:57 +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
dbc3ca3a3a docs: Update docs for wide adoption 2024-10-14 15:50:42 +09:00
raon0211
610f479593 style: Fix style 2024-10-14 15:36:07 +09:00
raon0211
2dc88361a8 style: Fix style 2024-10-14 15:23:58 +09:00
raon0211
5b60dbc7d2 fix(cloneDeep): Make cloneDeep clone read-only properties 2024-10-14 15:17:42 +09:00
Dongho Kim
d25dc06d52
docs(isBlob): Add missing example (#685)
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-10-13 22:48:12 +09:00
Dongho Kim
6b4c9ad167
feat(intersection): Add intersection to compat layer (#706)
* feat(intersection): Add `intersection` to compat layer

* Update benchmarks/performance/intersection.bench.ts

* Update benchmarks/performance/intersection.bench.ts

* Update intersection.ts

* Update intersection.ts

* Update docs/ja/reference/array/intersection.md

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

* Update intersection.ts

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-13 22:48:01 +09:00
lukaszkowalik2
dc100ccc11
feat(isFile): add isFile (#704)
* feat(isFile): added support for isFile

* fix(isFile): added missing .ts extensions

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

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-13 22:46:54 +09:00
D-Sketon
76ec5f1f4d
fix(chunk/compact/head/initial/last/tail/take/takeRight/uniq/without): fix lodash compatibility (#701)
* fix(chunk/compact/head/initial/tail/take/takeRight/uniq/without): fix lodash compatibility

* make lint happy

* bench

* last

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-10-13 22:07:37 +09:00
Dayong Lee
59e973708f
refactor: improve type definitions and clean up type assertions inafter, isKey, orderBy, and withTimeout functions (#703)
* Fix after

* Remove type assertion
2024-10-13 22:04:01 +09:00
Dongho Kim
d19a581e7a
docs(isPlainObject): Update example of korean documentation (#700)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-10-10 08:12:35 +09:00
D-Sketon
c95d40f4b3
fix(drop): support array-like args (#686)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* fix(drop): support arrary-like args

* doc

* Update dropWhile.ts

* Update dropRightWhile.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-09 22:42:09 +09:00
Sojin Park
274034524d style: Fix ESLint & Prettier 2024-10-09 22:28:27 +09:00
Sojin Park
6621df110a docs: Add more explanation to isPlainObject 2024-10-09 22:28:20 +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
sadobass
1c780cf1e5
docs(randomInt): Update docs (#689) 2024-10-09 11:54:32 +09:00
원동휘
b9337bbbf6
docs(throttle): Update docs (#688) 2024-10-09 11:53:59 +09:00
raon0211
25602192d8 docs: Fix docs style 2024-10-07 22:25:31 +09:00
Dongho Kim
3d7ba7d691
docs(before): Update docs (#682)
* docs(before): Correct JSDoc example

* docs(before): Add lodash compatibility section

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-10-07 22:14:13 +09:00
D-Sketon
3a17ade035
docs(difference): add Lodash Compatibility (#679)
* docs(difference): add Lodash Compatibility

* arraylike

* #680 update size

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-10-07 21:59:07 +09:00