Commit Graph

427 Commits

Author SHA1 Message Date
D-Sketon
ec1a55850c
feat(ary/unary): implement ary/unary (#325)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
* feat(ary/unary): implement ary/unary

* fix

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-08-04 23:23:00 +09:00
Dayong Lee
86fe776f3c
fix(bind, CD): add sloppy-import flag and explicit symbol type for publishing deno (#345)
* Add explicit type

* Add sloppy-imports argument
2024-08-04 23:20:27 +09:00
D-Sketon
f198dfd9d4
feat(bind): implement bind (#337)
* feat(bind): implement bind

* fix: redundant prototype copy
2024-08-04 21:33:43 +09:00
Gromit (전민재)
b0011fa038
feat(isSubset): Add isSubset function (#343) 2024-08-04 21:29:45 +09:00
小明的自留地
a4b77c01dd
docs(endsWith): Update endsWith.md (#339)
Fix wrong returns in Examples.

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-08-04 21:29:20 +09:00
Dayong Lee
6f559c5b4c
fix(size, clonedeep): specify a file and ignore type error for deno (#342)
* fix(size): specifiy a file for Deno

* Fix cloneDeep

* Revert cloneDeep

* Revert cloneDeep

* Fix cloneDeep
2024-08-04 21:28:47 +09:00
Dayong Lee
f715a730d3
feat(flattenDeep, flattenDepth): add compatibility with lodash (#334)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-08-02 22:00:24 +09:00
Victor Jolissaint
b281732322
docs(size): fix size title (#333)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-08-01 21:00:24 +09:00
원동휘
6356555f46
feat: add readonly type for toFilled (#327)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* feat: add readonly type for toFilled

* Apply suggestions from code review

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-31 22:01:30 +09:00
raon0211
8509244c6f style(cloneDeep): Add styles for cloneDeep 2024-07-31 22:01:12 +09:00
오병진
fcc166a8fa
feat(size, compat): implement size function (#275)
* feat(size, compat): implement size function

Signed-off-by: sunrabbit123 <qudwls185@naver.com>

* fix: typo

Signed-off-by: sunrabbit123 <qudwls185@naver.com>

* bench(size): add benchamrk code

Signed-off-by: sunrabbit123 <qudwls185@naver.com>

* enhance(size): refactor size implementation

Signed-off-by: sunrabbit123 <qudwls185@naver.com>

* remove: unused code

Signed-off-by: sunrabbit123 <qudwls185@naver.com>

* fix: type check

Signed-off-by: sunrabbit123 <qudwls185@naver.com>

* fix: typo

Signed-off-by: sunrabbit123 <qudwls185@naver.com>

---------

Signed-off-by: sunrabbit123 <qudwls185@naver.com>
2024-07-31 22:00:02 +09:00
Péter Kovács
8249ed25f8
feat(padStart): add padStart (#323)
* feat: add padStart function

* docs: add padStart doc
2024-07-31 21:55:00 +09:00
Dayong Lee
2d1c406398
feat(flatten): add compatibility with lodash (#330)
* feat(flatten): add compatibility

* Add bench

* Add doc

* fix jsdoc
2024-07-31 21:54:21 +09:00
Gromit (전민재)
25217a571e
docs(isPrimitive): fix isPrimitive function documentations (#331)
* fix: isPrimitive function

* docs: fix isPrimitive docs

* docs: fix isPrimitive jsdoc
2024-07-31 21:50:58 +09:00
raon0211
876931405a feat(cloneDeep): Support full feature parity with lodash 2024-07-31 21:50:17 +09:00
Dayong Lee
5c1251c5a5
fix(isLength): modernize checking type of a safe integer (#322)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-07-30 00:08:14 +09:00
Florens Verschelde
831501ad92
config(build): remove sourcemaps for esm/cjs builds (#320)
* config: disable sourcemaps for esm & cjs builds

* config: keep jsdoc comments when not generating sourcemaps

* config: tweak browser build minification for readability

* config(terser): use ecma:2020 option, since tsconfig target is es2020
2024-07-30 00:04:11 +09:00
D-Sketon
c0b3af2fe1
docs: improve document (#324) 2024-07-30 00:02:49 +09:00
sadobass
28ddb499e6
docs - maxBy : "max" -> "min", 3 -> 1 (#317)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-07-27 12:29:39 +09:00
tanggd
2798782c9a
docs: Update the Chinese documen chunk.md (#319) 2024-07-27 12:29:20 +09:00
raon0211
b3a04ef5e3 fix: Fix publish in Deno
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-07-25 18:18:58 +09:00
Florens Verschelde
c24e651caa
chore: add comment explaining purpose of root .d.ts files (#316) 2024-07-25 18:00:02 +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
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-07-25 12:17:18 +09:00
raon0211
f79a31fa54 feat(mapKeys): Support lodash test cases 2024-07-25 12:16:03 +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
4cc687adb5 style: Add return type annotation 2024-07-25 11:37:11 +09:00
raon0211
c350b23ee2 feat(isMatch, matches): Add isMatch & matches in compat 2024-07-25 11:36:14 +09:00
raon0211
e262fa1b13 docs: Fix broken link for Korean docs 2024-07-25 10:13:19 +09:00
raon0211
50c84efcff chore: Remove unnecessary file 2024-07-25 10:09:14 +09:00
Florens Verschelde
6e3fff0ae3
build: move browser build from umd dir to dist (#314) 2024-07-25 10:05:14 +09:00
hainan
b068885e36
fix(cloneDeep): SharedArrayBuffer could be undefined (#312)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* fix(cloneDeep): SharedArrayBuffer could be undefined

* lint

* Update src/object/cloneDeep.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-25 00:50:24 +09:00
Jaekyung Jung
ad3df49e4b
docs: add missing period on some korean docs (#283) 2024-07-25 00:50:00 +09:00
D-Sketon
4cb84225c4
docs(zh-CN): add cloneDeep (#281) 2024-07-25 00:41:47 +09:00
Florens Verschelde
7b2aa1adfc
chore: use rollup instead of tsup for a cleaner dist (#255)
* update tsup to 8.2.0 (no change to dist)

* add rollup config to generate dist

* fix browser build config

* browser umd bundle sourcemap should be published

* browser bundle is iife, not umd, despite folder name

* rollup: don't use manualChunks to keep the config a tad simpler

* prepack: use rollup instead of tsup

* remove browser entrypoint from dist

* remove comments in .js and .mjs outputs

* remove src/browser.ts, use equivalent Rollup config

* Restore original .npmignore

* rollup config: rename umdBuildConfig to browserBuildConfig

* rollup: use package.json#exports for esm entrypoints

* chore: package.json

* rollup config

* sort

* lint

* prettier

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-25 00:37:53 +09:00
Wonse Shin
3b99a74aae
docs: fix link of function-negate (#310) 2024-07-25 00:35:35 +09:00
raon0211
5e877fafb2 test: Add E2E tests for CJS and ESM 2024-07-25 00:15:38 +09:00
niayyy
72cc2d86a4
fix(zipObject, zipObjectDeep, debounce, throttle, isEqual): type problems (#273)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
* fix(zipObject, zipObjectDeep, debounce, throttle, isEqual): type problems

* Update src/function/throttle.ts

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-23 23:19:51 +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
Dayong Lee
3911ae8cfc
ci: simplify and integrate lint code (#286) 2024-07-23 23:19:10 +09:00
Florens Verschelde
0896d5e517
test(ci): check the generated dist and package.tgz (#288)
* test(ci): add @arethetypeswrong/cli check of package.tgz

* chore(ci): run attw before release

* test(ci): add minimal check-dist test to pre-pack
2024-07-23 23:03:27 +09:00
Youngjun Choi
ef39661b63
feat: add test case of isNil (compat version) (#277)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-07-22 13:49:34 +09:00
Jun
e9f8e98774
docs: fix isTypedArray ko docs link (#276) 2024-07-22 13:45:33 +09:00
D-Sketon
93beef37a5
fix: jsdoc error (#272)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-07-22 09:42:57 +09:00
Sojin Park
c6d2f602cc feat(isPrimitive): Add isPrimitive
Some checks are pending
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
Sojin Park
bacbf81c4f docs: Update link for docs 2024-07-21 21:29:14 +09:00