Commit Graph

449 Commits

Author SHA1 Message Date
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
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
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
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
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)
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
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
5b60dbc7d2 fix(cloneDeep): Make cloneDeep clone read-only properties 2024-10-14 15:17:42 +09:00
Dongho Kim
d25dc06d52
docs(isBlob): Add missing example (#685)
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-10-13 22:48:12 +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
D-Sketon
76ec5f1f4d
fix(chunk/compact/head/initial/last/tail/take/takeRight/uniq/without): fix lodash compatibility (#701)
* fix(chunk/compact/head/initial/tail/take/takeRight/uniq/without): fix lodash compatibility

* make lint happy

* bench

* last

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-10-13 22:07:37 +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
Dongho Kim
d19a581e7a
docs(isPlainObject): Update example of korean documentation (#700)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-10-10 08:12:35 +09:00
D-Sketon
c95d40f4b3
fix(drop): support array-like args (#686)
Some checks are pending
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
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
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
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
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
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
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