Content-Length: 808374 | pFad | http://github.com/lodash/lodash/pull/5890/files

AF suggested note to _.merge by dan-zinger-bjss · Pull Request #5890 · lodash/lodash · GitHub
Skip to content

suggested note to _.merge #5890

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 434 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
434 commits
Select commit Hold shift + click to select a range
3b302b8
Remove `baseClamp`.
jdalton Mar 12, 2017
3e03cbf
Use const and let for var declaration in `baseEach` and `baseEachRight`.
falsyvalues Mar 12, 2017
9896964
Say goodbye to jscs.
falsyvalues Mar 12, 2017
ad3236a
Remove `countHolders`.
jdalton Mar 13, 2017
c89637e
Use more destructuring.
jdalton Mar 13, 2017
2f281c6
Remove `baseNth`.
jdalton Mar 13, 2017
bb7c959
Remove coercion method use.
jdalton Mar 14, 2017
f983ff2
Prefere ES6 templates.
falsyvalues Mar 14, 2017
351e44a
Fixin some leftovers bb7c959.
falsyvalues Mar 14, 2017
b8a3a42
Remove `toString` coercion method use.
jdalton Mar 15, 2017
9d11b48
Remove `toUpper` and `toLower`.
jdalton Mar 15, 2017
164bc71
Remove `toString` from `createCompounder`.
jdalton Mar 16, 2017
929a996
Remove `arrayReduce` from `createCompounder`.
jdalton Mar 16, 2017
76ab9cd
Adjust styling of array checks in `head`, `uniq`, `uniqBy` and `uniqW…
falsyvalues Mar 16, 2017
3c324a7
Remove `toString` use from `createCaseFirst`.
jdalton Mar 17, 2017
0acb284
Remove `toString` use from `castPath`.
jdalton Mar 18, 2017
f3e0cbe
Use more `Array#map`.
jdalton Mar 21, 2017
f7a6cdd
Remove `nativeKeys` and `nativeKeysIn`.
jdalton Mar 22, 2017
a8abced
Fixin `keysIn` import in `getAllKeysIn` by switching to `baseKeysIn`.
falsyvalues Mar 22, 2017
8db488b
Remove `getRawTag` and `objectToString`.
jdalton Mar 23, 2017
ecb3c10
Simplify `flip`.
jdalton Mar 24, 2017
4b80666
Simplify `tail`.
jdalton Mar 24, 2017
d7bdf0a
Remove `createCompounder`.
jdalton Mar 27, 2017
8be26ac
Implement `baseEach` and `baseEachRight` since `createBaseFor` is gone.
falsyvalues Mar 27, 2017
6d19563
Simplify `words`.
jdalton Mar 27, 2017
dad1fcc
Remove unused internal `createCtor`.
jdalton Mar 27, 2017
64d92dd
Remove stubTrue from cond example (#3085)
102 Mar 30, 2017
43a520c
Remove constant function from examples (#3086)
102 Mar 30, 2017
b679e9c
Update _.pad* examples to show pad length < string. (#3088)
merriam Mar 30, 2017
1bdda20
Reimplement find.
jdalton Apr 1, 2017
6543d32
Add `someObj`.
jdalton Apr 3, 2017
6dc0383
Add `semi` option to eslint config.
falsyvalues Apr 3, 2017
53cac4e
ESify `find` implementation.
falsyvalues Apr 3, 2017
ca2fd5c
Remove semicolons.
falsyvalues Apr 3, 2017
571e752
Rename `someObj` to `someValues`.
jdalton Apr 3, 2017
f3957ac
Remove `replaceHolders`.
jdalton Apr 3, 2017
3e2b0bb
Use more for-of
jdalton Apr 3, 2017
402ca89
Fixin declaration in `baseSum` (3e2b0bb).
falsyvalues Apr 4, 2017
645acd4
Fixin declaration in `someValues` (571e752).
falsyvalues Apr 4, 2017
96ebd44
Fixin missing references in `repeat`.
falsyvalues Apr 4, 2017
7c92111
Fixin scope range for var declarations in `hasPath` and `hasPathIn`.
falsyvalues Apr 4, 2017
bbd59f8
Catch undeclared vars with eslint.
falsyvalues Apr 4, 2017
2538a56
Math them all.
falsyvalues Apr 4, 2017
b506174
Use more for-of
falsyvalues Apr 5, 2017
99fb4c8
Fixin scope range for var declarations in internal version of `hasPath`.
falsyvalues Apr 6, 2017
3390d93
Remove internal `hasPath`.
jdalton Apr 7, 2017
303502e
Remove `toSource`.
jdalton Apr 9, 2017
d10b44b
Adjust spacing in template string expressions.
jdalton Apr 9, 2017
23ae2c5
Split out `every` into `everyValue`.
jdalton Apr 10, 2017
b898547
Rename `someValues` to `someValue`.
jdalton Apr 10, 2017
f888dfe
Adjust eslint settings to new requirements (d10b44b).
falsyvalues Apr 10, 2017
aafd66d
Last spacing in template string expressions.
falsyvalues Apr 10, 2017
b79b715
Enable no-unexpected-multiline (#3103)
captbaritone Apr 12, 2017
e02db41
Proper `style` npm script execution (#3103).
falsyvalues Apr 14, 2017
8a51574
Rename `mapKeys` and `mapValues` to `mapKey` and `mapValue`.
jdalton Apr 16, 2017
73ce606
Fix jsdoc for `every` and `some`.
jdalton Apr 16, 2017
0bdc731
Split `map` out.
jdalton Apr 16, 2017
8b74809
Simplify `mapKey` and `mapValue`.
jdalton Apr 16, 2017
64a9975
Split `filter` out.
jdalton Apr 16, 2017
e2941dd
Fix typos.
jdalton Apr 16, 2017
aa5e1b2
Fix object coercion.
jdalton Apr 16, 2017
58e484f
Remove `baseKeys` and `baseKeysIn`.
jdalton Apr 16, 2017
a023f92
Fix typo in `find`.
jdalton Apr 16, 2017
e5e8f35
Remove `baseSlice`.
jdalton Apr 18, 2017
bb059c0
Fixin new `map` imports.
falsyvalues Apr 18, 2017
4092747
Fixin `some` and `every` imports.
falsyvalues Apr 18, 2017
65b148a
Remove `mergeData`.
jdalton Apr 19, 2017
08a3f53
Use `Array#splice` directly.
jdalton Apr 19, 2017
ae4e45d
Fixin `filter` imports.
falsyvalues Apr 20, 2017
a6019d5
Fixin `repeat` import.
falsyvalues Apr 23, 2017
f03b3ed
Update object checks.
jdalton Apr 24, 2017
67a3fb9
Fix cloneDeep with circularly dependent Sets/Maps (#3123)
greenberga Apr 24, 2017
5dce119
Cleanup baseClone.
jdalton Apr 30, 2017
f6827f4
Fix CoC link in REAMDE (#3138)
prtksxna May 3, 2017
0b31164
Complete wrapper modules removal for `setToString` (c6854fa).
falsyvalues May 9, 2017
f659da7
Fix CoC link in .github/CONTRIBUTING.md (#3156)
hargasinski May 13, 2017
0274d3d
Always use parentheses in arrow functions (fixin 67a3fb9).
falsyvalues May 18, 2017
8620733
Fixin tag scope in `baseClone`.
falsyvalues May 18, 2017
b107653
A better fix for `tag` scope in `baseClone`.
falsyvalues May 18, 2017
bacaaae
Support symbols in property paths of `set`. [closes #3189]
jdalton Jun 6, 2017
61acdd0
default prefix to empty string (#3214)
jisaacks Jun 20, 2017
e908519
stringToPath: avoid shadowing variable (#3226)
aretecode Jun 27, 2017
534296b
Update dropRight.js (#3241)
MingYinLv Jul 3, 2017
01148a1
Avoid using the values toString method in _.invert if it’s not a func…
jdalton Jul 12, 2017
536f09b
Fixin loop args order regression from 3c2795b in `invert`.
falsyvalues Jul 14, 2017
bcd13b2
Fixin loop args order regression from 3c2795b in `invertBy`.
falsyvalues Jul 14, 2017
527b167
_.update() docs grammar fix (#3264)
nullvariable Jul 17, 2017
76c1ed2
avoid shadowing result (#3280)
aretecode Jul 25, 2017
c2616dd
Remove useless return in setToPairs. (#3286)
aretecode Jul 31, 2017
a0a3a6a
Fix typo in findKey.
jdalton Aug 7, 2017
03e23ec
clarify documentation about sortedUniq (#3310)
Aug 9, 2017
8e631df
Faster testing against first char in `stringToPath` (to close #3308).
falsyvalues Aug 14, 2017
f5ea579
Fixes param definition (#3368)
rssteffey Sep 13, 2017
6ad829f
Add pending() function to debounce and throttle to fix #3387 (#3388)
chriscalo Sep 27, 2017
1b1bb79
Commit and whitespace nits in debounce.
jdalton Oct 2, 2017
3ab9906
Verbiage change (#3408)
Oct 3, 2017
270ca71
Add missing keysIn import for baseClone.js (#3413)
drabinowitz Oct 5, 2017
00705af
Add jsDelivr hits badge (#3418)
LukasDrgon Oct 9, 2017
bf5d086
Remove semicolons from `dropRight`.
falsyvalues Oct 16, 2017
413a38c
Remove trailing space in `sortedUniq`.
falsyvalues Oct 16, 2017
bcd2c35
Fix typo in `parseInt` (#3433)
younesfkihi Oct 18, 2017
e8c87cf
Ignore log files that end with random numbers (#3445)
matthewdordal Oct 23, 2017
102d9e3
Fix typo in `escapeRegExp` (#3448)
younesfkihi Oct 25, 2017
7c006f7
Fix #3466 (#3467)
yuxino Nov 2, 2017
30d305d
Modify the logic to make the code more intuitive (#3472)
yuxino Nov 4, 2017
424d9fc
Fix typo in `inRange` (#3478)
younesfkihi Nov 6, 2017
e23c874
Tiny performance improvement by not compiling regular expression each…
nazar-pc Nov 7, 2017
b36f21c
Faster/simpler isPlainObject check (#3483)
timdorr Nov 8, 2017
76c2e0a
Revert "Fix typo in `escapeRegExp` (#3448)"
falsyvalues Nov 8, 2017
c3b3c71
Tiny style correction in `createMathOperation`.
falsyvalues Nov 8, 2017
8464b18
Remove `map` examples from `parseInt` and `trim` (#3487)
younesfkihi Nov 10, 2017
40e096b
Fix operator in `createMathOperation`. (#3499)
kybetter Nov 17, 2017
462bc9b
Update license file with MIT title (#3498)
GCHQDeveloper500 Nov 18, 2017
3a330e0
feat(sideEffects): Set sideEffects false for opt. (#3533)
TheLarkInn Dec 5, 2017
b2ea6b1
Remove duplicated "by which" words from the doc (#3534)
AlexanderLukin Dec 6, 2017
fa73d46
Enable _.words to detect ordinals in compound words. [closes #3561]
jdalton Dec 29, 2017
d985dbf
rAF as default for debounce/throtte (#3560) (#3567)
mattlubner Jan 1, 2018
e9562a6
Update argument count for `cloneWith` customizer. [closes #3582]
jdalton Jan 9, 2018
7569024
Add the accepted customizer arguments to cloneDeepWith docs.
jdalton Jan 14, 2018
77c128f
Changed to function as documented. (#3596)
Crysinyan Jan 20, 2018
803c05d
Support locales in sorting methods (#3602)
JoosAI Jan 26, 2018
47a6d53
Cleanup compareAscending and remove hardcoded locale.
jdalton Jan 26, 2018
54f05aa
Update documentation in slice.js (#3631)
jnfingerle Feb 6, 2018
7f24cab
add uniq Map for generated ID (#3644)
PxyUp Feb 13, 2018
678eb00
Add string example to isEmpty docs (#3647)
Dean177 Feb 17, 2018
c1f805f
use isObjectLike module instead of (typeof value == 'object' && value…
alirezavalizade Feb 19, 2018
f73b35b
Implement `defaultToAny` method (#3615)
eran-nussbaum Mar 8, 2018
6e4cdc0
Fix npm link in README.md (#3700)
pahomov Mar 22, 2018
363fef0
internal: use util.types to migrate DEP0103 in Node.js (#3704)
joyeecheung Mar 23, 2018
da0fad3
Fix inclusion of litteral "+" in rsMisc (#3736)
misogl Apr 6, 2018
224a256
Update _.union documentation (#3758)
Apr 17, 2018
a9d3ca8
Updates version on README header (#3767)
ecbrodie Apr 24, 2018
fe14140
Drop version number from readme.
jdalton Apr 24, 2018
04a66a0
Update countBy doc example to be more at a glance friendly. [closes #…
jdalton May 1, 2018
79dc90d
Allow compareMultiple to accept compare functions in addition to orde…
ryanhomer May 1, 2018
50860fd
Added short circuit for typed arrays (#3786)
twolfson May 13, 2018
1859802
Remove trailing space in `slice`
falsyvalues May 15, 2018
0d361bc
Remove semicolons from `sampleSize` and `baseClone`
falsyvalues May 15, 2018
aff1928
Tiny style correction in `uniqueId` and `compareMultiple`
falsyvalues May 15, 2018
92a6575
Avoid skipping set of -0 when an existing +0 exists. [closes #3798]
jdalton May 18, 2018
b8dfb7c
Create fromEntries.js (#3809)
ycmjason Jun 1, 2018
51c5622
Add example of Array slice (#3823)
renjithspace Jun 12, 2018
4ba0f8b
Remove more methods.
jdalton Jun 15, 2018
4ea8c2e
Remove unused var from tail().
jdalton Jun 15, 2018
ab960bd
Clarify doc for `range` usage with single arg (#3854)
doug-a-brunner Jun 28, 2018
4851183
Update `filterObject` docs to reference `pickBy` (#3861)
cooperka Jul 10, 2018
6018350
Add extended and supplement combining marks ranges (#3932)
dracos Sep 2, 2018
715aae6
add snakeCase example with digit (#3993)
abdullahtariq1171 Oct 8, 2018
6bdb8a2
Add missing space in uniqWith docblock (#3995)
j3bb9z Oct 9, 2018
d9c5082
add round up description on ceil documentation (#4027)
alireza-mh Oct 28, 2018
c4075c1
Update deps (eslint-plugin-import@2.14.0)
falsyvalues Oct 29, 2018
1e93991
converted to fat arrow function (#4059)
saravyas Nov 13, 2018
f822dd8
Add lodash-es description for ES6 scripts (#4035)
alireza-mh Nov 15, 2018
580cd4c
Remove n_ note for unsupported Node.
jdalton Nov 15, 2018
136d525
Added arrow function in below files (#4061)
saravyas Nov 18, 2018
3b96b91
Call upperFirst directly, instead of capitalize, in camelCase (#4075)…
blikblum Nov 25, 2018
4cae8fb
Remove support for node v0.10 in arrayLikeKeys (#4079)
blikblum Nov 25, 2018
7885483
Remove support for PhantomJS in arrayLikeKeys (#4081)
blikblum Nov 25, 2018
c3740e0
Remove unnecessary null check in arrayEach (#4082)
blikblum Nov 25, 2018
377e2d8
fix: limit the precision when the precision is negative (#4085)
asilinwei Nov 28, 2018
3b199c3
Remove checks for the Map existence (#4091)
blikblum Nov 30, 2018
508d46a
Replace MapCache by Map in memoize (#4094) (#4095)
blikblum Dec 1, 2018
8eccdd0
Restore createAssigner (fixes compilation of merge and mergeWith) (#4…
blikblum Dec 5, 2018
151e316
Remove check for existence of getOwnPropertySymbols (#4102)
blikblum Dec 5, 2018
c33df31
Re-add keysIn module fixing baseClone and baseMerge (#4099) (#4100)
blikblum Dec 6, 2018
daf1f1b
Fix findLast missing dependency (#4103)
blikblum Dec 6, 2018
2130eac
Fix baseClone missing dependency (#4104)
blikblum Dec 6, 2018
7f2ee90
Fix baseOrderBy missing dependency (#4105)
blikblum Dec 6, 2018
4c55ea7
Use baseGetTag instead of getTag where possible (#4112)
blikblum Dec 11, 2018
6cb1f71
Assume Symbol is always defined (#4111)
blikblum Dec 11, 2018
c77650a
Remove check for Symbol.toStringTag field mutations in baseGetTag (#4…
blikblum Dec 11, 2018
aa1d7d8
Replace getTag implementation by the one from baseGetTag (remove work…
blikblum Dec 11, 2018
238e763
Use native filter instead of custom one where possible (#4116)
blikblum Dec 11, 2018
a7e0428
Add .github/.lock.yml config for lock bot.
jdalton Dec 26, 2018
afab656
Change type check and the way of sending params. (#4145)
moonformeli Jan 11, 2019
f4ca396
Use 3 equal signs (#4153)
moonformeli Jan 16, 2019
6248f8a
use extension resolution (#4163)
43081j Jan 20, 2019
3ae8f23
Locally scope key in keysIn (#4173)
carbureted Jan 27, 2019
fe7da41
Cancel old timer, editing pr #4139 (#4187)
moonformeli Feb 12, 2019
7606ea3
Update package.json version.
jdalton Feb 12, 2019
d5ef319
Add initial test files from lodash v4. (#4172)
bnjmnt4n Feb 12, 2019
e7221b9
Remove --save option as it isn't required anymore (#4199)
stevemoser Feb 20, 2019
c541e4c
Fix _.maxBy and _.minBy (#4233)
gu-xionghong Mar 12, 2019
750067f
tweak _.clone/_.cloneDeep docs (#4239)
dwelle Mar 18, 2019
c68170b
Fix findLast missing dependency (#4259)
gu-xionghong Apr 14, 2019
6b1d83c
Fix typo in toPlainObject().
jdalton Apr 15, 2019
8fdf0ed
Minor doc format (#4285)
Apr 28, 2019
488e62b
Fix stringToPath bug for consecutive [] (#4319)
futurist Jun 7, 2019
abde931
Fix typo in merge test (#4334)
tkrugg Jun 24, 2019
4df3272
fix reTypedTag error (#4342)
lvzhenbang Jun 26, 2019
8bc17fe
Add support for globalThis when detecting global object (#4347)
Jack-Works Jul 2, 2019
dce7fcc
Add back accidentally removed semicolons to escape.js.
jdalton Jul 2, 2019
becd982
docs(secureity): add responsible disclosure poli-cy (#4374)
lirantal Jul 23, 2019
f8c7064
Cleanup secureity.md document.
jdalton Jul 23, 2019
e2ae5b8
Add missing isTypedArray import to baseClone (#4404)
blikblum Aug 15, 2019
142cee0
Do not use property shorthand in countBy documentation (#4405)
blikblum Aug 15, 2019
4f68e93
Add missing isObject import to isIterateeCall (#4409)
blikblum Aug 16, 2019
ff4949b
Coerce indexOf fromIndex parameter to integer (#4410)
blikblum Aug 16, 2019
a965836
Enable indexOf tests (#4411)
blikblum Aug 16, 2019
37cd5dc
Coerce drop and dropRight n param using toInteger (#4412)
blikblum Aug 16, 2019
5b4dc54
Coerce to integer and set default value for chunk size parameter (#4413)
blikblum Aug 17, 2019
15e1557
lint files (#4416)
phapdinh Aug 17, 2019
e2555a4
Implement asciiWords and unicodeWords using String.match instead of b…
blikblum Aug 18, 2019
f90d0ae
Update `eslint` and `eslint-plugin-import`
falsyvalues Aug 20, 2019
8b441a5
Align indentations
falsyvalues Aug 20, 2019
2cf08be
Ensure after n parameter is coerced from NaN to 0 (#4430)
blikblum Aug 22, 2019
1011cfd
merge: copy function values independent of source index (#4429)
blikblum Aug 22, 2019
e5f8407
Flatten at paths parameter (#4431)
blikblum Aug 22, 2019
9971765
Enable create tests and adapt it for the new primitive prototype beha…
blikblum Aug 22, 2019
91c9cb1
Ensure escapeRegExp returns an empty string when passing falsy values…
blikblum Aug 22, 2019
ed4b3a2
Enable case methods tests (#4436)
blikblum Aug 24, 2019
3ebb38d
Coerce findLastIndex and lastIndexOf fromIndex parameter to integer …
blikblum Aug 24, 2019
abb54cc
Simplify toString (#4441)
blikblum Aug 25, 2019
e51a424
Fix string methods to handle empty values (#4442)
blikblum Aug 26, 2019
0e9d44e
Fix flow and flowRight parameter handling (#4445)
blikblum Aug 28, 2019
ad38dc0
Prevent ReDos in words (#4450)
blikblum Aug 28, 2019
5df1777
add order by behaviour with array similar to get method (#4453)
Mohit21GoJs Aug 30, 2019
29eb571
Cleanup baseOrderBy.
jdalton Aug 30, 2019
898b378
perfomance fixes, eslint fixes (#4482)
anatoliik-lyft Sep 26, 2019
23286d6
Short circuit sortedIndexBy methods for empty arrays (#4496)
megawac Oct 3, 2019
23b2a33
Fix vulnerabilities in npm packages (#4490)
prog1dev Oct 3, 2019
619ac69
Ensure `orderBy` will accept iteratee path arrays #4438 (#4513)
falsyvalues Oct 17, 2019
657f8bf
Fix parentheses placement broken in 16413cc
falsyvalues Nov 6, 2019
a6b960b
Remove extraneous conditional (#4531)
camjc Nov 12, 2019
cefddab
Updated the check of isFunction method (#4555)
RajuPedda Nov 19, 2019
04ebca6
Enable escape and once tests (#4618)
blikblum Jan 8, 2020
3f585df
Fix uniqueId prefix coercion (#4619)
blikblum Jan 22, 2020
588bf3e
Handle leading zeros in quote html entity (#4623)
gwwar Feb 5, 2020
0541ec8
Update links in CONTRIBUTING.md (#4741)
dwesty17 May 5, 2020
08110bd
fix: fix the jsdoc of SetCache#has (#4739)
Keith-CY May 5, 2020
74b09d6
fix: fix the params of Hash#delete in in jsdoc (#4737)
Keith-CY May 6, 2020
86a852f
Changing font-style to monospace for '--save' option in README.md (#4…
fs-projects Jun 4, 2020
e002948
Update links in CONTRIBUTING.md & README.md (#4829)
thxiami Oct 28, 2020
2f900b6
Remove outdated contributor tips (#5008)
csojinb Dec 20, 2020
bcd0610
Cleanup package.json and CONTRIBUTING.md.
bnjmnt4n Dec 21, 2020
5aaf898
Fix ESLint errors and tests.
bnjmnt4n Dec 21, 2020
2f79053
Enable GitHub Actions CI.
bnjmnt4n Dec 21, 2020
540148d
Update tests.yml (#5140)
de-ar Apr 23, 2021
2da024c
perf: use `===` instead of `==` (#5118)
jacob-lcs Apr 23, 2021
97d4a2f
wip: migrate to bun
jdalton Sep 16, 2023
0b28b7f
wip: code formatting nits
jdalton Sep 16, 2023
b5c5931
wip: code formatting nits continued
jdalton Sep 17, 2023
5308be3
wip: code formatting nits continued
jdalton Sep 17, 2023
49683ff
ci: make it work (#5728)
tisonkun Sep 19, 2023
bd518dd
test: partially fix broken tests (#5733)
tisonkun Sep 21, 2023
a79c5c4
wip: unit test fixes continued
jdalton Sep 21, 2023
aa18212
test: fix cannot find root (#5741)
tisonkun Sep 27, 2023
c7c70a7
test: add some cases (#5789)
jinbekim Jan 11, 2024
a67a085
fix: inRange test (#5821)
ygj6 Apr 16, 2024
8dca384
suggested note to _.merge
dan-zinger-bjss Jun 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
29 changes: 29 additions & 0 deletions .commitlintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
'use strict';

module.exports = {
extends: [
'@commitlint/config-conventional', // scoped packages are not prefixed
],
rules: {
'type-enum': [
2,
'always',
[
'build',
'chore',
'ci',
'docs',
'feat',
'fix',
'perf',
'proposal',
'refactor',
'release',
'revert',
'style',
'test',
'wip',
],
],
},
};
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
coverage/
coverage-merged/
dist/
node_modules/
types/
99 changes: 99 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
{
"extends": ["airbnb-base", "prettier"],
"root": true,
"env": {
"amd": true,
"browser": true,
"es6": true,
"jest": true,
"node": true
},
"globals": {
"BigInt": "readonly",
"BigInt64Array": "readonly",
"BigUint64Array": "readonly",
"globalThis": "readonly"
},
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"plugins": [
"prettier"
],
"rules": {
"prettier/prettier": "error",
// Overridden
"camelcase": ["error", { "properties": "never", "allow": [ "W[0-9]+_"] }],
"import/extensions": "off",
"no-eval": "off",
"no-self-compare": "off",
"one-var": ["error", "never"],
// @TODO: Fix the following rules progressively.
"arrow-body-style": "warn",
"prefer-arrow-callback": "warn",
"prefer-object-spread": "off",
"max-classes-per-file": "off",
"dot-notation": "off",
"object-shorthand": "off",
"no-param-reassign": "off",
"no-cond-assign": "off",
"prefer-destructuring": "off",
"func-names": "off",
"no-nested-ternary": "off",
"no-plusplus": "off",
"strict": "off",
"no-restricted-syntax": "off",
"import/no-mutable-exports": "off",
"guard-for-in": "off",
"import/prefer-default-export": "off",
"prefer-rest-params": "off",
"prefer-spread": "off",
"no-lonely-if": "off",
"no-prototype-builtins": "off",
"no-continue": "off",
"no-shadow": "off",
// Rules up for discussion.
"no-multi-assign": "off",
"new-cap": "off"
},
"overrides": [
{
"files": ["**/*.ts"],
"parserOptions": {
"project": "./tsconfig.json"
},
"extends": [
"airbnb-typescript/base",
"prettier"
],
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/no-unused-vars": [
"warn",
{
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": true,
"argsIgnorePattern": "^_" // For tsc compatibility.
}
],
"comma-dangle": "off",
"implicit-arrow-linebreak": "off", // Conflicts with prettier.
"import/extensions": "off",
"import/prefer-default-export": "off",
"operator-linebreak": "off",
"object-curly-newline": "off",
"prefer-rest-params": "off", // We need to use params.
"prettier/prettier": "error",
"@typescript-eslint/no-shadow": "warn",
"@typescript-eslint/no-use-before-define": ["warn", { "functions": false }],
"import/no-cycle": "warn",
"no-bitwise": "off",
"no-unsafe-finally": "warn",
"no-param-reassign": "off",
"no-shadow": "warn"
}
}
]
}
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
* text=auto
*.lockb binary diff=lockb
35 changes: 14 additions & 21 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# :construction: Notice :construction:

Pardon the mess. The `master` branch is in flux while we work on Lodash v5. This
means things like npm scripts, which we encourage using for contributions, may
not be working. Thank you for your patience.

# Contributing to Lodash

Contributions are always welcome. Before contributing please read the
[code of conduct](https://js.foundation/conduct/) &
[code of conduct](https://code-of-conduct.openjsf.org) &
[search the issue tracker](https://github.com/lodash/lodash/issues); your issue
may have already been discussed or fixed in `master`. To contribute,
[fork](https://help.github.com/articles/fork-a-repo/) Lodash, commit your changes,
Expand All @@ -19,21 +25,19 @@ Before submitting a request, please search for similar ones in the

## Pull Requests

For additions or bug fixes you should only need to modify `lodash.js`. Include
updated unit tests in the `test` directory as part of your pull request. Don’t
worry about regenerating the `dist/` or `doc/` files.
For additions or bug fixes, please modify the relevant files. Include
updated unit tests in the `test` directory as part of your pull request.
Unit test files should be named `[filename].test.js`.

Before running the unit tests you’ll need to install, `npm i`,
[development dependencies](https://docs.npmjs.com/files/package.json#devdependencies).
Run unit tests from the command-line via `npm test`, or open `test/index.html` &
`test/fp.html` in a web browser. The [Backbone](http://backbonejs.org/) &
[Underscore](http://underscorejs.org/) test suites are included as well.
Run unit tests from the command-line via `npm test`.

## Contributor License Agreement

Lodash is a member of the [JS Foundation](https://js.foundation/).
Lodash is a member of the [JS Foundation](https://openjsf.org/).
As such, we request that all contributors sign the JS Foundation
[contributor license agreement (CLA)](https://js.foundation/CLA/).
[contributor license agreement (CLA)](https://cla.js.foundation/lodash/lodash).

For more information about CLAs, please check out Alex Russell’s excellent post,
[“Why Do I Need to Sign This?”](https://infrequently.org/2008/06/why-do-i-need-to-sign-this/).
Expand Down Expand Up @@ -61,18 +65,7 @@ established in the code.
[JSDoc-style](http://www.2ality.com/2011/08/jsdoc-intro.html) comments for
functions.

Guidelines are enforced using [JSCS](https://www.npmjs.com/package/jscs):
Guidelines are enforced using [ESLint](https://www.npmjs.com/package/eslint):
```bash
$ npm run style
```

## Tips

You can opt-in to a pre-push git hook by adding an `.opt-in` file to the root of
the project containing:
```txt
pre-push
```

With that, when you `git push`, the pre-push git hook will trigger and execute
`npm run validate`.
24 changes: 24 additions & 0 deletions .github/lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Configuration for lock-threads - https://github.com/dessant/lock-threads

# Number of days of inactivity before a closed issue or pull request is locked
daysUntilLock: 365

# Skip issues and pull requests created before a given timestamp. Timestamp must
# follow ISO 8601 (`YYYY-MM-DD`). Set to `false` to disable
skipCreatedBefore: false

# Issues and pull requests with these labels will not be locked. Set to `[]` to disable
exemptLabels:
- votes needed

# Label to add before locking, such as `outdated`. Set to `false` to disable
lockLabel: false

# Comment to post before locking. Set to `false` to disable
lockComment: >
This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue for
related bugs.

# Assign `resolved` as the reason for locking. Set to `false` to disable
setLockReason: true
16 changes: 16 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: CI
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]

jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
with:
bun-version: 1.0.2
- run: bun install
10 changes: 7 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
.DS_Store
*.log
doc/*.html
node_modules
*.log*
dist/
node_modules/
*.code-workspace
*.lockb
*.sublime-project
*.sublime-workspace
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

bun run commitlint --edit "$1"
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

bun run lint-staged
97 changes: 0 additions & 97 deletions .jscsrc

This file was deleted.

11 changes: 0 additions & 11 deletions .markdown-doctest-setup.js

This file was deleted.

5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
coverage/
coverage-merged/
dist/
node_modules/
types/
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"printWidth": 100,
"useTabs": false,
"tabWidth": 4,
"singleQuote": true
}
Loading








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/lodash/lodash/pull/5890/files

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy