apify-cli 0.6.8-beta.0 → 0.7.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/npm-shrinkwrap.json +232 -142
- package/oclif.manifest.json +1 -1
- package/package.json +2 -2
- package/src/commands/call.js +14 -7
- package/src/commands/push.js +13 -20
- package/src/lib/utils.js +7 -8
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apify-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"lockfileVersion": 1,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"dependencies": {
|
|
@@ -36,6 +36,15 @@
|
|
|
36
36
|
"escaya": "^0.0.61"
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
|
+
"@apify/log": {
|
|
40
|
+
"version": "1.1.10",
|
|
41
|
+
"resolved": "https://registry.npmjs.org/@apify/log/-/log-1.1.10.tgz",
|
|
42
|
+
"integrity": "sha512-NJw2bqJWyd8JGGdUmnudHKm4sbZfcRYHUeeXiN8YZWOVcoEIhIDhAH9P8YT2iN1celnuXlzq0w9JnIuQdrOFYA==",
|
|
43
|
+
"requires": {
|
|
44
|
+
"@apify/consts": "^1.7.0",
|
|
45
|
+
"ansi-colors": "^4.1.1"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
39
48
|
"@babel/code-frame": {
|
|
40
49
|
"version": "7.12.13",
|
|
41
50
|
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz",
|
|
@@ -116,25 +125,25 @@
|
|
|
116
125
|
"integrity": "sha512-nkalE/f1RvRGChwBnEIoBfSEYOXnCRdleKuv6+lePbMDrMZXeDQnqak5XDOeBgrPPyPfAdcCu/B5z+v3VhplGg=="
|
|
117
126
|
},
|
|
118
127
|
"@nodelib/fs.scandir": {
|
|
119
|
-
"version": "2.1.
|
|
120
|
-
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.
|
|
121
|
-
"integrity": "sha512-
|
|
128
|
+
"version": "2.1.4",
|
|
129
|
+
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz",
|
|
130
|
+
"integrity": "sha512-33g3pMJk3bg5nXbL/+CY6I2eJDzZAni49PfJnL5fghPTggPvBd/pFNSgJsdAgWptuFu7qq/ERvOYFlhvsLTCKA==",
|
|
122
131
|
"requires": {
|
|
123
|
-
"@nodelib/fs.stat": "2.0.
|
|
132
|
+
"@nodelib/fs.stat": "2.0.4",
|
|
124
133
|
"run-parallel": "^1.1.9"
|
|
125
134
|
}
|
|
126
135
|
},
|
|
127
136
|
"@nodelib/fs.stat": {
|
|
128
|
-
"version": "2.0.
|
|
129
|
-
"resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.
|
|
130
|
-
"integrity": "sha512-
|
|
137
|
+
"version": "2.0.4",
|
|
138
|
+
"resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.4.tgz",
|
|
139
|
+
"integrity": "sha512-IYlHJA0clt2+Vg7bccq+TzRdJvv19c2INqBSsoOLp1je7xjtr7J26+WXR72MCdvU9q1qTzIWDfhMf+DRvQJK4Q=="
|
|
131
140
|
},
|
|
132
141
|
"@nodelib/fs.walk": {
|
|
133
|
-
"version": "1.2.
|
|
134
|
-
"resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.
|
|
135
|
-
"integrity": "sha512-
|
|
142
|
+
"version": "1.2.6",
|
|
143
|
+
"resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.6.tgz",
|
|
144
|
+
"integrity": "sha512-8Broas6vTtW4GIXTAHDoE32hnN2M5ykgCpWGbuXHQ15vEMqr23pB76e/GZcYsZCHALv50ktd24qhEyKr6wBtow==",
|
|
136
145
|
"requires": {
|
|
137
|
-
"@nodelib/fs.scandir": "2.1.
|
|
146
|
+
"@nodelib/fs.scandir": "2.1.4",
|
|
138
147
|
"fastq": "^1.6.0"
|
|
139
148
|
}
|
|
140
149
|
},
|
|
@@ -149,6 +158,24 @@
|
|
|
149
158
|
"@oclif/parser": "^3.8.6",
|
|
150
159
|
"debug": "^4.1.1",
|
|
151
160
|
"semver": "^7.3.2"
|
|
161
|
+
},
|
|
162
|
+
"dependencies": {
|
|
163
|
+
"@oclif/parser": {
|
|
164
|
+
"version": "3.8.7",
|
|
165
|
+
"resolved": "https://registry.npmjs.org/@oclif/parser/-/parser-3.8.7.tgz",
|
|
166
|
+
"integrity": "sha512-b11xBmIUK+LuuwVGJpFs4LwQN2xj2cBWj2c4z1FtiXGrJ85h9xV6q+k136Hw0tGg1jQoRXuvuBnqQ7es7vO9/Q==",
|
|
167
|
+
"requires": {
|
|
168
|
+
"@oclif/errors": "^1.3.5",
|
|
169
|
+
"@oclif/linewrap": "^1.0.0",
|
|
170
|
+
"chalk": "^4.1.0",
|
|
171
|
+
"tslib": "^2.3.1"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"tslib": {
|
|
175
|
+
"version": "2.3.1",
|
|
176
|
+
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz",
|
|
177
|
+
"integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw=="
|
|
178
|
+
}
|
|
152
179
|
}
|
|
153
180
|
},
|
|
154
181
|
"@oclif/config": {
|
|
@@ -387,20 +414,69 @@
|
|
|
387
414
|
"integrity": "sha512-Ups2dShK52xXa8w6iBWLgcjPJWjais6KPJQq3gQ/88AY6BXoTX+MIGFPrWQO1KLMiQfoTpcLnUwloN4brrVUHw=="
|
|
388
415
|
},
|
|
389
416
|
"@oclif/parser": {
|
|
390
|
-
"version": "3.8.
|
|
391
|
-
"resolved": "https://registry.npmjs.org/@oclif/parser/-/parser-3.8.
|
|
392
|
-
"integrity": "sha512-
|
|
417
|
+
"version": "3.8.5",
|
|
418
|
+
"resolved": "https://registry.npmjs.org/@oclif/parser/-/parser-3.8.5.tgz",
|
|
419
|
+
"integrity": "sha512-yojzeEfmSxjjkAvMRj0KzspXlMjCfBzNRPkWw8ZwOSoNWoJn+OCS/m/S+yfV6BvAM4u2lTzX9Y5rCbrFIgkJLg==",
|
|
393
420
|
"requires": {
|
|
394
|
-
"@oclif/errors": "^1.
|
|
421
|
+
"@oclif/errors": "^1.2.2",
|
|
395
422
|
"@oclif/linewrap": "^1.0.0",
|
|
396
|
-
"chalk": "^4.
|
|
397
|
-
"tslib": "^
|
|
423
|
+
"chalk": "^2.4.2",
|
|
424
|
+
"tslib": "^1.9.3"
|
|
398
425
|
},
|
|
399
426
|
"dependencies": {
|
|
427
|
+
"ansi-styles": {
|
|
428
|
+
"version": "3.2.1",
|
|
429
|
+
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
|
|
430
|
+
"integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
|
|
431
|
+
"requires": {
|
|
432
|
+
"color-convert": "^1.9.0"
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
"chalk": {
|
|
436
|
+
"version": "2.4.2",
|
|
437
|
+
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
|
|
438
|
+
"integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
|
|
439
|
+
"requires": {
|
|
440
|
+
"ansi-styles": "^3.2.1",
|
|
441
|
+
"escape-string-regexp": "^1.0.5",
|
|
442
|
+
"supports-color": "^5.3.0"
|
|
443
|
+
}
|
|
444
|
+
},
|
|
445
|
+
"color-convert": {
|
|
446
|
+
"version": "1.9.3",
|
|
447
|
+
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
|
|
448
|
+
"integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
|
|
449
|
+
"requires": {
|
|
450
|
+
"color-name": "1.1.3"
|
|
451
|
+
}
|
|
452
|
+
},
|
|
453
|
+
"color-name": {
|
|
454
|
+
"version": "1.1.3",
|
|
455
|
+
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
|
|
456
|
+
"integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="
|
|
457
|
+
},
|
|
458
|
+
"escape-string-regexp": {
|
|
459
|
+
"version": "1.0.5",
|
|
460
|
+
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
|
|
461
|
+
"integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ="
|
|
462
|
+
},
|
|
463
|
+
"has-flag": {
|
|
464
|
+
"version": "3.0.0",
|
|
465
|
+
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
|
|
466
|
+
"integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0="
|
|
467
|
+
},
|
|
468
|
+
"supports-color": {
|
|
469
|
+
"version": "5.5.0",
|
|
470
|
+
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
|
|
471
|
+
"integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
|
|
472
|
+
"requires": {
|
|
473
|
+
"has-flag": "^3.0.0"
|
|
474
|
+
}
|
|
475
|
+
},
|
|
400
476
|
"tslib": {
|
|
401
|
-
"version": "
|
|
402
|
-
"resolved": "https://registry.npmjs.org/tslib/-/tslib-
|
|
403
|
-
"integrity": "sha512-
|
|
477
|
+
"version": "1.14.1",
|
|
478
|
+
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",
|
|
479
|
+
"integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="
|
|
404
480
|
}
|
|
405
481
|
}
|
|
406
482
|
},
|
|
@@ -528,8 +604,20 @@
|
|
|
528
604
|
"json-schema-traverse": "^1.0.0",
|
|
529
605
|
"require-from-string": "^2.0.2",
|
|
530
606
|
"uri-js": "^4.2.2"
|
|
607
|
+
},
|
|
608
|
+
"dependencies": {
|
|
609
|
+
"json-schema-traverse": {
|
|
610
|
+
"version": "1.0.0",
|
|
611
|
+
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
|
|
612
|
+
"integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="
|
|
613
|
+
}
|
|
531
614
|
}
|
|
532
615
|
},
|
|
616
|
+
"ansi-colors": {
|
|
617
|
+
"version": "4.1.1",
|
|
618
|
+
"resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz",
|
|
619
|
+
"integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA=="
|
|
620
|
+
},
|
|
533
621
|
"ansi-escapes": {
|
|
534
622
|
"version": "4.3.1",
|
|
535
623
|
"resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.1.tgz",
|
|
@@ -557,31 +645,41 @@
|
|
|
557
645
|
"integrity": "sha1-ZlWX3oap/+Oqm/vmyuXG6kJrSXk="
|
|
558
646
|
},
|
|
559
647
|
"apify-client": {
|
|
560
|
-
"version": "
|
|
561
|
-
"resolved": "https://registry.npmjs.org/apify-client/-/apify-client-
|
|
562
|
-
"integrity": "sha512-
|
|
648
|
+
"version": "2.2.0",
|
|
649
|
+
"resolved": "https://registry.npmjs.org/apify-client/-/apify-client-2.2.0.tgz",
|
|
650
|
+
"integrity": "sha512-KetVme10mYm4XLo5kpUEZwFOJl2EQX01mb4VP7dQxhihRN3YY/Aj4jpvSplROQDfaZ3F26UO4Yp/gGKWksJLuQ==",
|
|
563
651
|
"requires": {
|
|
564
|
-
"apify
|
|
652
|
+
"@apify/consts": "^1.4.0",
|
|
653
|
+
"@apify/log": "^1.1.1",
|
|
654
|
+
"agentkeepalive": "^4.1.4",
|
|
655
|
+
"async-retry": "^1.3.1",
|
|
656
|
+
"axios": "^0.21.1",
|
|
565
657
|
"content-type": "^1.0.4",
|
|
566
|
-
"
|
|
567
|
-
"request-promise-native": "^1.0.7",
|
|
568
|
-
"type-check": "^0.3.2",
|
|
569
|
-
"underscore": "^1.9.1"
|
|
658
|
+
"ow": "^0.27.0"
|
|
570
659
|
},
|
|
571
660
|
"dependencies": {
|
|
572
|
-
"
|
|
573
|
-
"version": "
|
|
574
|
-
"resolved": "https://registry.npmjs.org/
|
|
575
|
-
"integrity": "sha512-
|
|
661
|
+
"@sindresorhus/is": {
|
|
662
|
+
"version": "4.6.0",
|
|
663
|
+
"resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz",
|
|
664
|
+
"integrity": "sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw=="
|
|
665
|
+
},
|
|
666
|
+
"ow": {
|
|
667
|
+
"version": "0.27.0",
|
|
668
|
+
"resolved": "https://registry.npmjs.org/ow/-/ow-0.27.0.tgz",
|
|
669
|
+
"integrity": "sha512-SGnrGUbhn4VaUGdU0EJLMwZWSupPmF46hnTRII7aCLCrqixTAC5eKo8kI4/XXf1eaaI8YEVT+3FeGNJI9himAQ==",
|
|
576
670
|
"requires": {
|
|
577
|
-
"
|
|
578
|
-
"
|
|
579
|
-
"
|
|
580
|
-
"
|
|
581
|
-
"
|
|
582
|
-
"
|
|
583
|
-
"url": "^0.11.0"
|
|
671
|
+
"@sindresorhus/is": "^4.0.1",
|
|
672
|
+
"callsites": "^3.1.0",
|
|
673
|
+
"dot-prop": "^6.0.1",
|
|
674
|
+
"lodash.isequal": "^4.5.0",
|
|
675
|
+
"type-fest": "^1.2.1",
|
|
676
|
+
"vali-date": "^1.0.0"
|
|
584
677
|
}
|
|
678
|
+
},
|
|
679
|
+
"type-fest": {
|
|
680
|
+
"version": "1.4.0",
|
|
681
|
+
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz",
|
|
682
|
+
"integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA=="
|
|
585
683
|
}
|
|
586
684
|
}
|
|
587
685
|
},
|
|
@@ -735,6 +833,14 @@
|
|
|
735
833
|
"lodash": "^4.17.14"
|
|
736
834
|
}
|
|
737
835
|
},
|
|
836
|
+
"async-retry": {
|
|
837
|
+
"version": "1.3.3",
|
|
838
|
+
"resolved": "https://registry.npmjs.org/async-retry/-/async-retry-1.3.3.tgz",
|
|
839
|
+
"integrity": "sha512-wfr/jstw9xNi/0teMHrRW7dsz3Lt5ARhYNZ2ewpadnhaIp5mbALhOAP+EAdsC7t4Z6wqsDVv9+W6gm1Dk9mEyw==",
|
|
840
|
+
"requires": {
|
|
841
|
+
"retry": "0.13.1"
|
|
842
|
+
}
|
|
843
|
+
},
|
|
738
844
|
"asynckit": {
|
|
739
845
|
"version": "0.4.0",
|
|
740
846
|
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
|
|
@@ -842,11 +948,6 @@
|
|
|
842
948
|
}
|
|
843
949
|
}
|
|
844
950
|
},
|
|
845
|
-
"bluebird": {
|
|
846
|
-
"version": "3.7.2",
|
|
847
|
-
"resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz",
|
|
848
|
-
"integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg=="
|
|
849
|
-
},
|
|
850
951
|
"brace-expansion": {
|
|
851
952
|
"version": "1.1.11",
|
|
852
953
|
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
|
|
@@ -942,6 +1043,11 @@
|
|
|
942
1043
|
"get-intrinsic": "^1.0.2"
|
|
943
1044
|
}
|
|
944
1045
|
},
|
|
1046
|
+
"callsites": {
|
|
1047
|
+
"version": "3.1.0",
|
|
1048
|
+
"resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
|
|
1049
|
+
"integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ=="
|
|
1050
|
+
},
|
|
945
1051
|
"cardinal": {
|
|
946
1052
|
"version": "2.1.1",
|
|
947
1053
|
"resolved": "https://registry.npmjs.org/cardinal/-/cardinal-2.1.1.tgz",
|
|
@@ -1312,6 +1418,14 @@
|
|
|
1312
1418
|
"dns-packet": "^5.2.4"
|
|
1313
1419
|
}
|
|
1314
1420
|
},
|
|
1421
|
+
"dot-prop": {
|
|
1422
|
+
"version": "6.0.1",
|
|
1423
|
+
"resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-6.0.1.tgz",
|
|
1424
|
+
"integrity": "sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA==",
|
|
1425
|
+
"requires": {
|
|
1426
|
+
"is-obj": "^2.0.0"
|
|
1427
|
+
}
|
|
1428
|
+
},
|
|
1315
1429
|
"duplexer2": {
|
|
1316
1430
|
"version": "0.1.4",
|
|
1317
1431
|
"resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz",
|
|
@@ -1443,27 +1557,15 @@
|
|
|
1443
1557
|
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
|
|
1444
1558
|
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
|
|
1445
1559
|
},
|
|
1446
|
-
"fast-glob": {
|
|
1447
|
-
"version": "3.2.11",
|
|
1448
|
-
"resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.11.tgz",
|
|
1449
|
-
"integrity": "sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==",
|
|
1450
|
-
"requires": {
|
|
1451
|
-
"@nodelib/fs.stat": "^2.0.2",
|
|
1452
|
-
"@nodelib/fs.walk": "^1.2.3",
|
|
1453
|
-
"glob-parent": "^5.1.2",
|
|
1454
|
-
"merge2": "^1.3.0",
|
|
1455
|
-
"micromatch": "^4.0.4"
|
|
1456
|
-
}
|
|
1457
|
-
},
|
|
1458
1560
|
"fast-json-stable-stringify": {
|
|
1459
1561
|
"version": "2.1.0",
|
|
1460
1562
|
"resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
|
|
1461
1563
|
"integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="
|
|
1462
1564
|
},
|
|
1463
1565
|
"fastq": {
|
|
1464
|
-
"version": "1.
|
|
1465
|
-
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.
|
|
1466
|
-
"integrity": "sha512-
|
|
1566
|
+
"version": "1.11.0",
|
|
1567
|
+
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.11.0.tgz",
|
|
1568
|
+
"integrity": "sha512-7Eczs8gIPDrVzT+EksYBcupqMyxSHXXrHOLRRxU2/DicV8789MRBRR8+Hc2uWzUupOs4YS4JzBmBxjjCVBxD/g==",
|
|
1467
1569
|
"requires": {
|
|
1468
1570
|
"reusify": "^1.0.4"
|
|
1469
1571
|
}
|
|
@@ -1639,14 +1741,6 @@
|
|
|
1639
1741
|
"path-is-absolute": "^1.0.0"
|
|
1640
1742
|
}
|
|
1641
1743
|
},
|
|
1642
|
-
"glob-parent": {
|
|
1643
|
-
"version": "5.1.2",
|
|
1644
|
-
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
|
|
1645
|
-
"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
|
|
1646
|
-
"requires": {
|
|
1647
|
-
"is-glob": "^4.0.1"
|
|
1648
|
-
}
|
|
1649
|
-
},
|
|
1650
1744
|
"globby": {
|
|
1651
1745
|
"version": "11.1.0",
|
|
1652
1746
|
"resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz",
|
|
@@ -1658,6 +1752,47 @@
|
|
|
1658
1752
|
"ignore": "^5.2.0",
|
|
1659
1753
|
"merge2": "^1.4.1",
|
|
1660
1754
|
"slash": "^3.0.0"
|
|
1755
|
+
},
|
|
1756
|
+
"dependencies": {
|
|
1757
|
+
"fast-glob": {
|
|
1758
|
+
"version": "3.2.11",
|
|
1759
|
+
"resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.11.tgz",
|
|
1760
|
+
"integrity": "sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==",
|
|
1761
|
+
"requires": {
|
|
1762
|
+
"@nodelib/fs.stat": "^2.0.2",
|
|
1763
|
+
"@nodelib/fs.walk": "^1.2.3",
|
|
1764
|
+
"glob-parent": "^5.1.2",
|
|
1765
|
+
"merge2": "^1.3.0",
|
|
1766
|
+
"micromatch": "^4.0.4"
|
|
1767
|
+
}
|
|
1768
|
+
},
|
|
1769
|
+
"glob-parent": {
|
|
1770
|
+
"version": "5.1.2",
|
|
1771
|
+
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
|
|
1772
|
+
"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
|
|
1773
|
+
"requires": {
|
|
1774
|
+
"is-glob": "^4.0.1"
|
|
1775
|
+
}
|
|
1776
|
+
},
|
|
1777
|
+
"ignore": {
|
|
1778
|
+
"version": "5.2.0",
|
|
1779
|
+
"resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz",
|
|
1780
|
+
"integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ=="
|
|
1781
|
+
},
|
|
1782
|
+
"micromatch": {
|
|
1783
|
+
"version": "4.0.4",
|
|
1784
|
+
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz",
|
|
1785
|
+
"integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==",
|
|
1786
|
+
"requires": {
|
|
1787
|
+
"braces": "^3.0.1",
|
|
1788
|
+
"picomatch": "^2.2.3"
|
|
1789
|
+
}
|
|
1790
|
+
},
|
|
1791
|
+
"picomatch": {
|
|
1792
|
+
"version": "2.3.1",
|
|
1793
|
+
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
|
|
1794
|
+
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="
|
|
1795
|
+
}
|
|
1661
1796
|
}
|
|
1662
1797
|
},
|
|
1663
1798
|
"got": {
|
|
@@ -1707,11 +1842,6 @@
|
|
|
1707
1842
|
"json-schema-traverse": "^0.4.1",
|
|
1708
1843
|
"uri-js": "^4.2.2"
|
|
1709
1844
|
}
|
|
1710
|
-
},
|
|
1711
|
-
"json-schema-traverse": {
|
|
1712
|
-
"version": "0.4.1",
|
|
1713
|
-
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
|
|
1714
|
-
"integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg=="
|
|
1715
1845
|
}
|
|
1716
1846
|
}
|
|
1717
1847
|
},
|
|
@@ -1812,11 +1942,6 @@
|
|
|
1812
1942
|
"resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
|
|
1813
1943
|
"integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA=="
|
|
1814
1944
|
},
|
|
1815
|
-
"ignore": {
|
|
1816
|
-
"version": "5.2.0",
|
|
1817
|
-
"resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz",
|
|
1818
|
-
"integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ=="
|
|
1819
|
-
},
|
|
1820
1945
|
"imurmurhash": {
|
|
1821
1946
|
"version": "0.1.4",
|
|
1822
1947
|
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
|
|
@@ -1892,9 +2017,9 @@
|
|
|
1892
2017
|
"integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg=="
|
|
1893
2018
|
},
|
|
1894
2019
|
"is-glob": {
|
|
1895
|
-
"version": "4.0.
|
|
1896
|
-
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.
|
|
1897
|
-
"integrity": "sha512-
|
|
2020
|
+
"version": "4.0.1",
|
|
2021
|
+
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz",
|
|
2022
|
+
"integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==",
|
|
1898
2023
|
"requires": {
|
|
1899
2024
|
"is-extglob": "^2.1.1"
|
|
1900
2025
|
}
|
|
@@ -1912,6 +2037,11 @@
|
|
|
1912
2037
|
"resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
|
|
1913
2038
|
"integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="
|
|
1914
2039
|
},
|
|
2040
|
+
"is-obj": {
|
|
2041
|
+
"version": "2.0.0",
|
|
2042
|
+
"resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz",
|
|
2043
|
+
"integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w=="
|
|
2044
|
+
},
|
|
1915
2045
|
"is-online": {
|
|
1916
2046
|
"version": "9.0.1",
|
|
1917
2047
|
"resolved": "https://registry.npmjs.org/is-online/-/is-online-9.0.1.tgz",
|
|
@@ -2017,9 +2147,9 @@
|
|
|
2017
2147
|
"integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM="
|
|
2018
2148
|
},
|
|
2019
2149
|
"json-schema-traverse": {
|
|
2020
|
-
"version": "
|
|
2021
|
-
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-
|
|
2022
|
-
"integrity": "sha512-
|
|
2150
|
+
"version": "0.4.1",
|
|
2151
|
+
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
|
|
2152
|
+
"integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg=="
|
|
2023
2153
|
},
|
|
2024
2154
|
"json-stringify-safe": {
|
|
2025
2155
|
"version": "5.0.1",
|
|
@@ -2123,6 +2253,11 @@
|
|
|
2123
2253
|
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
|
|
2124
2254
|
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
|
|
2125
2255
|
},
|
|
2256
|
+
"lodash.isequal": {
|
|
2257
|
+
"version": "4.5.0",
|
|
2258
|
+
"resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz",
|
|
2259
|
+
"integrity": "sha1-QVxEePK8wwEgwizhDtMib30+GOA="
|
|
2260
|
+
},
|
|
2126
2261
|
"lowercase-keys": {
|
|
2127
2262
|
"version": "2.0.0",
|
|
2128
2263
|
"resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz",
|
|
@@ -2176,15 +2311,6 @@
|
|
|
2176
2311
|
"resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
|
|
2177
2312
|
"integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg=="
|
|
2178
2313
|
},
|
|
2179
|
-
"micromatch": {
|
|
2180
|
-
"version": "4.0.4",
|
|
2181
|
-
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz",
|
|
2182
|
-
"integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==",
|
|
2183
|
-
"requires": {
|
|
2184
|
-
"braces": "^3.0.1",
|
|
2185
|
-
"picomatch": "^2.2.3"
|
|
2186
|
-
}
|
|
2187
|
-
},
|
|
2188
2314
|
"mime": {
|
|
2189
2315
|
"version": "2.6.0",
|
|
2190
2316
|
"resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz",
|
|
@@ -2418,16 +2544,6 @@
|
|
|
2418
2544
|
"resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
|
|
2419
2545
|
"integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="
|
|
2420
2546
|
},
|
|
2421
|
-
"picomatch": {
|
|
2422
|
-
"version": "2.3.1",
|
|
2423
|
-
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
|
|
2424
|
-
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="
|
|
2425
|
-
},
|
|
2426
|
-
"prelude-ls": {
|
|
2427
|
-
"version": "1.1.2",
|
|
2428
|
-
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz",
|
|
2429
|
-
"integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ="
|
|
2430
|
-
},
|
|
2431
2547
|
"prepend-http": {
|
|
2432
2548
|
"version": "2.0.0",
|
|
2433
2549
|
"resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz",
|
|
@@ -2626,9 +2742,9 @@
|
|
|
2626
2742
|
"integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA="
|
|
2627
2743
|
},
|
|
2628
2744
|
"queue-microtask": {
|
|
2629
|
-
"version": "1.2.
|
|
2630
|
-
"resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.
|
|
2631
|
-
"integrity": "sha512-
|
|
2745
|
+
"version": "1.2.2",
|
|
2746
|
+
"resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.2.tgz",
|
|
2747
|
+
"integrity": "sha512-dB15eXv3p2jDlbOiNLyMabYg1/sXvppd8DP2J3EOCQ0AkuSXCW2tP7mnVouVLJKgUMY6yP0kcQDVpLCN13h4Xg=="
|
|
2632
2748
|
},
|
|
2633
2749
|
"quick-lru": {
|
|
2634
2750
|
"version": "5.1.1",
|
|
@@ -2692,24 +2808,6 @@
|
|
|
2692
2808
|
}
|
|
2693
2809
|
}
|
|
2694
2810
|
},
|
|
2695
|
-
"request-promise-core": {
|
|
2696
|
-
"version": "1.1.4",
|
|
2697
|
-
"resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.4.tgz",
|
|
2698
|
-
"integrity": "sha512-TTbAfBBRdWD7aNNOoVOBH4pN/KigV6LyapYNNlAPA8JwbovRti1E88m3sYAwsLi5ryhPKsE9APwnjFTgdUjTpw==",
|
|
2699
|
-
"requires": {
|
|
2700
|
-
"lodash": "^4.17.19"
|
|
2701
|
-
}
|
|
2702
|
-
},
|
|
2703
|
-
"request-promise-native": {
|
|
2704
|
-
"version": "1.0.9",
|
|
2705
|
-
"resolved": "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.9.tgz",
|
|
2706
|
-
"integrity": "sha512-wcW+sIUiWnKgNY0dqCpOZkUbF/I+YPi+f09JZIDa39Ec+q82CpSYniDp+ISgTTbKmnpJWASeJBPZmoxH84wt3g==",
|
|
2707
|
-
"requires": {
|
|
2708
|
-
"request-promise-core": "1.1.4",
|
|
2709
|
-
"stealthy-require": "^1.1.1",
|
|
2710
|
-
"tough-cookie": "^2.3.3"
|
|
2711
|
-
}
|
|
2712
|
-
},
|
|
2713
2811
|
"require-from-string": {
|
|
2714
2812
|
"version": "2.0.2",
|
|
2715
2813
|
"resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz",
|
|
@@ -2737,6 +2835,11 @@
|
|
|
2737
2835
|
"signal-exit": "^3.0.2"
|
|
2738
2836
|
}
|
|
2739
2837
|
},
|
|
2838
|
+
"retry": {
|
|
2839
|
+
"version": "0.13.1",
|
|
2840
|
+
"resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz",
|
|
2841
|
+
"integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg=="
|
|
2842
|
+
},
|
|
2740
2843
|
"reusify": {
|
|
2741
2844
|
"version": "1.0.4",
|
|
2742
2845
|
"resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",
|
|
@@ -2852,11 +2955,6 @@
|
|
|
2852
2955
|
"resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
|
|
2853
2956
|
"integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q=="
|
|
2854
2957
|
},
|
|
2855
|
-
"slugg": {
|
|
2856
|
-
"version": "1.2.1",
|
|
2857
|
-
"resolved": "https://registry.npmjs.org/slugg/-/slugg-1.2.1.tgz",
|
|
2858
|
-
"integrity": "sha1-51KvIkGvPycURjxd4iXOpHYIdAo="
|
|
2859
|
-
},
|
|
2860
2958
|
"sort-keys": {
|
|
2861
2959
|
"version": "4.2.0",
|
|
2862
2960
|
"resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-4.2.0.tgz",
|
|
@@ -2891,11 +2989,6 @@
|
|
|
2891
2989
|
"tweetnacl": "~0.14.0"
|
|
2892
2990
|
}
|
|
2893
2991
|
},
|
|
2894
|
-
"stealthy-require": {
|
|
2895
|
-
"version": "1.1.1",
|
|
2896
|
-
"resolved": "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz",
|
|
2897
|
-
"integrity": "sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks="
|
|
2898
|
-
},
|
|
2899
2992
|
"strict-uri-encode": {
|
|
2900
2993
|
"version": "2.0.0",
|
|
2901
2994
|
"resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz",
|
|
@@ -3046,14 +3139,6 @@
|
|
|
3046
3139
|
"resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
|
|
3047
3140
|
"integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q="
|
|
3048
3141
|
},
|
|
3049
|
-
"type-check": {
|
|
3050
|
-
"version": "0.3.2",
|
|
3051
|
-
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz",
|
|
3052
|
-
"integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=",
|
|
3053
|
-
"requires": {
|
|
3054
|
-
"prelude-ls": "~1.1.2"
|
|
3055
|
-
}
|
|
3056
|
-
},
|
|
3057
3142
|
"type-fest": {
|
|
3058
3143
|
"version": "0.11.0",
|
|
3059
3144
|
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.11.0.tgz",
|
|
@@ -3170,6 +3255,11 @@
|
|
|
3170
3255
|
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
|
|
3171
3256
|
"integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A=="
|
|
3172
3257
|
},
|
|
3258
|
+
"vali-date": {
|
|
3259
|
+
"version": "1.0.0",
|
|
3260
|
+
"resolved": "https://registry.npmjs.org/vali-date/-/vali-date-1.0.0.tgz",
|
|
3261
|
+
"integrity": "sha1-G5BKWWCfsyjvB4E4Qgk09rhnCaY="
|
|
3262
|
+
},
|
|
3173
3263
|
"verror": {
|
|
3174
3264
|
"version": "1.10.0",
|
|
3175
3265
|
"resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz",
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.
|
|
1
|
+
{"version":"0.7.0","commands":{"call":{"id":"call","description":"Runs a specific actor remotely on the Apify cloud platform.\nThe actor is run under your current Apify account, therefore you need to be logged in by calling \"apify login\". It takes input for the actor from the default local key-value store by default.","pluginName":"apify-cli","pluginType":"core","aliases":[],"flags":{"build":{"name":"build","type":"option","char":"b","description":"Tag or number of the build to run (e.g. \"latest\" or \"1.2.34\").","required":false},"timeout":{"name":"timeout","type":"option","char":"t","description":"Timeout for the actor run in seconds. Zero value means there is no timeout.","required":false},"memory":{"name":"memory","type":"option","char":"m","description":"Amount of memory allocated for the actor run, in megabytes.","required":false},"wait-for-finish":{"name":"wait-for-finish","type":"option","char":"w","description":"Seconds for waiting to run to finish, if no value passed, it waits forever.","required":false}},"args":[{"name":"actId","description":"Name or ID of the actor to run (e.g. \"apify/hello-world\" or \"E2jjCZBezvAZnX8Rb\"). If not provided, the command runs the remote actor specified in the \"apify.json\" file.","required":false}]},"create":{"id":"create","description":"Creates a new actor project directory from a selected boilerplate template.","pluginName":"apify-cli","pluginType":"core","aliases":[],"flags":{"template":{"name":"template","type":"option","char":"t","description":"Template for the actor. If not provided, the command will prompt for it.Visit https://github.com/apifytech/actor-templates/raw/master/templates/manifest.json to find available template names.","required":false}},"args":[{"name":"actorName","description":"Name of the actor and its directory","required":false}]},"info":{"id":"info","description":"Displays information about the currently active Apify account.\nThe information is printed to the console.","pluginName":"apify-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"init":{"id":"init","description":"Initializes a new actor project in an existing directory.\nThe command only creates the \"apify.json\" file and the \"apify_storage\" directory in the current directory, but will not touch anything else.\n\nWARNING: The directory at \"apify_storage\" will be overwritten if it already exists.","pluginName":"apify-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"actorName","description":"Name of the actor. If not provided, you will be prompted for it.","required":false}]},"login":{"id":"login","description":"Logs in to your Apify account using a provided API token.\nThe API token and other account information is stored in the ~/.apify directory, from where it is read by all other \"apify\" commands. To log out, call \"apify logout\".","pluginName":"apify-cli","pluginType":"core","aliases":[],"flags":{"token":{"name":"token","type":"option","char":"t","description":"[Optional] Apify API token","required":false}},"args":[]},"logout":{"id":"logout","description":"Logs out of your Apify account.\nThe command deletes the API token and all other account information stored in the ~/.apify directory. To log in again, call \"apify login\".","pluginName":"apify-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"push":{"id":"push","description":"Uploads the actor to the Apify platform and builds it there.\nThe actor settings are read from the \"apify.json\" file in the current directory, but they can be overridden using command-line options.\nNOTE: If the source files are smaller than 3 MB then they are uploaded as \n\"Multiple source files\", otherwise they are uploaded as \"Zip file\".\n\nWARNING: If the target actor already exists in your Apify account, it will be overwritten!","pluginName":"apify-cli","pluginType":"core","aliases":[],"flags":{"version-number":{"name":"version-number","type":"option","description":"DEPRECATED: Use flag version instead. Actor version number to which the files should be pushed. By default, it is taken from the \"apify.json\" file.","required":false},"version":{"name":"version","type":"option","char":"v","description":"Actor version number to which the files should be pushed. By default, it is taken from the \"apify.json\" file.","required":false},"build-tag":{"name":"build-tag","type":"option","char":"b","description":"Build tag to be applied to the successful actor build. By default, it is taken from the \"apify.json\" file","required":false},"wait-for-finish":{"name":"wait-for-finish","type":"option","char":"w","description":"Seconds for waiting to build to finish, if no value passed, it waits forever.","required":false}},"args":[{"name":"actorId","description":"ID of an existing actor on the Apify platform where the files will be pushed. If not provided, the command will create or modify the actor with the name specified in \"apify.json\" file.","required":false}]},"run":{"id":"run","description":"Runs the actor locally in the current directory by executing \"npm start\".\nIt sets various APIFY_XYZ environment variables in order to provide a working execution environment for the actor. For example, this causes the actor input, as well as all other data in key-value stores, datasets or request queues to be stored in the \"apify_storage\" directory, rather than on the Apify platform.\n\nNOTE: You can override the default behaviour of command overriding npm start script value in a package.json file. You can set up your own main file or environment variables by changing it.","pluginName":"apify-cli","pluginType":"core","aliases":[],"flags":{"purge":{"name":"purge","type":"boolean","char":"p","description":"Shortcut that combines the --purge-queue, --purge-dataset and --purge-key-value-store options.","required":false,"allowNo":false},"purge-queue":{"name":"purge-queue","type":"boolean","description":"Deletes the local directory containing the default request queue before the run starts.","required":false,"allowNo":false},"purge-dataset":{"name":"purge-dataset","type":"boolean","description":"Deletes the local directory containing the default dataset before the run starts.","required":false,"allowNo":false},"purge-key-value-store":{"name":"purge-key-value-store","type":"boolean","description":"Deletes all records from the default key-value store in the local directory before the run starts, except for the \"INPUT\" key.","required":false,"allowNo":false}},"args":[]},"vis":{"id":"vis","description":"Validates INPUT_SCHEMA.json file and prints errors found.","pluginName":"apify-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"path","description":"Optional path to your INPUT_SCHEMA.json file. If not provided ./INPUT_SCHEMA.json is used.","required":false}]},"secrets:add":{"id":"secrets:add","description":"Adds a new secret value.\nThe secrets are stored to a file at ~/.apify","pluginName":"apify-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"name","description":"Name of the secret","required":true},{"name":"value","description":"Value of the secret","required":true}]},"secrets":{"id":"secrets","description":"Manages secret values for actor environment variables.\n\nExample:\n$ apify secrets:add mySecret TopSecretValue123\n\nNow the \"mySecret\" value can be used in an environment variable defined in \"apify.json\" file by adding the \"@\" prefix:\n\n{\n \"name\": \"my_actor\",\n \"env\": { \"SECRET_ENV_VAR\": \"@mySecret\" },\n \"version\": \"0.1\n}\n\nWhen the actor is pushed to Apify cloud, the \"SECRET_ENV_VAR\" and its value is stored as a secret environment variable of the actor.","pluginName":"apify-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"secrets:rm":{"id":"secrets:rm","description":"Removes the secret.","pluginName":"apify-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"name","description":"Name of the secret","required":true}]}}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apify-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0-beta.0",
|
|
4
4
|
"description": "Apify command-line interface helps you create, develop, build and run Apify actors, and manage the Apify cloud platform.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@oclif/plugin-commands": "^2.1.0",
|
|
62
62
|
"@oclif/plugin-help": "^5.1.12",
|
|
63
63
|
"ajv": "^8.10.0",
|
|
64
|
-
"apify-client": "^
|
|
64
|
+
"apify-client": "^2.2.0",
|
|
65
65
|
"archiver-promise": "^1.0.0",
|
|
66
66
|
"chalk": "^4.1.2",
|
|
67
67
|
"child-process-promise": "^2.2.1",
|
package/src/commands/call.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
const { flags: flagsHelper } = require('@oclif/command');
|
|
2
2
|
const { ACT_JOB_STATUSES } = require('@apify/consts');
|
|
3
|
+
const mime = require('mime');
|
|
3
4
|
const { ApifyCommand } = require('../lib/apify_command');
|
|
4
5
|
const { getLocalConfig, getLoggedClientOrThrow,
|
|
5
6
|
getLocalUserInfo, getLocalInput, outputJobLog } = require('../lib/utils');
|
|
@@ -21,12 +22,12 @@ class CallCommand extends ApifyCommand {
|
|
|
21
22
|
const forceActorId = args.actId;
|
|
22
23
|
let actorId;
|
|
23
24
|
if (forceActorId) {
|
|
24
|
-
const actor = await apifyClient.
|
|
25
|
+
const actor = await apifyClient.actor(forceActorId).get();
|
|
25
26
|
if (!actor) throw new Error(`Cannot find actor with ID '${forceActorId}' in your account.`);
|
|
26
27
|
actorId = actor.username ? `${actor.username}/${actor.name}` : actor.id;
|
|
27
28
|
} else {
|
|
28
29
|
actorId = `${usernameOrId}/${localConfig.name}`;
|
|
29
|
-
const actor = await apifyClient.
|
|
30
|
+
const actor = await apifyClient.actor(actorId).get();
|
|
30
31
|
if (!actor) {
|
|
31
32
|
throw new Error(`Cannot find actor with ID '${actorId}' `
|
|
32
33
|
+ 'in your account. Call "apify push" to push this actor to Apify platform.');
|
|
@@ -34,7 +35,6 @@ class CallCommand extends ApifyCommand {
|
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
const runOpts = {
|
|
37
|
-
actId: actorId,
|
|
38
38
|
waitForFinish: 2, // NOTE: We need to wait some time to Apify open stream and we can create connection
|
|
39
39
|
};
|
|
40
40
|
const waitForFinishMillis = Number.isNaN(flags.waitForFinish)
|
|
@@ -47,13 +47,20 @@ class CallCommand extends ApifyCommand {
|
|
|
47
47
|
|
|
48
48
|
// Get input for act
|
|
49
49
|
const localInput = getLocalInput();
|
|
50
|
-
if (localInput) Object.assign(runOpts, localInput);
|
|
51
50
|
|
|
52
|
-
outputs.run(`Calling actor ${
|
|
51
|
+
outputs.run(`Calling actor ${actorId}`);
|
|
53
52
|
|
|
54
53
|
let run;
|
|
55
54
|
try {
|
|
56
|
-
|
|
55
|
+
if (localInput) {
|
|
56
|
+
// TODO: For some reason we cannot pass json as buffer with right contentType into apify-client.
|
|
57
|
+
// It will save malformed JSON which looks like buffer as INPUT.
|
|
58
|
+
// We need to fix this in v1 during removing call under actor namespace.
|
|
59
|
+
const input = mime.getExtension(localInput.contentType) === 'json' ? JSON.parse(localInput.body.toString('utf-8')) : localInput.body;
|
|
60
|
+
run = await apifyClient.actor(actorId).start(input, { ...runOpts, contentType: localInput.contentType });
|
|
61
|
+
} else {
|
|
62
|
+
run = await apifyClient.actor(actorId).start(null, runOpts);
|
|
63
|
+
}
|
|
57
64
|
} catch (err) {
|
|
58
65
|
// TODO: Better error message in apify-client-js
|
|
59
66
|
if (err.type === 'record-not-found') throw new Error(`Actor ${runOpts.actId} not found!`);
|
|
@@ -67,7 +74,7 @@ class CallCommand extends ApifyCommand {
|
|
|
67
74
|
console.error(err);
|
|
68
75
|
}
|
|
69
76
|
|
|
70
|
-
run = await apifyClient.
|
|
77
|
+
run = await apifyClient.run(run.id).get();
|
|
71
78
|
console.dir(run);
|
|
72
79
|
|
|
73
80
|
outputs.link('Actor run detail', `https://console.apify.com/actors/${run.actId}#/runs/${run.id}`);
|
package/src/commands/push.js
CHANGED
|
@@ -33,12 +33,12 @@ class PushCommand extends ApifyCommand {
|
|
|
33
33
|
// It causes that we push actor to this id but attributes in localConfig will remain same.
|
|
34
34
|
const forceActorId = args.actorId;
|
|
35
35
|
if (forceActorId) {
|
|
36
|
-
actor = await apifyClient.
|
|
36
|
+
actor = await apifyClient.actor(forceActorId).get();
|
|
37
37
|
if (!actor) throw new Error(`Cannot find actor with ID '${forceActorId}' in your account.`);
|
|
38
38
|
actorId = actor.id;
|
|
39
39
|
} else {
|
|
40
40
|
const usernameOrId = userInfo.username || userInfo.id;
|
|
41
|
-
actor = await apifyClient.
|
|
41
|
+
actor = await apifyClient.actor(`${usernameOrId}/${localConfig.name}`).get();
|
|
42
42
|
if (actor) {
|
|
43
43
|
actorId = actor.id;
|
|
44
44
|
} else {
|
|
@@ -55,7 +55,7 @@ class PushCommand extends ApifyCommand {
|
|
|
55
55
|
tarballUrl: actorTemplate.archiveUrl,
|
|
56
56
|
}],
|
|
57
57
|
};
|
|
58
|
-
actor = await apifyClient.
|
|
58
|
+
actor = await apifyClient.actors().create(newActor);
|
|
59
59
|
actorId = actor.id;
|
|
60
60
|
outputs.info(`Created actor with name ${localConfig.name} on Apify.`);
|
|
61
61
|
console.dir(actor);
|
|
@@ -66,6 +66,7 @@ class PushCommand extends ApifyCommand {
|
|
|
66
66
|
|
|
67
67
|
const filePathsToPush = await getActorLocalFilePaths();
|
|
68
68
|
const filesSize = await sumFilesSizeInBytes(filePathsToPush);
|
|
69
|
+
const actorClient = apifyClient.actor(actorId);
|
|
69
70
|
|
|
70
71
|
let sourceType;
|
|
71
72
|
let sourceFiles;
|
|
@@ -79,13 +80,12 @@ class PushCommand extends ApifyCommand {
|
|
|
79
80
|
await createActZip(TEMP_ZIP_FILE_NAME, filePathsToPush);
|
|
80
81
|
|
|
81
82
|
// Upload it to Apify.keyValueStores
|
|
82
|
-
const store = await apifyClient.keyValueStores.
|
|
83
|
+
const store = await apifyClient.keyValueStores().getOrCreate(UPLOADS_STORE_NAME);
|
|
83
84
|
const key = `${actor.name}-${version}.zip`;
|
|
84
85
|
const buffer = fs.readFileSync(TEMP_ZIP_FILE_NAME);
|
|
85
|
-
await apifyClient.
|
|
86
|
-
storeId: store.id,
|
|
86
|
+
await apifyClient.keyValueStore(store.id).setRecord({
|
|
87
87
|
key,
|
|
88
|
-
|
|
88
|
+
value: buffer,
|
|
89
89
|
contentType: 'application/zip',
|
|
90
90
|
});
|
|
91
91
|
fs.unlinkSync(TEMP_ZIP_FILE_NAME);
|
|
@@ -94,15 +94,11 @@ class PushCommand extends ApifyCommand {
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
// Update actor version
|
|
97
|
-
const actorCurrentVersion = await
|
|
97
|
+
const actorCurrentVersion = await actorClient.version(version).get();
|
|
98
98
|
if (actorCurrentVersion) {
|
|
99
99
|
const actorVersionModifier = { tarballUrl, sourceFiles, buildTag, sourceType };
|
|
100
100
|
if (localConfig.env) actorVersionModifier.envVars = transformEnvToEnvVars(localConfig.env);
|
|
101
|
-
await
|
|
102
|
-
actId: actorId,
|
|
103
|
-
versionNumber: version,
|
|
104
|
-
actVersion: actorVersionModifier,
|
|
105
|
-
});
|
|
101
|
+
await actorClient.version(version).update(actorVersionModifier);
|
|
106
102
|
outputs.run(`Updated version ${version} for ${actor.name} actor.`);
|
|
107
103
|
} else {
|
|
108
104
|
const actorNewVersion = {
|
|
@@ -113,19 +109,16 @@ class PushCommand extends ApifyCommand {
|
|
|
113
109
|
sourceType,
|
|
114
110
|
};
|
|
115
111
|
if (localConfig.env) actorNewVersion.envVars = transformEnvToEnvVars(localConfig.env);
|
|
116
|
-
await
|
|
117
|
-
actId: actorId,
|
|
112
|
+
await actorClient.versions().create({
|
|
118
113
|
versionNumber: version,
|
|
119
|
-
|
|
114
|
+
...actorNewVersion,
|
|
120
115
|
});
|
|
121
116
|
outputs.run(`Created version ${version} for ${actor.name} actor.`);
|
|
122
117
|
}
|
|
123
118
|
|
|
124
119
|
// Build actor on Apify and wait for build to finish
|
|
125
120
|
outputs.run(`Building actor ${actor.name}`);
|
|
126
|
-
let build = await
|
|
127
|
-
actId: actorId,
|
|
128
|
-
version,
|
|
121
|
+
let build = await actorClient.build(version, {
|
|
129
122
|
useCache: true,
|
|
130
123
|
waitForFinish: 2, // NOTE: We need to wait some time to Apify open stream and we can create connection
|
|
131
124
|
});
|
|
@@ -137,7 +130,7 @@ class PushCommand extends ApifyCommand {
|
|
|
137
130
|
console.error(err);
|
|
138
131
|
}
|
|
139
132
|
|
|
140
|
-
build = await apifyClient.
|
|
133
|
+
build = await apifyClient.build(build.id).get();
|
|
141
134
|
console.dir(build);
|
|
142
135
|
|
|
143
136
|
outputs.link('Actor build detail', `https://console.apify.com/actors/${build.actId}#/builds/${build.buildNumber}`);
|
package/src/lib/utils.js
CHANGED
|
@@ -10,7 +10,7 @@ const inquirer = require('inquirer');
|
|
|
10
10
|
const { LOCAL_STORAGE_SUBDIRS, ENV_VARS, LOCAL_ENV_VARS,
|
|
11
11
|
KEY_VALUE_STORE_KEYS, ACT_JOB_TERMINAL_STATUSES, SOURCE_FILE_FORMATS, ACTOR_NAME } = require('@apify/consts');
|
|
12
12
|
const https = require('https');
|
|
13
|
-
const ApifyClient = require('apify-client');
|
|
13
|
+
const { ApifyClient } = require('apify-client');
|
|
14
14
|
const { execSync, spawnSync } = require('child_process');
|
|
15
15
|
const semver = require('semver');
|
|
16
16
|
const isOnline = require('is-online');
|
|
@@ -73,15 +73,14 @@ const getLoggedClientOrThrow = async () => {
|
|
|
73
73
|
* @return {Promise<*>}
|
|
74
74
|
*/
|
|
75
75
|
const getLoggedClient = async (token) => {
|
|
76
|
-
let userInfo;
|
|
77
|
-
const apifyClient = new ApifyClient();
|
|
78
|
-
|
|
79
76
|
if (!token && fs.existsSync(GLOBAL_CONFIGS_FOLDER) && fs.existsSync(AUTH_FILE_PATH)) {
|
|
80
77
|
({ token } = loadJson.sync(AUTH_FILE_PATH));
|
|
81
78
|
}
|
|
82
79
|
|
|
80
|
+
const apifyClient = new ApifyClient({ token });
|
|
81
|
+
let userInfo;
|
|
83
82
|
try {
|
|
84
|
-
userInfo = await apifyClient.
|
|
83
|
+
userInfo = await apifyClient.user('me').get();
|
|
85
84
|
} catch (e) {
|
|
86
85
|
return false;
|
|
87
86
|
}
|
|
@@ -89,7 +88,6 @@ const getLoggedClient = async (token) => {
|
|
|
89
88
|
// Always refresh Auth file
|
|
90
89
|
if (!fs.existsSync(GLOBAL_CONFIGS_FOLDER)) fs.mkdirSync(GLOBAL_CONFIGS_FOLDER);
|
|
91
90
|
writeJson.sync(AUTH_FILE_PATH, { token, ...userInfo });
|
|
92
|
-
apifyClient.setOptions({ token, userId: userInfo.id });
|
|
93
91
|
return apifyClient;
|
|
94
92
|
};
|
|
95
93
|
|
|
@@ -305,12 +303,13 @@ const outputJobLog = async (job, jobStatus, timeout) => {
|
|
|
305
303
|
const { id: logId, status } = job;
|
|
306
304
|
// In case job was already done just output log
|
|
307
305
|
if (ACT_JOB_TERMINAL_STATUSES.includes(status)) {
|
|
308
|
-
const
|
|
309
|
-
const log = await
|
|
306
|
+
const apifyClient = new ApifyClient();
|
|
307
|
+
const log = await apifyClient.log(logId).get();
|
|
310
308
|
process.stdout.write(log);
|
|
311
309
|
}
|
|
312
310
|
|
|
313
311
|
// In other case stream it to stdout
|
|
312
|
+
// TODO: Use apifyClient.log(logId).stream() instead of http request stream.
|
|
314
313
|
return new Promise((resolve, reject) => {
|
|
315
314
|
const req = https.get(`https://api.apify.com/v2/logs/${logId}?stream=1`);
|
|
316
315
|
let res;
|