@webos-tools/cli 3.0.5 → 3.1.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/lib/shell.js CHANGED
@@ -34,7 +34,7 @@ const async = require('async'),
34
34
  },
35
35
  function(next) {
36
36
  if (options && options.display && !options.sessionCall) {
37
- setImmediate(next, errHndl.getErrMsg("NOT_SUPPORT_SESSION"), {});
37
+ return setImmediate(next, errHndl.getErrMsg("NOT_SUPPORT_SESSION"), {});
38
38
  }
39
39
  next();
40
40
  },
@@ -157,7 +157,7 @@ const async = require('async'),
157
157
  },
158
158
  function(next) {
159
159
  if (options && options.display && !options.sessionCall) {
160
- setImmediate(next, errHndl.getErrMsg("NOT_SUPPORT_SESSION"), {});
160
+ return setImmediate(next, errHndl.getErrMsg("NOT_SUPPORT_SESSION"), {});
161
161
  }
162
162
  next();
163
163
  },
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@webos-tools/cli",
3
- "version": "3.0.4",
3
+ "version": "3.1.0",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@webos-tools/cli",
9
- "version": "3.0.4",
9
+ "version": "3.1.0",
10
+ "hasInstallScript": true,
10
11
  "license": "Apache-2.0",
11
12
  "os": [
12
13
  "darwin",
@@ -15,7 +16,7 @@
15
16
  ],
16
17
  "dependencies": {
17
18
  "ar-async": "0.1.4",
18
- "async": "0.2.10",
19
+ "async": "3.2.5",
19
20
  "bluebird": "3.7.2",
20
21
  "body-parser": "1.19.0",
21
22
  "chalk": "1.1.3",
@@ -42,13 +43,13 @@
42
43
  "request": "2.88.2",
43
44
  "rimraf": "3.0.2",
44
45
  "semver": "7.3.2",
45
- "shelljs": "0.8.4",
46
+ "shelljs": "0.8.5",
46
47
  "sprintf-js": "1.1.2",
47
48
  "ssdp-js": "1.0.1",
48
- "ssh2": "0.8.9",
49
+ "ssh2": "1.15.0",
49
50
  "stream-buffers": "3.0.2",
50
51
  "strip-bom": "1.0.0",
51
- "tar": "2.2.2",
52
+ "tar": "6.2.0",
52
53
  "temp": "0.9.1",
53
54
  "terser": "4.8.0"
54
55
  },
@@ -445,9 +446,9 @@
445
446
  }
446
447
  },
447
448
  "node_modules/async": {
448
- "version": "0.2.10",
449
- "resolved": "https://registry.npmjs.org/async/-/async-0.2.10.tgz",
450
- "integrity": "sha512-eAkdoKxU6/LkKDBzLpT+t6Ff5EtfSF4wx1WfJiPEEV7WNLnDaRXk0oVysiEPm262roaachGexwUv94WhSgN5TQ=="
449
+ "version": "3.2.5",
450
+ "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz",
451
+ "integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg=="
451
452
  },
452
453
  "node_modules/asynckit": {
453
454
  "version": "0.4.0",
@@ -550,22 +551,6 @@
550
551
  "node": ">= 6"
551
552
  }
552
553
  },
553
- "node_modules/block-stream": {
554
- "version": "0.0.9",
555
- "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz",
556
- "integrity": "sha512-OorbnJVPII4DuUKbjARAe8u8EfqOmkEEaSFIyoQ7OjTHn6kafxWl0wLgoZ2rXaYd7MyLcDaU4TmhfxtwgcccMQ==",
557
- "dependencies": {
558
- "inherits": "~2.0.0"
559
- },
560
- "engines": {
561
- "node": "0.4 || >=0.5.8"
562
- }
563
- },
564
- "node_modules/block-stream/node_modules/inherits": {
565
- "version": "2.0.4",
566
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
567
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
568
- },
569
554
  "node_modules/bluebird": {
570
555
  "version": "3.7.2",
571
556
  "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz",
@@ -666,6 +651,15 @@
666
651
  "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",
667
652
  "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ=="
668
653
  },
