Commit Graph

246 Commits

Author SHA1 Message Date
Youngjun Choi
0b71ce9b56
test(flattenObject): change using constant date in test case (#253)
* fix: change test case to use constant date in flattenObject test cases

* Update src/object/flattenObject.spec.ts

* Update src/object/flattenObject.spec.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-20 11:00:35 +09:00
Seung Ju
d12453aa9f
docs(timeout): Update timeout.md (#251) 2024-07-20 09:54:36 +09:00
tanggd
1d9d0da667
docs: Update chunk.md (#248)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-07-19 19:29:36 +09:00
raon0211
3e60443a40 feat(flattenObject): Add flattenObject 2024-07-19 19:09:29 +09:00
raon0211
376499351f feat(isPlainObject): Add isPlainObject 2024-07-19 19:08:13 +09:00
Dayong Lee
6f8f500150
chore(ci): add Prettier format check to CI workflow (#243) 2024-07-19 17:26:51 +09:00
raon0211
78c0c66a7d fix(tail): Fix type definition for tail 2024-07-19 16:19:21 +09:00
KiKoS0
0bb2a1ad51
test(head, tail): Add lodash tests (#239)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* chore: Add lodash tests for tail

* chore: Add lodash tests for head

* Update src/array/tail.ts

* Update src/compat/array/head.spec.ts

* Update src/compat/array/head.spec.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-19 09:47:03 +09:00
raon0211
eee44287e7 docs: Note that we do not handle cases where internal object prototypes were modified 2024-07-19 09:44:30 +09:00
raon0211
b297ee7ef4 docs: Update broken sidebar links 2024-07-19 09:44:00 +09:00
raon0211
bc7ea93666 docs: Add sidebar links
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-07-19 01:09:40 +09:00
minsuKang
a8f5e675ff
docs(ko-docs-sidebar): ko-object-sidebar get,set link fix (#238) 2024-07-19 01:06:35 +09:00
raon0211
0d2b25253b docs: Update docs for min & max 2024-07-19 01:05:11 +09:00
raon0211
e09517f05c feat(concat): Add concat to es-toolkit/compat 2024-07-19 01:05:02 +09:00
raon0211
ef5e1a2a11 docs: Add missing sidebar links for timeout & withTimeout 2024-07-19 00:53:30 +09:00
raon0211
32a79fd4e8 feat(difference): Add compatibility for difference 2024-07-19 00:51:07 +09:00
raon0211
f00ea62ee6 docs: Elaborate what the implementation status means 2024-07-19 00:23:49 +09:00
raon0211
0dbef13f24 docs: Update wording in our compatibility docs 2024-07-19 00:19:04 +09:00
raon0211
3642214a26 docs: Update wording in our compatibility docs 2024-07-19 00:12:40 +09:00
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