sadobass
28ddb499e6
docs - maxBy : "max" -> "min", 3 -> 1 ( #317 )
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-07-27 12:29:39 +09:00
Dayong Lee
a02b4158eb
feat(isObjectLike, isArguments): Add isObjectLike and isArguments with compatibility test ( #279 )
...
* Add isObjectLike
* Add isArguments
* remove duplicate function noop
* Remove un duplicated function
* add bench
* update compatibility
* Add docs
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-25 16:36:57 +09:00
raon0211
834a71589a
docs: Update docs for compatibility
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-07-25 12:17:18 +09:00
raon0211
0e0329ac91
feat(property): Add property
2024-07-25 12:04:32 +09:00
seungrodotlee
13c7c7f611
feat(mapKeys,mapValues): add mapKeys and mapValues ( #291 )
...
* feat(mapKeys): add mapKeys
* feat(map*): not clone object
* chore. fix names on bench
* feat. pass cloned object to iteratee
* Fix interface
* fix. fix test codes
* fix. fix type error on test
* Add docs
* test: Check test
* bench
* rewrite
* mapKeys
* test: Do not mutate the original function
---------
Co-authored-by: raon0211 <raon0211@toss.im>
2024-07-25 11:43:15 +09:00
정해준
0c6f7c95f1
feat(before): Add before
( #315 )
...
* feat(before): Add before function
* feat(before): Add before test code
* feat(before): Add before docs
* feat(before): Add before benchmarks
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-25 11:39:18 +09:00
raon0211
c350b23ee2
feat(isMatch, matches): Add isMatch & matches in compat
2024-07-25 11:36:14 +09:00
Jaekyung Jung
ad3df49e4b
docs: add missing period on some korean docs ( #283 )
2024-07-25 00:50:00 +09:00
tanggd
b134df19da
docs: Update docs for get ( #278 )
...
* docs: Update chunk.md
* Squashed commit of the following:
commit 14c8b1108a3aa6d45955c7dcd94a74598c9b4737
Author: tanggd <tanggd11@foxmail.com>
Date: Mon Jul 22 13:17:17 2024 +0800
docs: Update docs for get
commit 9b7b7ac41f7484753723b32f4d624da4c8bfe4e6
Author: tanggd <tanggd11@qq.com>
Date: Fri Jul 19 17:00:59 2024 +0800
docs: Update chunk.md
---------
Co-authored-by: tanggd <tanggd11@foxmail.com>
2024-07-23 23:19:29 +09:00
Sojin Park
c6d2f602cc
feat(isPrimitive): Add isPrimitive
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-07-21 23:08:02 +09:00
Sojin Park
2df30f70db
feat(isTypedArray): Add isTypedArray
2024-07-21 22:56:28 +09:00
novo
b08e5c9bca
feat(cloneDeep): Add cloneDeep
( #199 )
...
* feat: cloneDeep
* test: cloneDeep
* chore: add benchmark of cloneDeep
* docs: add docs of cloneDeep
* chore: fix name
* fix: constructor type
* feat: add index
* chore: add doc
* feat: Add native classes handling and benchmark structuredClone
* feat: Resolved type and aligned behavior with structuredClone
* fix: object init
* fix: File for legacy nodejs
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-21 22:33:56 +09:00
정해준
231b7ef83c
feat(after): Add after
( #258 )
...
* feat(after): Add after function
* feat(after): Add after test code
* feat(after): Add after benchmark
* feat(after): Add after docs
* fix(after): should create a function that unc only after being called
calls
* docs(after): change the after function docs
* Apply suggestions from code review
* Apply suggestions from code review
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-21 21:24:00 +09:00
Sojin Park
202ea61e0f
docs: Update docs for installation & usage
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-07-21 18:01:25 +09:00
D-Sketon
d117481dc4
fix(min, max): Do not return undefined
in non-empty arrays ( #270 )
...
* fix: improve min&max type
* Apply suggestions from code review
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-21 17:49:43 +09:00
정해준
999a4daf87
feat(isNull): Add compatibility with lodash ( #264 )
...
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* feat(isNull): Add isNull benchmark
* feat(isNull): Add compat's isNull test code
* docs(isNull): Update isNull status from 'review' to 'complete'
* Update src/compat/predicate/isNull.spec.ts
* Update src/compat/predicate/isNull.spec.ts
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-21 11:06:54 +09:00
정해준
d0812b81ab
feat(isUndefined): Add compatibility with lodash ( #266 )
...
* feat(isUndefined): Add isUndefined benchmark
* feat(isUndefined): Add compat's isUndefined test code
* docs(isUndefined): Update isUndefined status from 'review' to 'complete'
* fix(isUndefined): fix typo
* Update src/compat/predicate/isUndefined.spec.ts
* Update src/compat/predicate/isUndefined.spec.ts
* Update src/compat/predicate/isUndefined.spec.ts
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-21 11:04:50 +09:00
Dayong Lee
2f76fd2461
test(invert): add compatibility testcase ( #261 )
2024-07-21 10:58:58 +09:00
Dayong Lee
e0469bf394
feat(fill): Add compatibility with lodash ( #259 )
...
* feat(fill): Add compatibility with lodash
* Change docs and export fill
2024-07-21 10:58:40 +09:00
Sojin Park
d4081c0674
docs: Update docs for isFunction, negate, isArrayLike
2024-07-21 10:55:36 +09:00
Dayong Lee
bd7cb34cb7
feat(isArrayLike,isFunction): Add isArrayLike and isFunction with compatibility ( #265 )
...
* add isArrayLike and isFunction
* Add bench
* Add create arguments function
* Add isArrayLike function
* Add compatibility
* Change sub title to korean in isLength docs
* Add docs
* Fix typo error
* add toArgs testcase and remove a unusable expression
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-21 10:51:09 +09:00
Sojin Park
1043a48f22
docs: Update our compatibility docs
2024-07-21 10:45:41 +09:00
Sojin Park
35fbc4caa7
docs: Ensure compatibility of isArray with lodash
2024-07-21 10:41:25 +09:00
Sojin Park
e49c82b0fe
chore: Move isArray to our compatibility library
2024-07-21 10:38:14 +09:00
Dongho Kim
fb51b98732
feat(isArray): Add isArray
( #267 )
...
* feat(isArray): Add `isArray`
* refactor(isArray): Simplify the return type of `isArray`
2024-07-21 10:35:59 +09:00
Sojin Park
cbd4d3d002
docs: Update docs for compatibility
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-07-20 12:00:40 +09:00
Sojin Park
f4370374f6
docs: Add installation docs in modern browsers
2024-07-20 11:50:25 +09:00
Sojin Park
b19773d01d
docs: Add installation docs in browsers
2024-07-20 11:41:29 +09:00
오병진
caedf69aed
feat(isLength): Add isLength
( #245 )
...
* feat(predicate, compat, isLength): impl isLength
Signed-off-by: sunrabbit123 <qudwls185@naver.com>
* docs: change compatibility mark
Signed-off-by: sunrabbit123 <qudwls185@naver.com>
* test(isLength, compat): add test case link
Signed-off-by: sunrabbit123 <qudwls185@naver.com>
* docs(predicate, isLength): add route path on vitepress
Signed-off-by: sunrabbit123 <qudwls185@naver.com>
* Update docs/ko/reference/predicate/isLength.md
---------
Signed-off-by: sunrabbit123 <qudwls185@naver.com>
Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-20 11:18:20 +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
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
e09517f05c
feat(concat): Add concat to es-toolkit/compat
2024-07-19 01:05:02 +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
e1e6e38206
feat(max, min): Add support for max & min in es-toolkit/compat
2024-07-19 00:00:57 +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
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
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
원동휘
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