654
+ "node_modules/buildcheck": {
655
+ "version": "0.0.6",
656
+ "resolved": "https://registry.npmjs.org/buildcheck/-/buildcheck-0.0.6.tgz",
657
+ "integrity": "sha512-8f9ZJCUXyT1M35Jx7MkBgmBMo3oHTTBIPLiY9xyL0pl3T5RwcPEY8cUHr5LBNfu/fk6c2T4DJZuVM/8ZZT2D2A==",
658
+ "optional": true,
659
+ "engines": {
660
+ "node": ">=10.0.0"
661
+ }
662
+ },
669
663
  "node_modules/bytes": {
670
664
  "version": "3.1.0",
671
665
  "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz",
@@ -747,6 +741,14 @@
747
741
  "fsevents": "~2.3.2"
748
742
  }
749
743
  },
744
+ "node_modules/chownr": {
745
+ "version": "2.0.0",
746
+ "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz",
747
+ "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==",
748
+ "engines": {
749
+ "node": ">=10"
750
+ }
751
+ },
750
752
  "node_modules/cli-cursor": {
751
753
  "version": "3.1.0",
752
754
  "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz",
@@ -903,6 +905,20 @@
903
905
  "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz",
904
906
  "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ=="
905
907
  },
908
+ "node_modules/cpu-features": {
909
+ "version": "0.0.10",
910
+ "resolved": "https://registry.npmjs.org/cpu-features/-/cpu-features-0.0.10.tgz",
911
+ "integrity": "sha512-9IkYqtX3YHPCzoVg1Py+o9057a3i0fp7S530UWokCSaFVTc7CwXPRiOjRjBQQ18ZCNafx78YfnG+HALxtVmOGA==",
912
+ "hasInstallScript": true,
913
+ "optional": true,
914
+ "dependencies": {
915
+ "buildcheck": "~0.0.6",
916
+ "nan": "^2.19.0"
917
+ },
918
+ "engines": {
919
+ "node": ">=10.0.0"
920
+ }
921
+ },
906
922
  "node_modules/cross-spawn": {
907
923
  "version": "6.0.5",
908
924
  "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
@@ -2005,6 +2021,28 @@
2005
2021
  "node": ">=6 <7 || >=8"
2006
2022
  }
2007
2023
  },
2024
+ "node_modules/fs-minipass": {
2025
+ "version": "2.1.0",
2026
+ "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz",
2027
+ "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==",
2028
+ "dependencies": {
2029
+ "minipass": "^3.0.0"
2030
+ },
2031
+ "engines": {
2032
+ "node": ">= 8"
2033
+ }
2034
+ },
2035
+ "node_modules/fs-minipass/node_modules/minipass": {
2036
+ "version": "3.3.6",
2037
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
2038
+ "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
2039
+ "dependencies": {
2040
+ "yallist": "^4.0.0"
2041
+ },
2042
+ "engines": {
2043
+ "node": ">=8"
2044
+ }
2045
+ },
2008
2046
  "node_modules/fs.realpath": {
2009
2047
  "version": "1.0.0",
2010
2048
  "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
@@ -3291,6 +3329,37 @@
3291
3329
  "url": "https://github.com/sponsors/ljharb"
3292
3330
  }
3293
3331
  },
3332
+ "node_modules/minipass": {
3333
+ "version": "5.0.0",
3334
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz",
3335
+ "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==",
3336
+ "engines": {
3337
+ "node": ">=8"
3338
+ }
3339
+ },
3340
+ "node_modules/minizlib": {
3341
+ "version": "2.1.2",
3342
+ "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz",
3343
+ "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==",
3344
+ "dependencies": {
3345
+ "minipass": "^3.0.0",
3346
+ "yallist": "^4.0.0"
3347
+ },
3348
+ "engines": {
3349
+ "node": ">= 8"
3350
+ }
3351
+ },
3352
+ "node_modules/minizlib/node_modules/minipass": {
3353
+ "version": "3.3.6",
3354
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
3355
+ "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
3356
+ "dependencies": {
3357
+ "yallist": "^4.0.0"
3358
+ },
3359
+ "engines": {
3360
+ "node": ">=8"
3361
+ }
3362
+ },
3294
3363
  "node_modules/mkdirp": {
3295
3364
  "version": "0.5.5",
3296
3365
  "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",
@@ -3312,6 +3381,12 @@
3312
3381
  "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz",
3313
3382
  "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA=="
3314
3383
  },
