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
HyunWoo Choi
2ef799386d
chore: CI error ( #678 )
2024-10-07 21:57:54 +09:00
Dayong Lee
e03aac81a8
feat(slice): add slice
in compat layer ( #659 )
...
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* Add slice
* Add jsdoc
* Update src/compat/array/slice.ts
Co-authored-by: Sojin Park <raon0211@gmail.com>
* Simplify Code
* Fix codes
* Fix isIndex
* FIx slice
* Update src/compat/array/slice.ts
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-10-07 10:00:36 +09:00
raon0211
c5bbf032a4
docs: Fix docs style
2024-10-07 09:59:13 +09:00
Dayong Lee
aaec4abbaf
refactor: add a eslint rule restricting Object.entries
and update prettier-plugin-sort-re-exports
( #674 )
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-10-06 20:57:02 +09:00
Gromit (전민재)
a6e1415973
perf(pickBy): improve pickBy performance ( #673 )
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-10-06 17:49:58 +09:00
HyunWoo Choi
c367c37487
feat(toLength) : add toLength
in compat ( #662 )
...
* feat : add toLength util
* feat : add toLength bench
* Update toLength.ts
* Update toLength.ts
* Update index.ts
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-10-06 17:49:18 +09:00
HyunWoo Choi
45f6db830f
feat(defaultTo) : add defaultTo
util ( #660 )
...
* feat : add defaultTo util
* Update src/compat/util/defaultTo.ts
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-06 17:42:26 +09:00
Gromit (전민재)
402387b01b
perf(omitBy): improve omitBy performance ( #671 )
...
* fix: improve omitBy performance
* fix: fix omitBy ts-doc
* fix: for in to Object.keys
* Update src/object/omitBy.ts
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-06 17:41:54 +09:00
D-Sketon
55cae8b0eb
feat(compat): implement dropRightWhile ( #666 )
...
* feat(compat): implement dropRightWhile
* Update benchmarks/performance/dropRightWhile.bench.ts
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-06 17:20:26 +09:00
Dayong Lee
df19ff14de
style(format): add prettier-plugin-sort-re-exports
prettier plugin ( #670 )
...
* Apply plugin
* Run prettier
2024-10-06 17:04:48 +09:00
Dayong Lee
9edacf776f
feat(times): Add times ( #656 )
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-10-05 22:17:43 +09:00
Dayong Lee
42a4b9424b
feat(constant): add constant
in compat layer ( #657 )
2024-10-05 22:16:40 +09:00
D-Sketon
b739a275aa
bench: pre-build es-toolkit when bench ( #661 )
2024-10-05 22:15:06 +09:00
Dayong Lee
b8e3cbd06c
chore: Update dependents and remove circular depedencies ( #658 )
...
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-10-04 10:21:28 +09:00
D-Sketon
6a954df01a
bench: add missing bench and bump vitest ( #655 )
...
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* bench: add missing bench and bump vitest
* make lint happy
2024-10-03 22:01:40 +09:00
Sojin Park
1bcad724e1
docs: Add docs for isBlob for simplified Chinese
2024-10-03 18:31:18 +09:00
lukaszkowalik2
251d6bf205
feat(isBlob): add isBlob
function ( #635 )
...
* feat(isBlob): add isBlob function
* fix: fixed missing export
* docs: isBlob
* fix: resolve linting errors
* tests(isBlob): ensure File is mocked locally in a test to prevent CI failure
* Update docs/ko/reference/predicate/isBlob.md
* Update docs/ja/reference/predicate/isBlob.md
* Apply suggestions from code review
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-03 18:29:20 +09:00
Sojin Park
306a6c70da
docs: Add compatibility section for curry & curryRight in Korean and Japanese
2024-10-03 18:28:48 +09:00
D-Sketon
f452321c5e
feat(compat): implement curryRight ( #645 )
2024-10-03 18:18:51 +09:00
Dayong Lee
76b9a12f81
refactor: Replace SameValueZero comparisons with eq
( #653 )
...
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-10-03 18:14:32 +09:00
D-Sketon
21bd482614
feat(rangeRight): implement rangeRight ( #646 )
2024-10-03 18:10:34 +09:00
Dayong Lee
22701d5c23
fix(before,once): allow accepting arguments for once
and fix types of before
and once
( #647 )
...
* Fix before once
* Fix lint error
* Apply suggestions from code review
Co-authored-by: Sojin Park <raon0211@gmail.com>
* Fix once
* Fix once types
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-03 18:08:37 +09:00
Dayong Lee
65d65b57ec
feat(before): add before
in compat layer ( #648 )
...
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* Add before
* Update src/compat/function/before.ts
2024-10-03 18:06:41 +09:00
Sojin Park
aca23abae5
style: Fix prettier
2024-10-03 18:04:32 +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
Dayong Lee
c6130a41ae
feat(defaults): add defaults
in compat layer ( #641 )
...
* Add defaults
* Fix bench title
* Delete src/compat/_internal/eq.ts
* Update src/compat/object/defaults.ts
* Update src/compat/object/defaults.ts
* Update defaults.ts
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-10-03 17:28:42 +09:00
Dayong Lee
0e7ad28d3e
feat(eq): Add eq ( #642 )
...
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-10-03 17:24:17 +09:00
HyunWoo Choi
e8826c5a60
feat(compat) : implement isArrayBuffer
compat ( #644 )
...
* feat : add isArrayBuffer compat
* fix : typo compat bench
* Update src/predicate/isArrayBuffer.ts
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-03 17:23:25 +09:00
Sojin Park
458d0bf321
fix(isEqualWith): Add explicit return type
2024-10-03 17:09:07 +09:00
Chung-il
b7568bb45e
fix(range): result type to number[] ( #638 )
2024-10-03 16:14:34 +09:00
Chung-il
04d903e838
docs(pick): PropertyKey typo and fix spacing ( #640 )
2024-10-03 16:07:37 +09:00
HyunWoo Choi
57155d7f41
feat(compat) : implement isSet/isMap
( #643 )
...
* feat : add isMap compat
* feat : isMap/compat bench
* feat : add isSet compat
* Update benchmarks/performance/isMap.bench.ts
Co-authored-by: D-Sketon <2055272094@qq.com>
* Update benchmarks/performance/isSet.bench.ts
Co-authored-by: D-Sketon <2055272094@qq.com>
* Apply suggestions from code review
---------
Co-authored-by: D-Sketon <2055272094@qq.com>
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-03 16:06:48 +09:00
Dongho Kim
22b136f8f2
docs(isEqual): Correct result of special case ( #650 )
2024-10-03 16:05:05 +09:00
Dongho Kim
c6c76dbad9
docs(flowRight): Update docs ( #651 )
...
* docs(flowRight): Update docs
* Update docs/ko/reference/function/flowRight.md
* Update docs/ko/reference/function/flowRight.md
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-03 16:04:30 +09:00
Sojin Park
783d6f1694
test(debounce): Fix flaky debounce test
2024-10-03 15:55:48 +09:00
D-Sketon
35aa0bfe32
fix(compat): add missing export ( #652 )
2024-10-03 15:54:12 +09:00
D-Sketon
8a34bc474e
bench: add bench for large array case ( #637 )
...
* bench: add bench for large array case
* make lint happty
2024-10-03 15:53:37 +09:00
Seongjee Kim
1ff80546dd
feat(invertBy): add invertBy to compat ( #574 )
...
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
Sojin Park
83465dbe91
v1.23.0
2024-10-01 23:13:15 +09:00
Sojin Park
3462a8425c
feat(isEqualWith): Implement isEqualWith
2024-10-01 22:33:44 +09:00
Wojciech Maj
1bda274c7a
chore(deps): bump vitest from 1.5.2/2.0.5 to 2.1.1, fix unit test failing in Vitest 2 ( #608 )
...
* chore(deps): bump vitest from 1.5.2/2.0.5 to 2.1.1
* chore: fix unit test failing in Vitest 2
* Add timeout
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-01 22:31:26 +09:00
D-Sketon
bc490b6e65
bench: update bundle-size test ( #634 )
2024-10-01 20:22:23 +09:00
Dongho Kim
30518a8fe6
docs(curryRight): Rename parameters for clarity and update docs ( #631 )
2024-10-01 20:21:51 +09:00
Dongho Kim
832ecc53da
docs(flow): Update docs ( #630 )
...
* docs(flow): Update docs
* Update docs/ko/reference/function/flow.md
* Update docs/ko/reference/function/flow.md
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-01 20:21:21 +09:00
D-Sketon
665f4409a4
bench: remove import overhead ( #629 )
...
* bench: ignore import overhead
* bench: ignore import overhead
* bench: ignore import overhead
* make lint happy
* make lint happy
2024-10-01 20:20:00 +09:00
Dongho Kim
8a518af485
docs(isJSONValue): Update docs ( #632 )
2024-10-01 20:19:01 +09:00
Sojin Park
feb5c35606
fix(merge): merge should not copy references of object or arrays
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-10-01 15:02:42 +09:00
Dongho Kim
63302ce0ac
fix(merge): Handle edge-case for merge
( #556 )
...
* fix(merge): Handle edge-case for `merge`
* fix(merge): Ensure new array is created when merging
* fix(merge): Ensure new plain object is created when merging
* fix(merge): Ensure that non-array or non-plain objects are merged.
* Update merge.ts
* Update merge.spec.ts
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-01 14:55:20 +09:00