dependabot-composer 0.112.18 → 0.112.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/helpers/composer.lock +169 -341
- data/helpers/phpstan.neon +1 -1
- data/helpers/src/Hasher.php +17 -1
- data/helpers/src/Updater.php +12 -0
- data/lib/dependabot/composer/file_parser.rb +29 -26
- data/lib/dependabot/composer/update_checker.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e1f20ea95123b27630e1a10f9c4dcc467e6fad557a03c266180ac8d289a120b
|
4
|
+
data.tar.gz: f9d53a88101816b3f1b554aac931c532ef888fd3be7475737237f07d111a3d37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6cb3f6ab3a198ae2522cc72c06f421fe3bec3477e7a3fa3eb7ea5b9e1d27dd3c916b4f8b701e6429469a9a188e55175990b23935919a52d61297bb03219fa1fd
|
7
|
+
data.tar.gz: 00f1bd16b1b61ca1c0a3525bb861fced368ae16957310e07a618b1a5a2d22d30f5a5b3f860c1b301d8d4a933e3f858a4229d7d62aabed85acfaf8c76b2029da7
|
data/helpers/composer.lock
CHANGED
@@ -374,55 +374,6 @@
|
|
374
374
|
],
|
375
375
|
"time": "2019-01-14T23:55:14+00:00"
|
376
376
|
},
|
377
|
-
{
|
378
|
-
"name": "psr/container",
|
379
|
-
"version": "1.0.0",
|
380
|
-
"source": {
|
381
|
-
"type": "git",
|
382
|
-
"url": "https://github.com/php-fig/container.git",
|
383
|
-
"reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f"
|
384
|
-
},
|
385
|
-
"dist": {
|
386
|
-
"type": "zip",
|
387
|
-
"url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
|
388
|
-
"reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
|
389
|
-
"shasum": ""
|
390
|
-
},
|
391
|
-
"require": {
|
392
|
-
"php": ">=5.3.0"
|
393
|
-
},
|
394
|
-
"type": "library",
|
395
|
-
"extra": {
|
396
|
-
"branch-alias": {
|
397
|
-
"dev-master": "1.0.x-dev"
|
398
|
-
}
|
399
|
-
},
|
400
|
-
"autoload": {
|
401
|
-
"psr-4": {
|
402
|
-
"Psr\\Container\\": "src/"
|
403
|
-
}
|
404
|
-
},
|
405
|
-
"notification-url": "https://packagist.org/downloads/",
|
406
|
-
"license": [
|
407
|
-
"MIT"
|
408
|
-
],
|
409
|
-
"authors": [
|
410
|
-
{
|
411
|
-
"name": "PHP-FIG",
|
412
|
-
"homepage": "http://www.php-fig.org/"
|
413
|
-
}
|
414
|
-
],
|
415
|
-
"description": "Common Container Interface (PHP FIG PSR-11)",
|
416
|
-
"homepage": "https://github.com/php-fig/container",
|
417
|
-
"keywords": [
|
418
|
-
"PSR-11",
|
419
|
-
"container",
|
420
|
-
"container-interface",
|
421
|
-
"container-interop",
|
422
|
-
"psr"
|
423
|
-
],
|
424
|
-
"time": "2017-02-14T16:28:37+00:00"
|
425
|
-
},
|
426
377
|
{
|
427
378
|
"name": "psr/log",
|
428
379
|
"version": "1.1.0",
|
@@ -565,27 +516,25 @@
|
|
565
516
|
},
|
566
517
|
{
|
567
518
|
"name": "symfony/console",
|
568
|
-
"version": "
|
519
|
+
"version": "v3.4.31",
|
569
520
|
"source": {
|
570
521
|
"type": "git",
|
571
522
|
"url": "https://github.com/symfony/console.git",
|
572
|
-
"reference": "
|
523
|
+
"reference": "4510f04e70344d70952566e4262a0b11df39cb10"
|
573
524
|
},
|
574
525
|
"dist": {
|
575
526
|
"type": "zip",
|
576
|
-
"url": "https://api.github.com/repos/symfony/console/zipball/
|
577
|
-
"reference": "
|
527
|
+
"url": "https://api.github.com/repos/symfony/console/zipball/4510f04e70344d70952566e4262a0b11df39cb10",
|
528
|
+
"reference": "4510f04e70344d70952566e4262a0b11df39cb10",
|
578
529
|
"shasum": ""
|
579
530
|
},
|
580
531
|
"require": {
|
581
|
-
"php": "^7.
|
582
|
-
"symfony/
|
583
|
-
"symfony/polyfill-
|
584
|
-
"symfony/service-contracts": "^1.1"
|
532
|
+
"php": "^5.5.9|>=7.0.8",
|
533
|
+
"symfony/debug": "~2.8|~3.0|~4.0",
|
534
|
+
"symfony/polyfill-mbstring": "~1.0"
|
585
535
|
},
|
586
536
|
"conflict": {
|
587
537
|
"symfony/dependency-injection": "<3.4",
|
588
|
-
"symfony/event-dispatcher": "<4.3",
|
589
538
|
"symfony/process": "<3.3"
|
590
539
|
},
|
591
540
|
"provide": {
|
@@ -593,12 +542,11 @@
|
|
593
542
|
},
|
594
543
|
"require-dev": {
|
595
544
|
"psr/log": "~1.0",
|
596
|
-
"symfony/config": "~3.
|
545
|
+
"symfony/config": "~3.3|~4.0",
|
597
546
|
"symfony/dependency-injection": "~3.4|~4.0",
|
598
|
-
"symfony/event-dispatcher": "
|
547
|
+
"symfony/event-dispatcher": "~2.8|~3.0|~4.0",
|
599
548
|
"symfony/lock": "~3.4|~4.0",
|
600
|
-
"symfony/process": "~3.
|
601
|
-
"symfony/var-dumper": "^4.3"
|
549
|
+
"symfony/process": "~3.3|~4.0"
|
602
550
|
},
|
603
551
|
"suggest": {
|
604
552
|
"psr/log": "For using the console logger",
|
@@ -609,7 +557,7 @@
|
|
609
557
|
"type": "library",
|
610
558
|
"extra": {
|
611
559
|
"branch-alias": {
|
612
|
-
"dev-master": "4
|
560
|
+
"dev-master": "3.4-dev"
|
613
561
|
}
|
614
562
|
},
|
615
563
|
"autoload": {
|
@@ -636,35 +584,41 @@
|
|
636
584
|
],
|
637
585
|
"description": "Symfony Console Component",
|
638
586
|
"homepage": "https://symfony.com",
|
639
|
-
"time": "2019-
|
587
|
+
"time": "2019-08-26T07:52:58+00:00"
|
640
588
|
},
|
641
589
|
{
|
642
|
-
"name": "symfony/
|
643
|
-
"version": "
|
590
|
+
"name": "symfony/debug",
|
591
|
+
"version": "v3.4.31",
|
644
592
|
"source": {
|
645
593
|
"type": "git",
|
646
|
-
"url": "https://github.com/symfony/
|
647
|
-
"reference": "
|
594
|
+
"url": "https://github.com/symfony/debug.git",
|
595
|
+
"reference": "0b600300918780001e2821db77bc28b677794486"
|
648
596
|
},
|
649
597
|
"dist": {
|
650
598
|
"type": "zip",
|
651
|
-
"url": "https://api.github.com/repos/symfony/
|
652
|
-
"reference": "
|
599
|
+
"url": "https://api.github.com/repos/symfony/debug/zipball/0b600300918780001e2821db77bc28b677794486",
|
600
|
+
"reference": "0b600300918780001e2821db77bc28b677794486",
|
653
601
|
"shasum": ""
|
654
602
|
},
|
655
603
|
"require": {
|
656
|
-
"php": "^7.
|
657
|
-
"
|
604
|
+
"php": "^5.5.9|>=7.0.8",
|
605
|
+
"psr/log": "~1.0"
|
606
|
+
},
|
607
|
+
"conflict": {
|
608
|
+
"symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
|
609
|
+
},
|
610
|
+
"require-dev": {
|
611
|
+
"symfony/http-kernel": "~2.8|~3.0|~4.0"
|
658
612
|
},
|
659
613
|
"type": "library",
|
660
614
|
"extra": {
|
661
615
|
"branch-alias": {
|
662
|
-
"dev-master": "4
|
616
|
+
"dev-master": "3.4-dev"
|
663
617
|
}
|
664
618
|
},
|
665
619
|
"autoload": {
|
666
620
|
"psr-4": {
|
667
|
-
"Symfony\\Component\\
|
621
|
+
"Symfony\\Component\\Debug\\": ""
|
668
622
|
},
|
669
623
|
"exclude-from-classmap": [
|
670
624
|
"/Tests/"
|
@@ -684,36 +638,37 @@
|
|
684
638
|
"homepage": "https://symfony.com/contributors"
|
685
639
|
}
|
686
640
|
],
|
687
|
-
"description": "Symfony
|
641
|
+
"description": "Symfony Debug Component",
|
688
642
|
"homepage": "https://symfony.com",
|
689
|
-
"time": "2019-
|
643
|
+
"time": "2019-08-20T13:31:17+00:00"
|
690
644
|
},
|
691
645
|
{
|
692
|
-
"name": "symfony/
|
693
|
-
"version": "
|
646
|
+
"name": "symfony/filesystem",
|
647
|
+
"version": "v3.4.31",
|
694
648
|
"source": {
|
695
649
|
"type": "git",
|
696
|
-
"url": "https://github.com/symfony/
|
697
|
-
"reference": "
|
650
|
+
"url": "https://github.com/symfony/filesystem.git",
|
651
|
+
"reference": "00e3a6ddd723b8bcfe4f2a1b6f82b98eeeb51516"
|
698
652
|
},
|
699
653
|
"dist": {
|
700
654
|
"type": "zip",
|
701
|
-
"url": "https://api.github.com/repos/symfony/
|
702
|
-
"reference": "
|
655
|
+
"url": "https://api.github.com/repos/symfony/filesystem/zipball/00e3a6ddd723b8bcfe4f2a1b6f82b98eeeb51516",
|
656
|
+
"reference": "00e3a6ddd723b8bcfe4f2a1b6f82b98eeeb51516",
|
703
657
|
"shasum": ""
|
704
658
|
},
|
705
659
|
"require": {
|
706
|
-
"php": "^7.
|
660
|
+
"php": "^5.5.9|>=7.0.8",
|
661
|
+
"symfony/polyfill-ctype": "~1.8"
|
707
662
|
},
|
708
663
|
"type": "library",
|
709
664
|
"extra": {
|
710
665
|
"branch-alias": {
|
711
|
-
"dev-master": "4
|
666
|
+
"dev-master": "3.4-dev"
|
712
667
|
}
|
713
668
|
},
|
714
669
|
"autoload": {
|
715
670
|
"psr-4": {
|
716
|
-
"Symfony\\Component\\
|
671
|
+
"Symfony\\Component\\Filesystem\\": ""
|
717
672
|
},
|
718
673
|
"exclude-from-classmap": [
|
719
674
|
"/Tests/"
|
@@ -733,42 +688,39 @@
|
|
733
688
|
"homepage": "https://symfony.com/contributors"
|
734
689
|
}
|
735
690
|
],
|
736
|
-
"description": "Symfony
|
691
|
+
"description": "Symfony Filesystem Component",
|
737
692
|
"homepage": "https://symfony.com",
|
738
|
-
"time": "2019-
|
693
|
+
"time": "2019-08-20T13:31:17+00:00"
|
739
694
|
},
|
740
695
|
{
|
741
|
-
"name": "symfony/
|
742
|
-
"version": "
|
696
|
+
"name": "symfony/finder",
|
697
|
+
"version": "v3.4.31",
|
743
698
|
"source": {
|
744
699
|
"type": "git",
|
745
|
-
"url": "https://github.com/symfony/
|
746
|
-
"reference": "
|
700
|
+
"url": "https://github.com/symfony/finder.git",
|
701
|
+
"reference": "1fcad80b440abcd1451767349906b6f9d3961d37"
|
747
702
|
},
|
748
703
|
"dist": {
|
749
704
|
"type": "zip",
|
750
|
-
"url": "https://api.github.com/repos/symfony/
|
751
|
-
"reference": "
|
705
|
+
"url": "https://api.github.com/repos/symfony/finder/zipball/1fcad80b440abcd1451767349906b6f9d3961d37",
|
706
|
+
"reference": "1fcad80b440abcd1451767349906b6f9d3961d37",
|
752
707
|
"shasum": ""
|
753
708
|
},
|
754
709
|
"require": {
|
755
|
-
"php": "
|
756
|
-
},
|
757
|
-
"suggest": {
|
758
|
-
"ext-ctype": "For best performance"
|
710
|
+
"php": "^5.5.9|>=7.0.8"
|
759
711
|
},
|
760
712
|
"type": "library",
|
761
713
|
"extra": {
|
762
714
|
"branch-alias": {
|
763
|
-
"dev-master": "
|
715
|
+
"dev-master": "3.4-dev"
|
764
716
|
}
|
765
717
|
},
|
766
718
|
"autoload": {
|
767
719
|
"psr-4": {
|
768
|
-
"Symfony\\
|
720
|
+
"Symfony\\Component\\Finder\\": ""
|
769
721
|
},
|
770
|
-
"
|
771
|
-
"
|
722
|
+
"exclude-from-classmap": [
|
723
|
+
"/Tests/"
|
772
724
|
]
|
773
725
|
},
|
774
726
|
"notification-url": "https://packagist.org/downloads/",
|
@@ -777,53 +729,47 @@
|
|
777
729
|
],
|
778
730
|
"authors": [
|
779
731
|
{
|
780
|
-
"name": "
|
781
|
-
"
|
732
|
+
"name": "Fabien Potencier",
|
733
|
+
"email": "fabien@symfony.com"
|
782
734
|
},
|
783
735
|
{
|
784
|
-
"name": "
|
785
|
-
"
|
736
|
+
"name": "Symfony Community",
|
737
|
+
"homepage": "https://symfony.com/contributors"
|
786
738
|
}
|
787
739
|
],
|
788
|
-
"description": "Symfony
|
740
|
+
"description": "Symfony Finder Component",
|
789
741
|
"homepage": "https://symfony.com",
|
790
|
-
"
|
791
|
-
"compatibility",
|
792
|
-
"ctype",
|
793
|
-
"polyfill",
|
794
|
-
"portable"
|
795
|
-
],
|
796
|
-
"time": "2019-02-06T07:57:58+00:00"
|
742
|
+
"time": "2019-08-14T09:39:58+00:00"
|
797
743
|
},
|
798
744
|
{
|
799
|
-
"name": "symfony/polyfill-
|
800
|
-
"version": "v1.
|
745
|
+
"name": "symfony/polyfill-ctype",
|
746
|
+
"version": "v1.12.0",
|
801
747
|
"source": {
|
802
748
|
"type": "git",
|
803
|
-
"url": "https://github.com/symfony/polyfill-
|
804
|
-
"reference": "
|
749
|
+
"url": "https://github.com/symfony/polyfill-ctype.git",
|
750
|
+
"reference": "550ebaac289296ce228a706d0867afc34687e3f4"
|
805
751
|
},
|
806
752
|
"dist": {
|
807
753
|
"type": "zip",
|
808
|
-
"url": "https://api.github.com/repos/symfony/polyfill-
|
809
|
-
"reference": "
|
754
|
+
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/550ebaac289296ce228a706d0867afc34687e3f4",
|
755
|
+
"reference": "550ebaac289296ce228a706d0867afc34687e3f4",
|
810
756
|
"shasum": ""
|
811
757
|
},
|
812
758
|
"require": {
|
813
759
|
"php": ">=5.3.3"
|
814
760
|
},
|
815
761
|
"suggest": {
|
816
|
-
"ext-
|
762
|
+
"ext-ctype": "For best performance"
|
817
763
|
},
|
818
764
|
"type": "library",
|
819
765
|
"extra": {
|
820
766
|
"branch-alias": {
|
821
|
-
"dev-master": "1.
|
767
|
+
"dev-master": "1.12-dev"
|
822
768
|
}
|
823
769
|
},
|
824
770
|
"autoload": {
|
825
771
|
"psr-4": {
|
826
|
-
"Symfony\\Polyfill\\
|
772
|
+
"Symfony\\Polyfill\\Ctype\\": ""
|
827
773
|
},
|
828
774
|
"files": [
|
829
775
|
"bootstrap.php"
|
@@ -835,57 +781,56 @@
|
|
835
781
|
],
|
836
782
|
"authors": [
|
837
783
|
{
|
838
|
-
"name": "
|
839
|
-
"email": "
|
784
|
+
"name": "Gert de Pagter",
|
785
|
+
"email": "BackEndTea@gmail.com"
|
840
786
|
},
|
841
787
|
{
|
842
788
|
"name": "Symfony Community",
|
843
789
|
"homepage": "https://symfony.com/contributors"
|
844
790
|
}
|
845
791
|
],
|
846
|
-
"description": "Symfony polyfill for
|
792
|
+
"description": "Symfony polyfill for ctype functions",
|
847
793
|
"homepage": "https://symfony.com",
|
848
794
|
"keywords": [
|
849
795
|
"compatibility",
|
850
|
-
"
|
796
|
+
"ctype",
|
851
797
|
"polyfill",
|
852
|
-
"portable"
|
853
|
-
"shim"
|
798
|
+
"portable"
|
854
799
|
],
|
855
|
-
"time": "2019-
|
800
|
+
"time": "2019-08-06T08:03:45+00:00"
|
856
801
|
},
|
857
802
|
{
|
858
|
-
"name": "symfony/polyfill-
|
859
|
-
"version": "v1.
|
803
|
+
"name": "symfony/polyfill-mbstring",
|
804
|
+
"version": "v1.12.0",
|
860
805
|
"source": {
|
861
806
|
"type": "git",
|
862
|
-
"url": "https://github.com/symfony/polyfill-
|
863
|
-
"reference": "
|
807
|
+
"url": "https://github.com/symfony/polyfill-mbstring.git",
|
808
|
+
"reference": "b42a2f66e8f1b15ccf25652c3424265923eb4f17"
|
864
809
|
},
|
865
810
|
"dist": {
|
866
811
|
"type": "zip",
|
867
|
-
"url": "https://api.github.com/repos/symfony/polyfill-
|
868
|
-
"reference": "
|
812
|
+
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/b42a2f66e8f1b15ccf25652c3424265923eb4f17",
|
813
|
+
"reference": "b42a2f66e8f1b15ccf25652c3424265923eb4f17",
|
869
814
|
"shasum": ""
|
870
815
|
},
|
871
816
|
"require": {
|
872
817
|
"php": ">=5.3.3"
|
873
818
|
},
|
819
|
+
"suggest": {
|
820
|
+
"ext-mbstring": "For best performance"
|
821
|
+
},
|
874
822
|
"type": "library",
|
875
823
|
"extra": {
|
876
824
|
"branch-alias": {
|
877
|
-
"dev-master": "1.
|
825
|
+
"dev-master": "1.12-dev"
|
878
826
|
}
|
879
827
|
},
|
880
828
|
"autoload": {
|
881
829
|
"psr-4": {
|
882
|
-
"Symfony\\Polyfill\\
|
830
|
+
"Symfony\\Polyfill\\Mbstring\\": ""
|
883
831
|
},
|
884
832
|
"files": [
|
885
833
|
"bootstrap.php"
|
886
|
-
],
|
887
|
-
"classmap": [
|
888
|
-
"Resources/stubs"
|
889
834
|
]
|
890
835
|
},
|
891
836
|
"notification-url": "https://packagist.org/downloads/",
|
@@ -902,37 +847,38 @@
|
|
902
847
|
"homepage": "https://symfony.com/contributors"
|
903
848
|
}
|
904
849
|
],
|
905
|
-
"description": "Symfony polyfill
|
850
|
+
"description": "Symfony polyfill for the Mbstring extension",
|
906
851
|
"homepage": "https://symfony.com",
|
907
852
|
"keywords": [
|
908
853
|
"compatibility",
|
854
|
+
"mbstring",
|
909
855
|
"polyfill",
|
910
856
|
"portable",
|
911
857
|
"shim"
|
912
858
|
],
|
913
|
-
"time": "2019-
|
859
|
+
"time": "2019-08-06T08:03:45+00:00"
|
914
860
|
},
|
915
861
|
{
|
916
862
|
"name": "symfony/process",
|
917
|
-
"version": "
|
863
|
+
"version": "v3.4.31",
|
918
864
|
"source": {
|
919
865
|
"type": "git",
|
920
866
|
"url": "https://github.com/symfony/process.git",
|
921
|
-
"reference": "
|
867
|
+
"reference": "d822cb654000a95b7855362c0d5b127f6a6d8baa"
|
922
868
|
},
|
923
869
|
"dist": {
|
924
870
|
"type": "zip",
|
925
|
-
"url": "https://api.github.com/repos/symfony/process/zipball/
|
926
|
-
"reference": "
|
871
|
+
"url": "https://api.github.com/repos/symfony/process/zipball/d822cb654000a95b7855362c0d5b127f6a6d8baa",
|
872
|
+
"reference": "d822cb654000a95b7855362c0d5b127f6a6d8baa",
|
927
873
|
"shasum": ""
|
928
874
|
},
|
929
875
|
"require": {
|
930
|
-
"php": "^7.
|
876
|
+
"php": "^5.5.9|>=7.0.8"
|
931
877
|
},
|
932
878
|
"type": "library",
|
933
879
|
"extra": {
|
934
880
|
"branch-alias": {
|
935
|
-
"dev-master": "4
|
881
|
+
"dev-master": "3.4-dev"
|
936
882
|
}
|
937
883
|
},
|
938
884
|
"autoload": {
|
@@ -959,80 +905,22 @@
|
|
959
905
|
],
|
960
906
|
"description": "Symfony Process Component",
|
961
907
|
"homepage": "https://symfony.com",
|
962
|
-
"time": "2019-
|
963
|
-
},
|
964
|
-
{
|
965
|
-
"name": "symfony/service-contracts",
|
966
|
-
"version": "v1.1.5",
|
967
|
-
"source": {
|
968
|
-
"type": "git",
|
969
|
-
"url": "https://github.com/symfony/service-contracts.git",
|
970
|
-
"reference": "f391a00de78ec7ec8cf5cdcdae59ec7b883edb8d"
|
971
|
-
},
|
972
|
-
"dist": {
|
973
|
-
"type": "zip",
|
974
|
-
"url": "https://api.github.com/repos/symfony/service-contracts/zipball/f391a00de78ec7ec8cf5cdcdae59ec7b883edb8d",
|
975
|
-
"reference": "f391a00de78ec7ec8cf5cdcdae59ec7b883edb8d",
|
976
|
-
"shasum": ""
|
977
|
-
},
|
978
|
-
"require": {
|
979
|
-
"php": "^7.1.3",
|
980
|
-
"psr/container": "^1.0"
|
981
|
-
},
|
982
|
-
"suggest": {
|
983
|
-
"symfony/service-implementation": ""
|
984
|
-
},
|
985
|
-
"type": "library",
|
986
|
-
"extra": {
|
987
|
-
"branch-alias": {
|
988
|
-
"dev-master": "1.1-dev"
|
989
|
-
}
|
990
|
-
},
|
991
|
-
"autoload": {
|
992
|
-
"psr-4": {
|
993
|
-
"Symfony\\Contracts\\Service\\": ""
|
994
|
-
}
|
995
|
-
},
|
996
|
-
"notification-url": "https://packagist.org/downloads/",
|
997
|
-
"license": [
|
998
|
-
"MIT"
|
999
|
-
],
|
1000
|
-
"authors": [
|
1001
|
-
{
|
1002
|
-
"name": "Nicolas Grekas",
|
1003
|
-
"email": "p@tchwork.com"
|
1004
|
-
},
|
1005
|
-
{
|
1006
|
-
"name": "Symfony Community",
|
1007
|
-
"homepage": "https://symfony.com/contributors"
|
1008
|
-
}
|
1009
|
-
],
|
1010
|
-
"description": "Generic abstractions related to writing services",
|
1011
|
-
"homepage": "https://symfony.com",
|
1012
|
-
"keywords": [
|
1013
|
-
"abstractions",
|
1014
|
-
"contracts",
|
1015
|
-
"decoupling",
|
1016
|
-
"interfaces",
|
1017
|
-
"interoperability",
|
1018
|
-
"standards"
|
1019
|
-
],
|
1020
|
-
"time": "2019-06-13T11:15:36+00:00"
|
908
|
+
"time": "2019-08-26T07:52:58+00:00"
|
1021
909
|
}
|
1022
910
|
],
|
1023
911
|
"packages-dev": [
|
1024
912
|
{
|
1025
913
|
"name": "doctrine/annotations",
|
1026
|
-
"version": "v1.
|
914
|
+
"version": "v1.7.0",
|
1027
915
|
"source": {
|
1028
916
|
"type": "git",
|
1029
917
|
"url": "https://github.com/doctrine/annotations.git",
|
1030
|
-
"reference": "
|
918
|
+
"reference": "fa4c4e861e809d6a1103bd620cce63ed91aedfeb"
|
1031
919
|
},
|
1032
920
|
"dist": {
|
1033
921
|
"type": "zip",
|
1034
|
-
"url": "https://api.github.com/repos/doctrine/annotations/zipball/
|
1035
|
-
"reference": "
|
922
|
+
"url": "https://api.github.com/repos/doctrine/annotations/zipball/fa4c4e861e809d6a1103bd620cce63ed91aedfeb",
|
923
|
+
"reference": "fa4c4e861e809d6a1103bd620cce63ed91aedfeb",
|
1036
924
|
"shasum": ""
|
1037
925
|
},
|
1038
926
|
"require": {
|
@@ -1041,12 +929,12 @@
|
|
1041
929
|
},
|
1042
930
|
"require-dev": {
|
1043
931
|
"doctrine/cache": "1.*",
|
1044
|
-
"phpunit/phpunit": "^
|
932
|
+
"phpunit/phpunit": "^7.5@dev"
|
1045
933
|
},
|
1046
934
|
"type": "library",
|
1047
935
|
"extra": {
|
1048
936
|
"branch-alias": {
|
1049
|
-
"dev-master": "1.
|
937
|
+
"dev-master": "1.7.x-dev"
|
1050
938
|
}
|
1051
939
|
},
|
1052
940
|
"autoload": {
|
@@ -1059,6 +947,10 @@
|
|
1059
947
|
"MIT"
|
1060
948
|
],
|
1061
949
|
"authors": [
|
950
|
+
{
|
951
|
+
"name": "Guilherme Blanco",
|
952
|
+
"email": "guilhermeblanco@gmail.com"
|
953
|
+
},
|
1062
954
|
{
|
1063
955
|
"name": "Roman Borschel",
|
1064
956
|
"email": "roman@code-factory.org"
|
@@ -1067,10 +959,6 @@
|
|
1067
959
|
"name": "Benjamin Eberlei",
|
1068
960
|
"email": "kontakt@beberlei.de"
|
1069
961
|
},
|
1070
|
-
{
|
1071
|
-
"name": "Guilherme Blanco",
|
1072
|
-
"email": "guilhermeblanco@gmail.com"
|
1073
|
-
},
|
1074
962
|
{
|
1075
963
|
"name": "Jonathan Wage",
|
1076
964
|
"email": "jonwage@gmail.com"
|
@@ -1087,25 +975,28 @@
|
|
1087
975
|
"docblock",
|
1088
976
|
"parser"
|
1089
977
|
],
|
1090
|
-
"time": "2019-
|
978
|
+
"time": "2019-08-08T18:11:40+00:00"
|
1091
979
|
},
|
1092
980
|
{
|
1093
981
|
"name": "doctrine/lexer",
|
1094
|
-
"version": "
|
982
|
+
"version": "1.0.2",
|
1095
983
|
"source": {
|
1096
984
|
"type": "git",
|
1097
985
|
"url": "https://github.com/doctrine/lexer.git",
|
1098
|
-
"reference": "
|
986
|
+
"reference": "1febd6c3ef84253d7c815bed85fc622ad207a9f8"
|
1099
987
|
},
|
1100
988
|
"dist": {
|
1101
989
|
"type": "zip",
|
1102
|
-
"url": "https://api.github.com/repos/doctrine/lexer/zipball/
|
1103
|
-
"reference": "
|
990
|
+
"url": "https://api.github.com/repos/doctrine/lexer/zipball/1febd6c3ef84253d7c815bed85fc622ad207a9f8",
|
991
|
+
"reference": "1febd6c3ef84253d7c815bed85fc622ad207a9f8",
|
1104
992
|
"shasum": ""
|
1105
993
|
},
|
1106
994
|
"require": {
|
1107
995
|
"php": ">=5.3.2"
|
1108
996
|
},
|
997
|
+
"require-dev": {
|
998
|
+
"phpunit/phpunit": "^4.5"
|
999
|
+
},
|
1109
1000
|
"type": "library",
|
1110
1001
|
"extra": {
|
1111
1002
|
"branch-alias": {
|
@@ -1113,8 +1004,8 @@
|
|
1113
1004
|
}
|
1114
1005
|
},
|
1115
1006
|
"autoload": {
|
1116
|
-
"psr-
|
1117
|
-
"Doctrine\\Common\\Lexer\\": "lib/"
|
1007
|
+
"psr-4": {
|
1008
|
+
"Doctrine\\Common\\Lexer\\": "lib/Doctrine/Common/Lexer"
|
1118
1009
|
}
|
1119
1010
|
},
|
1120
1011
|
"notification-url": "https://packagist.org/downloads/",
|
@@ -1135,26 +1026,29 @@
|
|
1135
1026
|
"email": "schmittjoh@gmail.com"
|
1136
1027
|
}
|
1137
1028
|
],
|
1138
|
-
"description": "
|
1139
|
-
"homepage": "
|
1029
|
+
"description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.",
|
1030
|
+
"homepage": "https://www.doctrine-project.org/projects/lexer.html",
|
1140
1031
|
"keywords": [
|
1032
|
+
"annotations",
|
1033
|
+
"docblock",
|
1141
1034
|
"lexer",
|
1142
|
-
"parser"
|
1035
|
+
"parser",
|
1036
|
+
"php"
|
1143
1037
|
],
|
1144
|
-
"time": "
|
1038
|
+
"time": "2019-06-08T11:03:04+00:00"
|
1145
1039
|
},
|
1146
1040
|
{
|
1147
1041
|
"name": "friendsofphp/php-cs-fixer",
|
1148
|
-
"version": "v2.15.
|
1042
|
+
"version": "v2.15.2",
|
1149
1043
|
"source": {
|
1150
1044
|
"type": "git",
|
1151
1045
|
"url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git",
|
1152
|
-
"reference": "
|
1046
|
+
"reference": "c9d30fddfa3feb8b82663104864224f2ce7a3675"
|
1153
1047
|
},
|
1154
1048
|
"dist": {
|
1155
1049
|
"type": "zip",
|
1156
|
-
"url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/
|
1157
|
-
"reference": "
|
1050
|
+
"url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/c9d30fddfa3feb8b82663104864224f2ce7a3675",
|
1051
|
+
"reference": "c9d30fddfa3feb8b82663104864224f2ce7a3675",
|
1158
1052
|
"shasum": ""
|
1159
1053
|
},
|
1160
1054
|
"require": {
|
@@ -1219,17 +1113,17 @@
|
|
1219
1113
|
"MIT"
|
1220
1114
|
],
|
1221
1115
|
"authors": [
|
1222
|
-
{
|
1223
|
-
"name": "Dariusz Rumiński",
|
1224
|
-
"email": "dariusz.ruminski@gmail.com"
|
1225
|
-
},
|
1226
1116
|
{
|
1227
1117
|
"name": "Fabien Potencier",
|
1228
1118
|
"email": "fabien@symfony.com"
|
1119
|
+
},
|
1120
|
+
{
|
1121
|
+
"name": "Dariusz Rumiński",
|
1122
|
+
"email": "dariusz.ruminski@gmail.com"
|
1229
1123
|
}
|
1230
1124
|
],
|
1231
1125
|
"description": "A tool to automatically fix PHP code style",
|
1232
|
-
"time": "2019-
|
1126
|
+
"time": "2019-08-27T16:03:01+00:00"
|
1233
1127
|
},
|
1234
1128
|
{
|
1235
1129
|
"name": "jean85/pretty-package-versions",
|
@@ -2126,37 +2020,30 @@
|
|
2126
2020
|
},
|
2127
2021
|
{
|
2128
2022
|
"name": "symfony/event-dispatcher",
|
2129
|
-
"version": "
|
2023
|
+
"version": "v3.4.31",
|
2130
2024
|
"source": {
|
2131
2025
|
"type": "git",
|
2132
2026
|
"url": "https://github.com/symfony/event-dispatcher.git",
|
2133
|
-
"reference": "
|
2027
|
+
"reference": "3e922c4c3430b9de624e8a285dada5e61e230959"
|
2134
2028
|
},
|
2135
2029
|
"dist": {
|
2136
2030
|
"type": "zip",
|
2137
|
-
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/
|
2138
|
-
"reference": "
|
2031
|
+
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/3e922c4c3430b9de624e8a285dada5e61e230959",
|
2032
|
+
"reference": "3e922c4c3430b9de624e8a285dada5e61e230959",
|
2139
2033
|
"shasum": ""
|
2140
2034
|
},
|
2141
2035
|
"require": {
|
2142
|
-
"php": "^7.
|
2143
|
-
"symfony/event-dispatcher-contracts": "^1.1"
|
2036
|
+
"php": "^5.5.9|>=7.0.8"
|
2144
2037
|
},
|
2145
2038
|
"conflict": {
|
2146
|
-
"symfony/dependency-injection": "<3.
|
2147
|
-
},
|
2148
|
-
"provide": {
|
2149
|
-
"psr/event-dispatcher-implementation": "1.0",
|
2150
|
-
"symfony/event-dispatcher-implementation": "1.1"
|
2039
|
+
"symfony/dependency-injection": "<3.3"
|
2151
2040
|
},
|
2152
2041
|
"require-dev": {
|
2153
2042
|
"psr/log": "~1.0",
|
2154
|
-
"symfony/config": "~3.
|
2155
|
-
"symfony/dependency-injection": "~3.
|
2156
|
-
"symfony/expression-language": "~3.
|
2157
|
-
"symfony/
|
2158
|
-
"symfony/service-contracts": "^1.1",
|
2159
|
-
"symfony/stopwatch": "~3.4|~4.0"
|
2043
|
+
"symfony/config": "~2.8|~3.0|~4.0",
|
2044
|
+
"symfony/dependency-injection": "~3.3|~4.0",
|
2045
|
+
"symfony/expression-language": "~2.8|~3.0|~4.0",
|
2046
|
+
"symfony/stopwatch": "~2.8|~3.0|~4.0"
|
2160
2047
|
},
|
2161
2048
|
"suggest": {
|
2162
2049
|
"symfony/dependency-injection": "",
|
@@ -2165,7 +2052,7 @@
|
|
2165
2052
|
"type": "library",
|
2166
2053
|
"extra": {
|
2167
2054
|
"branch-alias": {
|
2168
|
-
"dev-master": "4
|
2055
|
+
"dev-master": "3.4-dev"
|
2169
2056
|
}
|
2170
2057
|
},
|
2171
2058
|
"autoload": {
|
@@ -2192,87 +2079,29 @@
|
|
2192
2079
|
],
|
2193
2080
|
"description": "Symfony EventDispatcher Component",
|
2194
2081
|
"homepage": "https://symfony.com",
|
2195
|
-
"time": "2019-
|
2196
|
-
},
|
2197
|
-
{
|
2198
|
-
"name": "symfony/event-dispatcher-contracts",
|
2199
|
-
"version": "v1.1.1",
|
2200
|
-
"source": {
|
2201
|
-
"type": "git",
|
2202
|
-
"url": "https://github.com/symfony/event-dispatcher-contracts.git",
|
2203
|
-
"reference": "8fa2cf2177083dd59cf8e44ea4b6541764fbda69"
|
2204
|
-
},
|
2205
|
-
"dist": {
|
2206
|
-
"type": "zip",
|
2207
|
-
"url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/8fa2cf2177083dd59cf8e44ea4b6541764fbda69",
|
2208
|
-
"reference": "8fa2cf2177083dd59cf8e44ea4b6541764fbda69",
|
2209
|
-
"shasum": ""
|
2210
|
-
},
|
2211
|
-
"require": {
|
2212
|
-
"php": "^7.1.3"
|
2213
|
-
},
|
2214
|
-
"suggest": {
|
2215
|
-
"psr/event-dispatcher": "",
|
2216
|
-
"symfony/event-dispatcher-implementation": ""
|
2217
|
-
},
|
2218
|
-
"type": "library",
|
2219
|
-
"extra": {
|
2220
|
-
"branch-alias": {
|
2221
|
-
"dev-master": "1.1-dev"
|
2222
|
-
}
|
2223
|
-
},
|
2224
|
-
"autoload": {
|
2225
|
-
"psr-4": {
|
2226
|
-
"Symfony\\Contracts\\EventDispatcher\\": ""
|
2227
|
-
}
|
2228
|
-
},
|
2229
|
-
"notification-url": "https://packagist.org/downloads/",
|
2230
|
-
"license": [
|
2231
|
-
"MIT"
|
2232
|
-
],
|
2233
|
-
"authors": [
|
2234
|
-
{
|
2235
|
-
"name": "Nicolas Grekas",
|
2236
|
-
"email": "p@tchwork.com"
|
2237
|
-
},
|
2238
|
-
{
|
2239
|
-
"name": "Symfony Community",
|
2240
|
-
"homepage": "https://symfony.com/contributors"
|
2241
|
-
}
|
2242
|
-
],
|
2243
|
-
"description": "Generic abstractions related to dispatching event",
|
2244
|
-
"homepage": "https://symfony.com",
|
2245
|
-
"keywords": [
|
2246
|
-
"abstractions",
|
2247
|
-
"contracts",
|
2248
|
-
"decoupling",
|
2249
|
-
"interfaces",
|
2250
|
-
"interoperability",
|
2251
|
-
"standards"
|
2252
|
-
],
|
2253
|
-
"time": "2019-05-22T12:23:29+00:00"
|
2082
|
+
"time": "2019-08-23T08:05:57+00:00"
|
2254
2083
|
},
|
2255
2084
|
{
|
2256
2085
|
"name": "symfony/options-resolver",
|
2257
|
-
"version": "
|
2086
|
+
"version": "v3.4.31",
|
2258
2087
|
"source": {
|
2259
2088
|
"type": "git",
|
2260
2089
|
"url": "https://github.com/symfony/options-resolver.git",
|
2261
|
-
"reference": "
|
2090
|
+
"reference": "a7c00586a9ef70acf0f17085e51c399bf9620e03"
|
2262
2091
|
},
|
2263
2092
|
"dist": {
|
2264
2093
|
"type": "zip",
|
2265
|
-
"url": "https://api.github.com/repos/symfony/options-resolver/zipball/
|
2266
|
-
"reference": "
|
2094
|
+
"url": "https://api.github.com/repos/symfony/options-resolver/zipball/a7c00586a9ef70acf0f17085e51c399bf9620e03",
|
2095
|
+
"reference": "a7c00586a9ef70acf0f17085e51c399bf9620e03",
|
2267
2096
|
"shasum": ""
|
2268
2097
|
},
|
2269
2098
|
"require": {
|
2270
|
-
"php": "^7.
|
2099
|
+
"php": "^5.5.9|>=7.0.8"
|
2271
2100
|
},
|
2272
2101
|
"type": "library",
|
2273
2102
|
"extra": {
|
2274
2103
|
"branch-alias": {
|
2275
|
-
"dev-master": "4
|
2104
|
+
"dev-master": "3.4-dev"
|
2276
2105
|
}
|
2277
2106
|
},
|
2278
2107
|
"autoload": {
|
@@ -2304,20 +2133,20 @@
|
|
2304
2133
|
"configuration",
|
2305
2134
|
"options"
|
2306
2135
|
],
|
2307
|
-
"time": "2019-
|
2136
|
+
"time": "2019-08-03T21:15:25+00:00"
|
2308
2137
|
},
|
2309
2138
|
{
|
2310
2139
|
"name": "symfony/polyfill-php70",
|
2311
|
-
"version": "v1.
|
2140
|
+
"version": "v1.12.0",
|
2312
2141
|
"source": {
|
2313
2142
|
"type": "git",
|
2314
2143
|
"url": "https://github.com/symfony/polyfill-php70.git",
|
2315
|
-
"reference": "
|
2144
|
+
"reference": "54b4c428a0054e254223797d2713c31e08610831"
|
2316
2145
|
},
|
2317
2146
|
"dist": {
|
2318
2147
|
"type": "zip",
|
2319
|
-
"url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/
|
2320
|
-
"reference": "
|
2148
|
+
"url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/54b4c428a0054e254223797d2713c31e08610831",
|
2149
|
+
"reference": "54b4c428a0054e254223797d2713c31e08610831",
|
2321
2150
|
"shasum": ""
|
2322
2151
|
},
|
2323
2152
|
"require": {
|
@@ -2327,7 +2156,7 @@
|
|
2327
2156
|
"type": "library",
|
2328
2157
|
"extra": {
|
2329
2158
|
"branch-alias": {
|
2330
|
-
"dev-master": "1.
|
2159
|
+
"dev-master": "1.12-dev"
|
2331
2160
|
}
|
2332
2161
|
},
|
2333
2162
|
"autoload": {
|
@@ -2363,20 +2192,20 @@
|
|
2363
2192
|
"portable",
|
2364
2193
|
"shim"
|
2365
2194
|
],
|
2366
|
-
"time": "2019-
|
2195
|
+
"time": "2019-08-06T08:03:45+00:00"
|
2367
2196
|
},
|
2368
2197
|
{
|
2369
2198
|
"name": "symfony/polyfill-php72",
|
2370
|
-
"version": "v1.
|
2199
|
+
"version": "v1.12.0",
|
2371
2200
|
"source": {
|
2372
2201
|
"type": "git",
|
2373
2202
|
"url": "https://github.com/symfony/polyfill-php72.git",
|
2374
|
-
"reference": "
|
2203
|
+
"reference": "04ce3335667451138df4307d6a9b61565560199e"
|
2375
2204
|
},
|
2376
2205
|
"dist": {
|
2377
2206
|
"type": "zip",
|
2378
|
-
"url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/
|
2379
|
-
"reference": "
|
2207
|
+
"url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/04ce3335667451138df4307d6a9b61565560199e",
|
2208
|
+
"reference": "04ce3335667451138df4307d6a9b61565560199e",
|
2380
2209
|
"shasum": ""
|
2381
2210
|
},
|
2382
2211
|
"require": {
|
@@ -2385,7 +2214,7 @@
|
|
2385
2214
|
"type": "library",
|
2386
2215
|
"extra": {
|
2387
2216
|
"branch-alias": {
|
2388
|
-
"dev-master": "1.
|
2217
|
+
"dev-master": "1.12-dev"
|
2389
2218
|
}
|
2390
2219
|
},
|
2391
2220
|
"autoload": {
|
@@ -2418,30 +2247,29 @@
|
|
2418
2247
|
"portable",
|
2419
2248
|
"shim"
|
2420
2249
|
],
|
2421
|
-
"time": "2019-
|
2250
|
+
"time": "2019-08-06T08:03:45+00:00"
|
2422
2251
|
},
|
2423
2252
|
{
|
2424
2253
|
"name": "symfony/stopwatch",
|
2425
|
-
"version": "
|
2254
|
+
"version": "v3.4.31",
|
2426
2255
|
"source": {
|
2427
2256
|
"type": "git",
|
2428
2257
|
"url": "https://github.com/symfony/stopwatch.git",
|
2429
|
-
"reference": "
|
2258
|
+
"reference": "c0c27e38f8accb452f830a4ec8e8ac94b6ec864a"
|
2430
2259
|
},
|
2431
2260
|
"dist": {
|
2432
2261
|
"type": "zip",
|
2433
|
-
"url": "https://api.github.com/repos/symfony/stopwatch/zipball/
|
2434
|
-
"reference": "
|
2262
|
+
"url": "https://api.github.com/repos/symfony/stopwatch/zipball/c0c27e38f8accb452f830a4ec8e8ac94b6ec864a",
|
2263
|
+
"reference": "c0c27e38f8accb452f830a4ec8e8ac94b6ec864a",
|
2435
2264
|
"shasum": ""
|
2436
2265
|
},
|
2437
2266
|
"require": {
|
2438
|
-
"php": "^7.
|
2439
|
-
"symfony/service-contracts": "^1.0"
|
2267
|
+
"php": "^5.5.9|>=7.0.8"
|
2440
2268
|
},
|
2441
2269
|
"type": "library",
|
2442
2270
|
"extra": {
|
2443
2271
|
"branch-alias": {
|
2444
|
-
"dev-master": "4
|
2272
|
+
"dev-master": "3.4-dev"
|
2445
2273
|
}
|
2446
2274
|
},
|
2447
2275
|
"autoload": {
|
@@ -2468,7 +2296,7 @@
|
|
2468
2296
|
],
|
2469
2297
|
"description": "Symfony Stopwatch Component",
|
2470
2298
|
"homepage": "https://symfony.com",
|
2471
|
-
"time": "2019-
|
2299
|
+
"time": "2019-08-06T13:24:37+00:00"
|
2472
2300
|
}
|
2473
2301
|
],
|
2474
2302
|
"aliases": [],
|
data/helpers/phpstan.neon
CHANGED
data/helpers/src/Hasher.php
CHANGED
@@ -8,12 +8,28 @@ use Composer\Package\Locker;
|
|
8
8
|
|
9
9
|
class Hasher
|
10
10
|
{
|
11
|
+
/**
|
12
|
+
* @param array $args
|
13
|
+
*
|
14
|
+
* @throws \RuntimeException
|
15
|
+
*
|
16
|
+
* @return string
|
17
|
+
*/
|
11
18
|
public static function getContentHash(array $args): string
|
12
19
|
{
|
13
20
|
[$workingDirectory] = $args;
|
14
21
|
|
15
22
|
$config = $workingDirectory . '/composer.json';
|
16
23
|
|
17
|
-
|
24
|
+
$contents = file_get_contents($config);
|
25
|
+
|
26
|
+
if (!is_string($contents)) {
|
27
|
+
throw new \RuntimeException(sprintf(
|
28
|
+
'Failed to load contents of "%s".',
|
29
|
+
$config
|
30
|
+
));
|
31
|
+
}
|
32
|
+
|
33
|
+
return Locker::getContentHash($contents);
|
18
34
|
}
|
19
35
|
}
|
data/helpers/src/Updater.php
CHANGED
@@ -9,6 +9,13 @@ use Composer\Installer;
|
|
9
9
|
|
10
10
|
class Updater
|
11
11
|
{
|
12
|
+
/**
|
13
|
+
* @param array $args
|
14
|
+
*
|
15
|
+
* @throws \RuntimeException
|
16
|
+
*
|
17
|
+
* @return array
|
18
|
+
*/
|
12
19
|
public static function update(array $args): array
|
13
20
|
{
|
14
21
|
[$workingDirectory, $dependencyName, $dependencyVersion, $gitCredentials, $registryCredentials] = $args;
|
@@ -17,6 +24,11 @@ class Updater
|
|
17
24
|
// install dependencies into the working dir, rather than a vendor folder
|
18
25
|
// in the root of the project
|
19
26
|
$originalDir = getcwd();
|
27
|
+
|
28
|
+
if (!is_string($originalDir)) {
|
29
|
+
throw new \RuntimeException('Failed determining the current working directory.');
|
30
|
+
}
|
31
|
+
|
20
32
|
chdir($workingDirectory);
|
21
33
|
|
22
34
|
$io = new ExceptionIO();
|
@@ -122,50 +122,53 @@ module Dependabot
|
|
122
122
|
def dependency_version(name:, type:)
|
123
123
|
return unless lockfile
|
124
124
|
|
125
|
-
|
126
|
-
|
127
|
-
version =
|
128
|
-
parsed_lockfile.
|
129
|
-
fetch(key, []).
|
130
|
-
find { |d| d["name"] == name }&.
|
131
|
-
fetch("version")&.to_s&.sub(/^v?/, "")
|
125
|
+
package = lockfile_details(name: name, type: type)
|
126
|
+
return unless package
|
132
127
|
|
128
|
+
version = package.fetch("version")&.to_s&.sub(/^v?/, "")
|
133
129
|
return version unless version&.start_with?("dev-")
|
134
130
|
|
135
|
-
|
136
|
-
fetch(key, []).
|
137
|
-
find { |d| d["name"] == name }&.
|
138
|
-
dig("source", "reference")
|
131
|
+
package.dig("source", "reference")
|
139
132
|
end
|
140
133
|
|
141
134
|
def dependency_source(name:, type:, requirement:)
|
142
135
|
return unless lockfile
|
143
136
|
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
return unless package
|
137
|
+
package_details = lockfile_details(name: name, type: type)
|
138
|
+
return unless package_details
|
148
139
|
|
149
|
-
if
|
140
|
+
if package_details["source"].nil? &&
|
141
|
+
package_details.dig("dist", "type") == "path"
|
150
142
|
return { type: "path" }
|
151
143
|
end
|
152
144
|
|
153
|
-
|
145
|
+
git_dependency_details(package_details, requirement)
|
146
|
+
end
|
154
147
|
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
148
|
+
def git_dependency_details(package_details, requirement)
|
149
|
+
return unless package_details.dig("source", "type") == "git"
|
150
|
+
|
151
|
+
branch =
|
152
|
+
if requirement.start_with?("dev-")
|
153
|
+
requirement.
|
154
|
+
sub(/^dev-/, "").
|
155
|
+
sub(/\s+as\s.*/, "").
|
156
|
+
split("#").first
|
157
|
+
elsif package_details.fetch("version")&.to_s&.start_with?("dev-")
|
158
|
+
package_details.fetch("version")&.to_s&.sub(/^dev-/, "")
|
159
|
+
end
|
159
160
|
|
160
|
-
|
161
|
+
details = { type: "git", url: package_details.dig("source", "url") }
|
162
|
+
return details unless branch
|
161
163
|
|
162
|
-
branch = requirement.
|
163
|
-
sub(/^dev-/, "").
|
164
|
-
sub(/\s+as\s.*/, "").
|
165
|
-
split("#").first
|
166
164
|
details.merge(branch: branch, ref: nil)
|
167
165
|
end
|
168
166
|
|
167
|
+
def lockfile_details(name:, type:)
|
168
|
+
key = lockfile_key(type)
|
169
|
+
parsed_lockfile.fetch(key, []).find { |d| d["name"] == name }
|
170
|
+
end
|
171
|
+
|
169
172
|
def lockfile_key(type)
|
170
173
|
case type
|
171
174
|
when "runtime" then "packages"
|
@@ -124,9 +124,9 @@ module Dependabot
|
|
124
124
|
dependency.requirements.any? { |r| r.dig(:source, :type) == "path" }
|
125
125
|
end
|
126
126
|
|
127
|
+
# To be a true git dependency, it must have a branch.
|
127
128
|
def git_dependency?
|
128
|
-
dependency.requirements.
|
129
|
-
any? { |r| r.fetch(:requirement)&.start_with?("dev-") }
|
129
|
+
dependency.requirements.any? { |r| r.dig(:source, :branch) }
|
130
130
|
end
|
131
131
|
|
132
132
|
def composer_file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-composer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.112.
|
4
|
+
version: 0.112.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dependabot-common
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.112.
|
19
|
+
version: 0.112.19
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.112.
|
26
|
+
version: 0.112.19
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|