3384
+ "node_modules/nan": {
3385
+ "version": "2.20.0",
3386
+ "resolved": "https://registry.npmjs.org/nan/-/nan-2.20.0.tgz",
3387
+ "integrity": "sha512-bk3gXBZDGILuuo/6sKtr0DQmSThYHLtNCdSdXk9YkxD/jK6X2vmCyyXBBxyqZ4XcnzTyYEAThfX3DCEnLf6igw==",
3388
+ "optional": true
3389
+ },
3315
3390
  "node_modules/natural-compare": {
3316
3391
  "version": "1.4.0",
3317
3392
  "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
@@ -4255,9 +4330,9 @@
4255
4330
  }
4256
4331
  },
4257
4332
  "node_modules/shelljs": {
4258
- "version": "0.8.4",
4259
- "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.4.tgz",
4260
- "integrity": "sha512-7gk3UZ9kOfPLIAbslLzyWeGiEqx9e3rxwZM0KE6EL8GlGwjym9Mrlx5/p33bWTu9YG6vcS4MBxYZDHYr5lr8BQ==",
4333
+ "version": "0.8.5",
4334
+ "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz",
4335
+ "integrity": "sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==",
4261
4336
  "dependencies": {
4262
4337
  "glob": "^7.0.0",
4263
4338
  "interpret": "^1.0.0",
@@ -4388,27 +4463,20 @@
4388
4463
  "integrity": "sha512-QxrgpbiD7ItnpBs5UiWVCHk52OiiPjj9KD2rm2susYvrbkRIXWvUg3v8fQxrXWKoSfP8qXt5HmkH/tAPz8j6bA=="
4389
4464
  },
4390
4465
  "node_modules/ssh2": {
4391
- "version": "0.8.9",
4392
- "resolved": "https://registry.npmjs.org/ssh2/-/ssh2-0.8.9.tgz",
4393
- "integrity": "sha512-GmoNPxWDMkVpMFa9LVVzQZHF6EW3WKmBwL+4/GeILf2hFmix5Isxm7Amamo8o7bHiU0tC+wXsGcUXOxp8ChPaw==",
4466
+ "version": "1.15.0",
4467
+ "resolved": "https://registry.npmjs.org/ssh2/-/ssh2-1.15.0.tgz",
4468
+ "integrity": "sha512-C0PHgX4h6lBxYx7hcXwu3QWdh4tg6tZZsTfXcdvc5caW/EMxaB4H9dWsl7qk+F7LAW762hp8VbXOX7x4xUYvEw==",
4469
+ "hasInstallScript": true,
4394
4470
  "dependencies": {
4395
- "ssh2-streams": "~0.4.10"
4471
+ "asn1": "^0.2.6",
4472
+ "bcrypt-pbkdf": "^1.0.2"
4396
4473
  },
4397
4474
  "engines": {
4398
- "node": ">=5.2.0"
4399
- }
4400
- },
4401
- "node_modules/ssh2-streams": {
4402
- "version": "0.4.10",
4403
- "resolved": "https://registry.npmjs.org/ssh2-streams/-/ssh2-streams-0.4.10.tgz",
4404
- "integrity": "sha512-8pnlMjvnIZJvmTzUIIA5nT4jr2ZWNNVHwyXfMGdRJbug9TpI3kd99ffglgfSWqujVv/0gxwMsDn9j9RVst8yhQ==",
4405
- "dependencies": {
4406
- "asn1": "~0.2.0",
4407
- "bcrypt-pbkdf": "^1.0.2",
4408
- "streamsearch": "~0.1.2"
4475
+ "node": ">=10.16.0"
4409
4476
  },
4410
- "engines": {
4411
- "node": ">=5.2.0"
4477
+ "optionalDependencies": {
4478
+ "cpu-features": "~0.0.9",
4479
+ "nan": "^2.18.0"
4412
4480
  }
4413
4481
  },
4414
4482
  "node_modules/sshpk": {
@@ -4451,14 +4519,6 @@
4451
4519
  "node": ">= 0.10.0"
4452
4520
  }
4453
4521
  },
4454
- "node_modules/streamsearch": {
4455
- "version": "0.1.2",
4456
- "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-0.1.2.tgz",
4457
- "integrity": "sha512-jos8u++JKm0ARcSUTAZXOVC0mSox7Bhn6sBgty73P1f3JGf7yG2clTbBNHUdde/kdvP2FESam+vM6l8jBrNxHA==",
4458
- "engines": {
4459
- "node": ">=0.8.0"
4460
- }
4461
- },
4462
4522
  "node_modules/string_decoder": {
4463
4523
  "version": "1.1.1",
4464
4524
  "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
@@ -4683,14 +4743,19 @@
4683
4743
  }
4684
4744
  },
