@layerzerolabs/vm-tooling 0.0.48 → 0.0.52
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/dist/{PGRNZALP.cjs → 2ASNEWIN.cjs} +668 -246
- package/dist/2ASNEWIN.cjs.map +1 -0
- package/dist/{7SRULFYS.cjs → 2RWEJQEO.cjs} +12 -8
- package/dist/2RWEJQEO.cjs.map +1 -0
- package/dist/{BA2LAHMY.js → 3CLGGUZ6.js} +5 -3
- package/dist/3CLGGUZ6.js.map +1 -0
- package/dist/{RVTTXEXB.cjs → 4KPRGHDI.cjs} +64 -47
- package/dist/4KPRGHDI.cjs.map +1 -0
- package/dist/{WAGFMHUT.js → 4LRYG53T.js} +37 -10
- package/dist/4LRYG53T.js.map +1 -0
- package/dist/4RNWLMHM.js +45 -0
- package/dist/4RNWLMHM.js.map +1 -0
- package/dist/4RWETOR3.cjs +1332 -0
- package/dist/4RWETOR3.cjs.map +1 -0
- package/dist/{CQHBPXZ2.cjs → 4UZKQNSD.cjs} +26 -16
- package/dist/4UZKQNSD.cjs.map +1 -0
- package/dist/{DXKVHPTB.js → 57KTFNRJ.js} +47 -60
- package/dist/57KTFNRJ.js.map +1 -0
- package/dist/{BHBC6Q3Y.js → 5CI7X2D4.js} +9 -5
- package/dist/5CI7X2D4.js.map +1 -0
- package/dist/{QNKHVJNZ.js → 5OKX3IYN.js} +6 -4
- package/dist/5OKX3IYN.js.map +1 -0
- package/dist/{3EOFF6NK.cjs → 5RAWDGJY.cjs} +7 -5
- package/dist/5RAWDGJY.cjs.map +1 -0
- package/dist/7DH3URRX.js +6 -0
- package/dist/7DH3URRX.js.map +1 -0
- package/dist/{WBKUP4MX.js → 7G26DPK3.js} +17 -8
- package/dist/7G26DPK3.js.map +1 -0
- package/dist/7PP2QA5H.cjs +8 -0
- package/dist/7PP2QA5H.cjs.map +1 -0
- package/dist/{FYBVGT35.js → A7N65AYR.js} +8 -6
- package/dist/A7N65AYR.js.map +1 -0
- package/dist/AY3IP22W.cjs +39 -0
- package/dist/AY3IP22W.cjs.map +1 -0
- package/dist/{S3DLREDC.js → BA5XKPUD.js} +7 -6
- package/dist/BA5XKPUD.js.map +1 -0
- package/dist/{63H5FLN6.cjs → BVLAV47O.cjs} +11 -7
- package/dist/BVLAV47O.cjs.map +1 -0
- package/dist/{VDH76SF6.cjs → BXO3RC75.cjs} +19 -10
- package/dist/BXO3RC75.cjs.map +1 -0
- package/dist/{EQPMZDRH.js → CH3GQSOI.js} +13 -6
- package/dist/CH3GQSOI.js.map +1 -0
- package/dist/{RVOOJEDH.js → CNLWPLWD.js} +433 -11
- package/dist/CNLWPLWD.js.map +1 -0
- package/dist/DPDVRYLI.cjs +234 -0
- package/dist/DPDVRYLI.cjs.map +1 -0
- package/dist/{Z5NOJAAG.cjs → DW3OZE6F.cjs} +163 -133
- package/dist/DW3OZE6F.cjs.map +1 -0
- package/dist/{IU7G43CF.cjs → DWHHPWIY.cjs} +66 -45
- package/dist/DWHHPWIY.cjs.map +1 -0
- package/dist/{6FHMI4HI.cjs → EDZNH6J4.cjs} +61 -16
- package/dist/EDZNH6J4.cjs.map +1 -0
- package/dist/{QWROCDWJ.cjs → EE3HP6UB.cjs} +76 -49
- package/dist/EE3HP6UB.cjs.map +1 -0
- package/dist/{EASTPCLB.js → ELFNCT57.js} +44 -4
- package/dist/ELFNCT57.js.map +1 -0
- package/dist/{LBQPL6VK.cjs → FLI6L2YX.cjs} +8 -6
- package/dist/FLI6L2YX.cjs.map +1 -0
- package/dist/{LXXIBLJQ.js → GZ7KTF4Q.js} +4 -3
- package/dist/GZ7KTF4Q.js.map +1 -0
- package/dist/{L3BNN3KF.cjs → HHS2B7YE.cjs} +395 -175
- package/dist/HHS2B7YE.cjs.map +1 -0
- package/dist/{GAZMRBLT.js → HR64SZQX.js} +4 -3
- package/dist/HR64SZQX.js.map +1 -0
- package/dist/{OVH4V3F6.js → IE5H7TSX.js} +8 -4
- package/dist/IE5H7TSX.js.map +1 -0
- package/dist/{F5UPK5ZZ.js → IMNIF2OY.js} +225 -5
- package/dist/IMNIF2OY.js.map +1 -0
- package/dist/{4NINFZK7.cjs → JJXZWB7K.cjs} +5 -4
- package/dist/JJXZWB7K.cjs.map +1 -0
- package/dist/{7LKSKL4C.cjs → L34TQNQN.cjs} +10 -9
- package/dist/L34TQNQN.cjs.map +1 -0
- package/dist/L3JULKNZ.js +6 -0
- package/dist/L3JULKNZ.js.map +1 -0
- package/dist/{33GUXAT7.js → LMCIXUBF.js} +16 -3
- package/dist/LMCIXUBF.js.map +1 -0
- package/dist/{OESMGGGL.js → MWXKZUMG.js} +61 -16
- package/dist/MWXKZUMG.js.map +1 -0
- package/dist/{YVV5I7A5.js → NDUVZQ7S.js} +4 -3
- package/dist/NDUVZQ7S.js.map +1 -0
- package/dist/{5MIIPWV7.cjs → NEQ3DTUV.cjs} +22 -9
- package/dist/NEQ3DTUV.cjs.map +1 -0
- package/dist/NSZHKDNY.cjs +82 -0
- package/dist/NSZHKDNY.cjs.map +1 -0
- package/dist/{JBULQDMK.js → NTYIDZH3.js} +54 -15
- package/dist/NTYIDZH3.js.map +1 -0
- package/dist/OAO7CCJW.js +6 -0
- package/dist/OAO7CCJW.js.map +1 -0
- package/dist/{L75NPWJX.cjs → OAYLBSRH.cjs} +64 -24
- package/dist/OAYLBSRH.cjs.map +1 -0
- package/dist/OH4A2VLX.js +232 -0
- package/dist/OH4A2VLX.js.map +1 -0
- package/dist/OOTZHKMN.cjs +8 -0
- package/dist/OOTZHKMN.cjs.map +1 -0
- package/dist/PDSRUQEX.js +78 -0
- package/dist/PDSRUQEX.js.map +1 -0
- package/dist/{WDWUP4NU.cjs → PH3AB77Z.cjs} +59 -71
- package/dist/PH3AB77Z.cjs.map +1 -0
- package/dist/{QMIU5HY3.cjs → PYQO5EUZ.cjs} +34 -25
- package/dist/PYQO5EUZ.cjs.map +1 -0
- package/dist/{PXT4MQYT.cjs → Q4F544X2.cjs} +316 -252
- package/dist/Q4F544X2.cjs.map +1 -0
- package/dist/{OU33HN4T.js → QMXX45TO.js} +17 -7
- package/dist/QMXX45TO.js.map +1 -0
- package/dist/{KTOZRP5U.cjs → QO6IEDLG.cjs} +74 -45
- package/dist/QO6IEDLG.cjs.map +1 -0
- package/dist/{E75FXJNJ.js → RH2W4KPM.js} +36 -7
- package/dist/RH2W4KPM.js.map +1 -0
- package/dist/{PC55ZLZD.cjs → RRJYWXRS.cjs} +17 -10
- package/dist/RRJYWXRS.cjs.map +1 -0
- package/dist/{RVM7QRW3.cjs → T7SZKDWZ.cjs} +21 -20
- package/dist/T7SZKDWZ.cjs.map +1 -0
- package/dist/{OWJM6QQP.js → TO3FUAEA.js} +32 -15
- package/dist/TO3FUAEA.js.map +1 -0
- package/dist/{7EXYTS34.js → TTKDG2NN.js} +12 -3
- package/dist/TTKDG2NN.js.map +1 -0
- package/dist/{7PDYKZMF.cjs → TYFYAP7W.cjs} +21 -19
- package/dist/TYFYAP7W.cjs.map +1 -0
- package/dist/{4XKJ5GJB.js → UL4OVG5P.js} +44 -14
- package/dist/UL4OVG5P.js.map +1 -0
- package/dist/{6A3MRQDI.js → VAAP26JC.js} +77 -13
- package/dist/VAAP26JC.js.map +1 -0
- package/dist/{THMQMWYA.cjs → VGCATKI5.cjs} +5 -4
- package/dist/VGCATKI5.cjs.map +1 -0
- package/dist/{CSNPKKTO.js → VLSIEZLM.js} +21 -5
- package/dist/VLSIEZLM.js.map +1 -0
- package/dist/VO65XOWD.cjs +54 -0
- package/dist/VO65XOWD.cjs.map +1 -0
- package/dist/{3BKFBGX3.cjs → VVTDADG7.cjs} +5 -4
- package/dist/VVTDADG7.cjs.map +1 -0
- package/dist/{6NLXVH5R.cjs → VYFY2754.cjs} +233 -194
- package/dist/VYFY2754.cjs.map +1 -0
- package/dist/{XJWXQV6E.js → W2CW3JVG.js} +51 -30
- package/dist/W2CW3JVG.js.map +1 -0
- package/dist/{NMC54VEB.cjs → W7QMZBXR.cjs} +34 -18
- package/dist/W7QMZBXR.cjs.map +1 -0
- package/dist/XM743A75.js +1326 -0
- package/dist/XM743A75.js.map +1 -0
- package/dist/{RAIK357L.js → YIS2J6NC.js} +8 -4
- package/dist/YIS2J6NC.js.map +1 -0
- package/dist/{JY6PMFYV.js → YYBFDJRD.js} +5 -4
- package/dist/YYBFDJRD.js.map +1 -0
- package/dist/{3AX3IZXK.cjs → Z7BVBO5K.cjs} +12 -8
- package/dist/Z7BVBO5K.cjs.map +1 -0
- package/dist/config/index.cjs +8 -8
- package/dist/config/index.js +4 -4
- package/dist/config/tools.cjs +5 -5
- package/dist/config/tools.d.ts.map +1 -1
- package/dist/config/tools.js +4 -4
- package/dist/config/version-matrices.cjs +3 -3
- package/dist/config/version-matrices.d.ts.map +1 -1
- package/dist/config/version-matrices.js +2 -2
- package/dist/core/compatibility.cjs +3 -3
- package/dist/core/compatibility.js +2 -2
- package/dist/core/index.cjs +14 -13
- package/dist/core/index.js +9 -8
- package/dist/core/lock.cjs +21 -0
- package/dist/core/lock.cjs.map +1 -0
- package/dist/core/lock.d.ts +9 -0
- package/dist/core/lock.d.ts.map +1 -0
- package/dist/core/lock.js +4 -0
- package/dist/core/lock.js.map +1 -0
- package/dist/core/lock.test.cjs +18294 -0
- package/dist/core/lock.test.cjs.map +1 -0
- package/dist/core/lock.test.js +18292 -0
- package/dist/core/lock.test.js.map +1 -0
- package/dist/core/tool-executor.cjs +13 -8
- package/dist/core/tool-executor.d.ts +6 -1
- package/dist/core/tool-executor.d.ts.map +1 -1
- package/dist/core/tool-executor.js +8 -7
- package/dist/core/version-resolver.cjs +9 -9
- package/dist/core/version-resolver.js +6 -6
- package/dist/display/formatters.cjs +4 -4
- package/dist/display/formatters.d.ts +1 -1
- package/dist/display/formatters.d.ts.map +1 -1
- package/dist/display/formatters.js +2 -2
- package/dist/display/index.cjs +11 -11
- package/dist/display/index.js +7 -7
- package/dist/display/version-display.cjs +8 -8
- package/dist/display/version-display.js +6 -6
- package/dist/index.cjs +24 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +16 -13
- package/dist/index.js.map +1 -1
- package/dist/scripts/generate-github-matrix.cjs +325 -290
- package/dist/scripts/generate-github-matrix.cjs.map +1 -1
- package/dist/scripts/generate-github-matrix.js +67 -32
- package/dist/scripts/generate-github-matrix.js.map +1 -1
- package/dist/types/docker.cjs +3 -1
- package/dist/types/docker.cjs.map +1 -1
- package/dist/types/docker.d.ts +15 -6
- package/dist/types/docker.d.ts.map +1 -1
- package/dist/types/docker.js +3 -0
- package/dist/types/docker.js.map +1 -1
- package/dist/types/index.cjs +3 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.js +3 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/tool.cjs +3 -1
- package/dist/types/tool.cjs.map +1 -1
- package/dist/types/tool.d.ts +2 -6
- package/dist/types/tool.d.ts.map +1 -1
- package/dist/types/tool.js +3 -0
- package/dist/types/tool.js.map +1 -1
- package/dist/types/version.cjs +3 -1
- package/dist/types/version.cjs.map +1 -1
- package/dist/types/version.d.ts +1 -0
- package/dist/types/version.d.ts.map +1 -1
- package/dist/types/version.js +3 -0
- package/dist/types/version.js.map +1 -1
- package/dist/utils/finder-utils.cjs +11 -11
- package/dist/utils/finder-utils.js +4 -4
- package/dist/utils/index.cjs +17 -16
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.js +7 -4
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/version-utils.cjs +8 -8
- package/dist/utils/version-utils.js +4 -4
- package/dist/utils.cjs +4 -4
- package/dist/utils.js +2 -2
- package/package.json +7 -5
- package/dist/33GUXAT7.js.map +0 -1
- package/dist/3AX3IZXK.cjs.map +0 -1
- package/dist/3BKFBGX3.cjs.map +0 -1
- package/dist/3EOFF6NK.cjs.map +0 -1
- package/dist/4NINFZK7.cjs.map +0 -1
- package/dist/4XKJ5GJB.js.map +0 -1
- package/dist/5MIIPWV7.cjs.map +0 -1
- package/dist/5N3Q6FCT.cjs +0 -4
- package/dist/5N3Q6FCT.cjs.map +0 -1
- package/dist/63H5FLN6.cjs.map +0 -1
- package/dist/6A3MRQDI.js.map +0 -1
- package/dist/6FHMI4HI.cjs.map +0 -1
- package/dist/6NLXVH5R.cjs.map +0 -1
- package/dist/6UWCX7SA.js +0 -60
- package/dist/6UWCX7SA.js.map +0 -1
- package/dist/7EXYTS34.js.map +0 -1
- package/dist/7LKSKL4C.cjs.map +0 -1
- package/dist/7PDYKZMF.cjs.map +0 -1
- package/dist/7SRULFYS.cjs.map +0 -1
- package/dist/AH2UQL5E.js +0 -6
- package/dist/AH2UQL5E.js.map +0 -1
- package/dist/BA2LAHMY.js.map +0 -1
- package/dist/BHBC6Q3Y.js.map +0 -1
- package/dist/CQHBPXZ2.cjs.map +0 -1
- package/dist/CSNPKKTO.js.map +0 -1
- package/dist/DXKVHPTB.js.map +0 -1
- package/dist/E75FXJNJ.js.map +0 -1
- package/dist/EASTPCLB.js.map +0 -1
- package/dist/EKUFNO5X.js +0 -3
- package/dist/EKUFNO5X.js.map +0 -1
- package/dist/EQPMZDRH.js.map +0 -1
- package/dist/F5UPK5ZZ.js.map +0 -1
- package/dist/FYBVGT35.js.map +0 -1
- package/dist/GAZMRBLT.js.map +0 -1
- package/dist/IU7G43CF.cjs.map +0 -1
- package/dist/JBULQDMK.js.map +0 -1
- package/dist/JY6PMFYV.js.map +0 -1
- package/dist/KTOZRP5U.cjs.map +0 -1
- package/dist/L3BNN3KF.cjs.map +0 -1
- package/dist/L75NPWJX.cjs.map +0 -1
- package/dist/LBQPL6VK.cjs.map +0 -1
- package/dist/LXXIBLJQ.js.map +0 -1
- package/dist/MBTHP667.cjs +0 -39
- package/dist/MBTHP667.cjs.map +0 -1
- package/dist/NMC54VEB.cjs.map +0 -1
- package/dist/NX4KBEWA.cjs +0 -13
- package/dist/NX4KBEWA.cjs.map +0 -1
- package/dist/OESMGGGL.js.map +0 -1
- package/dist/OU33HN4T.js.map +0 -1
- package/dist/OVH4V3F6.js.map +0 -1
- package/dist/OWJM6QQP.js.map +0 -1
- package/dist/PC55ZLZD.cjs.map +0 -1
- package/dist/PGRNZALP.cjs.map +0 -1
- package/dist/PXT4MQYT.cjs.map +0 -1
- package/dist/QMIU5HY3.cjs.map +0 -1
- package/dist/QNKHVJNZ.js.map +0 -1
- package/dist/QWROCDWJ.cjs.map +0 -1
- package/dist/RAIK357L.js.map +0 -1
- package/dist/RLUL6JFM.cjs +0 -4
- package/dist/RLUL6JFM.cjs.map +0 -1
- package/dist/RVM7QRW3.cjs.map +0 -1
- package/dist/RVOOJEDH.js.map +0 -1
- package/dist/RVTTXEXB.cjs.map +0 -1
- package/dist/S3DLREDC.js.map +0 -1
- package/dist/THMQMWYA.cjs.map +0 -1
- package/dist/VDH76SF6.cjs.map +0 -1
- package/dist/VUOMXK5T.js +0 -6
- package/dist/VUOMXK5T.js.map +0 -1
- package/dist/WAGFMHUT.js.map +0 -1
- package/dist/WBKUP4MX.js.map +0 -1
- package/dist/WDWUP4NU.cjs.map +0 -1
- package/dist/XH4FQTBY.cjs +0 -62
- package/dist/XH4FQTBY.cjs.map +0 -1
- package/dist/XJWXQV6E.js.map +0 -1
- package/dist/YVV5I7A5.js.map +0 -1
- package/dist/Z5NOJAAG.cjs.map +0 -1
- package/dist/ZEW74YLA.js +0 -3
- package/dist/ZEW74YLA.js.map +0 -1
package/dist/OH4A2VLX.js
ADDED
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
import { init_esm_shims } from './4RNWLMHM.js';
|
|
2
|
+
|
|
3
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/middleware.js
|
|
4
|
+
init_esm_shims();
|
|
5
|
+
var SMITHY_CONTEXT_KEY = "__smithy_context";
|
|
6
|
+
|
|
7
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/index.js
|
|
8
|
+
init_esm_shims();
|
|
9
|
+
|
|
10
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/abort.js
|
|
11
|
+
init_esm_shims();
|
|
12
|
+
|
|
13
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/index.js
|
|
14
|
+
init_esm_shims();
|
|
15
|
+
|
|
16
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/auth.js
|
|
17
|
+
init_esm_shims();
|
|
18
|
+
var HttpAuthLocation;
|
|
19
|
+
(function(HttpAuthLocation2) {
|
|
20
|
+
HttpAuthLocation2["HEADER"] = "header";
|
|
21
|
+
HttpAuthLocation2["QUERY"] = "query";
|
|
22
|
+
})(HttpAuthLocation || (HttpAuthLocation = {}));
|
|
23
|
+
|
|
24
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/HttpApiKeyAuth.js
|
|
25
|
+
init_esm_shims();
|
|
26
|
+
var HttpApiKeyAuthLocation;
|
|
27
|
+
(function(HttpApiKeyAuthLocation2) {
|
|
28
|
+
HttpApiKeyAuthLocation2["HEADER"] = "header";
|
|
29
|
+
HttpApiKeyAuthLocation2["QUERY"] = "query";
|
|
30
|
+
})(HttpApiKeyAuthLocation || (HttpApiKeyAuthLocation = {}));
|
|
31
|
+
|
|
32
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/HttpAuthScheme.js
|
|
33
|
+
init_esm_shims();
|
|
34
|
+
|
|
35
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/HttpAuthSchemeProvider.js
|
|
36
|
+
init_esm_shims();
|
|
37
|
+
|
|
38
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/HttpSigner.js
|
|
39
|
+
init_esm_shims();
|
|
40
|
+
|
|
41
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/IdentityProviderConfig.js
|
|
42
|
+
init_esm_shims();
|
|
43
|
+
|
|
44
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/blob/blob-payload-input-types.js
|
|
45
|
+
init_esm_shims();
|
|
46
|
+
|
|
47
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/checksum.js
|
|
48
|
+
init_esm_shims();
|
|
49
|
+
|
|
50
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/client.js
|
|
51
|
+
init_esm_shims();
|
|
52
|
+
|
|
53
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/command.js
|
|
54
|
+
init_esm_shims();
|
|
55
|
+
|
|
56
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/connection/index.js
|
|
57
|
+
init_esm_shims();
|
|
58
|
+
|
|
59
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/connection/config.js
|
|
60
|
+
init_esm_shims();
|
|
61
|
+
|
|
62
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/connection/manager.js
|
|
63
|
+
init_esm_shims();
|
|
64
|
+
|
|
65
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/connection/pool.js
|
|
66
|
+
init_esm_shims();
|
|
67
|
+
|
|
68
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/crypto.js
|
|
69
|
+
init_esm_shims();
|
|
70
|
+
|
|
71
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/encode.js
|
|
72
|
+
init_esm_shims();
|
|
73
|
+
|
|
74
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoint.js
|
|
75
|
+
init_esm_shims();
|
|
76
|
+
var EndpointURLScheme;
|
|
77
|
+
(function(EndpointURLScheme2) {
|
|
78
|
+
EndpointURLScheme2["HTTP"] = "http";
|
|
79
|
+
EndpointURLScheme2["HTTPS"] = "https";
|
|
80
|
+
})(EndpointURLScheme || (EndpointURLScheme = {}));
|
|
81
|
+
|
|
82
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/index.js
|
|
83
|
+
init_esm_shims();
|
|
84
|
+
|
|
85
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/EndpointRuleObject.js
|
|
86
|
+
init_esm_shims();
|
|
87
|
+
|
|
88
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/ErrorRuleObject.js
|
|
89
|
+
init_esm_shims();
|
|
90
|
+
|
|
91
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/RuleSetObject.js
|
|
92
|
+
init_esm_shims();
|
|
93
|
+
|
|
94
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/shared.js
|
|
95
|
+
init_esm_shims();
|
|
96
|
+
|
|
97
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/TreeRuleObject.js
|
|
98
|
+
init_esm_shims();
|
|
99
|
+
|
|
100
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/eventStream.js
|
|
101
|
+
init_esm_shims();
|
|
102
|
+
|
|
103
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/extensions/index.js
|
|
104
|
+
init_esm_shims();
|
|
105
|
+
|
|
106
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js
|
|
107
|
+
init_esm_shims();
|
|
108
|
+
|
|
109
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/extensions/checksum.js
|
|
110
|
+
init_esm_shims();
|
|
111
|
+
var AlgorithmId;
|
|
112
|
+
(function(AlgorithmId2) {
|
|
113
|
+
AlgorithmId2["MD5"] = "md5";
|
|
114
|
+
AlgorithmId2["CRC32"] = "crc32";
|
|
115
|
+
AlgorithmId2["CRC32C"] = "crc32c";
|
|
116
|
+
AlgorithmId2["SHA1"] = "sha1";
|
|
117
|
+
AlgorithmId2["SHA256"] = "sha256";
|
|
118
|
+
})(AlgorithmId || (AlgorithmId = {}));
|
|
119
|
+
|
|
120
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/extensions/defaultExtensionConfiguration.js
|
|
121
|
+
init_esm_shims();
|
|
122
|
+
|
|
123
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/feature-ids.js
|
|
124
|
+
init_esm_shims();
|
|
125
|
+
|
|
126
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/http.js
|
|
127
|
+
init_esm_shims();
|
|
128
|
+
var FieldPosition;
|
|
129
|
+
(function(FieldPosition2) {
|
|
130
|
+
FieldPosition2[FieldPosition2["HEADER"] = 0] = "HEADER";
|
|
131
|
+
FieldPosition2[FieldPosition2["TRAILER"] = 1] = "TRAILER";
|
|
132
|
+
})(FieldPosition || (FieldPosition = {}));
|
|
133
|
+
|
|
134
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/http/httpHandlerInitialization.js
|
|
135
|
+
init_esm_shims();
|
|
136
|
+
|
|
137
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/identity/index.js
|
|
138
|
+
init_esm_shims();
|
|
139
|
+
|
|
140
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/identity/apiKeyIdentity.js
|
|
141
|
+
init_esm_shims();
|
|
142
|
+
|
|
143
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/identity/awsCredentialIdentity.js
|
|
144
|
+
init_esm_shims();
|
|
145
|
+
|
|
146
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/identity/identity.js
|
|
147
|
+
init_esm_shims();
|
|
148
|
+
|
|
149
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/identity/tokenIdentity.js
|
|
150
|
+
init_esm_shims();
|
|
151
|
+
|
|
152
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/logger.js
|
|
153
|
+
init_esm_shims();
|
|
154
|
+
|
|
155
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/pagination.js
|
|
156
|
+
init_esm_shims();
|
|
157
|
+
|
|
158
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/profile.js
|
|
159
|
+
init_esm_shims();
|
|
160
|
+
var IniSectionType;
|
|
161
|
+
(function(IniSectionType2) {
|
|
162
|
+
IniSectionType2["PROFILE"] = "profile";
|
|
163
|
+
IniSectionType2["SSO_SESSION"] = "sso-session";
|
|
164
|
+
IniSectionType2["SERVICES"] = "services";
|
|
165
|
+
})(IniSectionType || (IniSectionType = {}));
|
|
166
|
+
|
|
167
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/response.js
|
|
168
|
+
init_esm_shims();
|
|
169
|
+
|
|
170
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/retry.js
|
|
171
|
+
init_esm_shims();
|
|
172
|
+
|
|
173
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/schema/schema.js
|
|
174
|
+
init_esm_shims();
|
|
175
|
+
|
|
176
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/schema/sentinels.js
|
|
177
|
+
init_esm_shims();
|
|
178
|
+
|
|
179
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/serde.js
|
|
180
|
+
init_esm_shims();
|
|
181
|
+
|
|
182
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/shapes.js
|
|
183
|
+
init_esm_shims();
|
|
184
|
+
|
|
185
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/signature.js
|
|
186
|
+
init_esm_shims();
|
|
187
|
+
|
|
188
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/stream.js
|
|
189
|
+
init_esm_shims();
|
|
190
|
+
|
|
191
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-common-types.js
|
|
192
|
+
init_esm_shims();
|
|
193
|
+
|
|
194
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-input-types.js
|
|
195
|
+
init_esm_shims();
|
|
196
|
+
|
|
197
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-output-types.js
|
|
198
|
+
init_esm_shims();
|
|
199
|
+
|
|
200
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/transfer.js
|
|
201
|
+
init_esm_shims();
|
|
202
|
+
var RequestHandlerProtocol;
|
|
203
|
+
(function(RequestHandlerProtocol2) {
|
|
204
|
+
RequestHandlerProtocol2["HTTP_0_9"] = "http/0.9";
|
|
205
|
+
RequestHandlerProtocol2["HTTP_1_0"] = "http/1.0";
|
|
206
|
+
RequestHandlerProtocol2["TDS_8_0"] = "tds/8.0";
|
|
207
|
+
})(RequestHandlerProtocol || (RequestHandlerProtocol = {}));
|
|
208
|
+
|
|
209
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/transform/client-payload-blob-type-narrow.js
|
|
210
|
+
init_esm_shims();
|
|
211
|
+
|
|
212
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/transform/mutable.js
|
|
213
|
+
init_esm_shims();
|
|
214
|
+
|
|
215
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/transform/no-undefined.js
|
|
216
|
+
init_esm_shims();
|
|
217
|
+
|
|
218
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/transform/type-transform.js
|
|
219
|
+
init_esm_shims();
|
|
220
|
+
|
|
221
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/uri.js
|
|
222
|
+
init_esm_shims();
|
|
223
|
+
|
|
224
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/util.js
|
|
225
|
+
init_esm_shims();
|
|
226
|
+
|
|
227
|
+
// ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/waiter.js
|
|
228
|
+
init_esm_shims();
|
|
229
|
+
|
|
230
|
+
export { AlgorithmId, EndpointURLScheme, IniSectionType, SMITHY_CONTEXT_KEY };
|
|
231
|
+
//# sourceMappingURL=OH4A2VLX.js.map
|
|
232
|
+
//# sourceMappingURL=OH4A2VLX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/middleware.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/index.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/abort.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/index.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/auth.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/HttpApiKeyAuth.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/HttpAuthScheme.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/HttpAuthSchemeProvider.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/HttpSigner.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/IdentityProviderConfig.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/blob/blob-payload-input-types.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/checksum.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/client.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/command.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/connection/index.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/connection/config.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/connection/manager.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/connection/pool.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/crypto.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/encode.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoint.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/index.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/EndpointRuleObject.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/ErrorRuleObject.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/RuleSetObject.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/shared.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/TreeRuleObject.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/eventStream.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/extensions/index.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/extensions/checksum.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/extensions/defaultExtensionConfiguration.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/feature-ids.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/http.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/http/httpHandlerInitialization.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/identity/index.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/identity/apiKeyIdentity.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/identity/awsCredentialIdentity.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/identity/identity.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/identity/tokenIdentity.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/logger.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/pagination.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/profile.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/response.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/retry.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/schema/schema.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/schema/sentinels.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/serde.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/shapes.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/signature.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/stream.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-common-types.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-input-types.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-output-types.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/transfer.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/transform/client-payload-blob-type-narrow.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/transform/mutable.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/transform/no-undefined.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/transform/type-transform.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/uri.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/util.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/waiter.js"],"names":["SMITHY_CONTEXT_KEY","HttpAuthLocation","HttpApiKeyAuthLocation","EndpointURLScheme","AlgorithmId","FieldPosition","IniSectionType","RequestHandlerProtocol"],"mappings":";;;AAAA,cAAA,EAAA;AAAO,IAAMA,kBAAAA,GAAqB;;;ACAlC,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;AAAO,IAAIC,gBAAAA;AACV,CAAA,SAAUA,iBAAAA,EAAgB;AACvBA,EAAAA,iBAAAA,CAAiB,QAAA,CAAA,GAAY,QAAA;AAC7BA,EAAAA,iBAAAA,CAAiB,OAAA,CAAA,GAAW,OAAA;AAChC,CAAA,EAAGA,gBAAAA,KAAqBA,gBAAAA,GAAmB,EAAC,CAAA,CAAA;;;ACJ5C,cAAA,EAAA;AAAO,IAAIC,sBAAAA;AACV,CAAA,SAAUA,uBAAAA,EAAsB;AAC7BA,EAAAA,uBAAAA,CAAuB,QAAA,CAAA,GAAY,QAAA;AACnCA,EAAAA,uBAAAA,CAAuB,OAAA,CAAA,GAAW,OAAA;AACtC,CAAA,EAAGA,sBAAAA,KAA2BA,sBAAAA,GAAyB,EAAC,CAAA,CAAA;;;ACJxD,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;AAAO,IAAIC;AACV,CAAA,SAAUA,kBAAAA,EAAiB;AACxBA,EAAAA,kBAAAA,CAAkB,MAAA,CAAA,GAAU,MAAA;AAC5BA,EAAAA,kBAAAA,CAAkB,OAAA,CAAA,GAAW,OAAA;AACjC,CAAA,EAAGA,iBAAAA,KAAsBA,iBAAAA,GAAoB,EAAC,CAAA,CAAA;;;ACJ9C,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;AAAO,IAAIC;AACV,CAAA,SAAUA,YAAAA,EAAW;AAClBA,EAAAA,YAAAA,CAAY,KAAA,CAAA,GAAS,KAAA;AACrBA,EAAAA,YAAAA,CAAY,OAAA,CAAA,GAAW,OAAA;AACvBA,EAAAA,YAAAA,CAAY,QAAA,CAAA,GAAY,QAAA;AACxBA,EAAAA,YAAAA,CAAY,MAAA,CAAA,GAAU,MAAA;AACtBA,EAAAA,YAAAA,CAAY,QAAA,CAAA,GAAY,QAAA;AAC5B,CAAA,EAAGA,WAAAA,KAAgBA,WAAAA,GAAc,EAAC,CAAA,CAAA;;;ACPlC,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;AAAO,IAAIC,aAAAA;AACV,CAAA,SAAUA,cAAAA,EAAa;AACpBA,EAAAA,cAAAA,CAAcA,cAAAA,CAAc,QAAA,CAAA,GAAY,CAAA,CAAA,GAAK,QAAA;AAC7CA,EAAAA,cAAAA,CAAcA,cAAAA,CAAc,SAAA,CAAA,GAAa,CAAA,CAAA,GAAK,SAAA;AAClD,CAAA,EAAGA,aAAAA,KAAkBA,aAAAA,GAAgB,EAAC,CAAA,CAAA;;;ACJtC,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;AAAO,IAAIC;AACV,CAAA,SAAUA,eAAAA,EAAc;AACrBA,EAAAA,eAAAA,CAAe,SAAA,CAAA,GAAa,SAAA;AAC5BA,EAAAA,eAAAA,CAAe,aAAA,CAAA,GAAiB,aAAA;AAChCA,EAAAA,eAAAA,CAAe,UAAA,CAAA,GAAc,UAAA;AACjC,CAAA,EAAGA,cAAAA,KAAmBA,cAAAA,GAAiB,EAAC,CAAA,CAAA;;;ACLxC,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;AAAO,IAAIC,sBAAAA;AACV,CAAA,SAAUA,uBAAAA,EAAsB;AAC7BA,EAAAA,uBAAAA,CAAuB,UAAA,CAAA,GAAc,UAAA;AACrCA,EAAAA,uBAAAA,CAAuB,UAAA,CAAA,GAAc,UAAA;AACrCA,EAAAA,uBAAAA,CAAuB,SAAA,CAAA,GAAa,SAAA;AACxC,CAAA,EAAGA,sBAAAA,KAA2BA,sBAAAA,GAAyB,EAAC,CAAA,CAAA;;;ACLxD,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACAA,cAAA,EAAA","file":"OH4A2VLX.js","sourcesContent":["export const SMITHY_CONTEXT_KEY = \"__smithy_context\";\n","export * from \"./abort\";\nexport * from \"./auth\";\nexport * from \"./blob/blob-payload-input-types\";\nexport * from \"./checksum\";\nexport * from \"./client\";\nexport * from \"./command\";\nexport * from \"./connection\";\nexport * from \"./crypto\";\nexport * from \"./encode\";\nexport * from \"./endpoint\";\nexport * from \"./endpoints\";\nexport * from \"./eventStream\";\nexport * from \"./extensions\";\nexport * from \"./feature-ids\";\nexport * from \"./http\";\nexport * from \"./http/httpHandlerInitialization\";\nexport * from \"./identity\";\nexport * from \"./logger\";\nexport * from \"./middleware\";\nexport * from \"./pagination\";\nexport * from \"./profile\";\nexport * from \"./response\";\nexport * from \"./retry\";\nexport * from \"./schema/schema\";\nexport * from \"./schema/sentinels\";\nexport * from \"./serde\";\nexport * from \"./shapes\";\nexport * from \"./signature\";\nexport * from \"./stream\";\nexport * from \"./streaming-payload/streaming-blob-common-types\";\nexport * from \"./streaming-payload/streaming-blob-payload-input-types\";\nexport * from \"./streaming-payload/streaming-blob-payload-output-types\";\nexport * from \"./transfer\";\nexport * from \"./transform/client-payload-blob-type-narrow\";\nexport * from \"./transform/mutable\";\nexport * from \"./transform/no-undefined\";\nexport * from \"./transform/type-transform\";\nexport * from \"./uri\";\nexport * from \"./util\";\nexport * from \"./waiter\";\n","export {};\n","export * from \"./auth\";\nexport * from \"./HttpApiKeyAuth\";\nexport * from \"./HttpAuthScheme\";\nexport * from \"./HttpAuthSchemeProvider\";\nexport * from \"./HttpSigner\";\nexport * from \"./IdentityProviderConfig\";\n","export var HttpAuthLocation;\n(function (HttpAuthLocation) {\n HttpAuthLocation[\"HEADER\"] = \"header\";\n HttpAuthLocation[\"QUERY\"] = \"query\";\n})(HttpAuthLocation || (HttpAuthLocation = {}));\n","export var HttpApiKeyAuthLocation;\n(function (HttpApiKeyAuthLocation) {\n HttpApiKeyAuthLocation[\"HEADER\"] = \"header\";\n HttpApiKeyAuthLocation[\"QUERY\"] = \"query\";\n})(HttpApiKeyAuthLocation || (HttpApiKeyAuthLocation = {}));\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export * from \"./config\";\nexport * from \"./manager\";\nexport * from \"./pool\";\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export var EndpointURLScheme;\n(function (EndpointURLScheme) {\n EndpointURLScheme[\"HTTP\"] = \"http\";\n EndpointURLScheme[\"HTTPS\"] = \"https\";\n})(EndpointURLScheme || (EndpointURLScheme = {}));\n","export * from \"./EndpointRuleObject\";\nexport * from \"./ErrorRuleObject\";\nexport * from \"./RuleSetObject\";\nexport * from \"./shared\";\nexport * from \"./TreeRuleObject\";\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export * from \"./defaultClientConfiguration\";\nexport * from \"./defaultExtensionConfiguration\";\nexport { AlgorithmId } from \"./checksum\";\n","import { getChecksumConfiguration, resolveChecksumRuntimeConfig } from \"./checksum\";\nexport const getDefaultClientConfiguration = (runtimeConfig) => {\n return getChecksumConfiguration(runtimeConfig);\n};\nexport const resolveDefaultRuntimeConfig = (config) => {\n return resolveChecksumRuntimeConfig(config);\n};\n","export var AlgorithmId;\n(function (AlgorithmId) {\n AlgorithmId[\"MD5\"] = \"md5\";\n AlgorithmId[\"CRC32\"] = \"crc32\";\n AlgorithmId[\"CRC32C\"] = \"crc32c\";\n AlgorithmId[\"SHA1\"] = \"sha1\";\n AlgorithmId[\"SHA256\"] = \"sha256\";\n})(AlgorithmId || (AlgorithmId = {}));\nexport const getChecksumConfiguration = (runtimeConfig) => {\n const checksumAlgorithms = [];\n if (runtimeConfig.sha256 !== undefined) {\n checksumAlgorithms.push({\n algorithmId: () => AlgorithmId.SHA256,\n checksumConstructor: () => runtimeConfig.sha256,\n });\n }\n if (runtimeConfig.md5 != undefined) {\n checksumAlgorithms.push({\n algorithmId: () => AlgorithmId.MD5,\n checksumConstructor: () => runtimeConfig.md5,\n });\n }\n return {\n addChecksumAlgorithm(algo) {\n checksumAlgorithms.push(algo);\n },\n checksumAlgorithms() {\n return checksumAlgorithms;\n },\n };\n};\nexport const resolveChecksumRuntimeConfig = (clientConfig) => {\n const runtimeConfig = {};\n clientConfig.checksumAlgorithms().forEach((checksumAlgorithm) => {\n runtimeConfig[checksumAlgorithm.algorithmId()] = checksumAlgorithm.checksumConstructor();\n });\n return runtimeConfig;\n};\n","export {};\n","export {};\n","export var FieldPosition;\n(function (FieldPosition) {\n FieldPosition[FieldPosition[\"HEADER\"] = 0] = \"HEADER\";\n FieldPosition[FieldPosition[\"TRAILER\"] = 1] = \"TRAILER\";\n})(FieldPosition || (FieldPosition = {}));\n","export {};\n","export * from \"./apiKeyIdentity\";\nexport * from \"./awsCredentialIdentity\";\nexport * from \"./identity\";\nexport * from \"./tokenIdentity\";\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export var IniSectionType;\n(function (IniSectionType) {\n IniSectionType[\"PROFILE\"] = \"profile\";\n IniSectionType[\"SSO_SESSION\"] = \"sso-session\";\n IniSectionType[\"SERVICES\"] = \"services\";\n})(IniSectionType || (IniSectionType = {}));\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export var RequestHandlerProtocol;\n(function (RequestHandlerProtocol) {\n RequestHandlerProtocol[\"HTTP_0_9\"] = \"http/0.9\";\n RequestHandlerProtocol[\"HTTP_1_0\"] = \"http/1.0\";\n RequestHandlerProtocol[\"TDS_8_0\"] = \"tds/8.0\";\n})(RequestHandlerProtocol || (RequestHandlerProtocol = {}));\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/core/index.ts"],"names":["init_cjs_shims"],"mappings":";;;;;AAAAA,2BAAA,EAAA","file":"OOTZHKMN.cjs","sourcesContent":["// Export core functionality\nexport { findBestCompatibleCombination } from './compatibility';\nexport { executeToolCommand } from './tool-executor';\nexport { extractUserVersions, resolveToolVersion, resolveTypeVersions } from './version-resolver';\n"]}
|
package/dist/PDSRUQEX.js
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { init_esm_shims, __name } from './4RNWLMHM.js';
|
|
2
|
+
import { delay } from 'es-toolkit';
|
|
3
|
+
import { rmSync } from 'node:fs';
|
|
4
|
+
import { mkdir, open, constants } from 'node:fs/promises';
|
|
5
|
+
import { homedir } from 'node:os';
|
|
6
|
+
import { join } from 'node:path';
|
|
7
|
+
|
|
8
|
+
// src/core/lock.ts
|
|
9
|
+
init_esm_shims();
|
|
10
|
+
var directory = join(homedir(), ".cache/vm-tooling/locks");
|
|
11
|
+
var defaultOptions = {
|
|
12
|
+
interval: 1e3,
|
|
13
|
+
timeout: 3e5
|
|
14
|
+
};
|
|
15
|
+
var signals = [
|
|
16
|
+
"SIGINT",
|
|
17
|
+
"SIGTERM",
|
|
18
|
+
"SIGHUP"
|
|
19
|
+
];
|
|
20
|
+
var buildLockFilePath = /* @__PURE__ */ __name((key) => join(directory, key), "buildLockFilePath");
|
|
21
|
+
var lock = /* @__PURE__ */ __name(async (key, run, options = {}) => {
|
|
22
|
+
const { interval, timeout } = {
|
|
23
|
+
...defaultOptions,
|
|
24
|
+
...options
|
|
25
|
+
};
|
|
26
|
+
const path = buildLockFilePath(key);
|
|
27
|
+
const packageName = process.env.npm_package_name;
|
|
28
|
+
const info = [
|
|
29
|
+
...packageName ? [
|
|
30
|
+
"for",
|
|
31
|
+
packageName
|
|
32
|
+
] : [],
|
|
33
|
+
"at",
|
|
34
|
+
path
|
|
35
|
+
].join(" ");
|
|
36
|
+
const time = Date.now();
|
|
37
|
+
const unlock = /* @__PURE__ */ __name(() => rmSync(path, {
|
|
38
|
+
force: true
|
|
39
|
+
}), "unlock");
|
|
40
|
+
while (true) {
|
|
41
|
+
let lockError;
|
|
42
|
+
try {
|
|
43
|
+
await mkdir(directory, {
|
|
44
|
+
recursive: true
|
|
45
|
+
});
|
|
46
|
+
await open(path, constants.O_CREAT | constants.O_EXCL);
|
|
47
|
+
break;
|
|
48
|
+
} catch (error) {
|
|
49
|
+
lockError = error;
|
|
50
|
+
}
|
|
51
|
+
if (Date.now() - time > timeout) {
|
|
52
|
+
unlock();
|
|
53
|
+
throw new Error(`Timeout waiting for lock file ${info}: ${lockError.message}`);
|
|
54
|
+
}
|
|
55
|
+
await delay(interval);
|
|
56
|
+
}
|
|
57
|
+
for (const signal of signals) {
|
|
58
|
+
process.addListener(signal, unlock);
|
|
59
|
+
}
|
|
60
|
+
console.log(`Acquired lock ${info}`);
|
|
61
|
+
try {
|
|
62
|
+
return await run();
|
|
63
|
+
} finally {
|
|
64
|
+
for (const signal of signals) {
|
|
65
|
+
process.removeListener(signal, unlock);
|
|
66
|
+
}
|
|
67
|
+
unlock();
|
|
68
|
+
console.log(`Released lock ${info}`);
|
|
69
|
+
}
|
|
70
|
+
}, "lock");
|
|
71
|
+
var lockMany = /* @__PURE__ */ __name(async (keys, run) => (
|
|
72
|
+
// Sort keys to avoid deadlocks.
|
|
73
|
+
keys.sort().reduce((run2, key) => () => lock(key, run2), run)()
|
|
74
|
+
), "lockMany");
|
|
75
|
+
|
|
76
|
+
export { buildLockFilePath, lock, lockMany };
|
|
77
|
+
//# sourceMappingURL=PDSRUQEX.js.map
|
|
78
|
+
//# sourceMappingURL=PDSRUQEX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/core/lock.ts"],"names":["directory","join","homedir","defaultOptions","interval","timeout","signals","buildLockFilePath","key","lock","run","options","path","packageName","process","env","npm_package_name","info","time","Date","now","unlock","rmSync","force","lockError","mkdir","recursive","open","constants","O_CREAT","O_EXCL","error","Error","message","delay","signal","addListener","console","log","removeListener","lockMany","keys","sort","reduce"],"mappings":"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","file":"PDSRUQEX.js","sourcesContent":["import { delay } from 'es-toolkit';\nimport { rmSync } from 'node:fs';\nimport { constants, mkdir, open } from 'node:fs/promises';\nimport { homedir } from 'node:os';\nimport { join } from 'node:path';\n\ninterface LockOptions {\n interval?: number;\n timeout?: number;\n}\n\nconst directory = join(homedir(), '.cache/vm-tooling/locks');\nconst defaultOptions = { interval: 1000, timeout: 300_000 };\nconst signals = ['SIGINT', 'SIGTERM', 'SIGHUP'] as const;\n\nexport const buildLockFilePath = (key: string): string => join(directory, key);\n\nexport const lock = async <T>(key: string, run: () => Promise<T>, options: LockOptions = {}) => {\n const { interval, timeout } = { ...defaultOptions, ...options };\n\n const path = buildLockFilePath(key);\n // eslint-disable-next-line turbo/no-undeclared-env-vars\n const packageName = process.env.npm_package_name;\n const info = [...(packageName ? ['for', packageName] : []), 'at', path].join(' ');\n\n const time = Date.now();\n const unlock = () => rmSync(path, { force: true });\n\n while (true) {\n let lockError;\n\n try {\n await mkdir(directory, { recursive: true });\n await open(path, constants.O_CREAT | constants.O_EXCL);\n break;\n } catch (error: unknown) {\n lockError = error as Error;\n }\n\n if (Date.now() - time > timeout) {\n // If the timeout is reached, we assume that the previous run is\n // in a bad state and recover automatically by removing the lock file\n // even when it is actually running still.\n unlock();\n throw new Error(`Timeout waiting for lock file ${info}: ${lockError.message}`);\n }\n\n await delay(interval);\n }\n\n for (const signal of signals) {\n process.addListener(signal, unlock);\n }\n\n console.log(`Acquired lock ${info}`);\n\n try {\n return await run();\n } finally {\n for (const signal of signals) {\n process.removeListener(signal, unlock);\n }\n\n unlock();\n\n console.log(`Released lock ${info}`);\n }\n};\n\nexport const lockMany = async <T>(keys: string[], run: () => Promise<T>): Promise<T> =>\n // Sort keys to avoid deadlocks.\n keys.sort().reduce((run, key) => () => lock(key, run), run)();\n"]}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var TYFYAP7W_cjs = require('./TYFYAP7W.cjs');
|
|
4
|
+
var DWHHPWIY_cjs = require('./DWHHPWIY.cjs');
|
|
5
|
+
var NSZHKDNY_cjs = require('./NSZHKDNY.cjs');
|
|
6
|
+
var VO65XOWD_cjs = require('./VO65XOWD.cjs');
|
|
6
7
|
var fs = require('fs');
|
|
7
8
|
var path = require('path');
|
|
8
9
|
var process = require('process');
|
|
@@ -15,6 +16,8 @@ var fs__default = /*#__PURE__*/_interopDefault(fs);
|
|
|
15
16
|
var path__default = /*#__PURE__*/_interopDefault(path);
|
|
16
17
|
var process__default = /*#__PURE__*/_interopDefault(process);
|
|
17
18
|
|
|
19
|
+
// src/core/tool-executor.ts
|
|
20
|
+
VO65XOWD_cjs.init_cjs_shims();
|
|
18
21
|
zx.$.verbose = true;
|
|
19
22
|
zx.$.stdio = [
|
|
20
23
|
"inherit",
|
|
@@ -32,23 +35,25 @@ function mergeVolumes(defaultVolumes, userVolumes) {
|
|
|
32
35
|
}
|
|
33
36
|
return merged;
|
|
34
37
|
}
|
|
35
|
-
|
|
38
|
+
VO65XOWD_cjs.__name(mergeVolumes, "mergeVolumes");
|
|
36
39
|
function getImageName(target, vmToolingName, version) {
|
|
37
|
-
const repository = `${
|
|
40
|
+
const repository = `${DWHHPWIY_cjs.AWS_ACCOUNT_ID}.dkr.ecr.${DWHHPWIY_cjs.AWS_REGION}.amazonaws.com/layerzerolabs`;
|
|
38
41
|
const imageName = `${target}-tooling`;
|
|
39
|
-
const tool =
|
|
42
|
+
const tool = DWHHPWIY_cjs.findToolByName(vmToolingName);
|
|
40
43
|
if (!tool) {
|
|
41
44
|
throw new Error(`Tool '${vmToolingName}' not found`);
|
|
42
45
|
}
|
|
43
|
-
const matrix =
|
|
46
|
+
const matrix = DWHHPWIY_cjs.findMatrixByType(tool.toolType);
|
|
44
47
|
if (!matrix) {
|
|
45
48
|
throw new Error(`No version matrix found for tool type ${tool.toolType}`);
|
|
46
49
|
}
|
|
47
50
|
let foundCombination = null;
|
|
51
|
+
let foundPatch;
|
|
48
52
|
for (const combination of matrix.combinations) {
|
|
49
53
|
const toolVersion = combination.versions[vmToolingName];
|
|
50
54
|
if (toolVersion === version) {
|
|
51
55
|
foundCombination = combination.versions;
|
|
56
|
+
foundPatch = combination.patch;
|
|
52
57
|
break;
|
|
53
58
|
}
|
|
54
59
|
}
|
|
@@ -61,19 +66,24 @@ function getImageName(target, vmToolingName, version) {
|
|
|
61
66
|
validVersions[toolName] = toolVersion;
|
|
62
67
|
}
|
|
63
68
|
}
|
|
64
|
-
const imageTag = getCombinationTag(validVersions);
|
|
69
|
+
const imageTag = getCombinationTag(validVersions, foundPatch);
|
|
65
70
|
const imageURI = `${repository}/${imageName}:${imageTag}`;
|
|
66
71
|
return {
|
|
67
72
|
imageURI,
|
|
68
73
|
imageTag
|
|
69
74
|
};
|
|
70
75
|
}
|
|
71
|
-
|
|
72
|
-
function getCombinationTag(input) {
|
|
73
|
-
|
|
74
|
-
|
|
76
|
+
VO65XOWD_cjs.__name(getImageName, "getImageName");
|
|
77
|
+
function getCombinationTag(input, patch, separator = "_") {
|
|
78
|
+
return [
|
|
79
|
+
...Object.entries(input).filter(([_, value]) => value).sort().flat(),
|
|
80
|
+
...patch ? [
|
|
81
|
+
"patch",
|
|
82
|
+
patch
|
|
83
|
+
] : []
|
|
84
|
+
].join(separator);
|
|
75
85
|
}
|
|
76
|
-
|
|
86
|
+
VO65XOWD_cjs.__name(getCombinationTag, "getCombinationTag");
|
|
77
87
|
async function ensureDockerImage(imageURI, imageTag) {
|
|
78
88
|
try {
|
|
79
89
|
const checkResult = await zx.$`docker image ls ${imageURI}`.nothrow();
|
|
@@ -101,7 +111,7 @@ async function ensureDockerImage(imageURI, imageTag) {
|
|
|
101
111
|
- Local fallback: ${localFallbackURI} (not found)
|
|
102
112
|
|
|
103
113
|
\u{1F4A1} Solutions:
|
|
104
|
-
1. Authenticate with ECR: aws ecr get-login-password --region ${
|
|
114
|
+
1. Authenticate with ECR: aws ecr get-login-password --region ${DWHHPWIY_cjs.AWS_REGION} | docker login --username AWS --password-stdin ${DWHHPWIY_cjs.AWS_ACCOUNT_ID}.dkr.ecr.${DWHHPWIY_cjs.AWS_REGION}.amazonaws.com
|
|
105
115
|
2. Build local image: docker build -t ${localFallbackURI} <dockerfile-path>
|
|
106
116
|
3. Check if the image tag exists in ECR`);
|
|
107
117
|
} catch (error) {
|
|
@@ -111,11 +121,11 @@ async function ensureDockerImage(imageURI, imageTag) {
|
|
|
111
121
|
throw new Error(`Failed to ensure Docker image ${imageURI}: ${error instanceof Error ? error.message : String(error)}`);
|
|
112
122
|
}
|
|
113
123
|
}
|
|
114
|
-
|
|
124
|
+
VO65XOWD_cjs.__name(ensureDockerImage, "ensureDockerImage");
|
|
115
125
|
async function executeToolCommand(command, args, options) {
|
|
116
|
-
const { cwd,
|
|
117
|
-
const tool =
|
|
118
|
-
const type =
|
|
126
|
+
const { cwd, volumes: userVolumes, customEntrypoint: entrypoint, env: customEnvVars, script } = options;
|
|
127
|
+
const tool = DWHHPWIY_cjs.findToolByName(command);
|
|
128
|
+
const type = DWHHPWIY_cjs.getToolType(command);
|
|
119
129
|
if (!tool || type === void 0) {
|
|
120
130
|
const { tools } = await import('./config/index.cjs');
|
|
121
131
|
const availableTools = tools.map((t) => t.name).join(", ");
|
|
@@ -134,8 +144,8 @@ Try: lz-tool --list-versions to see all available tools`);
|
|
|
134
144
|
}
|
|
135
145
|
}
|
|
136
146
|
}
|
|
137
|
-
const userSpecifiedVersions =
|
|
138
|
-
const versionResult =
|
|
147
|
+
const userSpecifiedVersions = TYFYAP7W_cjs.extractUserVersions(options);
|
|
148
|
+
const versionResult = TYFYAP7W_cjs.resolveTypeVersions(type, userSpecifiedVersions, options, cwd);
|
|
139
149
|
versionResult.warnings.forEach((warning) => {
|
|
140
150
|
console.warn(warning);
|
|
141
151
|
});
|
|
@@ -152,43 +162,15 @@ Try: lz-tool --list-versions to see all available tools`);
|
|
|
152
162
|
const resolvedVersionObj = {
|
|
153
163
|
version: resolvedVersion
|
|
154
164
|
};
|
|
155
|
-
if (!
|
|
165
|
+
if (!DWHHPWIY_cjs.versionsSatisfied(secondaryVersion, resolvedVersionObj)) {
|
|
156
166
|
console.warn(`Warning: Local configuration version (${secondaryVersion.version}) differs from resolved version (${resolvedVersion})`);
|
|
157
167
|
}
|
|
158
168
|
} catch (error) {
|
|
159
169
|
console.warn(`Could not validate secondary version: ${error instanceof Error ? error.message : String(error)}`);
|
|
160
170
|
}
|
|
161
171
|
}
|
|
162
|
-
let hasLocalExecutable = false;
|
|
163
|
-
if (!forceDocker) {
|
|
164
|
-
const versionFlags = tool.versionCliArguments ?? [
|
|
165
|
-
"--version"
|
|
166
|
-
];
|
|
167
|
-
try {
|
|
168
|
-
const result = await zx.$`${command} ${versionFlags}`;
|
|
169
|
-
if (tool.parseVersionCliVersionOutput) {
|
|
170
|
-
const installedVersion = tool.parseVersionCliVersionOutput(result.stdout);
|
|
171
|
-
const resolvedVersionObj = {
|
|
172
|
-
version: resolvedVersion
|
|
173
|
-
};
|
|
174
|
-
if (IU7G43CF_cjs.versionsSatisfied(installedVersion, resolvedVersionObj)) {
|
|
175
|
-
hasLocalExecutable = true;
|
|
176
|
-
console.info(`\u2705 Using local ${command} v${installedVersion.version}`);
|
|
177
|
-
} else {
|
|
178
|
-
console.info(`\u{1F433} Local ${command} v${installedVersion.version} \u2260 required v${resolvedVersion}, using Docker`);
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
} catch (error) {
|
|
182
|
-
if (!(error instanceof Error) || !("exitCode" in error) || error.exitCode !== 127) {
|
|
183
|
-
throw error;
|
|
184
|
-
}
|
|
185
|
-
console.info(`\u{1F433} ${command} not found locally, using Docker`);
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
172
|
let processOutput;
|
|
189
|
-
|
|
190
|
-
processOutput = await zx.$`${command} ${args}`.nothrow();
|
|
191
|
-
} else {
|
|
173
|
+
{
|
|
192
174
|
const { imageTag, imageURI } = getImageName(tool.fromImage, tool.name, resolvedVersion);
|
|
193
175
|
const workspaceRoot = await commonNodeUtils.getFullyQualifiedRepoRootPath();
|
|
194
176
|
const relPath = path__default.default.relative(workspaceRoot, cwd);
|
|
@@ -196,26 +178,29 @@ Try: lz-tool --list-versions to see all available tools`);
|
|
|
196
178
|
await ensureDockerImage(imageURI, imageTag);
|
|
197
179
|
const volumeArgs = volumes.map((volume) => {
|
|
198
180
|
if (volume.type === "host") {
|
|
199
|
-
if (volume.hostPath === void 0) {
|
|
200
|
-
throw new Error(`Host path is required for volume mapping of type 'host'`);
|
|
201
|
-
}
|
|
202
181
|
return [
|
|
203
182
|
"-v",
|
|
204
183
|
`${volume.hostPath}:${volume.containerPath}`
|
|
205
184
|
];
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
|
|
185
|
+
}
|
|
186
|
+
const components = [
|
|
187
|
+
"lz-tooling-cache",
|
|
188
|
+
volume.name
|
|
189
|
+
];
|
|
190
|
+
if (!volume.shared) {
|
|
191
|
+
const packageName = process__default.default.env.npm_package_name;
|
|
192
|
+
if (!packageName) {
|
|
193
|
+
throw new Error("npm_package_name environment variable not defined");
|
|
209
194
|
}
|
|
210
|
-
|
|
211
|
-
"-v",
|
|
212
|
-
`${volume.name}:${volume.containerPath}`
|
|
213
|
-
];
|
|
195
|
+
components.push(path__default.default.basename(packageName));
|
|
214
196
|
}
|
|
197
|
+
return [
|
|
198
|
+
"-v",
|
|
199
|
+
`${components.join("-")}:${volume.containerPath}`
|
|
200
|
+
];
|
|
215
201
|
}).flat();
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
console.info(`\u{1F527} Using custom entrypoint: ${customEntrypoint}`);
|
|
202
|
+
if (entrypoint?.trim()) {
|
|
203
|
+
console.info(`\u{1F527} Using custom entrypoint: ${entrypoint}`);
|
|
219
204
|
}
|
|
220
205
|
const envArgs = customEnvVars.map((envVar) => [
|
|
221
206
|
"-e",
|
|
@@ -233,7 +218,7 @@ Try: lz-tool --list-versions to see all available tools`);
|
|
|
233
218
|
script
|
|
234
219
|
];
|
|
235
220
|
} else {
|
|
236
|
-
finalArgs =
|
|
221
|
+
finalArgs = entrypoint === void 0 ? [
|
|
237
222
|
tool.name,
|
|
238
223
|
...args
|
|
239
224
|
] : args;
|
|
@@ -250,14 +235,16 @@ Try: lz-tool --list-versions to see all available tools`);
|
|
|
250
235
|
"-w",
|
|
251
236
|
`/workspace/${relPath}`,
|
|
252
237
|
...volumeArgs,
|
|
253
|
-
...
|
|
238
|
+
...entrypoint === void 0 ? [] : [
|
|
254
239
|
"--entrypoint",
|
|
255
|
-
|
|
240
|
+
entrypoint
|
|
256
241
|
],
|
|
257
242
|
imageURI,
|
|
258
243
|
...finalArgs
|
|
259
244
|
];
|
|
260
|
-
processOutput = await
|
|
245
|
+
processOutput = await NSZHKDNY_cjs.lockMany(volumes.flatMap((volume) => volume.type === "isolate" && volume.locked ? [
|
|
246
|
+
volume.name
|
|
247
|
+
] : []), () => zx.$`docker ${dockerArgs}`.nothrow());
|
|
261
248
|
saveAptosModulesOrder(command, processOutput, workspaceRoot, relPath);
|
|
262
249
|
}
|
|
263
250
|
const { exitCode } = processOutput;
|
|
@@ -265,7 +252,7 @@ Try: lz-tool --list-versions to see all available tools`);
|
|
|
265
252
|
process__default.default.exit(exitCode ?? 1);
|
|
266
253
|
}
|
|
267
254
|
}
|
|
268
|
-
|
|
255
|
+
VO65XOWD_cjs.__name(executeToolCommand, "executeToolCommand");
|
|
269
256
|
function saveAptosModulesOrder(command, processOutput, workspaceRoot, relPath) {
|
|
270
257
|
if ("aptos" === command) {
|
|
271
258
|
const outputJson = processOutput.json();
|
|
@@ -273,8 +260,9 @@ function saveAptosModulesOrder(command, processOutput, workspaceRoot, relPath) {
|
|
|
273
260
|
fs__default.default.writeFileSync(path__default.default.join(workspaceRoot, relPath, "modules.json"), JSON.stringify(modules, null, 2));
|
|
274
261
|
}
|
|
275
262
|
}
|
|
276
|
-
|
|
263
|
+
VO65XOWD_cjs.__name(saveAptosModulesOrder, "saveAptosModulesOrder");
|
|
277
264
|
|
|
278
265
|
exports.executeToolCommand = executeToolCommand;
|
|
279
|
-
|
|
280
|
-
//# sourceMappingURL=
|
|
266
|
+
exports.getCombinationTag = getCombinationTag;
|
|
267
|
+
//# sourceMappingURL=PH3AB77Z.cjs.map
|
|
268
|
+
//# sourceMappingURL=PH3AB77Z.cjs.map
|