Commit Graph

714 Commits

Author SHA1 Message Date
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)
Some checks are pending
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)
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
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
Some checks are pending
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
Dongho Kim
7e4dd66c26
fix(includes): Ignore inherited value when searching object (#627)
* fix(includes): Ignore inherited value when searching object

* refactor(includes): Replace manual key collection with `Object.keys`
2024-10-01 14:54:39 +09:00
Sojin Park
10a83ddaf3 style: Fix prettier 2024-10-01 14:52:25 +09:00
Sojin Park
a5e3b49d8a fix(string): Fix RegExp to split words 2024-10-01 14:52:14 +09:00
Sojin Park
674d0868aa docs: Add docs 2024-10-01 14:08:25 +09:00
D-Sketon
7695034979
feat(compat): implement flow/flowRight (#621) 2024-10-01 14:01:32 +09:00
Dayong Lee
23aa7db57d
style(format): add sorting imports plugin and fix eslint config (#625)
* Add prettier sort

* Fix prettier setting in eslint

* Apply prettier

* Fix depdencies

* Add .yarn folder in excludes of vitest

* Revert pick I don't know why this is changed
2024-10-01 14:00:45 +09:00
HyunWoo Choi
8f7e0960cb
feat(isArrayBuffer) : add isArrayBuffer function (#624)
* feat : add isArrayBuffer function

* feat : isArrayBuffer bench

* docs : isArrayBuffer
2024-10-01 13:59:23 +09:00
D-Sketon
20426dfdcc
feat(curryRight): implement curryRight (#628) 2024-10-01 13:58:04 +09:00
knott
ded56755f3
feat(isJSONObject, isJSONValue, isJSONArray): Implement isJSONObject, isJSONValue, isJSONArray (#563)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
* feat:init

* feat

* fix:use prettier

* feat(isPlainObject): Update signature of isPlainObject

* feat: Add isJSONValue, isJSONArray, and refactor isJSONObject

* remove from functions

* docs: Update docs

* docs: Update docs

* docs: Update docs

* docs: Update docs

* docs: Update docs

* docs: Update docs

* docs: Update docs

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-29 20:42:50 +09:00
Dayong Lee
0c7d88973f
refactor: Add prefer hasOwn and fix lint error (#620) 2024-09-29 19:53:03 +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
e9123bea9d
docs(dropWhile): Update docs for dropWhile (#615)
* docs(dropWhile): Update docs for `dropWhile`

* docs(dropWhile): Add examples to JSDoc
2024-09-29 17:57:41 +09:00
Sojin Park
ac1e79e0c4 fix(isMatch): isMatch should strictly compare values if possible 2024-09-29 17:56:01 +09:00
Dayong Lee
05daba2470
chore: delete unused babel config file (#616)
* Delete babel

* Delete sortByText

* revert deleting sortByText
2024-09-29 17:38:16 +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