4685
4745
  "node_modules/tar": {
4686
- "version": "2.2.2",
4687
- "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.2.tgz",
4688
- "integrity": "sha512-FCEhQ/4rE1zYv9rYXJw/msRqsnmlje5jHP6huWeBZ704jUTy02c5AZyWujpMR1ax6mVw9NyJMfuK2CMDWVIfgA==",
4689
- "deprecated": "This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.",
4746
+ "version": "6.2.0",
4747
+ "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.0.tgz",
4748
+ "integrity": "sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ==",
4690
4749
  "dependencies": {
4691
- "block-stream": "*",
4692
- "fstream": "^1.0.12",
4693
- "inherits": "2"
4750
+ "chownr": "^2.0.0",
4751
+ "fs-minipass": "^2.0.0",
4752
+ "minipass": "^5.0.0",
4753
+ "minizlib": "^2.1.1",
4754
+ "mkdirp": "^1.0.3",
4755
+ "yallist": "^4.0.0"
4756
+ },
4757
+ "engines": {
4758
+ "node": ">=10"
4694
4759
  }
4695
4760
  },
4696
4761
  "node_modules/tar-stream": {
@@ -4719,10 +4784,16 @@
4719
4784
  "safe-buffer": "^5.1.1"
4720
4785
  }
4721
4786
  },
4722
- "node_modules/tar/node_modules/inherits": {
4723
- "version": "2.0.4",
4724
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
4725
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
4787
+ "node_modules/tar/node_modules/mkdirp": {
4788
+ "version": "1.0.4",
4789
+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
4790
+ "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==",
4791
+ "bin": {
4792
+ "mkdirp": "bin/cmd.js"
4793
+ },
4794
+ "engines": {
4795
+ "node": ">=10"
4796
+ }
4726
4797
  },
4727
4798
  "node_modules/temp": {
4728
4799
  "version": "0.9.1",
@@ -5182,6 +5253,11 @@
5182
5253
  "node": ">=0.4"
5183
5254
  }
5184
5255
  },
5256
+ "node_modules/yallist": {
5257
+ "version": "4.0.0",
5258
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
5259
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
5260
+ },
5185
5261
  "node_modules/yauzl": {
5186
5262
  "version": "2.10.0",
5187
5263
  "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz",
@@ -5472,9 +5548,9 @@
5472
5548
  "dev": true
5473
5549
  },
5474
5550
  "async": {
5475
- "version": "0.2.10",
5476
- "resolved": "https://registry.npmjs.org/async/-/async-0.2.10.tgz",
5477
- "integrity": "sha512-eAkdoKxU6/LkKDBzLpT+t6Ff5EtfSF4wx1WfJiPEEV7WNLnDaRXk0oVysiEPm262roaachGexwUv94WhSgN5TQ=="
5551
+ "version": "3.2.5",
5552
+ "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz",
5553
+ "integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg=="
5478
5554
  },
5479
5555
  "asynckit": {
5480
5556
  "version": "0.4.0",
@@ -5550,21 +5626,6 @@
5550
5626
  }
