@unito/integration-cli 0.62.6 → 0.62.8
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.
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
"@types/eslint__js": "8.x",
|
|
17
17
|
"@types/node": "20.x",
|
|
18
18
|
"eslint": "9.x",
|
|
19
|
-
"npm-audit-resolver": "^3.0.0-RC.0",
|
|
20
19
|
"prettier": "3.x",
|
|
21
20
|
"tsx": "4.x",
|
|
22
21
|
"typescript": "5.x",
|
|
@@ -492,17 +491,32 @@
|
|
|
492
491
|
}
|
|
493
492
|
},
|
|
494
493
|
"node_modules/@eslint/plugin-kit": {
|
|
495
|
-
"version": "0.2.
|
|
496
|
-
"resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.
|
|
497
|
-
"integrity": "sha512-
|
|
494
|
+
"version": "0.2.5",
|
|
495
|
+
"resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.5.tgz",
|
|
496
|
+
"integrity": "sha512-lB05FkqEdUg2AA0xEbUz0SnkXT1LcCTa438W4IWTUh4hdOnVbQyOJ81OrDXsJk/LSiJHubgGEFoR5EHq1NsH1A==",
|
|
498
497
|
"dev": true,
|
|
498
|
+
"license": "Apache-2.0",
|
|
499
499
|
"dependencies": {
|
|
500
|
+
"@eslint/core": "^0.10.0",
|
|
500
501
|
"levn": "^0.4.1"
|
|
501
502
|
},
|
|
502
503
|
"engines": {
|
|
503
504
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
|
504
505
|
}
|
|
505
506
|
},
|
|
507
|
+
"node_modules/@eslint/plugin-kit/node_modules/@eslint/core": {
|
|
508
|
+
"version": "0.10.0",
|
|
509
|
+
"resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.10.0.tgz",
|
|
510
|
+
"integrity": "sha512-gFHJ+xBOo4G3WRlR1e/3G8A6/KZAH6zcE/hkLRCZTi/B9avAG365QhFA8uOGzTMqgTghpn7/fSnscW++dpMSAw==",
|
|
511
|
+
"dev": true,
|
|
512
|
+
"license": "Apache-2.0",
|
|
513
|
+
"dependencies": {
|
|
514
|
+
"@types/json-schema": "^7.0.15"
|
|
515
|
+
},
|
|
516
|
+
"engines": {
|
|
517
|
+
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
|
518
|
+
}
|
|
519
|
+
},
|
|
506
520
|
"node_modules/@humanfs/core": {
|
|
507
521
|
"version": "0.19.0",
|
|
508
522
|
"resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.0.tgz",
|
|
@@ -556,13 +570,6 @@
|
|
|
556
570
|
"resolved": "https://registry.npmjs.org/@ioredis/commands/-/commands-1.2.0.tgz",
|
|
557
571
|
"integrity": "sha512-Sx1pU8EM64o2BrqNpEO1CNLtKQwyhuXuqyfH7oGKCk+1a33d2r5saW8zNwm3j6BTExtjrv2BxTgzzkMwts6vGg=="
|
|
558
572
|
},
|
|
559
|
-
"node_modules/@korzio/djv-draft-04": {
|
|
560
|
-
"version": "2.0.1",
|
|
561
|
-
"resolved": "https://registry.npmjs.org/@korzio/djv-draft-04/-/djv-draft-04-2.0.1.tgz",
|
|
562
|
-
"integrity": "sha512-MeTVcNsfCIYxK6T7jW1sroC7dBAb4IfLmQe6RoCqlxHN5NFkzNpgdnBPR+/0D2wJDUJHM9s9NQv+ouhxKjvUjg==",
|
|
563
|
-
"dev": true,
|
|
564
|
-
"optional": true
|
|
565
|
-
},
|
|
566
573
|
"node_modules/@nodelib/fs.scandir": {
|
|
567
574
|
"version": "2.1.5",
|
|
568
575
|
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
|
|
@@ -598,16 +605,6 @@
|
|
|
598
605
|
"node": ">= 8"
|
|
599
606
|
}
|
|
600
607
|
},
|
|
601
|
-
"node_modules/@npmcli/ci-detect": {
|
|
602
|
-
"version": "3.0.2",
|
|
603
|
-
"resolved": "https://registry.npmjs.org/@npmcli/ci-detect/-/ci-detect-3.0.2.tgz",
|
|
604
|
-
"integrity": "sha512-P7nZG0skRVa9lH0OQmFG62CrzOySUiuPbKopjVAj3sXP0m1om9XfIvTp46h+NvlpTyd121JekiXFZj+1pnbm9g==",
|
|
605
|
-
"deprecated": "this package has been deprecated, use `ci-info` instead",
|
|
606
|
-
"dev": true,
|
|
607
|
-
"engines": {
|
|
608
|
-
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
|
|
609
|
-
}
|
|
610
|
-
},
|
|
611
608
|
"node_modules/@types/eslint": {
|
|
612
609
|
"version": "9.6.1",
|
|
613
610
|
"resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.1.tgz",
|
|
@@ -959,17 +956,6 @@
|
|
|
959
956
|
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
|
|
960
957
|
"integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
|
|
961
958
|
},
|
|
962
|
-
"node_modules/audit-resolve-core": {
|
|
963
|
-
"version": "3.0.0-3",
|
|
964
|
-
"resolved": "https://registry.npmjs.org/audit-resolve-core/-/audit-resolve-core-3.0.0-3.tgz",
|
|
965
|
-
"integrity": "sha512-37Qkk1EerVIzSF824BytESWeEtUcbAmdWyTGA/MqnHgVzO+PnU9oNqOpZTMst54xLpJci70Jszq/sLogqfvHmQ==",
|
|
966
|
-
"dev": true,
|
|
967
|
-
"dependencies": {
|
|
968
|
-
"debug": "^4.3.1",
|
|
969
|
-
"djv": "^2.1.4",
|
|
970
|
-
"yargs-parser": "^21.0.0"
|
|
971
|
-
}
|
|
972
|
-
},
|
|
973
959
|
"node_modules/balanced-match": {
|
|
974
960
|
"version": "1.0.2",
|
|
975
961
|
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
|
|
@@ -1076,12 +1062,6 @@
|
|
|
1076
1062
|
"node": ">=8"
|
|
1077
1063
|
}
|
|
1078
1064
|
},
|
|
1079
|
-
"node_modules/buffer-from": {
|
|
1080
|
-
"version": "1.1.2",
|
|
1081
|
-
"resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",
|
|
1082
|
-
"integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==",
|
|
1083
|
-
"dev": true
|
|
1084
|
-
},
|
|
1085
1065
|
"node_modules/busboy": {
|
|
1086
1066
|
"version": "1.6.0",
|
|
1087
1067
|
"resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz",
|
|
@@ -1142,18 +1122,6 @@
|
|
|
1142
1122
|
"node": ">=6"
|
|
1143
1123
|
}
|
|
1144
1124
|
},
|
|
1145
|
-
"node_modules/camelcase": {
|
|
1146
|
-
"version": "6.3.0",
|
|
1147
|
-
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz",
|
|
1148
|
-
"integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==",
|
|
1149
|
-
"dev": true,
|
|
1150
|
-
"engines": {
|
|
1151
|
-
"node": ">=10"
|
|
1152
|
-
},
|
|
1153
|
-
"funding": {
|
|
1154
|
-
"url": "https://github.com/sponsors/sindresorhus"
|
|
1155
|
-
}
|
|
1156
|
-
},
|
|
1157
1125
|
"node_modules/chalk": {
|
|
1158
1126
|
"version": "4.1.2",
|
|
1159
1127
|
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
|
|
@@ -1213,21 +1181,6 @@
|
|
|
1213
1181
|
"integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
|
|
1214
1182
|
"dev": true
|
|
1215
1183
|
},
|
|
1216
|
-
"node_modules/concat-stream": {
|
|
1217
|
-
"version": "2.0.0",
|
|
1218
|
-
"resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz",
|
|
1219
|
-
"integrity": "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==",
|
|
1220
|
-
"dev": true,
|
|
1221
|
-
"engines": [
|
|
1222
|
-
"node >= 6.0"
|
|
1223
|
-
],
|
|
1224
|
-
"dependencies": {
|
|
1225
|
-
"buffer-from": "^1.0.0",
|
|
1226
|
-
"inherits": "^2.0.3",
|
|
1227
|
-
"readable-stream": "^3.0.2",
|
|
1228
|
-
"typedarray": "^0.0.6"
|
|
1229
|
-
}
|
|
1230
|
-
},
|
|
1231
1184
|
"node_modules/content-disposition": {
|
|
1232
1185
|
"version": "1.0.0",
|
|
1233
1186
|
"resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.0.0.tgz",
|
|
@@ -1264,10 +1217,11 @@
|
|
|
1264
1217
|
}
|
|
1265
1218
|
},
|
|
1266
1219
|
"node_modules/cross-spawn": {
|
|
1267
|
-
"version": "7.0.
|
|
1268
|
-
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.
|
|
1269
|
-
"integrity": "sha512-
|
|
1220
|
+
"version": "7.0.6",
|
|
1221
|
+
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
|
|
1222
|
+
"integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
|
|
1270
1223
|
"dev": true,
|
|
1224
|
+
"license": "MIT",
|
|
1271
1225
|
"dependencies": {
|
|
1272
1226
|
"path-key": "^3.1.0",
|
|
1273
1227
|
"shebang-command": "^2.0.0",
|
|
@@ -1298,33 +1252,12 @@
|
|
|
1298
1252
|
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
|
|
1299
1253
|
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
|
|
1300
1254
|
},
|
|
1301
|
-
"node_modules/decamelize": {
|
|
1302
|
-
"version": "4.0.0",
|
|
1303
|
-
"resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz",
|
|
1304
|
-
"integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==",
|
|
1305
|
-
"dev": true,
|
|
1306
|
-
"engines": {
|
|
1307
|
-
"node": ">=10"
|
|
1308
|
-
},
|
|
1309
|
-
"funding": {
|
|
1310
|
-
"url": "https://github.com/sponsors/sindresorhus"
|
|
1311
|
-
}
|
|
1312
|
-
},
|
|
1313
1255
|
"node_modules/deep-is": {
|
|
1314
1256
|
"version": "0.1.4",
|
|
1315
1257
|
"resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
|
|
1316
1258
|
"integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",
|
|
1317
1259
|
"dev": true
|
|
1318
1260
|
},
|
|
1319
|
-
"node_modules/default-shell": {
|
|
1320
|
-
"version": "1.0.1",
|
|
1321
|
-
"resolved": "https://registry.npmjs.org/default-shell/-/default-shell-1.0.1.tgz",
|
|
1322
|
-
"integrity": "sha512-/Os8tTMPSriNHCsVj3VLjMZblIl1sIg8EXz3qg7C5K+y9calfTA/qzlfPvCQ+LEgLWmtZ9wCnzE1w+S6TPPFyQ==",
|
|
1323
|
-
"dev": true,
|
|
1324
|
-
"engines": {
|
|
1325
|
-
"node": ">=4"
|
|
1326
|
-
}
|
|
1327
|
-
},
|
|
1328
1261
|
"node_modules/define-data-property": {
|
|
1329
1262
|
"version": "1.1.4",
|
|
1330
1263
|
"resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz",
|
|
@@ -1374,15 +1307,6 @@
|
|
|
1374
1307
|
"npm": "1.2.8000 || >= 1.4.16"
|
|
1375
1308
|
}
|
|
1376
1309
|
},
|
|
1377
|
-
"node_modules/djv": {
|
|
1378
|
-
"version": "2.1.4",
|
|
1379
|
-
"resolved": "https://registry.npmjs.org/djv/-/djv-2.1.4.tgz",
|
|
1380
|
-
"integrity": "sha512-giDn+BVbtLlwtkvtcsZjbjzpALHB77skiv3FIu6Wp8b5j8BunDcVJYH0cGUaexp6s0Sb7IkquXXjsLBJhXwQpA==",
|
|
1381
|
-
"dev": true,
|
|
1382
|
-
"optionalDependencies": {
|
|
1383
|
-
"@korzio/djv-draft-04": "^2.0.1"
|
|
1384
|
-
}
|
|
1385
|
-
},
|
|
1386
1310
|
"node_modules/ee-first": {
|
|
1387
1311
|
"version": "1.1.1",
|
|
1388
1312
|
"resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
|
|
@@ -1840,15 +1764,6 @@
|
|
|
1840
1764
|
"url": "https://github.com/sponsors/sindresorhus"
|
|
1841
1765
|
}
|
|
1842
1766
|
},
|
|
1843
|
-
"node_modules/flat": {
|
|
1844
|
-
"version": "5.0.2",
|
|
1845
|
-
"resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz",
|
|
1846
|
-
"integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==",
|
|
1847
|
-
"dev": true,
|
|
1848
|
-
"bin": {
|
|
1849
|
-
"flat": "cli.js"
|
|
1850
|
-
}
|
|
1851
|
-
},
|
|
1852
1767
|
"node_modules/flat-cache": {
|
|
1853
1768
|
"version": "4.0.1",
|
|
1854
1769
|
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz",
|
|
@@ -2188,15 +2103,6 @@
|
|
|
2188
2103
|
"node": ">=0.12.0"
|
|
2189
2104
|
}
|
|
2190
2105
|
},
|
|
2191
|
-
"node_modules/is-plain-obj": {
|
|
2192
|
-
"version": "1.1.0",
|
|
2193
|
-
"resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz",
|
|
2194
|
-
"integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==",
|
|
2195
|
-
"dev": true,
|
|
2196
|
-
"engines": {
|
|
2197
|
-
"node": ">=0.10.0"
|
|
2198
|
-
}
|
|
2199
|
-
},
|
|
2200
2106
|
"node_modules/is-promise": {
|
|
2201
2107
|
"version": "4.0.0",
|
|
2202
2108
|
"resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz",
|
|
@@ -2238,12 +2144,6 @@
|
|
|
2238
2144
|
"integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",
|
|
2239
2145
|
"dev": true
|
|
2240
2146
|
},
|
|
2241
|
-
"node_modules/jsonlines": {
|
|
2242
|
-
"version": "0.1.1",
|
|
2243
|
-
"resolved": "https://registry.npmjs.org/jsonlines/-/jsonlines-0.1.1.tgz",
|
|
2244
|
-
"integrity": "sha512-ekDrAGso79Cvf+dtm+mL8OBI2bmAOt3gssYs833De/C9NmIpWDWyUO4zPgB5x2/OhY366dkhgfPMYfwZF7yOZA==",
|
|
2245
|
-
"dev": true
|
|
2246
|
-
},
|
|
2247
2147
|
"node_modules/keyv": {
|
|
2248
2148
|
"version": "4.5.4",
|
|
2249
2149
|
"resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
|
|
@@ -2321,18 +2221,6 @@
|
|
|
2321
2221
|
"url": "https://github.com/sponsors/sindresorhus"
|
|
2322
2222
|
}
|
|
2323
2223
|
},
|
|
2324
|
-
"node_modules/merge-options": {
|
|
2325
|
-
"version": "1.0.1",
|
|
2326
|
-
"resolved": "https://registry.npmjs.org/merge-options/-/merge-options-1.0.1.tgz",
|
|
2327
|
-
"integrity": "sha512-iuPV41VWKWBIOpBsjoxjDZw8/GbSfZ2mk7N1453bwMrfzdrIk7EzBd+8UVR6rkw67th7xnk9Dytl3J+lHPdxvg==",
|
|
2328
|
-
"dev": true,
|
|
2329
|
-
"dependencies": {
|
|
2330
|
-
"is-plain-obj": "^1.1"
|
|
2331
|
-
},
|
|
2332
|
-
"engines": {
|
|
2333
|
-
"node": ">=4"
|
|
2334
|
-
}
|
|
2335
|
-
},
|
|
2336
2224
|
"node_modules/merge2": {
|
|
2337
2225
|
"version": "1.4.1",
|
|
2338
2226
|
"resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
|
|
@@ -2399,15 +2287,6 @@
|
|
|
2399
2287
|
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
|
2400
2288
|
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
|
|
2401
2289
|
},
|
|
2402
|
-
"node_modules/mute-stream": {
|
|
2403
|
-
"version": "1.0.0",
|
|
2404
|
-
"resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-1.0.0.tgz",
|
|
2405
|
-
"integrity": "sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==",
|
|
2406
|
-
"dev": true,
|
|
2407
|
-
"engines": {
|
|
2408
|
-
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
|
|
2409
|
-
}
|
|
2410
|
-
},
|
|
2411
2290
|
"node_modules/natural-compare": {
|
|
2412
2291
|
"version": "1.4.0",
|
|
2413
2292
|
"resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
|
|
@@ -2422,49 +2301,6 @@
|
|
|
2422
2301
|
"node": ">= 0.6"
|
|
2423
2302
|
}
|
|
2424
2303
|
},
|
|
2425
|
-
"node_modules/npm-audit-resolver": {
|
|
2426
|
-
"version": "3.0.0-RC.0",
|
|
2427
|
-
"resolved": "https://registry.npmjs.org/npm-audit-resolver/-/npm-audit-resolver-3.0.0-RC.0.tgz",
|
|
2428
|
-
"integrity": "sha512-UuVC7HIxGMhkGfj6IcilBO0cbAz/Y1OhRHA49g3ccpyHDy6Bpd4nkPnLe+xuyZmTgUjiac509IIN3YPVdJZ0Hw==",
|
|
2429
|
-
"dev": true,
|
|
2430
|
-
"dependencies": {
|
|
2431
|
-
"@npmcli/ci-detect": "^3.0.2",
|
|
2432
|
-
"audit-resolve-core": "^3.0.0-3",
|
|
2433
|
-
"chalk": "^4.1.2",
|
|
2434
|
-
"concat-stream": "^2.0.0",
|
|
2435
|
-
"djv": "^2.1.4",
|
|
2436
|
-
"jsonlines": "^0.1.1",
|
|
2437
|
-
"read": "^2.0.0",
|
|
2438
|
-
"spawn-shell": "^2.1.0",
|
|
2439
|
-
"yargs-parser": "^21.1.1",
|
|
2440
|
-
"yargs-unparser": "^2.0.0"
|
|
2441
|
-
},
|
|
2442
|
-
"bin": {
|
|
2443
|
-
"check-audit": "check.js",
|
|
2444
|
-
"resolve-audit": "resolve.js"
|
|
2445
|
-
}
|
|
2446
|
-
},
|
|
2447
|
-
"node_modules/npm-run-path": {
|
|
2448
|
-
"version": "2.0.2",
|
|
2449
|
-
"resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz",
|
|
2450
|
-
"integrity": "sha512-lJxZYlT4DW/bRUtFh1MQIWqmLwQfAxnqWG4HhEdjMlkrJYnJn0Jrr2u3mgxqaWsdiBc76TYkTG/mhrnYTuzfHw==",
|
|
2451
|
-
"dev": true,
|
|
2452
|
-
"dependencies": {
|
|
2453
|
-
"path-key": "^2.0.0"
|
|
2454
|
-
},
|
|
2455
|
-
"engines": {
|
|
2456
|
-
"node": ">=4"
|
|
2457
|
-
}
|
|
2458
|
-
},
|
|
2459
|
-
"node_modules/npm-run-path/node_modules/path-key": {
|
|
2460
|
-
"version": "2.0.1",
|
|
2461
|
-
"resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
|
|
2462
|
-
"integrity": "sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==",
|
|
2463
|
-
"dev": true,
|
|
2464
|
-
"engines": {
|
|
2465
|
-
"node": ">=4"
|
|
2466
|
-
}
|
|
2467
|
-
},
|
|
2468
2304
|
"node_modules/object-inspect": {
|
|
2469
2305
|
"version": "1.13.2",
|
|
2470
2306
|
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz",
|
|
@@ -2712,32 +2548,6 @@
|
|
|
2712
2548
|
"node": ">=0.10.0"
|
|
2713
2549
|
}
|
|
2714
2550
|
},
|
|
2715
|
-
"node_modules/read": {
|
|
2716
|
-
"version": "2.1.0",
|
|
2717
|
-
"resolved": "https://registry.npmjs.org/read/-/read-2.1.0.tgz",
|
|
2718
|
-
"integrity": "sha512-bvxi1QLJHcaywCAEsAk4DG3nVoqiY2Csps3qzWalhj5hFqRn1d/OixkFXtLO1PrgHUcAP0FNaSY/5GYNfENFFQ==",
|
|
2719
|
-
"dev": true,
|
|
2720
|
-
"dependencies": {
|
|
2721
|
-
"mute-stream": "~1.0.0"
|
|
2722
|
-
},
|
|
2723
|
-
"engines": {
|
|
2724
|
-
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
|
|
2725
|
-
}
|
|
2726
|
-
},
|
|
2727
|
-
"node_modules/readable-stream": {
|
|
2728
|
-
"version": "3.6.2",
|
|
2729
|
-
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
|
|
2730
|
-
"integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
|
|
2731
|
-
"dev": true,
|
|
2732
|
-
"dependencies": {
|
|
2733
|
-
"inherits": "^2.0.3",
|
|
2734
|
-
"string_decoder": "^1.1.1",
|
|
2735
|
-
"util-deprecate": "^1.0.1"
|
|
2736
|
-
},
|
|
2737
|
-
"engines": {
|
|
2738
|
-
"node": ">= 6"
|
|
2739
|
-
}
|
|
2740
|
-
},
|
|
2741
2551
|
"node_modules/redis-errors": {
|
|
2742
2552
|
"version": "1.2.0",
|
|
2743
2553
|
"resolved": "https://registry.npmjs.org/redis-errors/-/redis-errors-1.2.0.tgz",
|
|
@@ -3014,20 +2824,6 @@
|
|
|
3014
2824
|
"url": "https://github.com/sponsors/ljharb"
|
|
3015
2825
|
}
|
|
3016
2826
|
},
|
|
3017
|
-
"node_modules/spawn-shell": {
|
|
3018
|
-
"version": "2.1.0",
|
|
3019
|
-
"resolved": "https://registry.npmjs.org/spawn-shell/-/spawn-shell-2.1.0.tgz",
|
|
3020
|
-
"integrity": "sha512-mjlYAQbZPHd4YsoHEe+i0Xbp9sJefMKN09JPp80TqrjC5NSuo+y1RG3NBireJlzl1dDV2NIkIfgS6coXtyqN/A==",
|
|
3021
|
-
"dev": true,
|
|
3022
|
-
"dependencies": {
|
|
3023
|
-
"default-shell": "^1.0.1",
|
|
3024
|
-
"merge-options": "~1.0.1",
|
|
3025
|
-
"npm-run-path": "^2.0.2"
|
|
3026
|
-
},
|
|
3027
|
-
"engines": {
|
|
3028
|
-
"node": ">=6"
|
|
3029
|
-
}
|
|
3030
|
-
},
|
|
3031
2827
|
"node_modules/standard-as-callback": {
|
|
3032
2828
|
"version": "2.1.0",
|
|
3033
2829
|
"resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz",
|
|
@@ -3049,15 +2845,6 @@
|
|
|
3049
2845
|
"node": ">=10.0.0"
|
|
3050
2846
|
}
|
|
3051
2847
|
},
|
|
3052
|
-
"node_modules/string_decoder": {
|
|
3053
|
-
"version": "1.3.0",
|
|
3054
|
-
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
|
|
3055
|
-
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
|
|
3056
|
-
"dev": true,
|
|
3057
|
-
"dependencies": {
|
|
3058
|
-
"safe-buffer": "~5.2.0"
|
|
3059
|
-
}
|
|
3060
|
-
},
|
|
3061
2848
|
"node_modules/strip-json-comments": {
|
|
3062
2849
|
"version": "3.1.1",
|
|
3063
2850
|
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
|
|
@@ -3164,12 +2951,6 @@
|
|
|
3164
2951
|
"node": ">= 0.6"
|
|
3165
2952
|
}
|
|
3166
2953
|
},
|
|
3167
|
-
"node_modules/typedarray": {
|
|
3168
|
-
"version": "0.0.6",
|
|
3169
|
-
"resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz",
|
|
3170
|
-
"integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==",
|
|
3171
|
-
"dev": true
|
|
3172
|
-
},
|
|
3173
2954
|
"node_modules/typescript": {
|
|
3174
2955
|
"version": "5.4.2",
|
|
3175
2956
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.2.tgz",
|
|
@@ -3229,12 +3010,6 @@
|
|
|
3229
3010
|
"punycode": "^2.1.0"
|
|
3230
3011
|
}
|
|
3231
3012
|
},
|
|
3232
|
-
"node_modules/util-deprecate": {
|
|
3233
|
-
"version": "1.0.2",
|
|
3234
|
-
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
|
|
3235
|
-
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
|
|
3236
|
-
"dev": true
|
|
3237
|
-
},
|
|
3238
3013
|
"node_modules/utils-merge": {
|
|
3239
3014
|
"version": "1.0.1",
|
|
3240
3015
|
"resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
|
|
@@ -3277,39 +3052,6 @@
|
|
|
3277
3052
|
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
|
|
3278
3053
|
"dev": true
|
|
3279
3054
|
},
|
|
3280
|
-
"node_modules/yargs-parser": {
|
|
3281
|
-
"version": "21.1.1",
|
|
3282
|
-
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",
|
|
3283
|
-
"integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==",
|
|
3284
|
-
"dev": true,
|
|
3285
|
-
"engines": {
|
|
3286
|
-
"node": ">=12"
|
|
3287
|
-
}
|
|
3288
|
-
},
|
|
3289
|
-
"node_modules/yargs-unparser": {
|
|
3290
|
-
"version": "2.0.0",
|
|
3291
|
-
"resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz",
|
|
3292
|
-
"integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==",
|
|
3293
|
-
"dev": true,
|
|
3294
|
-
"dependencies": {
|
|
3295
|
-
"camelcase": "^6.0.0",
|
|
3296
|
-
"decamelize": "^4.0.0",
|
|
3297
|
-
"flat": "^5.0.2",
|
|
3298
|
-
"is-plain-obj": "^2.1.0"
|
|
3299
|
-
},
|
|
3300
|
-
"engines": {
|
|
3301
|
-
"node": ">=10"
|
|
3302
|
-
}
|
|
3303
|
-
},
|
|
3304
|
-
"node_modules/yargs-unparser/node_modules/is-plain-obj": {
|
|
3305
|
-
"version": "2.1.0",
|
|
3306
|
-
"resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz",
|
|
3307
|
-
"integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==",
|
|
3308
|
-
"dev": true,
|
|
3309
|
-
"engines": {
|
|
3310
|
-
"node": ">=8"
|
|
3311
|
-
}
|
|
3312
|
-
},
|
|
3313
3055
|
"node_modules/yocto-queue": {
|
|
3314
3056
|
"version": "0.1.0",
|
|
3315
3057
|
"resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
"dev": "tsx watch src/index.ts",
|
|
10
10
|
"test": "NODE_ENV=test tsx --test --test-name-pattern=${ONLY:-.*} $(find test -type f -name '*.test.ts')",
|
|
11
11
|
"lint": "eslint --fix src && prettier --write src",
|
|
12
|
-
"ci:audit": "check-audit",
|
|
13
12
|
"ci:eslint": "eslint src",
|
|
14
13
|
"ci:lint": "npm run ci:prettier && npm run ci:eslint || (echo \"Please run eslint and/or prettier and commit the changes\" && exit 1)",
|
|
15
14
|
"ci:prettier": "prettier --cache --ignore-unknown --check src",
|
|
@@ -26,14 +25,13 @@
|
|
|
26
25
|
"@unito/integration-sdk": "^1.x"
|
|
27
26
|
},
|
|
28
27
|
"devDependencies": {
|
|
29
|
-
"@
|
|
28
|
+
"@eslint/js": "9.x",
|
|
30
29
|
"@types/eslint__js": "8.x",
|
|
31
|
-
"
|
|
30
|
+
"@types/node": "20.x",
|
|
31
|
+
"eslint": "9.x",
|
|
32
32
|
"prettier": "3.x",
|
|
33
33
|
"tsx": "4.x",
|
|
34
34
|
"typescript": "5.x",
|
|
35
|
-
"typescript-eslint": "8.x"
|
|
36
|
-
"eslint": "9.x",
|
|
37
|
-
"@eslint/js": "9.x"
|
|
35
|
+
"typescript-eslint": "8.x"
|
|
38
36
|
}
|
|
39
37
|
}
|
|
@@ -77,47 +77,50 @@ class Oauth2 extends core_1.Command {
|
|
|
77
77
|
const testAccount = flags['test-account'];
|
|
78
78
|
const testAccountCredentials = configuration.testAccounts?.[testAccount];
|
|
79
79
|
const testAccountsToRefresh = new Set([testAccount]);
|
|
80
|
+
// Figure out if we want to refresh other test account at the same time (like if they currently have the same values)
|
|
81
|
+
for (const [account, accountCredentials] of Object.entries(configuration.testAccounts ?? {})) {
|
|
82
|
+
if (!testAccountsToRefresh.has(account) &&
|
|
83
|
+
accountCredentials?.accessToken === testAccountCredentials?.accessToken &&
|
|
84
|
+
accountCredentials?.refreshToken === testAccountCredentials?.refreshToken) {
|
|
85
|
+
testAccountsToRefresh.add(account);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
let decryptionResult;
|
|
89
|
+
if (testAccountCredentials) {
|
|
90
|
+
decryptionResult = await (0, decryption_1.decryptEntries)(configuration.name, environment, this.config.configDir, testAccountCredentials);
|
|
91
|
+
}
|
|
80
92
|
let credentials;
|
|
81
93
|
if (!testAccountCredentials?.accessToken || flags.reauth) {
|
|
82
|
-
core_1.ux.log(`Starting
|
|
94
|
+
core_1.ux.log(`Starting OAuth2 flow for test account: ${testAccount}`);
|
|
83
95
|
credentials = await Oauth2Resource.performOAuth2Flow(oauth2, environment, testAccountCredentials);
|
|
84
|
-
core_1.ux.log(`
|
|
96
|
+
core_1.ux.log(`OAuth2 flow... Done`);
|
|
85
97
|
}
|
|
86
98
|
else {
|
|
87
99
|
if (!testAccountCredentials?.refreshToken) {
|
|
88
100
|
core_1.ux.log(chalk_1.default.redBright('No refresh token found, nothing to do.'));
|
|
89
101
|
return;
|
|
90
102
|
}
|
|
91
|
-
|
|
92
|
-
for (const [account, accountCredentials] of Object.entries(configuration.testAccounts ?? {})) {
|
|
93
|
-
if (!testAccountsToRefresh.has(account) &&
|
|
94
|
-
accountCredentials?.accessToken === testAccountCredentials.accessToken &&
|
|
95
|
-
accountCredentials?.refreshToken === testAccountCredentials.refreshToken) {
|
|
96
|
-
testAccountsToRefresh.add(account);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
const decryptionResult = await (0, decryption_1.decryptEntries)(configuration.name, environment, this.config.configDir, testAccountCredentials);
|
|
100
|
-
const refreshToken = decryptionResult.successful.refreshToken;
|
|
103
|
+
const refreshToken = decryptionResult?.successful.refreshToken;
|
|
101
104
|
core_1.ux.action.start(`Refreshing test account ${testAccount}`, undefined, { stdout: true });
|
|
102
105
|
credentials = await Oauth2Resource.updateToken(oauth2, refreshToken);
|
|
103
|
-
// If provider response doesn't contain a new refresh token, use the one
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
106
|
+
// If provider response doesn't contain a new refresh token, use the existing one
|
|
107
|
+
credentials.refreshToken = credentials.refreshToken ?? refreshToken;
|
|
108
|
+
core_1.ux.action.stop();
|
|
109
|
+
}
|
|
110
|
+
if (decryptionResult) {
|
|
107
111
|
if (decryptionResult.successful.accessToken) {
|
|
108
112
|
credentials.accessToken = (await IntegrationsPlatform.encryptData(configuration.name, credentials.accessToken, false)).encryptedData;
|
|
109
113
|
}
|
|
110
|
-
if (decryptionResult.successful.refreshToken) {
|
|
114
|
+
if (decryptionResult.successful.refreshToken && credentials.refreshToken) {
|
|
111
115
|
credentials.refreshToken = (await IntegrationsPlatform.encryptData(configuration.name, credentials.refreshToken, false)).encryptedData;
|
|
112
116
|
}
|
|
113
|
-
core_1.ux.action.stop();
|
|
114
117
|
}
|
|
118
|
+
// Save credentials for all test accounts needing refresh
|
|
115
119
|
for (const account of testAccountsToRefresh) {
|
|
116
120
|
core_1.ux.action.start(`Saving credentials for account: ${account}`, undefined, { stdout: true });
|
|
117
121
|
await (0, configuration_1.writeTestAccount)(configuration, environment, customConfigPath, credentials, account);
|
|
118
122
|
core_1.ux.action.stop();
|
|
119
123
|
}
|
|
120
|
-
return;
|
|
121
124
|
}
|
|
122
125
|
}
|
|
123
126
|
exports.default = Oauth2;
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unito/integration-cli",
|
|
3
|
-
"version": "0.62.
|
|
3
|
+
"version": "0.62.8",
|
|
4
4
|
"description": "Integration CLI",
|
|
5
5
|
"bin": {
|
|
6
6
|
"integration-cli": "./bin/run"
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@oclif/core": "3.x",
|
|
40
|
-
"@unito/integration-debugger": "0.28.
|
|
40
|
+
"@unito/integration-debugger": "0.28.4",
|
|
41
41
|
"@oazapfts/runtime": "1.x",
|
|
42
42
|
"ajv": "8.x",
|
|
43
43
|
"ajv-formats": "2.x",
|
|
44
44
|
"better-ajv-errors": "1.x",
|
|
45
45
|
"chalk": "4.x",
|
|
46
46
|
"cors": "2.x",
|
|
47
|
-
"express": "5.0.
|
|
47
|
+
"express": "5.0.1",
|
|
48
48
|
"gradient-string": "2.x",
|
|
49
49
|
"inquirer": "8.x",
|
|
50
50
|
"json-colorizer": "2.x",
|