Commit Graph

805 Commits

Author SHA1 Message Date
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
Sojin Park
e94c40121a feat(differenceBy): Ensure compatibility with lodash 2024-10-26 17:57:11 +09:00
Dayong Lee
62fe7e035a
feat(iteratee): add iteratee to compat layer (#763)
* Add iteratee

* Update iteratee.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-26 17:41:06 +09:00
Gromit (전민재)
10205c016f
fix(toMerged): improved toMerged function types (#752) 2024-10-26 17:20:30 +09:00
Ben Hollis
c341e1919a
fix(sumBy): Remove array allocation from sumBy (#753)
* Remove array allocation from sumBy

* Update sum.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-26 17:20:02 +09:00
Dayong Lee
7e93953297
feat(replace): Add replace in compat (#754) 2024-10-26 17:16:08 +09:00
raon0211
cee5a1cff9 v1.26.1
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-10-25 14:25:33 +09:00
D-Sketon
72c7721c45
fix(isMatch): should not ignore null (#751)
* fix(isMatch): should not ignore null

* fix
2024-10-25 14:22:05 +09:00
raon0211
eb01f78843 test: Fix failing test
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-10-24 22:13:18 +09:00
raon0211
0fd2ee83bb v1.26.0 2024-10-24 22:06:57 +09:00
raon0211
b4e384ded2 feat(invariant): Implement invariant 2024-10-24 22:00:17 +09:00
raon0211
a000c59764 docs(template): Fix docs in template for zh_hans 2024-10-24 21:45:24 +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
raon0211
707f96556a feat(identity): Implement identity 2024-10-24 18:06:48 +09:00
hyunwoo
415d325ff0
feat(uniqueId): Add uniqueId to compat layer (#714)
Some checks are pending
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
Gromit (전민재)
1660d92e1a
fix(merge): improved merge function types (#740)
* refactor(merge): improved merge function types

* fix: lint fix
2024-10-24 13:33:38 +09:00
Kae
5d5f9c4f87
docs: translate text of Returns (#746) 2024-10-24 13:06:23 +09:00
Kae
a242ac4a41
docs: fix typos (#745) 2024-10-24 13:06:04 +09:00
Kae
a043c255c2
docs: translate text of Returns (#747) 2024-10-24 13:05:48 +09:00
Kae
c555abc0fd
docs: fix typos (#744) 2024-10-24 13:05:31 +09:00
Kae
d22c156d5d
docs(isMap, isNaN, isRegExp, isSet, toInteger, parseInt, floor): correct translation errors (#748)
* docs: correct translation errors

* Update docs/ja/reference/compat/math/floor.md

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-24 13:04:39 +09:00
Kae
1f22f1d434
docs: fix typo (#735)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-10-23 18:19:19 +09:00
Dongho Kim
4a1e410dd9
feat(intersectionBy): Add intersectionBy to compatibility layer (#721)
Some checks are pending
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)
Some checks failed
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)
Some checks are pending
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
402f604b5a
fix(orderBy/sortBy): fix lodash compatibility (#731)
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-10-20 23:45:16 +09:00
Seonghun Kim
4b74386ce2
test(differenceWith): add cases (#719)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* Test: add a object array case

* Test: add a duplicate elements case
2024-10-19 21:59:12 +09:00
Seonghun Kim
304d9d1cc6
test: add test case (#727)
Co-authored-by: kimseonghun <kim.seonghun@lumir.space>
2024-10-19 21:58:15 +09:00
Dongho Kim
e4fd912b66
docs(filter): Update JSDoc (#724)
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-10-19 21:57:19 +09:00
D-Sketon
1497a949f9
fix(some): fix lodash compatibility (#728) 2024-10-19 21:56:49 +09:00
D-Sketon
aaf5dd1cb1
fix(drop/dropRight/every/take/takeRight): support guard (#730)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* fix(drop/dropRight/every/take/takeRight): support guard

* clean

* clean
2024-10-19 18:01:19 +09:00
Dongho Kim
9c7b850e82
docs(find): Update JSDoc (#725) 2024-10-19 18:00:02 +09:00
Gromit (전민재)
a78ad4242c
refactor(cloneDeep): Refactoring cloneDeep (#720)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-10-17 13:38:17 +09:00
raon0211
4b2de1f605 v1.25.2
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-10-16 10:07:41 +09:00
D-Sketon
61f5bfd7bf
fix(flatten/flattenDeep/flattenDepth/slice/zipObjectDeep): fix lodash compatibility (#716) 2024-10-16 10:04:17 +09:00
raon0211
904ca1a2b4 fix: Fix circular dependencies in isJSONArray, isJSONObject, and isJSONValue 2024-10-16 09:59:58 +09:00
D-Sketon
307b362afc
test: improve coverage (#718)
* test: improve coverage

* remove
2024-10-16 09:54:51 +09:00
Sojin Park
8849204a7f v1.25.1
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-10-15 00:11:55 +09:00
D-Sketon
2f9740eb30
fix(cloneDeep): Cannot assign to read only property '0' of object '[object String]' (#711)
* fix(cloneDeep):  Cannot assign to read only property '0' of object '[object String]'

* Update cloneDeep.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-15 00:08:42 +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)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-10-14 23:41:44 +09:00
raon0211
dbc3ca3a3a docs: Update docs for wide adoption 2024-10-14 15:50:42 +09:00
raon0211
5683519993 v1.25.0
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-10-14 15:36:19 +09:00
raon0211
610f479593 style: Fix style 2024-10-14 15:36:07 +09:00
raon0211
2dc88361a8 style: Fix style 2024-10-14 15:23:58 +09:00
raon0211
28f0eaeb15 fix(pick): Fix pick in compat to only create keys that are already existent 2024-10-14 15:23:44 +09:00
raon0211
5b60dbc7d2 fix(cloneDeep): Make cloneDeep clone read-only properties 2024-10-14 15:17:42 +09:00
Dongho Kim
49ff1b41e8
fix(cloneDeep): cloneDeep should clone own enumerable symbol property (#664)
* fix(cloneDeep): cloneDeep should clone own enumerable symbol property

* Update src/object/cloneDeep.ts

* Update cloneDeep.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-14 13:56:38 +09:00