Commit Graph

427 Commits

Author SHA1 Message Date
raon0211
93d3e6a192 docs: Update compatibility docs for max & min 2024-07-19 00:07:26 +09:00
raon0211
14c0ad3055 v1.12.0 2024-07-19 00:04:31 +09:00
raon0211
19e2cde5a9 build: Add export map for compat 2024-07-19 00:02:18 +09:00
raon0211
e1e6e38206 feat(max, min): Add support for max & min in es-toolkit/compat 2024-07-19 00:00:57 +09:00
raon0211
cd60ee8f6d v1.11.0 2024-07-18 23:24:05 +09:00
raon0211
c3190c71e8 fix: Make get work in Deno 2024-07-18 23:11:16 +09:00
raon0211
afc18129cf build: Add compat to postbuild.sh 2024-07-18 23:09:48 +09:00
raon0211
6739c840ed test: Add test cases to ensure that drop & dropRight is compatible with es-toolkit 2024-07-18 23:07:30 +09:00
Changwoo Yoo
d5c415aa72
fix(drop): Fixed drop and dropRight only to allow positive integers (#218)
* test: add tests for drop

* fix: fixed drop to allow only positive integer to be compatible with lodash

* test: fixed test

* test: fixed phrase

* test: add tests for dropRight

* fix: dropRight to be compatible with lodash

* refactor: use count
2024-07-18 23:03:48 +09:00
seungrodotlee
ca4d6a0e53
ci. fix circleCI Node.js version (20 -> 18) - fixed (#229)
* fix. fix circleCI Node.js version (20 -> 18)

* fix. fix .nvmrc (20 -> 18)

* ci. rollback to v20 except test

* fix. rollback nvmrc version

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-18 23:03:20 +09:00
raon0211
96f3ce72cf chore: Move get to compat & document 2024-07-18 22:59:11 +09:00
raon0211
8143e8461c docs: Update compatibility docs 2024-07-18 21:51:57 +09:00
raon0211
566a3fcab1 chore: Ensure compatibility for compact 2024-07-18 21:47:13 +09:00
Seung Ju
b31b3a6964
feat(withTimeout): add withTimeout function (#210)
* feat(timeout): add timeout function

* feat(timeout): timeout to withTimeout

* Update docs/ko/reference/promise/withTimeout.md

* Update docs/ko/reference/promise/withTimeout.md

* feat(timeout): timeout, withTimeout

* Update docs/ko/reference/promise/timeout.md

* Update docs/ko/reference/promise/timeout.md

* Update withTimeout.ts

* Update timeout.ts

* Apply suggestions from code review

* Update withTimeout.md

* Update withTimeout.spec.ts

* Update src/promise/withTimeout.spec.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-18 21:37:33 +09:00
raon0211
2db0b49579 chore(startsWith, endsWith): Update docs and import tests from lodash 2024-07-18 21:36:32 +09:00
Bert Verhelst
b9b409db32
feat(startsWith): add startsWith and endsWith string functions (#224)
* feat(startsWith): add startsWith and endsWith string functions

similar to
* https://lodash.com/docs/4.17.15#startsWith
* https://lodash.com/docs/4.17.15#endsWith

* fix(startsWith): use native startsWith inside the startsWith function

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-18 21:21:10 +09:00
Dayong Lee
58ea6baa5d
chore(clone): replace Foo class with object in clone benchmark (#233)
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-18 21:18:51 +09:00
PiQuark6046
a186e5d4bd
feat(get): Add get (#232)
* feat: get

* chore: add benchmark of get

* test: get

* feat: get

* docs: get

* Update src/object/get.ts

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-18 21:17:15 +09:00
raon0211
9b10967e42 docs: Fix broken links 2024-07-18 21:16:14 +09:00
novo
404d4a51a8
docs(uniqBy): fix docs for uniqBy (#231)
* docs: fix uniqBy doc example

* test: add test case

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-18 21:12:44 +09:00
raon0211
553f136c94 chore: Remove unnecessary file 2024-07-18 21:12:07 +09:00
원동휘
8e5a4f3212
feat(fill): Improve fill to support negative indices (#222)
* feat: add imporve fill function

* feat: add test for fill

* feat: improved testing for toFilled

* feat: add docs for fill

* fix: toFilled Typo fix

* fix: type interface and docs

* fix: fill type docs

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-18 20:59:13 +09:00
raon0211
ad2724aaf7 fix: Fix functions not supported in Deno 2024-07-18 20:44:57 +09:00
raon0211
964fdd3628 fix: Fix zipObjectDeep which was exported incorrectly 2024-07-18 20:44:15 +09:00
raon0211
fb820e26c8 docs: Update docs for zipObjectDeep 2024-07-18 20:43:58 +09:00
raon0211
0d9e34243a docs: Update compatibility table 2024-07-18 20:37:19 +09:00
raon0211
d1e4548281 fix(flatten): Fix flatten for Deno 2024-07-18 20:35:47 +09:00
raon0211
9c4b61acba docs: Update docs for compat 2024-07-18 20:34:12 +09:00
raon0211
38a939f31f docs: Update docs for compat 2024-07-18 20:31:35 +09:00
raon0211
ff4b97ab60 chore: Add zipObjectDeep in compat 2024-07-18 20:28:07 +09:00
raon0211
20a25539c8 chore: Exclude benchmark tests when testing the whole project 2024-07-18 20:20:23 +09:00
raon0211
bb063fbcf6 docs(set): Update documentation for set 2024-07-18 20:10:56 +09:00
Jiujiang Liu
5dcde9f159
feat(zipObjectDeep): Add zipObjectDeep (#150)
Co-authored-by: liujiujiang <liujiujiang@agilebot.com.cn>
2024-07-18 20:05:25 +09:00
raon0211
dcd69eeaf6 feat(set): Update set's implementation to match lodash 2024-07-18 20:04:17 +09:00
raon0211
2168a67045 chore: Move set to our compat library
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-07-18 10:07:01 +09:00
novo
b9432e1cfd
feat(set): add set function (#223)
* feat: set

* test: set

* chore: add doc and benchmark

* chore: fix benchmark name
2024-07-18 10:00:59 +09:00
Deokgyung
7ee48c0e71
feat(startCase): add startCase (#203)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* feat: add startCase

* docs: add docs of startCase

* fix: startcase lint error
2024-07-17 22:42:58 +09:00
Changwoo Yoo
1ea74b70af
fix(invert): Fixed invert not to invert inherited properties (#221)
* test: add tests to be compatible with lodash

* fix: invert not to invert inherited properties

* perf: slightly improve performance by not using for..of

* Update src/object/invert.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-17 22:27:45 +09:00
BlackWhite
62fafe69a7
docs: Translate the contents of flattenDeep and isEqual documentation into Chinese (#226) 2024-07-17 22:17:17 +09:00
Paul Nodet
5f4deb6484
docs: fix mean jsdoc example (#225)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-07-17 17:29:52 +09:00
raon0211
402d7c978b chore: Update package.json 2024-07-17 11:55:51 +09:00
raon0211
533df29e2e docs: Add docs for bundle size 2024-07-17 11:49:48 +09:00
raon0211
c763c8c51f test: Add benchmarks for bundle size 2024-07-17 11:47:39 +09:00
Changwoo Yoo
aaf41e4966
perf: improve performance for dropRightWhile (#220)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-07-17 00:37:20 +09:00
정해준
8ee34206c7
chore(camelCase): Missed docs for camelCase (#217)
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-17 00:16:17 +09:00
minsuKang
6471db95f5
docs(sidebar-zh_has): add sidebar contents in zh_hans (#219)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-07-16 12:31:56 +09:00
raon0211
51e1970495 docs: Add docs for flatMap
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-07-15 22:50:07 +09:00
Gromit (전민재)
fec678cf34
feat(flatMap): add flatMap function (#209)
* feat(flatMap): add flatMap function

* docs: fix docs

* Update src/array/flatMap.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-15 22:43:15 +09:00
Florens Verschelde
6a43cebe4f
Fix Markdown formatting of CODE_OF_CONDUCT.md (#211) 2024-07-15 22:37:01 +09:00
정해준
d454e36f73
chore: Remove unused falsey constant in src/compat (#213) 2024-07-15 22:36:14 +09:00