5551
5627
  }
5552
5628
  },
5553
- "block-stream": {
5554
- "version": "0.0.9",
5555
- "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz",
5556
- "integrity": "sha512-OorbnJVPII4DuUKbjARAe8u8EfqOmkEEaSFIyoQ7OjTHn6kafxWl0wLgoZ2rXaYd7MyLcDaU4TmhfxtwgcccMQ==",
5557
- "requires": {
5558
- "inherits": "~2.0.0"
5559
- },
5560
- "dependencies": {
5561
- "inherits": {
5562
- "version": "2.0.4",
5563
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
5564
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
5565
- }
5566
- }
5567
- },
5568
5629
  "bluebird": {
5569
5630
  "version": "3.7.2",
5570
5631
  "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz",
@@ -5642,6 +5703,12 @@
5642
5703
  "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",
5643
5704
  "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ=="
5644
5705
  },
5706
+ "buildcheck": {
5707
+ "version": "0.0.6",
5708
+ "resolved": "https://registry.npmjs.org/buildcheck/-/buildcheck-0.0.6.tgz",
5709
+ "integrity": "sha512-8f9ZJCUXyT1M35Jx7MkBgmBMo3oHTTBIPLiY9xyL0pl3T5RwcPEY8cUHr5LBNfu/fk6c2T4DJZuVM/8ZZT2D2A==",
5710
+ "optional": true
5711
+ },
5645
5712
  "bytes": {
5646
5713
  "version": "3.1.0",
5647
5714
  "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz",
@@ -5703,6 +5770,11 @@
5703
5770
  "readdirp": "~3.6.0"
5704
5771
  }
5705
5772
  },
5773
+ "chownr": {
5774
+ "version": "2.0.0",
5775
+ "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz",
5776
+ "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ=="
5777
+ },
5706
5778
  "cli-cursor": {
5707
5779
  "version": "3.1.0",
5708
5780
  "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz",
@@ -5825,6 +5897,16 @@
5825
5897
  "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz",
5826
5898
  "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ=="
5827
5899
  },
5900
+ "cpu-features": {
5901
+ "version": "0.0.10",
5902
+ "resolved": "https://registry.npmjs.org/cpu-features/-/cpu-features-0.0.10.tgz",
5903
+ "integrity": "sha512-9IkYqtX3YHPCzoVg1Py+o9057a3i0fp7S530UWokCSaFVTc7CwXPRiOjRjBQQ18ZCNafx78YfnG+HALxtVmOGA==",
5904
+ "optional": true,
5905
+ "requires": {
5906
+ "buildcheck": "~0.0.6",
5907
+ "nan": "^2.19.0"
5908
+ }
5909
+ },
5828
5910
  "cross-spawn": {
5829
5911
  "version": "6.0.5",
5830
5912
  "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
@@ -6716,6 +6798,24 @@
6716
6798
  "universalify": "^0.1.0"
6717
6799
  }
6718
6800
  },
6801
+ "fs-minipass": {
6802
+ "version": "2.1.0",
6803
+ "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz",
6804
+ "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==",
6805
+ "requires": {
6806
+ "minipass": "^3.0.0"
6807
+ },
6808
+ "dependencies": {
6809
+ "minipass": {
6810
+ "version": "3.3.6",
6811
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
6812
+ "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
6813
+ "requires": {
6814
+ "yallist": "^4.0.0"
6815
+ }
6816
+ }
6817
+ }
6818
+ },
6719
6819
  "fs.realpath": {
6720
6820
  "version": "1.0.0",
6721
6821
  "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
@@ -7650,6 +7750,30 @@
7650
7750
  "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",
7651
7751
  "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA=="
7652
7752
  },
