Commit Graph

538 Commits

Author SHA1 Message Date
guesung
d7247b81de
style(isLength): add missing JSDoc (#353)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* style: add missing docs on `isLength.ts`

* refactor: remove space between JSDocs and function
2024-08-08 18:51:15 +09:00
liu
91f680a060
test(camelCase): Correct it should describes (#356) 2024-08-08 18:50:56 +09:00
raon0211
9c0f7b8210 test(isBoolean): Add test cases from lodash 2024-08-08 18:50:35 +09:00
raon0211
5ef7f3e245 docs(isBoolean): Add isBoolean 2024-08-08 18:47:50 +09:00
guesung
71dcaa4d23
feat(isBoolean): Add isBoolean function (#354)
* feat(isBoolean): Add `isBoolean` function

* docs(isBoolean): fix the typo

* fix: fix the lint
2024-08-08 18:45:52 +09:00
raon0211
b2427e1f4b fix(ary, unary): Fix guard in ary & unary, add Korean docs
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-08-07 19:02:23 +09:00
raon0211
d7d3cd28a2 chore: Fix lint in Deno 2024-08-07 18:52:38 +09:00
Dayong Lee
a816cb1fb3
chore(ci): add a branch linting all files in CI when .eslintrc.js, .prettierrc, .prettierignore files are changed (#350)
* Remove unused slack orbs

* Add checking all of the files when changing configure files
2024-08-07 18:51:07 +09:00
Dayong Lee
8600129813
style: Fix all lint errors (#351)
* Fix lint error

* Style format

* Add class, map, set
2024-08-07 18:50:42 +09:00
raon0211
ce412ff996 feat(isEqual): Implement isEqual 2024-08-07 18:50:11 +09:00
Juhyeok Kang
db79ff3355
docs: Implement Sandpack component for interactive examples in documentation (#338)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
* feat(docs): add sandpack component

* docs: add demo in chunk api doc
2024-08-06 11:36:43 +09:00
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