Commit Graph

769 Commits

Author SHA1 Message Date
Dongho Kim
e9123bea9d
docs(dropWhile): Update docs for dropWhile (#615)
* docs(dropWhile): Update docs for `dropWhile`

* docs(dropWhile): Add examples to JSDoc
2024-09-29 17:57:41 +09:00
Sojin Park
ac1e79e0c4 fix(isMatch): isMatch should strictly compare values if possible 2024-09-29 17:56:01 +09:00
Dayong Lee
05daba2470
chore: delete unused babel config file (#616)
* Delete babel

* Delete sortByText

* revert deleting sortByText
2024-09-29 17:38:16 +09:00
Dongho Kim
6fa1f00e07
docs(every): Update docs for every (#617) 2024-09-29 17:37:30 +09:00
Dongho Kim
93d256d21d
docs(flip): Update docs for flip (#618) 2024-09-29 17:36:37 +09:00
Sojin Park
66baac2afc v1.22.0
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-29 00:37:47 +09:00
Sojin Park
5c39817c0a chore: Move includes to array 2024-09-29 00:35:45 +09:00
Sojin Park
dd30980a68 docs(includes): Add docs for includes 2024-09-29 00:29:53 +09:00
Dayong Lee
4068e43b5e
feat(includes): add includes in es-toolkit/compat (#606)
* Add includes

* makes safe

* Fix get keys

* inhence bench

* enhance performance

* Fix lint
2024-09-28 23:59:30 +09:00
kimjeonghee
6e3226e2f0
feat(filter): add filter function (#610)
* feat: create filter function

* test: filter

* docs: filter

* fix: test case description

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-28 23:44:52 +09:00
Sojin Park
5553908173 docs(flowRight): Add docs for flowRight
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-28 23:04:52 +09:00
D-Sketon
75ed97afa0
feat(flowRight): implement flowRight (#603) 2024-09-28 22:56:26 +09:00
Sojin Park
7eed956ee0 docs(flip): Update docs for flip 2024-09-28 22:54:54 +09:00
D-Sketon
4e92675248
feat(flip): implement flip (#582) 2024-09-28 22:50:31 +09:00
Sojin Park
efe7932200 feat(every): Ensure compatibility with lodash 2024-09-28 22:48:32 +09:00
Gonhong Cheon
b0daa7377d
feat(every): Add every function (#475)
* feat(every): Add every function

* feat(every): Add every function test code

* feat(every): Add every function docs

* feat(every): Add every function bench
2024-09-28 22:23:30 +09:00
Sojin Park
819d64ecfa docs: Add missing docs and style docs 2024-09-28 22:22:34 +09:00
Sojin Park
c0efc65360 feat(dropWhile): Add full compatibility with lodash 2024-09-28 22:15:16 +09:00
Dongho Kim
bdc3d976b3
feat(dropWhile): Add dropWhile in compat (#465)
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-28 21:43:20 +09:00
Wojciech Maj
dacc52363b
chore: dedupe dependencies (#607)
This is just the output of running `yarn dedupe`. Improves CI time, project's install time and disk space usage. My suggestion would be to make it a habit to dedupe after updating dependencies of any kind to avoid this problem in the future.
2024-09-28 21:40:52 +09:00
Wojciech Maj
2673425aeb
chore: fix test command (#609)
`vitest run` implied non-development environment, disabling features like watching. So, now you can e.g.:

```
yarn test cloneDeep --watch
```

and work on your utility in peace.

At the same time, added `watch: false` to `vitest.config.mts` ensures the expected behavior of all test related commands won't change.
2024-09-28 21:40:09 +09:00
Jon Ganebski
1d5fa878e9
fix(throttle): not throttling after initial throttleMs (#611)
* test: extend test case

* fix: pendingAt is not being updated

* test: update delay ms
2024-09-28 21:39:35 +09:00
Dongho Kim
e88e3e2d76
fix(cloneDeep): Ensure DataView's offset and length are cloned correctly (#612) 2024-09-28 21:38:49 +09:00
Dongho Kim
791c27da93
docs(isSet): Update docs for isSet (#613) 2024-09-28 21:38:17 +09:00
hyesung oh
893ed163f3
docs(predicate): append docs fot isSet and isMap (#604)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-09-27 10:28:23 +09:00
D-Sketon
c051a3165e
feat(flow): implement flow (#595)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-26 16:35:41 +09:00
Dayong Lee
f70e36bd7b
fix(clone): add checking SharedArrayBuffer (#601) 2024-09-26 16:33:13 +09:00
HyunWoo Choi
2acc21175d
feat(isMap): add isMap (#600)
* feat : add isMap function

* feat : add isMap bench

* docs : isMap
2024-09-26 16:32:22 +09:00
Dayong Lee
6fb9b5dde8
fix(startCase): add missing tests and separate logic for es-toolkit and es-toolkit/compat (#602)
* Fix startCase

* Fix test codes
2024-09-26 16:27:58 +09:00
HyunWoo Choi
3cf0992520
feat(isSet): add isSet (#596)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* feat : add isSet to predicate

* feat : add isSet bench

* feat : add isSet test

* docs : isSet
2024-09-26 10:55:46 +09:00
Wojciech Maj
7016baf301
docs: fix castArray import paths (#598)
Closes #597
2024-09-26 10:54:17 +09:00
D-Sketon
f7853a80c1
docs: fix import (#599)
* docs: fix import

* docs: fix import
2024-09-26 10:53:52 +09:00
raon0211
92500e54da docs: Add docs for functions
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-25 17:37:03 +09:00
raon0211
d216470391 v1.21.0 2024-09-25 16:40:21 +09:00
raon0211
8fe44e8a90 fix(pick): Fix pick to only create keys that are already existent 2024-09-25 16:32:57 +09:00
raon0211
75c41ef98f feat(string): Make camelCase and other functions to support emojis 2024-09-25 16:25:52 +09:00
hyesung oh
1e04c48d3d
fix(startCase): convert the non-first char to lowercase (#591)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
* fix: convert the non-first char to lowercase

* test: more test case

* docs: update examples
2024-09-24 10:39:37 +09:00
D-Sketon
c734f730b4
feat(compat): implement pad (#584) 2024-09-24 10:38:18 +09:00
Dongho Kim
7623503572
docs(castArray): Update docs (#590)
* test(castArray): Add lodash test permalink

* docs(castArray): Update docs
2024-09-24 10:37:45 +09:00
Dongho Kim
7192cd7e50
test: Update specs for string methods (#589)
* style: Remove unnecessary `async` keyword

* test: Update specs for string methods
2024-09-24 10:36:32 +09:00
Dayong Lee
f38392c400
chore(lint): add lint plugin for using for loop instead of for...of over array (#587)
* Add prefer for loop

* change plugin name

* Revert tsconfig

* Revert random comment

* Revert eslint config parser options

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-24 10:35:28 +09:00
D-Sketon
36b14bef50
feat(defer): implement defer (#581)
* feat(defer): implement defer

* make lint happy

* export
2024-09-24 10:32:09 +09:00
Dongho Kim
8b2cfa0227
fix(omit): Support readonly keys (#572) 2024-09-24 10:31:16 +09:00
Minhee Lee
212ba9ae47
feat(isFinite): add isFinite to compat (#577)
* feat: append isFinite to compat

Co-authored-by: hyesungoh <haesungoh414@gmail.com>

* test: isFinite

Co-authored-by: hyesungoh <haesungoh414@gmail.com>

* docs: isFinite

Co-authored-by: hyesungoh <haesungoh414@gmail.com>

* docs: add ts docs

Co-authored-by: hyesungoh <haesungoh414@gmail.com>

* Update docs/reference/compat/predicate/isFinite.md

* Update src/compat/predicate/isFinite.ts

* Update src/compat/predicate/isFinite.ts

---------

Co-authored-by: hyesungoh <haesungoh414@gmail.com>
Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-24 10:30:53 +09:00
Dayong Lee
d47ee5f420
feat(utils): add toNumber, toFinite, toInteger in compat layer (#569)
* Add to Number

* Add toInteger

* Add toFinite

* Add internal utils

* Add benches

* Fix test title

* Add test for to Intger
2024-09-24 10:28:48 +09:00
Dongho Kim
c9346d505c
docs(curry): Update docs for curry (#541)
* docs(curry): Update docs for `curry`

* docs(curry): Synchronize documentation with JSDoc

* Update curry.md

* Update curry.md

* Update curry.md

* Update curry.md

* Update curry.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-09-24 10:25:39 +09:00
Gweesin Chan
60e4ba383a
feat(constantCase): support constantCase (#557)
* feat: support constant case

* Update docs/zh_hans/reference/string/constantCase.md

* Update src/string/constantCase.ts

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-09-24 10:23:18 +09:00
Dongho Kim
2e1f1177ed
fix(compact): Update NotFalsey to exclude 0n (#588)
* fix(compact): Update `NotFalsey` to exclude `0n`

* docs(compact): Update docs formatting
2024-09-24 10:19:48 +09:00
Goblin (Kim Woo Seok)
53703f4abb
docs: Add detail examples to docs in maxBy, minBy (#554)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* docs: Add detail examples to docs in maxBy, minBy

* docs: Add examples for maxBy and minBy functions to en, ja, zh_hans docs
2024-09-23 18:53:02 +09:00
Seonghun Kim
1ba076a2ac
docs: fix spelling of a comment in normalizeForCase function (#585) 2024-09-23 18:52:29 +09:00