Dongho Kim
3a619e56b8
fix/(intersectionBy, differenceBy, differenceWith): should allow array with different element type. ( #836 )
...
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 )
...
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 )
...
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
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
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
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 )
...
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
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 )
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
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 )
...
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
Dongho Kim
4a1e410dd9
feat(intersectionBy): Add intersectionBy
to compatibility layer ( #721 )
...
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 )
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 )
...
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 )
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-10-14 23:41:44 +09:00
raon0211
610f479593
style: Fix style
2024-10-14 15:36:07 +09:00
raon0211
5b60dbc7d2
fix(cloneDeep): Make cloneDeep clone read-only properties
2024-10-14 15:17:42 +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
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
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
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
원동휘
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
raon0211
c5bbf032a4
docs: Fix docs style
2024-10-07 09:59:13 +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
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
D-Sketon
f452321c5e
feat(compat): implement curryRight ( #645 )
2024-10-03 18:18:51 +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
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
Dongho Kim
22b136f8f2
docs(isEqual): Correct result of special case ( #650 )
2024-10-03 16:05:05 +09:00