7753
+ "minipass": {
7754
+ "version": "5.0.0",
7755
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz",
7756
+ "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ=="
7757
+ },
7758
+ "minizlib": {
7759
+ "version": "2.1.2",
7760
+ "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz",
7761
+ "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==",
7762
+ "requires": {
7763
+ "minipass": "^3.0.0",
7764
+ "yallist": "^4.0.0"
7765
+ },
7766
+ "dependencies": {
7767
+ "minipass": {
7768
+ "version": "3.3.6",
7769
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
7770
+ "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
7771
+ "requires": {
7772
+ "yallist": "^4.0.0"
7773
+ }
7774
+ }
7775
+ }
7776
+ },
7653
7777
  "mkdirp": {
7654
7778
  "version": "0.5.5",
7655
7779
  "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",
@@ -7668,6 +7792,12 @@
7668
7792
  "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz",
7669
7793
  "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA=="
7670
7794
  },
7795
+ "nan": {
7796
+ "version": "2.20.0",
7797
+ "resolved": "https://registry.npmjs.org/nan/-/nan-2.20.0.tgz",
7798
+ "integrity": "sha512-bk3gXBZDGILuuo/6sKtr0DQmSThYHLtNCdSdXk9YkxD/jK6X2vmCyyXBBxyqZ4XcnzTyYEAThfX3DCEnLf6igw==",
7799
+ "optional": true
7800
+ },
7671
7801
  "natural-compare": {
7672
7802
  "version": "1.4.0",
7673
7803
  "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
@@ -8375,9 +8505,9 @@
8375
8505
  "dev": true
8376
8506
  },
8377
8507
  "shelljs": {
8378
- "version": "0.8.4",
8379
- "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.4.tgz",
8380
- "integrity": "sha512-7gk3UZ9kOfPLIAbslLzyWeGiEqx9e3rxwZM0KE6EL8GlGwjym9Mrlx5/p33bWTu9YG6vcS4MBxYZDHYr5lr8BQ==",
8508
+ "version": "0.8.5",
8509
+ "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz",
8510
+ "integrity": "sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==",
8381
8511
  "requires": {
8382
8512
  "glob": "^7.0.0",
8383
8513
  "interpret": "^1.0.0",
@@ -8486,21 +8616,14 @@
8486
8616
  "integrity": "sha512-QxrgpbiD7ItnpBs5UiWVCHk52OiiPjj9KD2rm2susYvrbkRIXWvUg3v8fQxrXWKoSfP8qXt5HmkH/tAPz8j6bA=="
8487
8617
  },
8488
8618
  "ssh2": {
8489
- "version": "0.8.9",
8490
- "resolved": "https://registry.npmjs.org/ssh2/-/ssh2-0.8.9.tgz",
8491
- "integrity": "sha512-GmoNPxWDMkVpMFa9LVVzQZHF6EW3WKmBwL+4/GeILf2hFmix5Isxm7Amamo8o7bHiU0tC+wXsGcUXOxp8ChPaw==",
8619
+ "version": "1.15.0",
8620
+ "resolved": "https://registry.npmjs.org/ssh2/-/ssh2-1.15.0.tgz",
8621
+ "integrity": "sha512-C0PHgX4h6lBxYx7hcXwu3QWdh4tg6tZZsTfXcdvc5caW/EMxaB4H9dWsl7qk+F7LAW762hp8VbXOX7x4xUYvEw==",
8492
8622
  "requires": {
8493
- "ssh2-streams": "~0.4.10"
8494
- }
8495
- },
8496
- "ssh2-streams": {
8497
- "version": "0.4.10",
8498
- "resolved": "https://registry.npmjs.org/ssh2-streams/-/ssh2-streams-0.4.10.tgz",
8499
- "integrity": "sha512-8pnlMjvnIZJvmTzUIIA5nT4jr2ZWNNVHwyXfMGdRJbug9TpI3kd99ffglgfSWqujVv/0gxwMsDn9j9RVst8yhQ==",
8500
- "requires": {
8501
- "asn1": "~0.2.0",
8623
+ "asn1": "^0.2.6",
8502
8624
  "bcrypt-pbkdf": "^1.0.2",
8503
- "streamsearch": "~0.1.2"
8625
+ "cpu-features": "~0.0.9",
8626
+ "nan": "^2.18.0"
8504
8627
  }
8505
8628
  },
8506
8629
  "sshpk": {
@@ -8529,11 +8652,6 @@
8529
8652
  "resolved": "https://registry.npmjs.org/stream-buffers/-/stream-buffers-3.0.2.tgz",
8530
8653
  "integrity": "sha512-DQi1h8VEBA/lURbSwFtEHnSTb9s2/pwLEaFuNhXwy1Dx3Sa0lOuYT2yNUr4/j2fs8oCAMANtrZ5OrPZtyVs3MQ=="
8531
8654
  },
8532
- "streamsearch": {
8533
- "version": "0.1.2",
8534
- "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-0.1.2.tgz",
8535
- "integrity": "sha512-jos8u++JKm0ARcSUTAZXOVC0mSox7Bhn6sBgty73P1f3JGf7yG2clTbBNHUdde/kdvP2FESam+vM6l8jBrNxHA=="
8536
- },
8537
8655
  "string_decoder": {
8538
8656
  "version": "1.1.1",
8539
8657
  "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
@@ -8701,19 +8819,22 @@
8701
8819
  }
8702
8820
  },
