Commit Graph

860 Commits

Author SHA1 Message Date
raon0211
3c29e709b0 docs: Update docs
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-11-22 22:49:16 +09:00
raon0211
54858f954a fix: Fix compiling in Deno 2024-11-22 22:46:36 +09:00
raon0211
eba8478bda feat(assignIn, extend): Implement assignIn & extend 2024-11-22 22:18:44 +09:00
raon0211
48f8065f09 feat(keysIn, isBuffer): Implement keysIn & isBuffer 2024-11-22 17:47:44 +09:00
Dongho Kim
3a619e56b8
fix/(intersectionBy, differenceBy, differenceWith): should allow array with different element type. (#836)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* fix(intersectionBy): should allow array with different element type

* fix(differenceBy): should allow array with different element type

* fix(differenceWith): should allow array with different element type
2024-11-22 12:12:34 +09:00
Dongho Kim
a46d8c4969
docs(intersectionWith): Update docs (#833)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
* refactor(intersectionWith): Update type parameter name for consistency

* docs(intersectionWith): add example for handling different item types

* docs(intersectionWith): update docs
2024-11-20 10:02:20 +09:00
D-Sketon
e7bb35f5f9
fix(compat): support PropertyKey (#830)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
* fix(compat): support PropertyKey

* test
2024-11-16 14:07:52 +09:00
D-Sketon
83c8a5053c
test: improve coverage (#827)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-11-15 09:49:34 +09:00
D-Sketon
d799dc567e
bench(cloneDeep): add rfdc (#826) 2024-11-15 09:48:55 +09:00
Noel Kim (김민혁)
32019fa7da
fix(intersectionWith): first array and second array's types can different (#823)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-11-14 21:32:08 +09:00
Noel Kim (김민혁)
e33fa5aa85
test(compat/math): make coverage to 100% (#824) 2024-11-14 21:29:38 +09:00
D-Sketon
64368b8bb7
fix(compat/uniqBy): fix lodash compatibility (#822)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* fix(compat/uniqBy): fix lodash compatibility

* doc
2024-11-14 08:38:00 +09:00
D-Sketon
ba84918c58
fix(compat/trim): trim should support character arrays (#821)
* fix(compat/pad): pad should support character arrays

* Update src/compat/string/trim.ts

* Update src/compat/string/trim.ts

* fix

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-11-14 08:37:02 +09:00
初辰
0aa9dc202d
Update docs/zh_hans join.md empty code block (#818)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-11-13 23:19:18 +09:00
D-Sketon
aac6974e35
test: improve coverage (#815)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-11-13 07:24:53 +09:00
Noel Kim (김민혁)
674a79522e
fix(flatMap): should infer return type correctly without depth prop (#809)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* fix(flatMap): should infer return type correctly without depth prop

* fix
2024-11-12 15:20:45 +09:00
Noel Kim (김민혁)
d76172aa49
feat(util): make complat/util test coverage to 100% (#810) 2024-11-12 15:20:16 +09:00
Noel Kim (김민혁)
5cb12c1119
test: Make complat/predicate test coverage to 100% (#811) 2024-11-12 15:19:52 +09:00
Sojin Park
60b2de6d54 v1.27.0
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-11-10 21:26:41 +09:00
Sojin Park
25623ae37c docs: Add docs in forEach & findKey as JSDoc 2024-11-10 21:26:22 +09:00
Hyunsu Shin
3123121d0e
feat(words): Add words function (#805)
* docs(words): Add docs for words

* feat(words): Add words function

* test(words): Add words tests

* fix: type error fixed

* fix: lint

* fix: lint

* fix: lint

* fix: rename file

* fix: fix: rename file

* fix: change expln

* fix: update regular expression for Unicode word matching & change expln

* fix: Excluded control characters from the pattern.

* fix: Excluded control characters from the pattern.

* fix: lint

* fix:lint

* fix: lint

* fix: slice lint

* Add docs & fix words to be stricter

* chore: Use words instead of getWords

* lint

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-11-10 21:12:07 +09:00
Gromit (전민재)
087a9827d4
test(invariant): add invariant test code (#789)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-11-10 15:45:12 +09:00
Filip Sobol
c939d97322
perf(at): Improve performance and compatibility with lodash (#798)
* perf(at): Improve performance and compatibility with lodash

* Change the implementation to match `Array.prototype.at` implementation

* Avoid truncating numbers if they are already integers
2024-11-10 15:10:03 +09:00
Filip Sobol
894a645c49
fix(cloneDeep): maintain prototype when cloning class instances (#794)
* fix(cloneDeep): maintain prototype when cloning class instances

* Add tests for cloneDeep

* Simplify implementation for improved performance

* Remove unused import

* Lint

* Format

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-11-10 15:03:46 +09:00
Dongho Kim
0feabb4cb3
fix(differenceBy): Update differenceBy function to handle array-like objects and filter out invalid values (#790)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* fix(differenceBy): Update `differenceBy` function to handle array-like objects and filter out invalid values

* fix

* fix

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-11-09 23:27:50 +09:00
Dongho Kim
b4cd255101
fix(isEmpty): isEmpty should return true for objects with only enumerable symbol properties (#791)
* fix(isEmpty): `isEmpty` should return `true` for objects with only enumerable symbol properties

* chore: remove unused import

* Array<any> -> any[]

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-11-09 23:19:17 +09:00
Gyumong
6d4fe72284
feat(uniqBy): add uniqBy to compat layer (#793)
* feat(compat): implement array/uniqBy

* feat(compat): uniqBy test code

* feat(compat): uniqBy bench

* fix(compat): enhance uniqBy types and docs

* fix(compat): test code lint
2024-11-09 22:53:33 +09:00
윤정민
5053b7f087
docs: fix es-toolkit cdn version ^1 (#779)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
* docs: fix es-toolkit cdn version latest

* docs: fix cdn version @^1

* docs: encode caret
2024-11-07 18:29:45 +09:00
Gyumong
ab6e7c5741
fix(union): add missing union export (#788) 2024-11-07 18:29:25 +09:00
Filip Sobol
a0f61e4bbd
perf(compat/array): Improve performance of various array functions in compat (#796)
* perf(compat/array): Improve performance of various array functions in `compat`

* ensureIsArray -> toArray

---------

Co-authored-by: raon0211 <raon0211@toss.im>
2024-11-07 18:27:51 +09:00
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
Filip Sobol
c739a73951
perf: Improve performance of toPath, get, set, unset, has, orderBy. (#799)
* perf: Improve performance of `toPath`, `get`, `set`, `unset`, `has`, `orderBy`.

* Format code

* Lint code
2024-11-07 18:13:37 +09:00
Sojin Park
67ea6bfe18 fix: Fix build error
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-11-03 23:49:50 +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
Gromit (전민재)
e1dafc06ff
refactor(isSubsetWith): improved by reusing the differenceWith function in the isSubsetWith function (#787) 2024-11-03 17:25:40 +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
Sojin Park
e797e0e3b8 test: Fix test for timeout and withTimeout in CI 2024-11-03 16:51:29 +09:00
Gromit (전민재)
030817ee01
refactor(without): improved by reusing the difference function in the without function (#786) 2024-11-03 16:45:26 +09:00
Dayong Lee
0e13528caa
test(math): add test cases related to the associative property for sum and sumBy (#780)
* Add property

* Fix docs

* Fix lint

* Revert documentations

* Revert jsdoc
2024-11-03 16:44:53 +09:00
Gromit (전민재)
9d13669fa9
refactor(rangeRight): simplify the rangeRight function (#785) 2024-11-03 16:34:32 +09:00
Dayong Lee
400720481c
feat(sum, sumBy): add sum and sumBy to compat layer (#759)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* Add sumBy

* Support bigint

* Add sum and sumBy

* Fix jsdoc

* Add JSDoc

* Add number

* Add jsdoc
2024-11-02 22:19:20 +09:00
Gromit (전민재)
7dbf58a90e
refactor(range): simplify the range function (#781) 2024-11-02 22:16:55 +09:00
Gyumong
1e0be6ba7f
feat(union): add union to compat layer (#778)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
* feat(compat): implement array/union

* feat(compat): union/sample test code

* feat(compat): array/union bench

* fix: refactor union to accept single array parameter with updated JsDoc

* Update src/compat/array/union.ts

* Update union.ts

* fix ts error in spec

* Update src/compat/array/union.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: raon0211 <raon0211@toss.im>
2024-11-01 11:22:12 +09:00
D-Sketon
b51351f27d
feat(compat): implement zip (#769)
* feat(compat): implement zip

* docs
2024-11-01 11:15:10 +09:00
D-Sketon
5b9e965642
feat(compat): implement unzip (#770)
* feat(compat): implement unzip

* jsdoc

* make lint happy

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-11-01 11:14:40 +09:00
raon0211
3a4a81d8a7 test: Fix flaky test in debounce 2024-11-01 11:13:47 +09:00
Dongho Kim
b6ec80d271
fix(replace): Handle cases with less than 3 arguments (#776) 2024-11-01 11:13:08 +09:00
Dongho Kim
f09d5a3cf0
docs(floor): Correct docs (#774) 2024-11-01 11:09:50 +09:00