D-Sketon
c95d40f4b3
fix(drop): support array-like args ( #686 )
...
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
Sojin Park
755d9db62c
fix(isPlainObject): Check the result of toString in isPlainObject
2024-10-09 22:17:09 +09:00
Sébastien Vanvelthem
8ba7fbe4e8
fix(isPlainObject): Fix isPlainObject and perf 3x+ ( #692 )
...
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* test(isPlainObject): add test for symbol and anonymous classNames
* test(isPlainObject): add test for runInNewContext
* fix: exclude iterators, support runInNewContext and anonymous classes
* refactor: use !value insteadof value === undefined (size)
* test: Make tests more explicit
* test: Remove checks for Symbol.toStringTag or Symbol.iterator
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-09 12:47: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
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
Dayong Lee
3b93b7badf
chore(coverage): exclude test files in coverage processes ( #696 )
...
* Fix coverage
* Remove unusable file
* Revert
* also Add in codecov
* Remove unused ignore path
2024-10-09 11:48:02 +09:00
Dongho Kim
78e13adbce
docs: Update docs for dropWhile
and dropRightWhile
( #684 )
...
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-10-08 10:30:24 +09:00
raon0211
3638f2d02c
v1.24.0
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-10-07 22:28:00 +09:00
raon0211
25602192d8
docs: Fix docs style
2024-10-07 22:25:31 +09:00
HyunWoo Choi
f914f07555
feat(compat): Add isDate
in compat ( #675 )
...
* feat : add isDate in compat
* feat : add isDate bench
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-10-07 22:14:25 +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
Gromit (전민재)
8593c6742a
refactor(unionBy): simplify unionBy implementation logic ( #676 )
...
* refac(unionBy): simplify unionBy implementation logic
* Update src/array/unionBy.ts
Co-authored-by: D-Sketon <2055272094@qq.com>
---------
Co-authored-by: D-Sketon <2055272094@qq.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-10-07 22:01:33 +09:00
D-Sketon
24edab6593
fix(difference): support array-like object ( #680 )
...
* fix(difference): support array-like object
* make lint happy
* same as @types/lodash
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-10-07 22:01:17 +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
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