8703
8821
  "tar": {
8704
- "version": "2.2.2",
8705
- "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.2.tgz",
8706
- "integrity": "sha512-FCEhQ/4rE1zYv9rYXJw/msRqsnmlje5jHP6huWeBZ704jUTy02c5AZyWujpMR1ax6mVw9NyJMfuK2CMDWVIfgA==",
8822
+ "version": "6.2.0",
8823
+ "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.0.tgz",
8824
+ "integrity": "sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ==",
8707
8825
  "requires": {
8708
- "block-stream": "*",
8709
- "fstream": "^1.0.12",
8710
- "inherits": "2"
8826
+ "chownr": "^2.0.0",
8827
+ "fs-minipass": "^2.0.0",
8828
+ "minipass": "^5.0.0",
8829
+ "minizlib": "^2.1.1",
8830
+ "mkdirp": "^1.0.3",
8831
+ "yallist": "^4.0.0"
8711
8832
  },
8712
8833
  "dependencies": {
8713
- "inherits": {
8714
- "version": "2.0.4",
8715
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
8716
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
8834
+ "mkdirp": {
8835
+ "version": "1.0.4",
8836
+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
8837
+ "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw=="
8717
8838
  }
8718
8839
  }
8719
8840
  },
@@ -9103,6 +9224,11 @@
9103
9224
  "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",
9104
9225
  "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ=="
9105
9226
  },
9227
+ "yallist": {
9228
+ "version": "4.0.0",
9229
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
9230
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
9231
+ },
9106
9232
  "yauzl": {
9107
9233
  "version": "2.10.0",
9108
9234
  "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz",
@@ -9113,4 +9239,4 @@
9113
9239
  }
9114
9240
  }
9115
9241
  }
9116
- }
9242
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webos-tools/cli",
3
- "version": "3.0.5",
3
+ "version": "3.1.0",
4
4
  "description": "Command Line Interface for development webOS application and service",
5
5
  "main": "APIs.js",
6
6
  "scripts": {
@@ -41,7 +41,7 @@
41
41
  ],
42
42
  "dependencies": {
43
43
  "ar-async": "0.1.4",
44
- "async": "0.2.10",
44
+ "async": "3.2.5",
45
45
  "bluebird": "3.7.2",
46
46
  "body-parser": "1.19.0",
47
47
  "chalk": "1.1.3",
@@ -68,13 +68,13 @@
68
68
  "request": "2.88.2",
69
69
  "rimraf": "3.0.2",
70
70
  "semver": "7.3.2",
71
- "shelljs": "0.8.4",
71
+ "shelljs": "0.8.5",
72
72
  "sprintf-js": "1.1.2",
73
73
  "ssdp-js": "1.0.1",
74
- "ssh2": "0.8.9",
74
+ "ssh2": "1.15.0",
75
75
  "stream-buffers": "3.0.2",
76
76
  "strip-bom": "1.0.0",
77
- "tar": "2.2.2",
77
+ "tar": "6.2.0",
78
78
  "temp": "0.9.1",
79
79
  "terser": "4.8.0"
80
80
  },