forked from TheOdinProject/javascript-exercises
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjdfa
2088 lines (1378 loc) · 68.5 KB
/
jdfa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
[33mcommit ba24e88582249776915a84c7e312e7efc850f6e2[m[33m ([m[1;36mHEAD[m[33m -> [m[1;32mmain[m[33m)[m
Author: worriedape <[email protected]>
Date: Mon Dec 2 18:40:07 2024 -0600
Add "Hello, World!"
[33mcommit 203fd76a5458e60cfa639ea03cf1316c8ff929e3[m[33m ([m[1;31morigin/main[m[33m, [m[1;31morigin/HEAD[m[33m)[m
Merge: e51671e 406b4c4
Author: Austin <[email protected]>
Date: Wed Oct 30 16:18:23 2024 +0000
Merge pull request #501 from o1Suleyman/patch-2
Whitespace and capitalization correction
[33mcommit 406b4c411e6bcc3c8249b33f016ea1493981e348[m
Author: o1Suleyman <[email protected]>
Date: Sat Oct 26 13:22:50 2024 +0400
Whitespace and capitalization correction
[33mcommit e51671ec4fe4dbad5062385e90c87700d053a4f8[m
Author: DavidSenn <[email protected]>
Date: Fri Oct 18 20:40:42 2024 +0200
Calculator Factorial: Remove redundant guard clause (#499)
[33mcommit a12f3116fd0b0363479584ceecd2109a8a470c96[m
Author: Damon <[email protected]>
Date: Mon Sep 23 18:09:04 2024 +0100
08_calculator:Add more test cases for subtract and power (#494)
[33mcommit 7ff69d817d50bc08c5e924fbee1cb0cd5c43ad53[m
Author: Fábio Rodrigues Sousa <[email protected]>
Date: Wed Sep 4 22:16:13 2024 +0200
Refactor issue markdowm to YAML templates (#491)
[33mcommit 29dd5a4a2ecb86bdb48ff7b45d26389cc3e2cbd0[m
Author: Nikita Revenco <[email protected]>
Date: Sat Aug 10 18:00:39 2024 +0100
feat(repeatString): enforce manual implementation via loops (#460)
Intent is to practise using loops rather than wrap the built-in `repeat` String method.
[33mcommit 0c5480d00e366b387b680509cbf8ba068b0b151a[m
Author: Zohidjon Ma'rufov <[email protected]>
Date: Wed Jul 17 18:02:56 2024 +0500
sumAll: Unify tests between solution and non-solution spec file (#488)
[33mcommit 3c636bebeee1259f7247881c5749e59df0524712[m
Author: jveneziano25 <[email protected]>
Date: Thu Jun 27 06:25:01 2024 -0500
Leap Years: Use more appropriate solution (#483)
Replacement solution is closer to what most learners might think of due to the instructions' hints, and concepts they'll have been reasonably exposed to so far in the curriculum.
The original solution has been a curveball for quite a few people.
Co-authored-by: Josh Veneziano <[email protected]>
[33mcommit 435b88bf19a498c8d470eb5491644a94a8bce4e9[m
Merge: 82712db 6e3d7d2
Author: Austin Sullivan <[email protected]>
Date: Tue Jun 11 15:16:57 2024 -0400
Merge pull request #481 from TheOdinProject/dependabot/npm_and_yarn/braces-3.0.3
Bump braces from 3.0.2 to 3.0.3
[33mcommit 6e3d7d2d193da91391a207ab5ec809a222673dc7[m
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue Jun 11 18:43:45 2024 +0000
Bump braces from 3.0.2 to 3.0.3
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected]>
[33mcommit 82712dbac1927983e7ee23aaeeabd0278c47e998[m
Merge: 2154dce c79a878
Author: Austin Sullivan <[email protected]>
Date: Tue Jun 11 14:43:09 2024 -0400
Merge pull request #478 from pixie-cheeks/check_node_ver
Project Root: Add minimum npm & node version requirements
[33mcommit c79a878fcec014461c3f20aa31cf0f60c929407e[m
Author: pixie-cheeks <[email protected]>
Date: Tue Jun 4 13:56:14 2024 +0530
Add minimum npm & node version requirements
This change will prevent any old node or npm version from installing any
packages. With this, npm will throw an error and exit immediately.
This is to prevent the accidental use of unsupported versions which
might cause some issues that are hard to pin-point.
[33mcommit 2154dcec4a4917ef3879edea0e290b20f289537e[m
Author: saad sultan <[email protected]>
Date: Sat Jun 1 16:43:35 2024 +0500
Changed number to integer in sumAll (#477)
[33mcommit 312bd8a1d9fead5e46ba1b3389c8ac6ce1a34226[m
Author: Shubhat rashid <[email protected]>
Date: Sat May 25 18:06:54 2024 +0530
05_sumAll: Update README.md (#475)
* Change 'integers' to 'positive integers' in question statement
* requested changes
* requested changes
* requested changes
[33mcommit d67e7a3ecb7597b3f5516f62ec178961340df1df[m
Author: vishpant76 <[email protected]>
Date: Tue May 7 00:10:50 2024 +0530
03_reverseString - update punctuation test case to include comma (#467)
[33mcommit 097a73634f5ff7371f87b59f095709b5fa98d549[m
Merge: 1695abe 6f9080c
Author: Josh Smith <[email protected]>
Date: Sat May 4 14:12:04 2024 -0600
Merge pull request #465 from JoshDevHub/change_style_of_notes
Change styling of notes for avoiding PRs and error messages
[33mcommit 6f9080c3db3949341f29e6821818cafb4b841a77[m
Author: Josh Smith <[email protected]>
Date: Sat May 4 13:06:04 2024 -0700
Change styling of notes for avoiding PRs and error messages
[33mcommit 1695abe9d4bffe8e2f56cd99f999e7e653c9328c[m
Author: Nikita Revenco <[email protected]>
Date: Fri May 3 16:30:56 2024 +0100
Exercise 12: Provide alternative solution (#459)
* feat(12): improve solution by making it more cleaner
* refactor(12): rename `array` to `people`
* feat(12): improve explanation of `??=`
Co-authored-by: MaoShizhong <[email protected]>
* feat(12): include both solutions
* feat(12): hint to use various array methods
* refactor(12): add semicolon
Co-authored-by: MaoShizhong <[email protected]>
* feat(12): use block comments instead of line for readability
Co-authored-by: MaoShizhong <[email protected]>
* refactor(12): remove unnecessary comment
Co-authored-by: MaoShizhong <[email protected]>
---------
Co-authored-by: MaoShizhong <[email protected]>
[33mcommit 45a5ced879b5711df37d39b6bf44eef5bd6b54cd[m
Author: Charles Ulrich <[email protected]>
Date: Thu May 2 21:16:06 2024 -0400
Improve README verbiage (#453)
This is sort of a grab-bag of things that I found while reading the README.
Each change is fairly small so it seemed best to combine them under one commit.
* Add link to The Odin Project home page in 1st paragraph.
* Remove a few contractions. (Contractions are not used consitently here,
so it was easier/better to just remove the few that popped up.)
* Fix some awkward phrasing.
[33mcommit 930673d9c89a0daa8b4f16e8fa3337a930867f49[m
Author: Nikita Revenco <[email protected]>
Date: Fri May 3 02:13:38 2024 +0100
feat(08): remove recursive solution (#457)
Not appropriate to expose learners to at this point in the curriculum
[33mcommit 1afbcf8644c22ff31168708476dba7b296438091[m
Author: Nikita Revenco <[email protected]>
Date: Fri May 3 02:12:28 2024 +0100
feat(04): use `const` instead of `var` in solution (#456)
[33mcommit 1c322ddb471998948527bfd695cf31f78e2732ec[m
Merge: 8209109 9a5cdec
Author: Eric Olkowski <[email protected]>
Date: Sat Apr 20 08:14:28 2024 -0400
Merge pull request #420 from kumang-subba/repeatstring_test_alternate_strings
added alternate repeatString test strings
[33mcommit 9a5cdecf5bfbce89b76153d3dfb62403460220c9[m
Author: Kumang Subba <[email protected]>
Date: Sun Mar 24 07:09:52 2024 +0200
Update 02_repeatString/solution/repeatString-solution.spec.js
Co-authored-by: Nikita Revenco <[email protected]>
[33mcommit 8209109149b0f359a97b393ea8441cc23ceabcc0[m
Merge: 461c852 ffe7f14
Author: Eric Olkowski <[email protected]>
Date: Sun Mar 3 13:33:51 2024 -0500
Merge pull request #436 from TheOdinProject/plopGenerator
Replace generator-exercise with plop generator
[33mcommit ffe7f1484ab544e8281799d271bd1a6a4c1d275a[m
Author: Eric Olkowski <[email protected]>
Date: Sun Mar 3 10:50:22 2024 -0500
Add newline at end of generated file content
[33mcommit 7faf5806f0b93fcef21b31b2134f710ba6eecdca[m
Author: Eric Olkowski <[email protected]>
Date: Sun Feb 18 12:56:51 2024 -0500
Update readme, add case-anything dep
[33mcommit d063f5403e4d352445fb65024c247cbd5e77607c[m
Author: Eric Olkowski <[email protected]>
Date: Sun Feb 18 12:44:48 2024 -0500
Replace generator-exercise with plop generator
[33mcommit 461c852f98cfc38fd0d81ea4a3067982ebab8769[m
Author: MaoShizhong <[email protected]>
Date: Sun Mar 3 01:44:34 2024 +0000
Use const for palindrome solution variable (#439)
[33mcommit f215901131d9bc81a91c5a248f955d3385e872fa[m
Author: MaoShizhong <[email protected]>
Date: Sat Mar 2 13:57:16 2024 +0000
Replace palindromes exercise solution with non-regex version (#438)
Adapted the non-regex solution provided in the solutions branch (which
was not brought over to the main branch's solution file) to pass the
current test suite.
Cleaned formatting of comments and reworded for clarity.
[33mcommit a7bcd235d8c47df1de7ecd03d81c15bfc1542ff1[m
Merge: b092163 3006bca
Author: Eric Olkowski <[email protected]>
Date: Tue Feb 13 17:25:31 2024 -0500
Merge pull request #435 from manny53365/07_tempConversion-update-readme-for-clarity
07_tempConversion updated the readme file for clarity on the assignment
[33mcommit b09216355faa0e2daecc564914dc481ae65aa8d3[m
Merge: a84f55b 8bc6e47
Author: Eric Olkowski <[email protected]>
Date: Tue Feb 13 17:24:09 2024 -0500
Merge pull request #428 from donRehan/main
12_findTheOldest fix ambiguity and remove redundant test description
[33mcommit 3006bca955a66eec2c1c6c3a2c3226b8ce9096b7[m
Author: Manny Rodriguez <[email protected]>
Date: Wed Feb 14 03:43:16 2024 +0530
updated the readme file for clarity on the assignment
[33mcommit 8bc6e47821b8df0ba544cf9bc9bf8e14eeeceb5b[m
Author: DonRehan <[email protected]>
Date: Mon Feb 12 14:36:33 2024 +0200
Update findTheOldest test to clear ambiguity
[33mcommit 7a097ac96008d4c54bbbf81255e181a30dc9c02a[m
Merge: 656d184 a84f55b
Author: Kumang Subba <[email protected]>
Date: Sat Feb 10 18:44:14 2024 +0200
Merge branch 'main' into repeatstring_test_alternate_strings
[33mcommit a84f55bd60d2435bbec8252fc5365c34da70eb4e[m
Merge: d740f2d 7512dd6
Author: Eric Olkowski <[email protected]>
Date: Fri Feb 9 08:53:24 2024 -0500
Merge pull request #433 from manny53365/fix-typo-in-test-case
corrected typo in the test case for 02_repeatString
[33mcommit 656d184963ddf84944ce1467a737c0fe7f414564[m
Merge: 265c40f d740f2d
Author: Kumang Subba <[email protected]>
Date: Fri Feb 9 13:57:41 2024 +0200
Merge branch 'main' into repeatstring_test_alternate_strings
[33mcommit 7512dd60bdd714b3b157ed7ca3c75e1c9b489b68[m
Author: Manny Rodriguez <[email protected]>
Date: Thu Feb 8 22:20:22 2024 +0530
corrected typo in the test case
[33mcommit d740f2de0922a7e7d3a4a6d1e75b911972c466af[m
Merge: eac90c5 3a49a90
Author: Austin <[email protected]>
Date: Mon Feb 5 15:14:54 2024 +0000
Merge pull request #432 from damon314159/patch-1
04_removeFromArrray: missing test case
[33mcommit 3a49a90dd7431f84bf775f79bb10440046b0cd61[m
Author: Damon <[email protected]>
Date: Mon Feb 5 09:59:37 2024 +0000
feat: extra test case
[33mcommit eac90c562122db42e227b9de37d2ad2268607d16[m
Merge: 77363aa a0b07d9
Author: Eric Olkowski <[email protected]>
Date: Sat Feb 3 15:14:01 2024 -0500
Merge pull request #404 from TheOdinProject/dependabot/npm_and_yarn/babel/traverse-7.23.2
Bump @babel/traverse from 7.22.11 to 7.23.2
[33mcommit f3a6283a93c976bce5901760194d0a064452f69b[m
Author: DonRehan <[email protected]>
Date: Tue Jan 23 21:16:03 2024 +0200
12_findTheOldest fix ambiguity and remove redundant test description
fix ambiguity in test description , old was 'finds the person with the
greatest age if someone is still living.'
remove redundant test that checks for 'finds the person with the
greatest age if the OLDEST is still living' since both this and the
above test for ability to check if there is no death year field.
[33mcommit 77363aa54749efe53f2a15cdebbff303ad500355[m
Merge: 311ae2f c87cd1c
Author: Eric Olkowski <[email protected]>
Date: Fri Jan 19 12:42:15 2024 -0500
Merge pull request #424 from MaoShizhong/chore/improve-readme-wording-on-provided-solution
Repo README: Improve wording regarding TOP provided solution
[33mcommit c87cd1c9d892c85187d2573b1beaa43416120307[m
Author: MaoShizhong <[email protected]>
Date: Fri Jan 19 13:28:31 2024 +0000
Use lazy numbering as per style guide
[33mcommit d3a748812b2f82efc519e97ffd016276d7b68c89[m
Author: MaoShizhong <[email protected]>
Date: Fri Jan 19 13:24:18 2024 +0000
Update wording
[33mcommit 311ae2fc337877ad7fbba1a6e4b3c1cd50bf24a7[m
Merge: 5f7e20f f682844
Author: Eric Olkowski <[email protected]>
Date: Fri Jan 19 08:14:51 2024 -0500
Merge pull request #342 from TheOdinProject/bycdiaz-patch-2-1
Adds hint to exercise
[33mcommit f682844f772a550b95564c0b87172784ec11256a[m
Author: Eric Olkowski <[email protected]>
Date: Fri Jan 19 08:13:57 2024 -0500
Update 04_removeFromArray/README.md
[33mcommit 5f7e20f149ff5d655909376ebf79f5bf8696e73e[m
Merge: b8b1ae4 e7f5d91
Author: Eric Olkowski <[email protected]>
Date: Fri Jan 19 07:28:15 2024 -0500
Merge pull request #426 from kennotfindsymbol/patch-1
02_repeatString/solution/repeatString-solution.spec.js: Fix typo
[33mcommit e7f5d91bd18976e8197bfe3568fc68423242ab5b[m
Author: kennotfindsymbol <[email protected]>
Date: Fri Jan 19 19:19:49 2024 +0800
Fix typo
I think it should be 'randomly' instead of 'randomaly' on line31.
[33mcommit f4293596b7b9fdb2f0da83cff8fb4a91256f86ea[m
Author: MaoShizhong <[email protected]>
Date: Mon Jan 15 09:06:44 2024 +0000
Improve wording in README regarding TOP provided solution
Same change made in parallel with the css-exercises repo to unify
wording.
[33mcommit 265c40fbef4223797dc4f47b19dd130c25e4bac3[m
Author: kumang <[email protected]>
Date: Sun Jan 7 23:31:14 2024 +0200
added alternate repeatString test strings
[33mcommit b8b1ae4eda6cab7a50d3fbcd748d02558f99d50d[m
Merge: a3992aa a27f662
Author: Austin <[email protected]>
Date: Tue Dec 12 21:04:42 2023 +0000
Merge pull request #396 from jamienorthman/main
10_fibonacci: handling of string zero & update of tests
[33mcommit a27f66263a3a0abca0128477c4a193f56fe68501[m
Merge: 80ca665 a3992aa
Author: Alex Younger <[email protected]>
Date: Wed Nov 15 20:39:53 2023 -0500
Merge branch 'main' into main
[33mcommit a3992aa0dea4a85ad50fc84550cb30d4fa4532f0[m
Merge: 157972d 123e00d
Author: Eric Olkowski <[email protected]>
Date: Sat Nov 11 07:17:33 2023 -0500
Merge pull request #409 from Luislev/main
10_fibonacci: Add alternative solution in fibonacci-solution.js
[33mcommit 123e00d9331a80312bd459cbadd663f684a28963[m
Author: Luis Leiva <[email protected]>
Date: Tue Nov 7 21:27:27 2023 -0500
Add alternative solution in fibonacci-solution.js
[33mcommit 908c4ed26ea00142da5e1a2f2a2f8e58c721d0da[m
Author: Luis Leiva <[email protected]>
Date: Sun Nov 5 23:12:41 2023 -0500
Update fibonacci-solution.js
[33mcommit 80ca665767a48a52f2a7c57510f384b89eec3b43[m
Author: Jamienorthman <[email protected]>
Date: Sun Oct 29 12:36:58 2023 +0100
added explicit conversion to number for fibonacci solution
[33mcommit 4a03e410bf7fb4fdd23d2f3180f58fbd006bafe8[m
Author: Miko <[email protected]>
Date: Sun Oct 29 11:52:01 2023 +0100
More consistent spelling in 10_fibonacci
Co-authored-by: Alex Younger <[email protected]>
[33mcommit 38f0da96437874b26ad223c9ebc75b59a780ed18[m
Author: Miko <[email protected]>
Date: Sun Oct 29 11:51:42 2023 +0100
More consistent spelling in 10_fibonacci
Co-authored-by: Alex Younger <[email protected]>
[33mcommit a0b07d91c971abfb2797218a6f27638e6b7de505[m
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Thu Oct 19 06:02:23 2023 +0000
Bump @babel/traverse from 7.22.11 to 7.23.2
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.11 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected]>
[33mcommit 157972d135aeba75ed7730b1aafb82907988f8e5[m
Merge: 406b166 b469739
Author: Austin Sullivan <[email protected]>
Date: Sun Sep 24 11:34:04 2023 -0400
Merge pull request #379 from TheOdinProject/dependabot/npm_and_yarn/generator-exercise/semver-and-nsp-5.7.2
Bump semver and nsp in /generator-exercise
[33mcommit b469739659eed9bf849e47d1557747a2f8b46b30[m
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sun Sep 24 15:28:31 2023 +0000
Bump semver and nsp in /generator-exercise
Bumps [semver](https://github.com/npm/node-semver) to 5.7.2 and updates ancestor dependency [nsp](https://github.com/nodesecurity/nsp). These dependencies need to be updated together.
Updates `semver` from 5.4.1 to 5.7.2
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.4.1...v5.7.2)
Updates `nsp` from 2.7.0 to 3.2.1
- [Commits](https://github.com/nodesecurity/nsp/compare/v2.7.0...v3.2.1)
---
updated-dependencies:
- dependency-name: semver
dependency-type: indirect
- dependency-name: nsp
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <[email protected]>
[33mcommit 406b1667aa9422f9546f432c97decee7694191b7[m
Merge: 85a9d56 bb78d16
Author: Austin Sullivan <[email protected]>
Date: Sun Sep 24 11:17:05 2023 -0400
Merge pull request #392 from fabulousgk/fabulousgk/issue250
Javascript exercises - Update package.json and package-lock to latest module versions
[33mcommit e5c0f77d21b72996fd1535a1aa7fa5b7ce1ecd3f[m
Author: Miko <[email protected]>
Date: Mon Sep 18 23:11:41 2023 +0200
Fixed usage of test (skip all but first) in exercise
[33mcommit 3b84151724a57466fd88b752dee7514ead739644[m
Author: Miko <[email protected]>
Date: Mon Sep 18 23:11:09 2023 +0200
Fixed usage of test (no skip) in solution
[33mcommit 59a2f1ce4796c905f3e680c66ffbfcc04de20e46[m
Author: Miko <[email protected]>
Date: Mon Sep 18 23:06:51 2023 +0200
Added test case for string 0
[33mcommit 5ac1931f72c1b04ff1bd30ddc653280e43d130e6[m
Author: Miko <[email protected]>
Date: Mon Sep 18 23:06:29 2023 +0200
Added test cases for 0 and string 0
[33mcommit f2c0d0955b83a56e4ebb737765b09ca129407185[m
Author: Miko <[email protected]>
Date: Mon Sep 18 23:01:33 2023 +0200
Added handling of string case for 0
[33mcommit bb78d163fcb663f2f774d4818043e996a9407fbc[m
Author: Brian Lister <[email protected]>
Date: Thu Aug 24 21:35:07 2023 -0500
Add note about packages out of date
Related to: NPM Vulnerabilities Warning #250
[33mcommit 59d27bf89fbf40e1cc64db64d9542ab9556cd5f4[m
Author: Brian Lister <[email protected]>
Date: Thu Aug 24 21:28:42 2023 -0500
Update NPM packages to latest versions
Related to #250
[33mcommit 85a9d56fde5685534aa051e48b2c3ccfbdcf4aed[m
Merge: 12f8ffc 7037c2c
Author: Cody Loyd <[email protected]>
Date: Wed Aug 23 17:25:26 2023 -0500
Merge pull request #391 from TheOdinProject/revert-389-main
Revert "generator-exercise: Update name"
[33mcommit 7037c2c37c03fe04639e0ef326bf1df2f0189483[m
Author: Carlos Diaz <[email protected]>
Date: Wed Aug 23 12:54:07 2023 -0700
Revert "generator-exercise: Update name"
[33mcommit 12f8ffc7e2617c177c4cd11d20d817ed5e128074[m
Merge: dd9a830 dd7078e
Author: Carlos Diaz <[email protected]>
Date: Wed Aug 23 12:27:36 2023 -0700
Merge pull request #389 from the-hdr/main
generator-exercise: Update name
[33mcommit dd7078e1be48bae816a4ba9581e50271958fcf91[m
Author: Mohd Abbas Haidar <[email protected]>
Date: Sun Aug 20 23:49:29 2023 +0530
Change name
Changed name of directory generator-exercise to exercise-generator so that students don't confuse it for an exercise
[33mcommit dd9a83068dd9312639c1ea99c3717b7a9a5cd4b2[m
Merge: cdba6da 43a8b16
Author: Manon <[email protected]>
Date: Tue Aug 1 14:27:55 2023 +0200
Merge pull request #383 from RushilJalal/fix_Fibonacci_README
10_fibonacci: Update README.md
[33mcommit 43a8b165b455ad5970ccb917334fbd9fc3e46c31[m
Author: Rushil Jalal <[email protected]>
Date: Tue Aug 1 13:13:38 2023 +0530
Update 10_fibonacci/README.md
Co-authored-by: Manon <[email protected]>
[33mcommit 6d5f678ffc435fb4659571ae1024145706c79031[m
Merge: 631d249 cdba6da
Author: Rushil Jalal <[email protected]>
Date: Sun Jul 30 10:42:45 2023 +0530
Merge branch 'TheOdinProject:main' into fix_Fibonacci_README
[33mcommit cdba6da97bef9b86de884033267871d18faa93c2[m
Merge: 191a43a f5f6efa
Author: Eric Olkowski <[email protected]>
Date: Sat Jul 29 17:38:39 2023 -0400
Merge pull request #368 from cats256/patch-1
Update sumAll-solution.js swap algorithm to standard method
[33mcommit f5f6efae9bf53a57db07544b8068b9c8a02d1955[m
Author: Will <[email protected]>
Date: Sat Jul 29 15:40:07 2023 -0500
Update sumAll-solution.js
[33mcommit 5513be576ae7ce9ab489238093dd26e87adb5575[m
Author: Will <[email protected]>
Date: Sat Jul 29 15:39:33 2023 -0500
Update sumAll-solution.js
[33mcommit 631d24936b5b2e779f5b7d4f6d1a3210087b2397[m
Author: Rushil Jalal <[email protected]>
Date: Fri Jul 28 19:49:32 2023 +0530
Update README.md
[33mcommit c9ad976fcb9f35bb21806da97aa29404de27e757[m
Author: Rushil Jalal <[email protected]>
Date: Fri Jul 28 19:32:21 2023 +0530
Update README.md
[33mcommit 191a43a1928999deeb9a6a815ca3bf324a74b9fd[m
Merge: 2ca0716 197a716
Author: 01zulfi <[email protected]>
Date: Thu Jul 27 18:11:47 2023 +0500
Merge pull request #340 from RyanMcEntire/getting_older_test_wording
12_findTheOldest: Clarify test descriptions
[33mcommit 2ca07161fd7980d868355b28d953e2782963c28d[m
Merge: 9599e2a c77daf3
Author: Eric Olkowski <[email protected]>
Date: Tue Jul 25 07:00:10 2023 -0400
Merge pull request #382 from RushilJalal/fix_Fibonacci_README
10_fibonacci: Update README.md
[33mcommit c77daf3fa96cabe314586901bb9c50aa3200ff66[m
Author: Rushil Jalal <[email protected]>
Date: Mon Jul 24 23:37:21 2023 +0530
Fix README.md Fibonacci series example
[33mcommit 9599e2ade385ce1b498565015d1965b749cdcd2f[m
Merge: e381086 44e39f0
Author: Eric Olkowski <[email protected]>
Date: Thu Jul 20 18:28:53 2023 -0400
Merge pull request #369 from cats256/cats256-branch
Reformat test parameters for consistency
[33mcommit 44e39f0412e4ad24001340e8da1848b0c18a66d5[m
Author: Will <[email protected]>
Date: Sun Jul 16 16:06:25 2023 -0500
Update calculator-solution.js
[33mcommit 1dae9df3ceb9be9dc36fc25da6e449b910893572[m
Author: Will <[email protected]>
Date: Sun Jul 16 16:02:28 2023 -0500
Update calculator-solution.spec.js
[33mcommit f855eb51b25eaf043f903a66b90e0f7c1a261592[m
Author: Will <[email protected]>
Date: Sun Jul 16 16:02:03 2023 -0500
Update calculator-solution.spec.js
[33mcommit e10ee035ad5ab313802ffd262642446bbd49bae1[m
Author: Will <[email protected]>
Date: Sun Jul 16 15:59:50 2023 -0500
Update calculator.spec.js
[33mcommit e3810865cf6915eca0e6f4c256a0aa757a242f3f[m
Merge: 15f1b82 100f952
Author: Austin <[email protected]>
Date: Wed Jul 12 08:27:24 2023 +0100
Merge pull request #378 from Roberra0/ex12_ReadmeClarified
Ex12 readme clarified
[33mcommit 100f952f7aa9e91d0fe114ea5a4d33790875e141[m
Author: Roberra Aklilu <[email protected]>
Date: Mon Jul 10 17:21:52 2023 -0700
Update README.md with minor word change
[33mcommit e6c4530aa9521155bbdeeea95322998ee2ddbef5[m
Author: Roberra Aklilu <[email protected]>
Date: Mon Jul 10 17:09:29 2023 -0700
Update ex12_findTheOldest README.md
Added clarification to instruct learner to look in test case to understand object structure
[33mcommit 15f1b82b57b308f7f0bcb61768f37066d72a3c70[m
Merge: f164d79 51572a0
Author: 01zulfi <[email protected]>
Date: Fri Jul 7 08:47:24 2023 +0500
Merge pull request #370 from cats256/patch-2
Update fibonacci-solution.js
[33mcommit 51572a070cf04619ea2259c0e6365480e1779989[m
Author: Nathan <[email protected]>
Date: Thu Jul 6 09:47:20 2023 -0500
Update fibonacci-solution.js
[33mcommit f164d790dab32d98dc3fa9614cebd7f0e1109060[m
Merge: 051c0ed bab1364
Author: Austin <[email protected]>
Date: Thu Jul 6 09:11:44 2023 +0100
Merge pull request #372 from Asartea/patch-1
Fix: change requirement to reflect solutions change
[33mcommit fcb1c4971ac32995098b49613d5c944257fccb27[m
Author: Nathan <[email protected]>
Date: Wed Jul 5 09:15:36 2023 -0500
Update fibonacci-solution.js
[33mcommit 051c0ed9ca3f3ada167c7ff44bc00bbd3ed1fb8b[m
Author: Asartea <[email protected]>
Date: Wed Jul 5 14:41:21 2023 +0200
CONTRIBUTING.md: repoint contributing links to .github/CONTRIBUTING.md (#371)
* repoint contributing links to .github/CONTRIBUTING.md
* drop mention of which repo it is
[33mcommit bab1364ea84ce6f758edcfff6a404b6cfbff111f[m
Author: Asartea <[email protected]>
Date: Wed Jul 5 13:50:13 2023 +0200
Fix: change requirement to reflect solutions change
[33mcommit 76551b0e8a8ce094df4413056151654e49596b8f[m
Author: cats256 <[email protected]>
Date: Tue Jul 4 12:07:04 2023 -0500
Update fibonacci-solution.js
Better O(n) time
[33mcommit 03e52ea9ee6a5c323d61d71c7164177e5b47372b[m
Author: cats256 <[email protected]>
Date: Tue Jul 4 11:55:08 2023 -0500
Improve sum and multiply functions solution code
[33mcommit 075fe8eea2c304417b3142a6a1e2660d5fe15d3c[m
Author: cats256 <[email protected]>
Date: Tue Jul 4 11:38:40 2023 -0500
Reformat test parameters for consistency
[33mcommit 3ecdab95312793d05d882fcc35220011abb7d7e7[m
Author: cats256 <[email protected]>
Date: Mon Jul 3 22:58:19 2023 -0500
Update sumAll-solution.js
[33mcommit 415ff48c20a60adaeca34a7ec0baa0b54e374824[m
Author: cats256 <[email protected]>
Date: Mon Jul 3 22:52:46 2023 -0500
Update sumAll-solution.js
Change the swapping algorithm to the standard way of swapping using array restructuring.
[33mcommit 5a7cd9b16291f316561e82f544eddef8d601b159[m
Merge: 61c86e1 37f85db
Author: Manon <[email protected]>
Date: Sun Jul 2 09:01:22 2023 +0200
Merge pull request #367 from ManonLef/kbd
[33mcommit 37f85db108805003ecaba6131c8f8ec3d596176a[m
Author: Manon <[email protected]>
Date: Sat Jul 1 16:09:59 2023 +0200
JS exercises README: change shortcuts to kbd format
[33mcommit 61c86e11b61115c1a9764da8f74af19ad30c6e88[m
Merge: 25013df f98ee21
Author: Austin <[email protected]>
Date: Wed Jun 28 14:22:37 2023 +0100
Merge pull request #365 from Sama-004/patch-1
`03_reverString: Updated README.md to add unskipping the skipped test cases`
[33mcommit f98ee210e0697a912796428961cee837c25fc84c[m
Author: samanyu <[email protected]>
Date: Wed Jun 28 17:34:00 2023 +0530
Made the file name sentence more readable
Made changes according to the review, made the file name more readable and some minor grammatical changes.
[33mcommit 5c1853e1e98e444d7a3ff9124b0ae2b28a383c5d[m
Author: samanyu <[email protected]>
Date: Wed Jun 28 08:43:15 2023 +0530
Updated README.md to add unskipping the skipped test cases
Just like it was mentioned in the previous exercise to remove the .skip from test.skip() in the spec.js file.
[33mcommit 25013df6ac6b7d331d2911e99dd53fa17b45a315[m
Merge: 8692f0e fd1e1f9
Author: Cody Loyd <[email protected]>
Date: Thu Jun 8 07:15:50 2023 -0500
Merge pull request #357 from marlatte/fibonacci_palindromes_fixes
09_palindrome and 10_fibonacci: Update solutions
[33mcommit 8692f0ea181053fb0f3efae042e3cd6ec486178c[m
Merge: 6b302e3 175ee76
Author: Cody Loyd <[email protected]>
Date: Wed Jun 7 14:56:36 2023 -0500
Merge pull request #364 from fruddenfeldt/dev
New solution to match updated test syntax
[33mcommit 175ee761e1777e86c4745dd74b62ebfb9af50cdf[m
Author: fruddenfeldt <[email protected]>
Date: Wed Jun 7 19:58:54 2023 +0200
Update calculator-solution.js
[33mcommit 6b302e3783565ae74da6ef543bbe7b6a5d28e5b6[m
Merge: 3e530e3 b6e9e2f
Author: Cody Loyd <[email protected]>
Date: Wed Jun 7 08:45:00 2023 -0500
Merge pull request #359 from fruddenfeldt/patch-1
Removed array syntax in multiply test
[33mcommit 80f7881a26cad546831772fbd3e960bceee77bf0[m
Author: fruddenfeldt <[email protected]>
Date: Tue Jun 6 23:01:36 2023 +0200
New solution to match updated test syntax
See separate PR "Removed array syntax in multiply test #359"
https://github.com/TheOdinProject/javascript-exercises/pull/359
[33mcommit b6e9e2fac364db2fb0352f01adcd0bfd0d862b70[m
Author: fruddenfeldt <[email protected]>
Date: Mon May 22 21:08:37 2023 +0200
Removed array syntax in multiply test
The test for the 'multiply' function used array brackets [] for the input parameters, which caused the test to return an error when rest parameters (...args) are used in the function, like so:
const multiply = function(...args){
return args.reduce((acc, cur) => acc * cur);
}
[33mcommit fd1e1f93d1df2daa5a8881c6020e4c0eff394d5c[m
Merge: 0d75cc0 4138059
Author: MarLatte <[email protected]>
Date: Sat May 20 03:10:37 2023 -0400
Merge branch 'fibonacci_palindromes_fixes' of github.com:marlatte/javascript-exercises into fibonacci_palindromes_fixes
[33mcommit 0d75cc0814a0389b48b31e4eae4acd55e2406e1b[m
Author: MarLatte <[email protected]>
Date: Sat May 20 03:07:57 2023 -0400
Update palindrome test to match solution test
[33mcommit e8fc8ce41e857afb62d1d27152d2d1fc655cbd0c[m
Author: MarLatte <[email protected]>
Date: Sat May 20 02:37:41 2023 -0400
Update palindromes to handle numbers better
The previous solution removed numbers entirely, whereas this one treats
them like letters and checks if they are evenly spaced.
More importantly, the old solution test seemed to check if the numbers
were palindromic, but because the solution replaced them with "", it
wasn't testing what it seemed to.
I added a new test to differentiate between the palindromic "rac3e3car"
and the non-palindromic "r3ace3car".
These changes also obviate the problems raised in Issue #355.
[33mcommit 41380593f7c8509f9da210b5f0a594edf9cc2a32[m
Author: MarLatte <[email protected]>
Date: Sat May 20 02:37:41 2023 -0400
Update palindromes to handle numbers better
The previous solution removed numbers entirely, whereas this one treats
them like letters and checks if they are evenly spaced.
More importantly, the old solution test seemed to check if the numbers
were palindromic, but because the solution replaced them with "", it
wasn't testing what it seemed to.
I added a new test to differentiate between the palindromic "rac3e3car"
and the non-palindromic "r3ace3car".
[33mcommit 3256f980b0524f3d52db45e75896f7b726a711b8[m
Author: MarLatte <[email protected]>
Date: Sat May 20 02:22:12 2023 -0400