- Notifications
You must be signed in to change notification settings - Fork7.1k
Fixed documentation#5914
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Open
vladik-vitre wants to merge435 commits intolodash:mainChoose a base branch fromvladik-vitre:patch-1
base:main
Could not load branches
Branch not found:{{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline, and old review comments may become outdated.
Uh oh!
There was an error while loading.Please reload this page.
Open
Fixed documentation#5914
Changes from1 commit
Commits
Show all changes
435 commits Select commitHold shift + click to select a range
3e03cbf
Use const and let for var declaration in `baseEach` and `baseEachRight`.
falsyvalues9896964
Say goodbye to jscs.
falsyvaluesad3236a
Remove `countHolders`.
jdaltonc89637e
Use more destructuring.
jdalton2f281c6
Remove `baseNth`.
jdaltonbb7c959
Remove coercion method use.
jdaltonf983ff2
Prefere ES6 templates.
falsyvalues351e44a
Fixin some leftovers bb7c959.
falsyvaluesb8a3a42
Remove `toString` coercion method use.
jdalton9d11b48
Remove `toUpper` and `toLower`.
jdalton164bc71
Remove `toString` from `createCompounder`.
jdalton929a996
Remove `arrayReduce` from `createCompounder`.
jdalton76ab9cd
Adjust styling of array checks in `head`, `uniq`, `uniqBy` and `uniqW…
falsyvalues3c324a7
Remove `toString` use from `createCaseFirst`.
jdalton0acb284
Remove `toString` use from `castPath`.
jdaltonf3e0cbe
Use more `Array#map`.
jdaltonf7a6cdd
Remove `nativeKeys` and `nativeKeysIn`.
jdaltona8abced
Fixin `keysIn` import in `getAllKeysIn` by switching to `baseKeysIn`.
falsyvalues8db488b
Remove `getRawTag` and `objectToString`.
jdaltonecb3c10
Simplify `flip`.
jdalton4b80666
Simplify `tail`.
jdaltond7bdf0a
Remove `createCompounder`.
jdalton8be26ac
Implement `baseEach` and `baseEachRight` since `createBaseFor` is gone.
falsyvalues6d19563
Simplify `words`.
jdaltondad1fcc
Remove unused internal `createCtor`.
jdalton64d92dd
Remove stubTrue from cond example (#3085)
10243a520c
Remove constant function from examples (#3086)
102b679e9c
Update _.pad* examples to show pad length < string. (#3088)
merriam1bdda20
Reimplement find.
jdalton6543d32
Add `someObj`.
jdalton6dc0383
Add `semi` option to eslint config.
falsyvalues53cac4e
ESify `find` implementation.
falsyvaluesca2fd5c
Remove semicolons.
falsyvalues571e752
Rename `someObj` to `someValues`.
jdaltonf3957ac
Remove `replaceHolders`.
jdalton3e2b0bb
Use more for-of
jdalton402ca89
Fixin declaration in `baseSum` (3e2b0bb).
falsyvalues645acd4
Fixin declaration in `someValues` (571e752).
falsyvalues96ebd44
Fixin missing references in `repeat`.
falsyvalues7c92111
Fixin scope range for var declarations in `hasPath` and `hasPathIn`.
falsyvaluesbbd59f8
Catch undeclared vars with eslint.
falsyvalues2538a56
Math them all.
falsyvaluesb506174
Use more for-of
falsyvalues99fb4c8
Fixin scope range for var declarations in internal version of `hasPath`.
falsyvalues3390d93
Remove internal `hasPath`.
jdalton303502e
Remove `toSource`.
jdaltond10b44b
Adjust spacing in template string expressions.
jdalton23ae2c5
Split out `every` into `everyValue`.
jdaltonb898547
Rename `someValues` to `someValue`.
jdaltonf888dfe
Adjust eslint settings to new requirements (d10b44b).
falsyvaluesaafd66d
Last spacing in template string expressions.
falsyvaluesb79b715
Enable no-unexpected-multiline (#3103)
captbaritonee02db41
Proper `style` npm script execution (#3103).
falsyvalues8a51574
Rename `mapKeys` and `mapValues` to `mapKey` and `mapValue`.
jdalton73ce606
Fix jsdoc for `every` and `some`.
jdalton0bdc731
Split `map` out.
jdalton8b74809
Simplify `mapKey` and `mapValue`.
jdalton64a9975
Split `filter` out.
jdaltone2941dd
Fix typos.
jdaltonaa5e1b2
Fix object coercion.
jdalton58e484f
Remove `baseKeys` and `baseKeysIn`.
jdaltona023f92
Fix typo in `find`.
jdaltone5e8f35
Remove `baseSlice`.
jdaltonbb059c0
Fixin new `map` imports.
falsyvalues4092747
Fixin `some` and `every` imports.
falsyvalues65b148a
Remove `mergeData`.
jdalton08a3f53
Use `Array#splice` directly.
jdaltonae4e45d
Fixin `filter` imports.
falsyvaluesa6019d5
Fixin `repeat` import.
falsyvaluesf03b3ed
Update object checks.
jdalton67a3fb9
Fix cloneDeep with circularly dependent Sets/Maps (#3123)
greenberga5dce119
Cleanup baseClone.
jdaltonf6827f4
Fix CoC link in REAMDE (#3138)
prtksxna0b31164
Complete wrapper modules removal for `setToString` (c6854fa).
falsyvaluesf659da7
Fix CoC link in .github/CONTRIBUTING.md (#3156)
hargasinski0274d3d
Always use parentheses in arrow functions (fixin 67a3fb9).
falsyvalues8620733
Fixin tag scope in `baseClone`.
falsyvaluesb107653
A better fix for `tag` scope in `baseClone`.
falsyvaluesbacaaae
Support symbols in property paths of `set`. [closes #3189]
jdalton61acdd0
default prefix to empty string (#3214)
jisaackse908519
stringToPath: avoid shadowing variable (#3226)
aretecode534296b
Update dropRight.js (#3241)
MingYinLv01148a1
Avoid using the values toString method in _.invert if it’s not a func…
jdalton536f09b
Fixin loop args order regression from 3c2795b in `invert`.
falsyvaluesbcd13b2
Fixin loop args order regression from 3c2795b in `invertBy`.
falsyvalues527b167
_.update() docs grammar fix (#3264)
nullvariable76c1ed2
avoid shadowing result (#3280)
aretecodec2616dd
Remove useless return in setToPairs. (#3286)
aretecodea0a3a6a
Fix typo in findKey.
jdalton03e23ec
clarify documentation about sortedUniq (#3310)
8e631df
Faster testing against first char in `stringToPath` (to close #3308).
falsyvaluesf5ea579
Fixes param definition (#3368)
rssteffey6ad829f
Add pending() function to debounce and throttle to fix #3387 (#3388)
chriscalo1b1bb79
Commit and whitespace nits in debounce.
jdalton3ab9906
Verbiage change (#3408)
270ca71
Add missing keysIn import for baseClone.js (#3413)
drabinowitz00705af
Add jsDelivr hits badge (#3418)
LukasDrgonbf5d086
Remove semicolons from `dropRight`.
falsyvalues413a38c
Remove trailing space in `sortedUniq`.
falsyvaluesbcd2c35
Fix typo in `parseInt` (#3433)
younesfkihie8c87cf
Ignore log files that end with random numbers (#3445)
matthewdordal102d9e3
Fix typo in `escapeRegExp` (#3448)
younesfkihi7c006f7
Fix #3466 (#3467)
yuxino30d305d
Modify the logic to make the code more intuitive (#3472)
yuxino424d9fc
Fix typo in `inRange` (#3478)
younesfkihie23c874
Tiny performance improvement by not compiling regular expression each…
nazar-pcb36f21c
Faster/simpler isPlainObject check (#3483)
timdorr76c2e0a
Revert "Fix typo in `escapeRegExp` (#3448)"
falsyvaluesc3b3c71
Tiny style correction in `createMathOperation`.
falsyvalues8464b18
Remove `map` examples from `parseInt` and `trim` (#3487)
younesfkihi40e096b
Fix operator in `createMathOperation`. (#3499)
kybetter462bc9b
Update license file with MIT title (#3498)
GCHQDeveloper5003a330e0
feat(sideEffects): Set sideEffects false for opt. (#3533)
TheLarkInnb2ea6b1
Remove duplicated "by which" words from the doc (#3534)
AlexanderLukinfa73d46
Enable _.words to detect ordinals in compound words. [closes #3561]
jdaltond985dbf
rAF as default for debounce/throtte (#3560) (#3567)
mattlubnere9562a6
Update argument count for `cloneWith` customizer. [closes #3582]
jdalton7569024
Add the accepted customizer arguments to cloneDeepWith docs.
jdalton77c128f
Changed to function as documented. (#3596)
Crysinyan803c05d
Support locales in sorting methods (#3602)
JoosAI47a6d53
Cleanup compareAscending and remove hardcoded locale.
jdalton54f05aa
Update documentation in slice.js (#3631)
jnfingerle7f24cab
add uniq Map for generated ID (#3644)
PxyUp678eb00
Add string example to isEmpty docs (#3647)
Dean177c1f805f
use isObjectLike module instead of (typeof value == 'object' && value…
alirezavalizadef73b35b
Implement `defaultToAny` method (#3615)
eran-nussbaum6e4cdc0
Fix npm link in README.md (#3700)
pahomov363fef0
internal: use util.types to migrate DEP0103 in Node.js (#3704)
joyeecheungda0fad3
Fix inclusion of litteral "+" in rsMisc (#3736)
misogl224a256
Update _.union documentation (#3758)
a9d3ca8
Updates version on README header (#3767)
ecbrodiefe14140
Drop version number from readme.
jdalton04a66a0
Update countBy doc example to be more at a glance friendly. [closes #…
jdalton79dc90d
Allow compareMultiple to accept compare functions in addition to orde…
ryanhomer50860fd
Added short circuit for typed arrays (#3786)
twolfson1859802
Remove trailing space in `slice`
falsyvalues0d361bc
Remove semicolons from `sampleSize` and `baseClone`
falsyvaluesaff1928
Tiny style correction in `uniqueId` and `compareMultiple`
falsyvalues92a6575
Avoid skipping set of -0 when an existing +0 exists. [closes #3798]
jdaltonb8dfb7c
Create fromEntries.js (#3809)
ycmjason51c5622
Add example of Array slice (#3823)
renjithspace4ba0f8b
Remove more methods.
jdalton4ea8c2e
Remove unused var from tail().
jdaltonab960bd
Clarify doc for `range` usage with single arg (#3854)
doug-a-brunner4851183
Update `filterObject` docs to reference `pickBy` (#3861)
cooperka6018350
Add extended and supplement combining marks ranges (#3932)
dracos715aae6
add snakeCase example with digit (#3993)
abdullahtariq11716bdb8a2
Add missing space in uniqWith docblock (#3995)
j3bb9zd9c5082
add round up description on ceil documentation (#4027)
alireza-mhc4075c1
Update deps (eslint-plugin-import@2.14.0)
falsyvalues1e93991
converted to fat arrow function (#4059)
saravyasf822dd8
Add lodash-es description for ES6 scripts (#4035)
alireza-mh580cd4c
Remove n_ note for unsupported Node.
jdalton136d525
Added arrow function in below files (#4061)
saravyas3b96b91
Call upperFirst directly, instead of capitalize, in camelCase (#4075)…
blikblum4cae8fb
Remove support for node v0.10 in arrayLikeKeys (#4079)
blikblum7885483
Remove support for PhantomJS in arrayLikeKeys (#4081)
blikblumc3740e0
Remove unnecessary null check in arrayEach (#4082)
blikblum377e2d8
fix: limit the precision when the precision is negative (#4085)
asilinwei3b199c3
Remove checks for the Map existence (#4091)
blikblum508d46a
Replace MapCache by Map in memoize (#4094) (#4095)
blikblum8eccdd0
Restore createAssigner (fixes compilation of merge and mergeWith) (#4…
blikblum151e316
Remove check for existence of getOwnPropertySymbols (#4102)
blikblumc33df31
Re-add keysIn module fixing baseClone and baseMerge (#4099) (#4100)
blikblumdaf1f1b
Fix findLast missing dependency (#4103)
blikblum2130eac
Fix baseClone missing dependency (#4104)
blikblum7f2ee90
Fix baseOrderBy missing dependency (#4105)
blikblum4c55ea7
Use baseGetTag instead of getTag where possible (#4112)
blikblum6cb1f71
Assume Symbol is always defined (#4111)
blikblumc77650a
Remove check for Symbol.toStringTag field mutations in baseGetTag (#4…
blikblumaa1d7d8
Replace getTag implementation by the one from baseGetTag (remove work…
blikblum238e763
Use native filter instead of custom one where possible (#4116)
blikbluma7e0428
Add .github/.lock.yml config for lock bot.
jdaltonafab656
Change type check and the way of sending params. (#4145)
moonformelif4ca396
Use 3 equal signs (#4153)
moonformeli6248f8a
use extension resolution (#4163)
43081j3ae8f23
Locally scope key in keysIn (#4173)
carburetedfe7da41
Cancel old timer, editing pr #4139 (#4187)
moonformeli7606ea3
Update package.json version.
jdaltond5ef319
Add initial test files from lodash v4. (#4172)
bnjmnt4ne7221b9
Remove --save option as it isn't required anymore (#4199)
stevemoserc541e4c
Fix _.maxBy and _.minBy (#4233)
gu-xionghong750067f
tweak _.clone/_.cloneDeep docs (#4239)
dwellec68170b
Fix findLast missing dependency (#4259)
gu-xionghong6b1d83c
Fix typo in toPlainObject().
jdalton8fdf0ed
Minor doc format (#4285)
488e62b
Fix stringToPath bug for consecutive [] (#4319)
futuristabde931
Fix typo in merge test (#4334)
tkrugg4df3272
fix reTypedTag error (#4342)
lvzhenbang8bc17fe
Add support for globalThis when detecting global object (#4347)
Jack-Worksdce7fcc
Add back accidentally removed semicolons to escape.js.
jdaltonbecd982
docs(security): add responsible disclosure policy (#4374)
lirantalf8c7064
Cleanup security.md document.
jdaltone2ae5b8
Add missing isTypedArray import to baseClone (#4404)
blikblum142cee0
Do not use property shorthand in countBy documentation (#4405)
blikblum4f68e93
Add missing isObject import to isIterateeCall (#4409)
blikblumff4949b
Coerce indexOf fromIndex parameter to integer (#4410)
blikbluma965836
Enable indexOf tests (#4411)
blikblum37cd5dc
Coerce drop and dropRight n param using toInteger (#4412)
blikblum5b4dc54
Coerce to integer and set default value for chunk size parameter (#4413)
blikblum15e1557
lint files (#4416)
phapdinhe2555a4
Implement asciiWords and unicodeWords using String.match instead of b…
blikblumf90d0ae
Update `eslint` and `eslint-plugin-import`
falsyvalues8b441a5
Align indentations
falsyvalues2cf08be
Ensure after n parameter is coerced from NaN to 0 (#4430)
blikblum1011cfd
merge: copy function values independent of source index (#4429)
blikblume5f8407
Flatten at paths parameter (#4431)
blikblum9971765
Enable create tests and adapt it for the new primitive prototype beha…
blikblum91c9cb1
Ensure escapeRegExp returns an empty string when passing falsy values…
blikblumed4b3a2
Enable case methods tests (#4436)
blikblum3ebb38d
Coerce findLastIndex and lastIndexOf fromIndex parameter to integer …
blikblumabb54cc
Simplify toString (#4441)
blikblume51a424
Fix string methods to handle empty values (#4442)
blikblum0e9d44e
Fix flow and flowRight parameter handling (#4445)
blikblumad38dc0
Prevent ReDos in words (#4450)
blikblum5df1777
add order by behaviour with array similar to get method (#4453)
Mohit21GoJs29eb571
Cleanup baseOrderBy.
jdalton898b378
perfomance fixes, eslint fixes (#4482)
anatoliisf23286d6
Short circuit sortedIndexBy methods for empty arrays (#4496)
megawac23b2a33
Fix vulnerabilities in npm packages (#4490)
prog1dev619ac69
Ensure `orderBy` will accept iteratee path arrays #4438 (#4513)
falsyvalues657f8bf
Fix parentheses placement broken in 16413cc
falsyvaluesa6b960b
Remove extraneous conditional (#4531)
camjccefddab
Updated the check of isFunction method (#4555)
RajuPedda04ebca6
Enable escape and once tests (#4618)
blikblum3f585df
Fix uniqueId prefix coercion (#4619)
blikblum588bf3e
Handle leading zeros in quote html entity (#4623)
gwwar0541ec8
Update links in CONTRIBUTING.md (#4741)
dwesty1708110bd
fix: fix the jsdoc of SetCache#has (#4739)
Keith-CY74b09d6
fix: fix the params of Hash#delete in in jsdoc (#4737)
Keith-CY86a852f
Changing font-style to monospace for '--save' option in README.md (#4…
fs-projectse002948
Update links in CONTRIBUTING.md & README.md (#4829)
thxiami2f900b6
Remove outdated contributor tips (#5008)
csojinbbcd0610
Cleanup package.json and CONTRIBUTING.md.
bnjmnt4n5aaf898
Fix ESLint errors and tests.
bnjmnt4n2f79053
Enable GitHub Actions CI.
bnjmnt4n540148d
Update tests.yml (#5140)
de-ar2da024c
perf: use `===` instead of `==` (#5118)
jacob-lcs97d4a2f
wip: migrate to bun
jdalton0b28b7f
wip: code formatting nits
jdaltonb5c5931
wip: code formatting nits continued
jdalton5308be3
wip: code formatting nits continued
jdalton49683ff
ci: make it work (#5728)
tisonkunbd518dd
test: partially fix broken tests (#5733)
tisonkuna79c5c4
wip: unit test fixes continued
jdaltonaa18212
test: fix cannot find root (#5741)
tisonkunc7c70a7
test: add some cases (#5789)
jinbekima67a085
fix: inRange test (#5821)
ygj66a2cc1d
chore: combine the if statements into one (#5785)
KEHyeona5a4b07
Fixed documentation
vladik-vitreFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Simplify
flip
.- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commitecb3c108d1aa9c87a7f5c408dc837805882aaac5
There are no files selected for viewing
12 changes: 6 additions & 6 deletionsflip.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.