switchroom 0.7.13 → 0.7.15
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/README.md +4 -4
- package/dist/agent-scheduler/index.js +80 -80
- package/dist/cli/switchroom.js +1881 -2878
- package/dist/vault/approvals/kernel-server.js +88 -85
- package/dist/vault/broker/server.js +495 -1785
- package/package.json +2 -4
- package/telegram-plugin/bridge/bridge.ts +17 -0
- package/telegram-plugin/dist/bridge/bridge.js +128 -112
- package/telegram-plugin/dist/foreman/foreman.js +185 -1696
- package/telegram-plugin/dist/gateway/gateway.js +542 -1682
- package/telegram-plugin/dist/server.js +176 -160
- package/telegram-plugin/gateway/gateway.ts +495 -7
- package/telegram-plugin/secret-detect/vault-error.test.ts +134 -0
- package/telegram-plugin/secret-detect/vault-error.ts +202 -0
- package/skills/docx/scripts/office/validators/__pycache__/__init__.cpython-313.pyc +0 -0
- package/skills/docx/scripts/office/validators/__pycache__/base.cpython-313.pyc +0 -0
- package/telegram-plugin/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +0 -1
- package/telegram-plugin/server.js +0 -41795
|
@@ -66,7 +66,7 @@ var __export = (target, all) => {
|
|
|
66
66
|
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
67
67
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
68
68
|
|
|
69
|
-
// ../node_modules
|
|
69
|
+
// ../node_modules/grammy/out/filter.js
|
|
70
70
|
var require_filter = __commonJS((exports) => {
|
|
71
71
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
72
72
|
exports.matchFilter = matchFilter;
|
|
@@ -430,7 +430,7 @@ var require_filter = __commonJS((exports) => {
|
|
|
430
430
|
};
|
|
431
431
|
});
|
|
432
432
|
|
|
433
|
-
// ../node_modules
|
|
433
|
+
// ../node_modules/grammy/out/context.js
|
|
434
434
|
var require_context = __commonJS((exports) => {
|
|
435
435
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
436
436
|
exports.Context = undefined;
|
|
@@ -1457,7 +1457,7 @@ var require_context = __commonJS((exports) => {
|
|
|
1457
1457
|
}
|
|
1458
1458
|
});
|
|
1459
1459
|
|
|
1460
|
-
// ../node_modules
|
|
1460
|
+
// ../node_modules/grammy/out/composer.js
|
|
1461
1461
|
var require_composer = __commonJS((exports) => {
|
|
1462
1462
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1463
1463
|
exports.Composer = exports.BotError = undefined;
|
|
@@ -1619,7 +1619,7 @@ var require_composer = __commonJS((exports) => {
|
|
|
1619
1619
|
exports.Composer = Composer;
|
|
1620
1620
|
});
|
|
1621
1621
|
|
|
1622
|
-
// ../node_modules
|
|
1622
|
+
// ../node_modules/ms/index.js
|
|
1623
1623
|
var require_ms = __commonJS((exports, module) => {
|
|
1624
1624
|
var s = 1000;
|
|
1625
1625
|
var m = s * 60;
|
|
@@ -1729,7 +1729,7 @@ var require_ms = __commonJS((exports, module) => {
|
|
|
1729
1729
|
}
|
|
1730
1730
|
});
|
|
1731
1731
|
|
|
1732
|
-
// ../node_modules
|
|
1732
|
+
// ../node_modules/debug/src/common.js
|
|
1733
1733
|
var require_common = __commonJS((exports, module) => {
|
|
1734
1734
|
function setup(env) {
|
|
1735
1735
|
createDebug.debug = createDebug;
|
|
@@ -1904,7 +1904,7 @@ var require_common = __commonJS((exports, module) => {
|
|
|
1904
1904
|
module.exports = setup;
|
|
1905
1905
|
});
|
|
1906
1906
|
|
|
1907
|
-
// ../node_modules
|
|
1907
|
+
// ../node_modules/debug/src/browser.js
|
|
1908
1908
|
var require_browser = __commonJS((exports, module) => {
|
|
1909
1909
|
exports.formatArgs = formatArgs;
|
|
1910
1910
|
exports.save = save;
|
|
@@ -2064,7 +2064,7 @@ var require_browser = __commonJS((exports, module) => {
|
|
|
2064
2064
|
};
|
|
2065
2065
|
});
|
|
2066
2066
|
|
|
2067
|
-
// ../node_modules
|
|
2067
|
+
// ../node_modules/has-flag/index.js
|
|
2068
2068
|
var require_has_flag = __commonJS((exports, module) => {
|
|
2069
2069
|
module.exports = (flag, argv = process.argv) => {
|
|
2070
2070
|
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
@@ -2074,7 +2074,7 @@ var require_has_flag = __commonJS((exports, module) => {
|
|
|
2074
2074
|
};
|
|
2075
2075
|
});
|
|
2076
2076
|
|
|
2077
|
-
// ../node_modules
|
|
2077
|
+
// ../node_modules/supports-color/index.js
|
|
2078
2078
|
var require_supports_color = __commonJS((exports, module) => {
|
|
2079
2079
|
var os = __require("os");
|
|
2080
2080
|
var tty = __require("tty");
|
|
@@ -2173,7 +2173,7 @@ var require_supports_color = __commonJS((exports, module) => {
|
|
|
2173
2173
|
};
|
|
2174
2174
|
});
|
|
2175
2175
|
|
|
2176
|
-
// ../node_modules
|
|
2176
|
+
// ../node_modules/debug/src/node.js
|
|
2177
2177
|
var require_node = __commonJS((exports, module) => {
|
|
2178
2178
|
var tty = __require("tty");
|
|
2179
2179
|
var util = __require("util");
|
|
@@ -2344,7 +2344,7 @@ var require_node = __commonJS((exports, module) => {
|
|
|
2344
2344
|
};
|
|
2345
2345
|
});
|
|
2346
2346
|
|
|
2347
|
-
// ../node_modules
|
|
2347
|
+
// ../node_modules/debug/src/index.js
|
|
2348
2348
|
var require_src = __commonJS((exports, module) => {
|
|
2349
2349
|
if (typeof process === "undefined" || process.type === "renderer" || false || process.__nwjs) {
|
|
2350
2350
|
module.exports = require_browser();
|
|
@@ -2353,7 +2353,7 @@ var require_src = __commonJS((exports, module) => {
|
|
|
2353
2353
|
}
|
|
2354
2354
|
});
|
|
2355
2355
|
|
|
2356
|
-
// ../node_modules
|
|
2356
|
+
// ../node_modules/grammy/out/platform.node.js
|
|
2357
2357
|
var require_platform_node = __commonJS((exports) => {
|
|
2358
2358
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2359
2359
|
exports.defaultAdapter = exports.itrToStream = exports.debug = undefined;
|
|
@@ -2393,7 +2393,7 @@ var require_platform_node = __commonJS((exports) => {
|
|
|
2393
2393
|
exports.defaultAdapter = "express";
|
|
2394
2394
|
});
|
|
2395
2395
|
|
|
2396
|
-
// ../node_modules
|
|
2396
|
+
// ../node_modules/grammy/out/core/error.js
|
|
2397
2397
|
var require_error = __commonJS((exports) => {
|
|
2398
2398
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2399
2399
|
exports.HttpError = exports.GrammyError = undefined;
|
|
@@ -2449,10 +2449,10 @@ var require_error = __commonJS((exports) => {
|
|
|
2449
2449
|
}
|
|
2450
2450
|
});
|
|
2451
2451
|
|
|
2452
|
-
// ../node_modules
|
|
2452
|
+
// ../node_modules/@grammyjs/types/mod.js
|
|
2453
2453
|
var exports_mod = {};
|
|
2454
2454
|
|
|
2455
|
-
// ../node_modules
|
|
2455
|
+
// ../node_modules/grammy/out/types.node.js
|
|
2456
2456
|
var require_types_node = __commonJS((exports) => {
|
|
2457
2457
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
2458
2458
|
if (k2 === undefined)
|
|
@@ -2543,7 +2543,7 @@ var require_types_node = __commonJS((exports) => {
|
|
|
2543
2543
|
}
|
|
2544
2544
|
});
|
|
2545
2545
|
|
|
2546
|
-
// ../node_modules
|
|
2546
|
+
// ../node_modules/grammy/out/types.js
|
|
2547
2547
|
var require_types = __commonJS((exports) => {
|
|
2548
2548
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
2549
2549
|
if (k2 === undefined)
|
|
@@ -2569,7 +2569,7 @@ var require_types = __commonJS((exports) => {
|
|
|
2569
2569
|
__exportStar(require_types_node(), exports);
|
|
2570
2570
|
});
|
|
2571
2571
|
|
|
2572
|
-
// ../node_modules
|
|
2572
|
+
// ../node_modules/grammy/out/core/payload.js
|
|
2573
2573
|
var require_payload = __commonJS((exports) => {
|
|
2574
2574
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2575
2575
|
exports.requiresFormDataUpload = requiresFormDataUpload;
|
|
@@ -2709,7 +2709,7 @@ content-type:application/octet-stream\r
|
|
|
2709
2709
|
}
|
|
2710
2710
|
});
|
|
2711
2711
|
|
|
2712
|
-
// ../node_modules
|
|
2712
|
+
// ../node_modules/event-target-shim/dist/event-target-shim.js
|
|
2713
2713
|
var require_event_target_shim = __commonJS((exports, module) => {
|
|
2714
2714
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2715
2715
|
var privateData = new WeakMap;
|
|
@@ -3149,7 +3149,7 @@ var require_event_target_shim = __commonJS((exports, module) => {
|
|
|
3149
3149
|
module.exports.defineEventAttribute = defineEventAttribute;
|
|
3150
3150
|
});
|
|
3151
3151
|
|
|
3152
|
-
// ../node_modules
|
|
3152
|
+
// ../node_modules/abort-controller/dist/abort-controller.js
|
|
3153
3153
|
var require_abort_controller = __commonJS((exports, module) => {
|
|
3154
3154
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3155
3155
|
var eventTargetShim = require_event_target_shim();
|
|
@@ -3229,7 +3229,7 @@ var require_abort_controller = __commonJS((exports, module) => {
|
|
|
3229
3229
|
module.exports.AbortSignal = AbortSignal;
|
|
3230
3230
|
});
|
|
3231
3231
|
|
|
3232
|
-
// ../node_modules
|
|
3232
|
+
// ../node_modules/grammy/out/shim.node.js
|
|
3233
3233
|
var require_shim_node = __commonJS((exports) => {
|
|
3234
3234
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3235
3235
|
exports.fetch = exports.AbortController = undefined;
|
|
@@ -3243,7 +3243,7 @@ var require_shim_node = __commonJS((exports) => {
|
|
|
3243
3243
|
} });
|
|
3244
3244
|
});
|
|
3245
3245
|
|
|
3246
|
-
// ../node_modules
|
|
3246
|
+
// ../node_modules/grammy/out/core/client.js
|
|
3247
3247
|
var require_client = __commonJS((exports) => {
|
|
3248
3248
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3249
3249
|
exports.createRawApi = createRawApi;
|
|
@@ -3423,7 +3423,7 @@ If you want to prevent such mistakes in the future, consider using TypeScript. h
|
|
|
3423
3423
|
var shim_node_js_1 = require_shim_node();
|
|
3424
3424
|
});
|
|
3425
3425
|
|
|
3426
|
-
// ../node_modules
|
|
3426
|
+
// ../node_modules/grammy/out/core/api.js
|
|
3427
3427
|
var require_api = __commonJS((exports) => {
|
|
3428
3428
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3429
3429
|
exports.Api = undefined;
|
|
@@ -4041,7 +4041,7 @@ var require_api = __commonJS((exports) => {
|
|
|
4041
4041
|
exports.Api = Api;
|
|
4042
4042
|
});
|
|
4043
4043
|
|
|
4044
|
-
// ../node_modules
|
|
4044
|
+
// ../node_modules/grammy/out/bot.js
|
|
4045
4045
|
var require_bot = __commonJS((exports) => {
|
|
4046
4046
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4047
4047
|
exports.Bot = exports.BotError = exports.DEFAULT_UPDATE_TYPES = undefined;
|
|
@@ -4370,7 +4370,7 @@ On the other hand, if you actually know what you're doing and you do need to ins
|
|
|
4370
4370
|
var shim_node_js_1 = require_shim_node();
|
|
4371
4371
|
});
|
|
4372
4372
|
|
|
4373
|
-
// ../node_modules
|
|
4373
|
+
// ../node_modules/grammy/out/convenience/constants.js
|
|
4374
4374
|
var require_constants = __commonJS((exports) => {
|
|
4375
4375
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4376
4376
|
exports.API_CONSTANTS = undefined;
|
|
@@ -4406,7 +4406,7 @@ var require_constants = __commonJS((exports) => {
|
|
|
4406
4406
|
Object.freeze(exports.API_CONSTANTS);
|
|
4407
4407
|
});
|
|
4408
4408
|
|
|
4409
|
-
// ../node_modules
|
|
4409
|
+
// ../node_modules/grammy/out/convenience/inline_query.js
|
|
4410
4410
|
var require_inline_query = __commonJS((exports) => {
|
|
4411
4411
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4412
4412
|
exports.InlineQueryResultBuilder = undefined;
|
|
@@ -4604,7 +4604,7 @@ var require_inline_query = __commonJS((exports) => {
|
|
|
4604
4604
|
};
|
|
4605
4605
|
});
|
|
4606
4606
|
|
|
4607
|
-
// ../node_modules
|
|
4607
|
+
// ../node_modules/grammy/out/convenience/input_media.js
|
|
4608
4608
|
var require_input_media = __commonJS((exports) => {
|
|
4609
4609
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4610
4610
|
exports.InputMediaBuilder = undefined;
|
|
@@ -4627,7 +4627,7 @@ var require_input_media = __commonJS((exports) => {
|
|
|
4627
4627
|
};
|
|
4628
4628
|
});
|
|
4629
4629
|
|
|
4630
|
-
// ../node_modules
|
|
4630
|
+
// ../node_modules/grammy/out/convenience/keyboard.js
|
|
4631
4631
|
var require_keyboard = __commonJS((exports) => {
|
|
4632
4632
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4633
4633
|
exports.InlineKeyboard = exports.Keyboard = undefined;
|
|
@@ -4985,7 +4985,7 @@ var require_keyboard = __commonJS((exports) => {
|
|
|
4985
4985
|
}
|
|
4986
4986
|
});
|
|
4987
4987
|
|
|
4988
|
-
// ../node_modules
|
|
4988
|
+
// ../node_modules/grammy/out/convenience/session.js
|
|
4989
4989
|
var require_session = __commonJS((exports) => {
|
|
4990
4990
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4991
4991
|
exports.MemorySessionStorage = undefined;
|
|
@@ -5285,7 +5285,7 @@ var require_session = __commonJS((exports) => {
|
|
|
5285
5285
|
}
|
|
5286
5286
|
});
|
|
5287
5287
|
|
|
5288
|
-
// ../node_modules
|
|
5288
|
+
// ../node_modules/grammy/out/convenience/frameworks.js
|
|
5289
5289
|
var require_frameworks = __commonJS((exports) => {
|
|
5290
5290
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5291
5291
|
exports.adapters = undefined;
|
|
@@ -5653,7 +5653,7 @@ var require_frameworks = __commonJS((exports) => {
|
|
|
5653
5653
|
};
|
|
5654
5654
|
});
|
|
5655
5655
|
|
|
5656
|
-
// ../node_modules
|
|
5656
|
+
// ../node_modules/grammy/out/convenience/webhook.js
|
|
5657
5657
|
var require_webhook = __commonJS((exports) => {
|
|
5658
5658
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5659
5659
|
exports.webhookCallback = webhookCallback;
|
|
@@ -5747,7 +5747,7 @@ var require_webhook = __commonJS((exports) => {
|
|
|
5747
5747
|
}
|
|
5748
5748
|
});
|
|
5749
5749
|
|
|
5750
|
-
// ../node_modules
|
|
5750
|
+
// ../node_modules/grammy/out/mod.js
|
|
5751
5751
|
var require_mod = __commonJS((exports) => {
|
|
5752
5752
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
5753
5753
|
if (k2 === undefined)
|
|
@@ -5813,7 +5813,7 @@ var require_mod = __commonJS((exports) => {
|
|
|
5813
5813
|
} });
|
|
5814
5814
|
});
|
|
5815
5815
|
|
|
5816
|
-
// ../node_modules
|
|
5816
|
+
// ../node_modules/grammy/out/mod.js
|
|
5817
5817
|
var require_mod2 = __commonJS((exports) => {
|
|
5818
5818
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
5819
5819
|
if (k2 === undefined)
|
|
@@ -5879,7 +5879,7 @@ var require_mod2 = __commonJS((exports) => {
|
|
|
5879
5879
|
} });
|
|
5880
5880
|
});
|
|
5881
5881
|
|
|
5882
|
-
// ../node_modules
|
|
5882
|
+
// ../node_modules/@grammyjs/runner/out/platform.node.js
|
|
5883
5883
|
var require_platform_node2 = __commonJS((exports) => {
|
|
5884
5884
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5885
5885
|
exports.parentThread = exports.createThread = undefined;
|
|
@@ -5910,7 +5910,7 @@ var require_platform_node2 = __commonJS((exports) => {
|
|
|
5910
5910
|
exports.parentThread = parentThread;
|
|
5911
5911
|
});
|
|
5912
5912
|
|
|
5913
|
-
// ../node_modules
|
|
5913
|
+
// ../node_modules/@grammyjs/runner/out/distribute.js
|
|
5914
5914
|
var require_distribute = __commonJS((exports) => {
|
|
5915
5915
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5916
5916
|
exports.distribute = undefined;
|
|
@@ -5955,7 +5955,7 @@ var require_distribute = __commonJS((exports) => {
|
|
|
5955
5955
|
exports.distribute = distribute;
|
|
5956
5956
|
});
|
|
5957
5957
|
|
|
5958
|
-
// ../node_modules
|
|
5958
|
+
// ../node_modules/@grammyjs/runner/out/queue.js
|
|
5959
5959
|
var require_queue = __commonJS((exports) => {
|
|
5960
5960
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5961
5961
|
exports.DecayingDeque = undefined;
|
|
@@ -6099,7 +6099,7 @@ var require_queue = __commonJS((exports) => {
|
|
|
6099
6099
|
exports.DecayingDeque = DecayingDeque;
|
|
6100
6100
|
});
|
|
6101
6101
|
|
|
6102
|
-
// ../node_modules
|
|
6102
|
+
// ../node_modules/@grammyjs/runner/out/sink.js
|
|
6103
6103
|
var require_sink = __commonJS((exports) => {
|
|
6104
6104
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6105
6105
|
exports.createConcurrentSink = exports.createBatchSink = exports.createSequentialSink = undefined;
|
|
@@ -6144,7 +6144,7 @@ var require_sink = __commonJS((exports) => {
|
|
|
6144
6144
|
exports.createConcurrentSink = createConcurrentSink;
|
|
6145
6145
|
});
|
|
6146
6146
|
|
|
6147
|
-
// ../node_modules
|
|
6147
|
+
// ../node_modules/@grammyjs/runner/out/node-shim.js
|
|
6148
6148
|
var require_node_shim = __commonJS((exports) => {
|
|
6149
6149
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
6150
6150
|
if (k2 === undefined)
|
|
@@ -6170,7 +6170,7 @@ var require_node_shim = __commonJS((exports) => {
|
|
|
6170
6170
|
__exportStar(require_abort_controller(), exports);
|
|
6171
6171
|
});
|
|
6172
6172
|
|
|
6173
|
-
// ../node_modules
|
|
6173
|
+
// ../node_modules/@grammyjs/runner/out/source.js
|
|
6174
6174
|
var require_source = __commonJS((exports) => {
|
|
6175
6175
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6176
6176
|
exports.createSource = undefined;
|
|
@@ -6250,7 +6250,7 @@ var require_source = __commonJS((exports) => {
|
|
|
6250
6250
|
var node_shim_js_1 = require_node_shim();
|
|
6251
6251
|
});
|
|
6252
6252
|
|
|
6253
|
-
// ../node_modules
|
|
6253
|
+
// ../node_modules/@grammyjs/runner/out/runner.js
|
|
6254
6254
|
var require_runner = __commonJS((exports) => {
|
|
6255
6255
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6256
6256
|
exports.createRunner = exports.createUpdateFetcher = exports.run = undefined;
|
|
@@ -6402,7 +6402,7 @@ var require_runner = __commonJS((exports) => {
|
|
|
6402
6402
|
}
|
|
6403
6403
|
});
|
|
6404
6404
|
|
|
6405
|
-
// ../node_modules
|
|
6405
|
+
// ../node_modules/@grammyjs/runner/out/sequentialize.js
|
|
6406
6406
|
var require_sequentialize = __commonJS((exports) => {
|
|
6407
6407
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6408
6408
|
exports.sequentialize = undefined;
|
|
@@ -6445,7 +6445,7 @@ var require_sequentialize = __commonJS((exports) => {
|
|
|
6445
6445
|
exports.sequentialize = sequentialize;
|
|
6446
6446
|
});
|
|
6447
6447
|
|
|
6448
|
-
// ../node_modules
|
|
6448
|
+
// ../node_modules/@grammyjs/runner/out/deps.node.js
|
|
6449
6449
|
var require_deps_node = __commonJS((exports) => {
|
|
6450
6450
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6451
6451
|
exports.BotError = exports.Bot = undefined;
|
|
@@ -6458,7 +6458,7 @@ var require_deps_node = __commonJS((exports) => {
|
|
|
6458
6458
|
} });
|
|
6459
6459
|
});
|
|
6460
6460
|
|
|
6461
|
-
// ../node_modules
|
|
6461
|
+
// ../node_modules/@grammyjs/runner/out/worker.js
|
|
6462
6462
|
var require_worker = __commonJS((exports) => {
|
|
6463
6463
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6464
6464
|
exports.BotWorker = undefined;
|
|
@@ -6500,7 +6500,7 @@ var require_worker = __commonJS((exports) => {
|
|
|
6500
6500
|
exports.BotWorker = BotWorker;
|
|
6501
6501
|
});
|
|
6502
6502
|
|
|
6503
|
-
// ../node_modules
|
|
6503
|
+
// ../node_modules/@grammyjs/runner/out/mod.js
|
|
6504
6504
|
var require_mod3 = __commonJS((exports) => {
|
|
6505
6505
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
6506
6506
|
if (k2 === undefined)
|
|
@@ -6532,7 +6532,7 @@ var require_mod3 = __commonJS((exports) => {
|
|
|
6532
6532
|
__exportStar(require_worker(), exports);
|
|
6533
6533
|
});
|
|
6534
6534
|
|
|
6535
|
-
// ../node_modules
|
|
6535
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/utils.js
|
|
6536
6536
|
var require_utils = __commonJS((exports) => {
|
|
6537
6537
|
exports.__esModule = true;
|
|
6538
6538
|
exports.extend = extend;
|
|
@@ -6628,7 +6628,7 @@ var require_utils = __commonJS((exports) => {
|
|
|
6628
6628
|
}
|
|
6629
6629
|
});
|
|
6630
6630
|
|
|
6631
|
-
// ../node_modules
|
|
6631
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/exception.js
|
|
6632
6632
|
var require_exception = __commonJS((exports, module) => {
|
|
6633
6633
|
exports.__esModule = true;
|
|
6634
6634
|
var errorProps = ["description", "fileName", "lineNumber", "endLineNumber", "message", "name", "number", "stack"];
|
|
@@ -6673,7 +6673,7 @@ var require_exception = __commonJS((exports, module) => {
|
|
|
6673
6673
|
module.exports = exports["default"];
|
|
6674
6674
|
});
|
|
6675
6675
|
|
|
6676
|
-
// ../node_modules
|
|
6676
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js
|
|
6677
6677
|
var require_block_helper_missing = __commonJS((exports, module) => {
|
|
6678
6678
|
exports.__esModule = true;
|
|
6679
6679
|
var _utils = require_utils();
|
|
@@ -6706,7 +6706,7 @@ var require_block_helper_missing = __commonJS((exports, module) => {
|
|
|
6706
6706
|
module.exports = exports["default"];
|
|
6707
6707
|
});
|
|
6708
6708
|
|
|
6709
|
-
// ../node_modules
|
|
6709
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/helpers/each.js
|
|
6710
6710
|
var require_each = __commonJS((exports, module) => {
|
|
6711
6711
|
exports.__esModule = true;
|
|
6712
6712
|
function _interopRequireDefault(obj) {
|
|
@@ -6787,7 +6787,7 @@ var require_each = __commonJS((exports, module) => {
|
|
|
6787
6787
|
module.exports = exports["default"];
|
|
6788
6788
|
});
|
|
6789
6789
|
|
|
6790
|
-
// ../node_modules
|
|
6790
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js
|
|
6791
6791
|
var require_helper_missing = __commonJS((exports, module) => {
|
|
6792
6792
|
exports.__esModule = true;
|
|
6793
6793
|
function _interopRequireDefault(obj) {
|
|
@@ -6807,7 +6807,7 @@ var require_helper_missing = __commonJS((exports, module) => {
|
|
|
6807
6807
|
module.exports = exports["default"];
|
|
6808
6808
|
});
|
|
6809
6809
|
|
|
6810
|
-
// ../node_modules
|
|
6810
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/helpers/if.js
|
|
6811
6811
|
var require_if = __commonJS((exports, module) => {
|
|
6812
6812
|
exports.__esModule = true;
|
|
6813
6813
|
function _interopRequireDefault(obj) {
|
|
@@ -6844,7 +6844,7 @@ var require_if = __commonJS((exports, module) => {
|
|
|
6844
6844
|
module.exports = exports["default"];
|
|
6845
6845
|
});
|
|
6846
6846
|
|
|
6847
|
-
// ../node_modules
|
|
6847
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/helpers/log.js
|
|
6848
6848
|
var require_log = __commonJS((exports, module) => {
|
|
6849
6849
|
exports.__esModule = true;
|
|
6850
6850
|
exports.default = function(instance) {
|
|
@@ -6866,7 +6866,7 @@ var require_log = __commonJS((exports, module) => {
|
|
|
6866
6866
|
module.exports = exports["default"];
|
|
6867
6867
|
});
|
|
6868
6868
|
|
|
6869
|
-
// ../node_modules
|
|
6869
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js
|
|
6870
6870
|
var require_lookup = __commonJS((exports, module) => {
|
|
6871
6871
|
exports.__esModule = true;
|
|
6872
6872
|
exports.default = function(instance) {
|
|
@@ -6880,7 +6880,7 @@ var require_lookup = __commonJS((exports, module) => {
|
|
|
6880
6880
|
module.exports = exports["default"];
|
|
6881
6881
|
});
|
|
6882
6882
|
|
|
6883
|
-
// ../node_modules
|
|
6883
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/helpers/with.js
|
|
6884
6884
|
var require_with = __commonJS((exports, module) => {
|
|
6885
6885
|
exports.__esModule = true;
|
|
6886
6886
|
function _interopRequireDefault(obj) {
|
|
@@ -6916,7 +6916,7 @@ var require_with = __commonJS((exports, module) => {
|
|
|
6916
6916
|
module.exports = exports["default"];
|
|
6917
6917
|
});
|
|
6918
6918
|
|
|
6919
|
-
// ../node_modules
|
|
6919
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/helpers.js
|
|
6920
6920
|
var require_helpers = __commonJS((exports) => {
|
|
6921
6921
|
exports.__esModule = true;
|
|
6922
6922
|
exports.registerDefaultHelpers = registerDefaultHelpers;
|
|
@@ -6957,7 +6957,7 @@ var require_helpers = __commonJS((exports) => {
|
|
|
6957
6957
|
}
|
|
6958
6958
|
});
|
|
6959
6959
|
|
|
6960
|
-
// ../node_modules
|
|
6960
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js
|
|
6961
6961
|
var require_inline = __commonJS((exports, module) => {
|
|
6962
6962
|
exports.__esModule = true;
|
|
6963
6963
|
var _utils = require_utils();
|
|
@@ -6981,7 +6981,7 @@ var require_inline = __commonJS((exports, module) => {
|
|
|
6981
6981
|
module.exports = exports["default"];
|
|
6982
6982
|
});
|
|
6983
6983
|
|
|
6984
|
-
// ../node_modules
|
|
6984
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/decorators.js
|
|
6985
6985
|
var require_decorators = __commonJS((exports) => {
|
|
6986
6986
|
exports.__esModule = true;
|
|
6987
6987
|
exports.registerDefaultDecorators = registerDefaultDecorators;
|
|
@@ -6995,7 +6995,7 @@ var require_decorators = __commonJS((exports) => {
|
|
|
6995
6995
|
}
|
|
6996
6996
|
});
|
|
6997
6997
|
|
|
6998
|
-
// ../node_modules
|
|
6998
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/logger.js
|
|
6999
6999
|
var require_logger = __commonJS((exports, module) => {
|
|
7000
7000
|
exports.__esModule = true;
|
|
7001
7001
|
var _utils = require_utils();
|
|
@@ -7031,7 +7031,7 @@ var require_logger = __commonJS((exports, module) => {
|
|
|
7031
7031
|
module.exports = exports["default"];
|
|
7032
7032
|
});
|
|
7033
7033
|
|
|
7034
|
-
// ../node_modules
|
|
7034
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js
|
|
7035
7035
|
var require_proto_access = __commonJS((exports) => {
|
|
7036
7036
|
exports.__esModule = true;
|
|
7037
7037
|
exports.createProtoAccessControl = createProtoAccessControl;
|
|
@@ -7098,7 +7098,7 @@ var require_proto_access = __commonJS((exports) => {
|
|
|
7098
7098
|
}
|
|
7099
7099
|
});
|
|
7100
7100
|
|
|
7101
|
-
// ../node_modules
|
|
7101
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/base.js
|
|
7102
7102
|
var require_base = __commonJS((exports) => {
|
|
7103
7103
|
exports.__esModule = true;
|
|
7104
7104
|
exports.HandlebarsEnvironment = HandlebarsEnvironment;
|
|
@@ -7191,7 +7191,7 @@ var require_base = __commonJS((exports) => {
|
|
|
7191
7191
|
exports.logger = _logger2["default"];
|
|
7192
7192
|
});
|
|
7193
7193
|
|
|
7194
|
-
// ../node_modules
|
|
7194
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/safe-string.js
|
|
7195
7195
|
var require_safe_string = __commonJS((exports, module) => {
|
|
7196
7196
|
exports.__esModule = true;
|
|
7197
7197
|
function SafeString(string) {
|
|
@@ -7204,7 +7204,7 @@ var require_safe_string = __commonJS((exports, module) => {
|
|
|
7204
7204
|
module.exports = exports["default"];
|
|
7205
7205
|
});
|
|
7206
7206
|
|
|
7207
|
-
// ../node_modules
|
|
7207
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js
|
|
7208
7208
|
var require_wrapHelper = __commonJS((exports) => {
|
|
7209
7209
|
exports.__esModule = true;
|
|
7210
7210
|
exports.wrapHelper = wrapHelper;
|
|
@@ -7221,7 +7221,7 @@ var require_wrapHelper = __commonJS((exports) => {
|
|
|
7221
7221
|
}
|
|
7222
7222
|
});
|
|
7223
7223
|
|
|
7224
|
-
// ../node_modules
|
|
7224
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/runtime.js
|
|
7225
7225
|
var require_runtime = __commonJS((exports) => {
|
|
7226
7226
|
exports.__esModule = true;
|
|
7227
7227
|
exports.checkRevision = checkRevision;
|
|
@@ -7536,7 +7536,7 @@ var require_runtime = __commonJS((exports) => {
|
|
|
7536
7536
|
}
|
|
7537
7537
|
});
|
|
7538
7538
|
|
|
7539
|
-
// ../node_modules
|
|
7539
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/no-conflict.js
|
|
7540
7540
|
var require_no_conflict = __commonJS((exports, module) => {
|
|
7541
7541
|
exports.__esModule = true;
|
|
7542
7542
|
exports.default = function(Handlebars) {
|
|
@@ -7560,7 +7560,7 @@ var require_no_conflict = __commonJS((exports, module) => {
|
|
|
7560
7560
|
module.exports = exports["default"];
|
|
7561
7561
|
});
|
|
7562
7562
|
|
|
7563
|
-
// ../node_modules
|
|
7563
|
+
// ../node_modules/handlebars/dist/cjs/handlebars.runtime.js
|
|
7564
7564
|
var require_handlebars_runtime = __commonJS((exports, module) => {
|
|
7565
7565
|
exports.__esModule = true;
|
|
7566
7566
|
function _interopRequireDefault(obj) {
|
|
@@ -7614,7 +7614,7 @@ var require_handlebars_runtime = __commonJS((exports, module) => {
|
|
|
7614
7614
|
module.exports = exports["default"];
|
|
7615
7615
|
});
|
|
7616
7616
|
|
|
7617
|
-
// ../node_modules
|
|
7617
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js
|
|
7618
7618
|
var require_ast = __commonJS((exports, module) => {
|
|
7619
7619
|
exports.__esModule = true;
|
|
7620
7620
|
var AST = {
|
|
@@ -7634,7 +7634,7 @@ var require_ast = __commonJS((exports, module) => {
|
|
|
7634
7634
|
module.exports = exports["default"];
|
|
7635
7635
|
});
|
|
7636
7636
|
|
|
7637
|
-
// ../node_modules
|
|
7637
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js
|
|
7638
7638
|
var require_parser = __commonJS((exports, module) => {
|
|
7639
7639
|
exports.__esModule = true;
|
|
7640
7640
|
var handlebars = function() {
|
|
@@ -8358,7 +8358,7 @@ Expecting ` + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symb
|
|
|
8358
8358
|
module.exports = exports["default"];
|
|
8359
8359
|
});
|
|
8360
8360
|
|
|
8361
|
-
// ../node_modules
|
|
8361
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js
|
|
8362
8362
|
var require_visitor = __commonJS((exports, module) => {
|
|
8363
8363
|
exports.__esModule = true;
|
|
8364
8364
|
function _interopRequireDefault(obj) {
|
|
@@ -8463,7 +8463,7 @@ var require_visitor = __commonJS((exports, module) => {
|
|
|
8463
8463
|
module.exports = exports["default"];
|
|
8464
8464
|
});
|
|
8465
8465
|
|
|
8466
|
-
// ../node_modules
|
|
8466
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js
|
|
8467
8467
|
var require_whitespace_control = __commonJS((exports, module) => {
|
|
8468
8468
|
exports.__esModule = true;
|
|
8469
8469
|
function _interopRequireDefault(obj) {
|
|
@@ -8609,7 +8609,7 @@ var require_whitespace_control = __commonJS((exports, module) => {
|
|
|
8609
8609
|
module.exports = exports["default"];
|
|
8610
8610
|
});
|
|
8611
8611
|
|
|
8612
|
-
// ../node_modules
|
|
8612
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js
|
|
8613
8613
|
var require_helpers2 = __commonJS((exports) => {
|
|
8614
8614
|
exports.__esModule = true;
|
|
8615
8615
|
exports.SourceLocation = SourceLocation;
|
|
@@ -8794,7 +8794,7 @@ var require_helpers2 = __commonJS((exports) => {
|
|
|
8794
8794
|
}
|
|
8795
8795
|
});
|
|
8796
8796
|
|
|
8797
|
-
// ../node_modules
|
|
8797
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/compiler/base.js
|
|
8798
8798
|
var require_base2 = __commonJS((exports) => {
|
|
8799
8799
|
exports.__esModule = true;
|
|
8800
8800
|
exports.parseWithoutProcessing = parseWithoutProcessing;
|
|
@@ -8893,7 +8893,7 @@ var require_base2 = __commonJS((exports) => {
|
|
|
8893
8893
|
}
|
|
8894
8894
|
});
|
|
8895
8895
|
|
|
8896
|
-
// ../node_modules
|
|
8896
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js
|
|
8897
8897
|
var require_compiler = __commonJS((exports) => {
|
|
8898
8898
|
exports.__esModule = true;
|
|
8899
8899
|
exports.Compiler = Compiler;
|
|
@@ -9310,7 +9310,7 @@ var require_compiler = __commonJS((exports) => {
|
|
|
9310
9310
|
}
|
|
9311
9311
|
});
|
|
9312
9312
|
|
|
9313
|
-
// ../node_modules
|
|
9313
|
+
// ../node_modules/source-map/lib/base64.js
|
|
9314
9314
|
var require_base64 = __commonJS((exports) => {
|
|
9315
9315
|
var intToCharMap = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");
|
|
9316
9316
|
exports.encode = function(number) {
|
|
@@ -9349,7 +9349,7 @@ var require_base64 = __commonJS((exports) => {
|
|
|
9349
9349
|
};
|
|
9350
9350
|
});
|
|
9351
9351
|
|
|
9352
|
-
// ../node_modules
|
|
9352
|
+
// ../node_modules/source-map/lib/base64-vlq.js
|
|
9353
9353
|
var require_base64_vlq = __commonJS((exports) => {
|
|
9354
9354
|
var base64 = require_base64();
|
|
9355
9355
|
var VLQ_BASE_SHIFT = 5;
|
|
@@ -9401,7 +9401,7 @@ var require_base64_vlq = __commonJS((exports) => {
|
|
|
9401
9401
|
};
|
|
9402
9402
|
});
|
|
9403
9403
|
|
|
9404
|
-
// ../node_modules
|
|
9404
|
+
// ../node_modules/source-map/lib/util.js
|
|
9405
9405
|
var require_util = __commonJS((exports) => {
|
|
9406
9406
|
function getArg(aArgs, aName, aDefaultValue) {
|
|
9407
9407
|
if (aName in aArgs) {
|
|
@@ -9700,7 +9700,7 @@ var require_util = __commonJS((exports) => {
|
|
|
9700
9700
|
exports.computeSourceURL = computeSourceURL;
|
|
9701
9701
|
});
|
|
9702
9702
|
|
|
9703
|
-
// ../node_modules
|
|
9703
|
+
// ../node_modules/source-map/lib/array-set.js
|
|
9704
9704
|
var require_array_set = __commonJS((exports) => {
|
|
9705
9705
|
var util = require_util();
|
|
9706
9706
|
var has = Object.prototype.hasOwnProperty;
|
|
@@ -9768,7 +9768,7 @@ var require_array_set = __commonJS((exports) => {
|
|
|
9768
9768
|
exports.ArraySet = ArraySet;
|
|
9769
9769
|
});
|
|
9770
9770
|
|
|
9771
|
-
// ../node_modules
|
|
9771
|
+
// ../node_modules/source-map/lib/mapping-list.js
|
|
9772
9772
|
var require_mapping_list = __commonJS((exports) => {
|
|
9773
9773
|
var util = require_util();
|
|
9774
9774
|
function generatedPositionAfter(mappingA, mappingB) {
|
|
@@ -9805,7 +9805,7 @@ var require_mapping_list = __commonJS((exports) => {
|
|
|
9805
9805
|
exports.MappingList = MappingList;
|
|
9806
9806
|
});
|
|
9807
9807
|
|
|
9808
|
-
// ../node_modules
|
|
9808
|
+
// ../node_modules/source-map/lib/source-map-generator.js
|
|
9809
9809
|
var require_source_map_generator = __commonJS((exports) => {
|
|
9810
9810
|
var base64VLQ = require_base64_vlq();
|
|
9811
9811
|
var util = require_util();
|
|
@@ -10075,7 +10075,7 @@ var require_source_map_generator = __commonJS((exports) => {
|
|
|
10075
10075
|
exports.SourceMapGenerator = SourceMapGenerator;
|
|
10076
10076
|
});
|
|
10077
10077
|
|
|
10078
|
-
// ../node_modules
|
|
10078
|
+
// ../node_modules/source-map/lib/binary-search.js
|
|
10079
10079
|
var require_binary_search = __commonJS((exports) => {
|
|
10080
10080
|
exports.GREATEST_LOWER_BOUND = 1;
|
|
10081
10081
|
exports.LEAST_UPPER_BOUND = 2;
|
|
@@ -10122,7 +10122,7 @@ var require_binary_search = __commonJS((exports) => {
|
|
|
10122
10122
|
};
|
|
10123
10123
|
});
|
|
10124
10124
|
|
|
10125
|
-
// ../node_modules
|
|
10125
|
+
// ../node_modules/source-map/lib/quick-sort.js
|
|
10126
10126
|
var require_quick_sort = __commonJS((exports) => {
|
|
10127
10127
|
function swap(ary, x, y) {
|
|
10128
10128
|
var temp = ary[x];
|
|
@@ -10155,7 +10155,7 @@ var require_quick_sort = __commonJS((exports) => {
|
|
|
10155
10155
|
};
|
|
10156
10156
|
});
|
|
10157
10157
|
|
|
10158
|
-
// ../node_modules
|
|
10158
|
+
// ../node_modules/source-map/lib/source-map-consumer.js
|
|
10159
10159
|
var require_source_map_consumer = __commonJS((exports) => {
|
|
10160
10160
|
var util = require_util();
|
|
10161
10161
|
var binarySearch = require_binary_search();
|
|
@@ -10724,7 +10724,7 @@ var require_source_map_consumer = __commonJS((exports) => {
|
|
|
10724
10724
|
exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer;
|
|
10725
10725
|
});
|
|
10726
10726
|
|
|
10727
|
-
// ../node_modules
|
|
10727
|
+
// ../node_modules/source-map/lib/source-node.js
|
|
10728
10728
|
var require_source_node = __commonJS((exports) => {
|
|
10729
10729
|
var SourceMapGenerator = require_source_map_generator().SourceMapGenerator;
|
|
10730
10730
|
var util = require_util();
|
|
@@ -10978,14 +10978,14 @@ var require_source_node = __commonJS((exports) => {
|
|
|
10978
10978
|
exports.SourceNode = SourceNode;
|
|
10979
10979
|
});
|
|
10980
10980
|
|
|
10981
|
-
// ../node_modules
|
|
10981
|
+
// ../node_modules/source-map/source-map.js
|
|
10982
10982
|
var require_source_map = __commonJS((exports) => {
|
|
10983
10983
|
exports.SourceMapGenerator = require_source_map_generator().SourceMapGenerator;
|
|
10984
10984
|
exports.SourceMapConsumer = require_source_map_consumer().SourceMapConsumer;
|
|
10985
10985
|
exports.SourceNode = require_source_node().SourceNode;
|
|
10986
10986
|
});
|
|
10987
10987
|
|
|
10988
|
-
// ../node_modules
|
|
10988
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js
|
|
10989
10989
|
var require_code_gen = __commonJS((exports, module) => {
|
|
10990
10990
|
exports.__esModule = true;
|
|
10991
10991
|
var _utils = require_utils();
|
|
@@ -11118,7 +11118,7 @@ var require_code_gen = __commonJS((exports, module) => {
|
|
|
11118
11118
|
module.exports = exports["default"];
|
|
11119
11119
|
});
|
|
11120
11120
|
|
|
11121
|
-
// ../node_modules
|
|
11121
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js
|
|
11122
11122
|
var require_javascript_compiler = __commonJS((exports, module) => {
|
|
11123
11123
|
exports.__esModule = true;
|
|
11124
11124
|
function _interopRequireDefault(obj) {
|
|
@@ -11886,7 +11886,7 @@ var require_javascript_compiler = __commonJS((exports, module) => {
|
|
|
11886
11886
|
module.exports = exports["default"];
|
|
11887
11887
|
});
|
|
11888
11888
|
|
|
11889
|
-
// ../node_modules
|
|
11889
|
+
// ../node_modules/handlebars/dist/cjs/handlebars.js
|
|
11890
11890
|
var require_handlebars = __commonJS((exports, module) => {
|
|
11891
11891
|
exports.__esModule = true;
|
|
11892
11892
|
function _interopRequireDefault(obj) {
|
|
@@ -11930,7 +11930,7 @@ var require_handlebars = __commonJS((exports, module) => {
|
|
|
11930
11930
|
module.exports = exports["default"];
|
|
11931
11931
|
});
|
|
11932
11932
|
|
|
11933
|
-
// ../node_modules
|
|
11933
|
+
// ../node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js
|
|
11934
11934
|
var require_printer = __commonJS((exports) => {
|
|
11935
11935
|
exports.__esModule = true;
|
|
11936
11936
|
exports.print = print;
|
|
@@ -12074,7 +12074,7 @@ var require_printer = __commonJS((exports) => {
|
|
|
12074
12074
|
};
|
|
12075
12075
|
});
|
|
12076
12076
|
|
|
12077
|
-
// ../node_modules
|
|
12077
|
+
// ../node_modules/handlebars/lib/index.js
|
|
12078
12078
|
var require_lib = __commonJS((exports, module) => {
|
|
12079
12079
|
var handlebars = require_handlebars()["default"];
|
|
12080
12080
|
var printer = require_printer();
|
|
@@ -12092,7 +12092,7 @@ var require_lib = __commonJS((exports, module) => {
|
|
|
12092
12092
|
}
|
|
12093
12093
|
});
|
|
12094
12094
|
|
|
12095
|
-
// ../node_modules
|
|
12095
|
+
// ../node_modules/yaml/dist/nodes/identity.js
|
|
12096
12096
|
var require_identity = __commonJS((exports) => {
|
|
12097
12097
|
var ALIAS = Symbol.for("yaml.alias");
|
|
12098
12098
|
var DOC = Symbol.for("yaml.document");
|
|
@@ -12146,7 +12146,7 @@ var require_identity = __commonJS((exports) => {
|
|
|
12146
12146
|
exports.isSeq = isSeq;
|
|
12147
12147
|
});
|
|
12148
12148
|
|
|
12149
|
-
// ../node_modules
|
|
12149
|
+
// ../node_modules/yaml/dist/visit.js
|
|
12150
12150
|
var require_visit = __commonJS((exports) => {
|
|
12151
12151
|
var identity = require_identity();
|
|
12152
12152
|
var BREAK = Symbol("break visit");
|
|
@@ -12301,7 +12301,7 @@ var require_visit = __commonJS((exports) => {
|
|
|
12301
12301
|
exports.visitAsync = visitAsync;
|
|
12302
12302
|
});
|
|
12303
12303
|
|
|
12304
|
-
// ../node_modules
|
|
12304
|
+
// ../node_modules/yaml/dist/doc/directives.js
|
|
12305
12305
|
var require_directives = __commonJS((exports) => {
|
|
12306
12306
|
var identity = require_identity();
|
|
12307
12307
|
var visit = require_visit();
|
|
@@ -12453,7 +12453,7 @@ var require_directives = __commonJS((exports) => {
|
|
|
12453
12453
|
exports.Directives = Directives;
|
|
12454
12454
|
});
|
|
12455
12455
|
|
|
12456
|
-
// ../node_modules
|
|
12456
|
+
// ../node_modules/yaml/dist/doc/anchors.js
|
|
12457
12457
|
var require_anchors = __commonJS((exports) => {
|
|
12458
12458
|
var identity = require_identity();
|
|
12459
12459
|
var visit = require_visit();
|
|
@@ -12515,7 +12515,7 @@ var require_anchors = __commonJS((exports) => {
|
|
|
12515
12515
|
exports.findNewAnchor = findNewAnchor;
|
|
12516
12516
|
});
|
|
12517
12517
|
|
|
12518
|
-
// ../node_modules
|
|
12518
|
+
// ../node_modules/yaml/dist/doc/applyReviver.js
|
|
12519
12519
|
var require_applyReviver = __commonJS((exports) => {
|
|
12520
12520
|
function applyReviver(reviver, obj, key, val) {
|
|
12521
12521
|
if (val && typeof val === "object") {
|
|
@@ -12562,7 +12562,7 @@ var require_applyReviver = __commonJS((exports) => {
|
|
|
12562
12562
|
exports.applyReviver = applyReviver;
|
|
12563
12563
|
});
|
|
12564
12564
|
|
|
12565
|
-
// ../node_modules
|
|
12565
|
+
// ../node_modules/yaml/dist/nodes/toJS.js
|
|
12566
12566
|
var require_toJS = __commonJS((exports) => {
|
|
12567
12567
|
var identity = require_identity();
|
|
12568
12568
|
function toJS(value, arg, ctx) {
|
|
@@ -12589,7 +12589,7 @@ var require_toJS = __commonJS((exports) => {
|
|
|
12589
12589
|
exports.toJS = toJS;
|
|
12590
12590
|
});
|
|
12591
12591
|
|
|
12592
|
-
// ../node_modules
|
|
12592
|
+
// ../node_modules/yaml/dist/nodes/Node.js
|
|
12593
12593
|
var require_Node = __commonJS((exports) => {
|
|
12594
12594
|
var applyReviver = require_applyReviver();
|
|
12595
12595
|
var identity = require_identity();
|
|
@@ -12626,7 +12626,7 @@ var require_Node = __commonJS((exports) => {
|
|
|
12626
12626
|
exports.NodeBase = NodeBase;
|
|
12627
12627
|
});
|
|
12628
12628
|
|
|
12629
|
-
// ../node_modules
|
|
12629
|
+
// ../node_modules/yaml/dist/nodes/Alias.js
|
|
12630
12630
|
var require_Alias = __commonJS((exports) => {
|
|
12631
12631
|
var anchors = require_anchors();
|
|
12632
12632
|
var visit = require_visit();
|
|
@@ -12734,7 +12734,7 @@ var require_Alias = __commonJS((exports) => {
|
|
|
12734
12734
|
exports.Alias = Alias;
|
|
12735
12735
|
});
|
|
12736
12736
|
|
|
12737
|
-
// ../node_modules
|
|
12737
|
+
// ../node_modules/yaml/dist/nodes/Scalar.js
|
|
12738
12738
|
var require_Scalar = __commonJS((exports) => {
|
|
12739
12739
|
var identity = require_identity();
|
|
12740
12740
|
var Node = require_Node();
|
|
@@ -12762,7 +12762,7 @@ var require_Scalar = __commonJS((exports) => {
|
|
|
12762
12762
|
exports.isScalarValue = isScalarValue;
|
|
12763
12763
|
});
|
|
12764
12764
|
|
|
12765
|
-
// ../node_modules
|
|
12765
|
+
// ../node_modules/yaml/dist/doc/createNode.js
|
|
12766
12766
|
var require_createNode = __commonJS((exports) => {
|
|
12767
12767
|
var Alias = require_Alias();
|
|
12768
12768
|
var identity = require_identity();
|
|
@@ -12834,7 +12834,7 @@ var require_createNode = __commonJS((exports) => {
|
|
|
12834
12834
|
exports.createNode = createNode;
|
|
12835
12835
|
});
|
|
12836
12836
|
|
|
12837
|
-
// ../node_modules
|
|
12837
|
+
// ../node_modules/yaml/dist/nodes/Collection.js
|
|
12838
12838
|
var require_Collection = __commonJS((exports) => {
|
|
12839
12839
|
var createNode = require_createNode();
|
|
12840
12840
|
var identity = require_identity();
|
|
@@ -12949,7 +12949,7 @@ var require_Collection = __commonJS((exports) => {
|
|
|
12949
12949
|
exports.isEmptyPath = isEmptyPath;
|
|
12950
12950
|
});
|
|
12951
12951
|
|
|
12952
|
-
// ../node_modules
|
|
12952
|
+
// ../node_modules/yaml/dist/stringify/stringifyComment.js
|
|
12953
12953
|
var require_stringifyComment = __commonJS((exports) => {
|
|
12954
12954
|
var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
|
|
12955
12955
|
function indentComment(comment, indent) {
|
|
@@ -12966,7 +12966,7 @@ var require_stringifyComment = __commonJS((exports) => {
|
|
|
12966
12966
|
exports.stringifyComment = stringifyComment;
|
|
12967
12967
|
});
|
|
12968
12968
|
|
|
12969
|
-
// ../node_modules
|
|
12969
|
+
// ../node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
12970
12970
|
var require_foldFlowLines = __commonJS((exports) => {
|
|
12971
12971
|
var FOLD_FLOW = "flow";
|
|
12972
12972
|
var FOLD_BLOCK = "block";
|
|
@@ -13103,7 +13103,7 @@ ${indent}${text.slice(fold + 1, end2)}`;
|
|
|
13103
13103
|
exports.foldFlowLines = foldFlowLines;
|
|
13104
13104
|
});
|
|
13105
13105
|
|
|
13106
|
-
// ../node_modules
|
|
13106
|
+
// ../node_modules/yaml/dist/stringify/stringifyString.js
|
|
13107
13107
|
var require_stringifyString = __commonJS((exports) => {
|
|
13108
13108
|
var Scalar = require_Scalar();
|
|
13109
13109
|
var foldFlowLines = require_foldFlowLines();
|
|
@@ -13401,7 +13401,7 @@ ${indent}`);
|
|
|
13401
13401
|
exports.stringifyString = stringifyString;
|
|
13402
13402
|
});
|
|
13403
13403
|
|
|
13404
|
-
// ../node_modules
|
|
13404
|
+
// ../node_modules/yaml/dist/stringify/stringify.js
|
|
13405
13405
|
var require_stringify = __commonJS((exports) => {
|
|
13406
13406
|
var anchors = require_anchors();
|
|
13407
13407
|
var identity = require_identity();
|
|
@@ -13522,7 +13522,7 @@ ${ctx.indent}${str}`;
|
|
|
13522
13522
|
exports.stringify = stringify;
|
|
13523
13523
|
});
|
|
13524
13524
|
|
|
13525
|
-
// ../node_modules
|
|
13525
|
+
// ../node_modules/yaml/dist/stringify/stringifyPair.js
|
|
13526
13526
|
var require_stringifyPair = __commonJS((exports) => {
|
|
13527
13527
|
var identity = require_identity();
|
|
13528
13528
|
var Scalar = require_Scalar();
|
|
@@ -13658,7 +13658,7 @@ ${ctx.indent}`;
|
|
|
13658
13658
|
exports.stringifyPair = stringifyPair;
|
|
13659
13659
|
});
|
|
13660
13660
|
|
|
13661
|
-
// ../node_modules
|
|
13661
|
+
// ../node_modules/yaml/dist/log.js
|
|
13662
13662
|
var require_log2 = __commonJS((exports) => {
|
|
13663
13663
|
var node_process = __require("process");
|
|
13664
13664
|
function debug(logLevel, ...messages) {
|
|
@@ -13677,7 +13677,7 @@ var require_log2 = __commonJS((exports) => {
|
|
|
13677
13677
|
exports.warn = warn;
|
|
13678
13678
|
});
|
|
13679
13679
|
|
|
13680
|
-
// ../node_modules
|
|
13680
|
+
// ../node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
13681
13681
|
var require_merge = __commonJS((exports) => {
|
|
13682
13682
|
var identity = require_identity();
|
|
13683
13683
|
var Scalar = require_Scalar();
|
|
@@ -13731,7 +13731,7 @@ var require_merge = __commonJS((exports) => {
|
|
|
13731
13731
|
exports.merge = merge;
|
|
13732
13732
|
});
|
|
13733
13733
|
|
|
13734
|
-
// ../node_modules
|
|
13734
|
+
// ../node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
13735
13735
|
var require_addPairToJSMap = __commonJS((exports) => {
|
|
13736
13736
|
var log = require_log2();
|
|
13737
13737
|
var merge = require_merge();
|
|
@@ -13792,7 +13792,7 @@ var require_addPairToJSMap = __commonJS((exports) => {
|
|
|
13792
13792
|
exports.addPairToJSMap = addPairToJSMap;
|
|
13793
13793
|
});
|
|
13794
13794
|
|
|
13795
|
-
// ../node_modules
|
|
13795
|
+
// ../node_modules/yaml/dist/nodes/Pair.js
|
|
13796
13796
|
var require_Pair = __commonJS((exports) => {
|
|
13797
13797
|
var createNode = require_createNode();
|
|
13798
13798
|
var stringifyPair = require_stringifyPair();
|
|
@@ -13830,7 +13830,7 @@ var require_Pair = __commonJS((exports) => {
|
|
|
13830
13830
|
exports.createPair = createPair;
|
|
13831
13831
|
});
|
|
13832
13832
|
|
|
13833
|
-
// ../node_modules
|
|
13833
|
+
// ../node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
13834
13834
|
var require_stringifyCollection = __commonJS((exports) => {
|
|
13835
13835
|
var identity = require_identity();
|
|
13836
13836
|
var stringify = require_stringify();
|
|
@@ -13982,7 +13982,7 @@ ${indent}${end}`;
|
|
|
13982
13982
|
exports.stringifyCollection = stringifyCollection;
|
|
13983
13983
|
});
|
|
13984
13984
|
|
|
13985
|
-
// ../node_modules
|
|
13985
|
+
// ../node_modules/yaml/dist/nodes/YAMLMap.js
|
|
13986
13986
|
var require_YAMLMap = __commonJS((exports) => {
|
|
13987
13987
|
var stringifyCollection = require_stringifyCollection();
|
|
13988
13988
|
var addPairToJSMap = require_addPairToJSMap();
|
|
@@ -14109,7 +14109,7 @@ var require_YAMLMap = __commonJS((exports) => {
|
|
|
14109
14109
|
exports.findPair = findPair;
|
|
14110
14110
|
});
|
|
14111
14111
|
|
|
14112
|
-
// ../node_modules
|
|
14112
|
+
// ../node_modules/yaml/dist/schema/common/map.js
|
|
14113
14113
|
var require_map = __commonJS((exports) => {
|
|
14114
14114
|
var identity = require_identity();
|
|
14115
14115
|
var YAMLMap = require_YAMLMap();
|
|
@@ -14128,7 +14128,7 @@ var require_map = __commonJS((exports) => {
|
|
|
14128
14128
|
exports.map = map;
|
|
14129
14129
|
});
|
|
14130
14130
|
|
|
14131
|
-
// ../node_modules
|
|
14131
|
+
// ../node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
14132
14132
|
var require_YAMLSeq = __commonJS((exports) => {
|
|
14133
14133
|
var createNode = require_createNode();
|
|
14134
14134
|
var stringifyCollection = require_stringifyCollection();
|
|
@@ -14221,7 +14221,7 @@ var require_YAMLSeq = __commonJS((exports) => {
|
|
|
14221
14221
|
exports.YAMLSeq = YAMLSeq;
|
|
14222
14222
|
});
|
|
14223
14223
|
|
|
14224
|
-
// ../node_modules
|
|
14224
|
+
// ../node_modules/yaml/dist/schema/common/seq.js
|
|
14225
14225
|
var require_seq = __commonJS((exports) => {
|
|
14226
14226
|
var identity = require_identity();
|
|
14227
14227
|
var YAMLSeq = require_YAMLSeq();
|
|
@@ -14240,7 +14240,7 @@ var require_seq = __commonJS((exports) => {
|
|
|
14240
14240
|
exports.seq = seq;
|
|
14241
14241
|
});
|
|
14242
14242
|
|
|
14243
|
-
// ../node_modules
|
|
14243
|
+
// ../node_modules/yaml/dist/schema/common/string.js
|
|
14244
14244
|
var require_string = __commonJS((exports) => {
|
|
14245
14245
|
var stringifyString = require_stringifyString();
|
|
14246
14246
|
var string = {
|
|
@@ -14256,7 +14256,7 @@ var require_string = __commonJS((exports) => {
|
|
|
14256
14256
|
exports.string = string;
|
|
14257
14257
|
});
|
|
14258
14258
|
|
|
14259
|
-
// ../node_modules
|
|
14259
|
+
// ../node_modules/yaml/dist/schema/common/null.js
|
|
14260
14260
|
var require_null = __commonJS((exports) => {
|
|
14261
14261
|
var Scalar = require_Scalar();
|
|
14262
14262
|
var nullTag = {
|
|
@@ -14271,7 +14271,7 @@ var require_null = __commonJS((exports) => {
|
|
|
14271
14271
|
exports.nullTag = nullTag;
|
|
14272
14272
|
});
|
|
14273
14273
|
|
|
14274
|
-
// ../node_modules
|
|
14274
|
+
// ../node_modules/yaml/dist/schema/core/bool.js
|
|
14275
14275
|
var require_bool = __commonJS((exports) => {
|
|
14276
14276
|
var Scalar = require_Scalar();
|
|
14277
14277
|
var boolTag = {
|
|
@@ -14292,7 +14292,7 @@ var require_bool = __commonJS((exports) => {
|
|
|
14292
14292
|
exports.boolTag = boolTag;
|
|
14293
14293
|
});
|
|
14294
14294
|
|
|
14295
|
-
// ../node_modules
|
|
14295
|
+
// ../node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
14296
14296
|
var require_stringifyNumber = __commonJS((exports) => {
|
|
14297
14297
|
function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|
14298
14298
|
if (typeof value === "bigint")
|
|
@@ -14316,7 +14316,7 @@ var require_stringifyNumber = __commonJS((exports) => {
|
|
|
14316
14316
|
exports.stringifyNumber = stringifyNumber;
|
|
14317
14317
|
});
|
|
14318
14318
|
|
|
14319
|
-
// ../node_modules
|
|
14319
|
+
// ../node_modules/yaml/dist/schema/core/float.js
|
|
14320
14320
|
var require_float = __commonJS((exports) => {
|
|
14321
14321
|
var Scalar = require_Scalar();
|
|
14322
14322
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -14359,7 +14359,7 @@ var require_float = __commonJS((exports) => {
|
|
|
14359
14359
|
exports.floatNaN = floatNaN;
|
|
14360
14360
|
});
|
|
14361
14361
|
|
|
14362
|
-
// ../node_modules
|
|
14362
|
+
// ../node_modules/yaml/dist/schema/core/int.js
|
|
14363
14363
|
var require_int = __commonJS((exports) => {
|
|
14364
14364
|
var stringifyNumber = require_stringifyNumber();
|
|
14365
14365
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -14401,7 +14401,7 @@ var require_int = __commonJS((exports) => {
|
|
|
14401
14401
|
exports.intOct = intOct;
|
|
14402
14402
|
});
|
|
14403
14403
|
|
|
14404
|
-
// ../node_modules
|
|
14404
|
+
// ../node_modules/yaml/dist/schema/core/schema.js
|
|
14405
14405
|
var require_schema = __commonJS((exports) => {
|
|
14406
14406
|
var map = require_map();
|
|
14407
14407
|
var _null = require_null();
|
|
@@ -14426,7 +14426,7 @@ var require_schema = __commonJS((exports) => {
|
|
|
14426
14426
|
exports.schema = schema;
|
|
14427
14427
|
});
|
|
14428
14428
|
|
|
14429
|
-
// ../node_modules
|
|
14429
|
+
// ../node_modules/yaml/dist/schema/json/schema.js
|
|
14430
14430
|
var require_schema2 = __commonJS((exports) => {
|
|
14431
14431
|
var Scalar = require_Scalar();
|
|
14432
14432
|
var map = require_map();
|
|
@@ -14490,7 +14490,7 @@ var require_schema2 = __commonJS((exports) => {
|
|
|
14490
14490
|
exports.schema = schema;
|
|
14491
14491
|
});
|
|
14492
14492
|
|
|
14493
|
-
// ../node_modules
|
|
14493
|
+
// ../node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
14494
14494
|
var require_binary = __commonJS((exports) => {
|
|
14495
14495
|
var node_buffer = __require("buffer");
|
|
14496
14496
|
var Scalar = require_Scalar();
|
|
@@ -14545,7 +14545,7 @@ var require_binary = __commonJS((exports) => {
|
|
|
14545
14545
|
exports.binary = binary;
|
|
14546
14546
|
});
|
|
14547
14547
|
|
|
14548
|
-
// ../node_modules
|
|
14548
|
+
// ../node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
14549
14549
|
var require_pairs = __commonJS((exports) => {
|
|
14550
14550
|
var identity = require_identity();
|
|
14551
14551
|
var Pair = require_Pair();
|
|
@@ -14620,7 +14620,7 @@ ${cn.comment}` : item.comment;
|
|
|
14620
14620
|
exports.resolvePairs = resolvePairs;
|
|
14621
14621
|
});
|
|
14622
14622
|
|
|
14623
|
-
// ../node_modules
|
|
14623
|
+
// ../node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
14624
14624
|
var require_omap = __commonJS((exports) => {
|
|
14625
14625
|
var identity = require_identity();
|
|
14626
14626
|
var toJS = require_toJS();
|
|
@@ -14692,7 +14692,7 @@ var require_omap = __commonJS((exports) => {
|
|
|
14692
14692
|
exports.omap = omap;
|
|
14693
14693
|
});
|
|
14694
14694
|
|
|
14695
|
-
// ../node_modules
|
|
14695
|
+
// ../node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
14696
14696
|
var require_bool2 = __commonJS((exports) => {
|
|
14697
14697
|
var Scalar = require_Scalar();
|
|
14698
14698
|
function boolStringify({ value, source }, ctx) {
|
|
@@ -14721,7 +14721,7 @@ var require_bool2 = __commonJS((exports) => {
|
|
|
14721
14721
|
exports.trueTag = trueTag;
|
|
14722
14722
|
});
|
|
14723
14723
|
|
|
14724
|
-
// ../node_modules
|
|
14724
|
+
// ../node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
14725
14725
|
var require_float2 = __commonJS((exports) => {
|
|
14726
14726
|
var Scalar = require_Scalar();
|
|
14727
14727
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -14767,7 +14767,7 @@ var require_float2 = __commonJS((exports) => {
|
|
|
14767
14767
|
exports.floatNaN = floatNaN;
|
|
14768
14768
|
});
|
|
14769
14769
|
|
|
14770
|
-
// ../node_modules
|
|
14770
|
+
// ../node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
14771
14771
|
var require_int2 = __commonJS((exports) => {
|
|
14772
14772
|
var stringifyNumber = require_stringifyNumber();
|
|
14773
14773
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -14843,7 +14843,7 @@ var require_int2 = __commonJS((exports) => {
|
|
|
14843
14843
|
exports.intOct = intOct;
|
|
14844
14844
|
});
|
|
14845
14845
|
|
|
14846
|
-
// ../node_modules
|
|
14846
|
+
// ../node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
14847
14847
|
var require_set = __commonJS((exports) => {
|
|
14848
14848
|
var identity = require_identity();
|
|
14849
14849
|
var Pair = require_Pair();
|
|
@@ -14926,7 +14926,7 @@ var require_set = __commonJS((exports) => {
|
|
|
14926
14926
|
exports.set = set;
|
|
14927
14927
|
});
|
|
14928
14928
|
|
|
14929
|
-
// ../node_modules
|
|
14929
|
+
// ../node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
14930
14930
|
var require_timestamp = __commonJS((exports) => {
|
|
14931
14931
|
var stringifyNumber = require_stringifyNumber();
|
|
14932
14932
|
function parseSexagesimal(str, asBigInt) {
|
|
@@ -15008,7 +15008,7 @@ var require_timestamp = __commonJS((exports) => {
|
|
|
15008
15008
|
exports.timestamp = timestamp;
|
|
15009
15009
|
});
|
|
15010
15010
|
|
|
15011
|
-
// ../node_modules
|
|
15011
|
+
// ../node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
15012
15012
|
var require_schema3 = __commonJS((exports) => {
|
|
15013
15013
|
var map = require_map();
|
|
15014
15014
|
var _null = require_null();
|
|
@@ -15049,7 +15049,7 @@ var require_schema3 = __commonJS((exports) => {
|
|
|
15049
15049
|
exports.schema = schema;
|
|
15050
15050
|
});
|
|
15051
15051
|
|
|
15052
|
-
// ../node_modules
|
|
15052
|
+
// ../node_modules/yaml/dist/schema/tags.js
|
|
15053
15053
|
var require_tags = __commonJS((exports) => {
|
|
15054
15054
|
var map = require_map();
|
|
15055
15055
|
var _null = require_null();
|
|
@@ -15140,7 +15140,7 @@ var require_tags = __commonJS((exports) => {
|
|
|
15140
15140
|
exports.getTags = getTags;
|
|
15141
15141
|
});
|
|
15142
15142
|
|
|
15143
|
-
// ../node_modules
|
|
15143
|
+
// ../node_modules/yaml/dist/schema/Schema.js
|
|
15144
15144
|
var require_Schema = __commonJS((exports) => {
|
|
15145
15145
|
var identity = require_identity();
|
|
15146
15146
|
var map = require_map();
|
|
@@ -15170,7 +15170,7 @@ var require_Schema = __commonJS((exports) => {
|
|
|
15170
15170
|
exports.Schema = Schema;
|
|
15171
15171
|
});
|
|
15172
15172
|
|
|
15173
|
-
// ../node_modules
|
|
15173
|
+
// ../node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
15174
15174
|
var require_stringifyDocument = __commonJS((exports) => {
|
|
15175
15175
|
var identity = require_identity();
|
|
15176
15176
|
var stringify = require_stringify();
|
|
@@ -15250,7 +15250,7 @@ var require_stringifyDocument = __commonJS((exports) => {
|
|
|
15250
15250
|
exports.stringifyDocument = stringifyDocument;
|
|
15251
15251
|
});
|
|
15252
15252
|
|
|
15253
|
-
// ../node_modules
|
|
15253
|
+
// ../node_modules/yaml/dist/doc/Document.js
|
|
15254
15254
|
var require_Document = __commonJS((exports) => {
|
|
15255
15255
|
var Alias = require_Alias();
|
|
15256
15256
|
var Collection = require_Collection();
|
|
@@ -15485,7 +15485,7 @@ var require_Document = __commonJS((exports) => {
|
|
|
15485
15485
|
exports.Document = Document;
|
|
15486
15486
|
});
|
|
15487
15487
|
|
|
15488
|
-
// ../node_modules
|
|
15488
|
+
// ../node_modules/yaml/dist/errors.js
|
|
15489
15489
|
var require_errors = __commonJS((exports) => {
|
|
15490
15490
|
class YAMLError extends Error {
|
|
15491
15491
|
constructor(name, pos, code, message) {
|
|
@@ -15550,7 +15550,7 @@ ${pointer}
|
|
|
15550
15550
|
exports.prettifyError = prettifyError;
|
|
15551
15551
|
});
|
|
15552
15552
|
|
|
15553
|
-
// ../node_modules
|
|
15553
|
+
// ../node_modules/yaml/dist/compose/resolve-props.js
|
|
15554
15554
|
var require_resolve_props = __commonJS((exports) => {
|
|
15555
15555
|
function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
15556
15556
|
let spaceBefore = false;
|
|
@@ -15680,7 +15680,7 @@ var require_resolve_props = __commonJS((exports) => {
|
|
|
15680
15680
|
exports.resolveProps = resolveProps;
|
|
15681
15681
|
});
|
|
15682
15682
|
|
|
15683
|
-
// ../node_modules
|
|
15683
|
+
// ../node_modules/yaml/dist/compose/util-contains-newline.js
|
|
15684
15684
|
var require_util_contains_newline = __commonJS((exports) => {
|
|
15685
15685
|
function containsNewline(key) {
|
|
15686
15686
|
if (!key)
|
|
@@ -15720,7 +15720,7 @@ var require_util_contains_newline = __commonJS((exports) => {
|
|
|
15720
15720
|
exports.containsNewline = containsNewline;
|
|
15721
15721
|
});
|
|
15722
15722
|
|
|
15723
|
-
// ../node_modules
|
|
15723
|
+
// ../node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
15724
15724
|
var require_util_flow_indent_check = __commonJS((exports) => {
|
|
15725
15725
|
var utilContainsNewline = require_util_contains_newline();
|
|
15726
15726
|
function flowIndentCheck(indent, fc, onError) {
|
|
@@ -15735,7 +15735,7 @@ var require_util_flow_indent_check = __commonJS((exports) => {
|
|
|
15735
15735
|
exports.flowIndentCheck = flowIndentCheck;
|
|
15736
15736
|
});
|
|
15737
15737
|
|
|
15738
|
-
// ../node_modules
|
|
15738
|
+
// ../node_modules/yaml/dist/compose/util-map-includes.js
|
|
15739
15739
|
var require_util_map_includes = __commonJS((exports) => {
|
|
15740
15740
|
var identity = require_identity();
|
|
15741
15741
|
function mapIncludes(ctx, items, search) {
|
|
@@ -15748,7 +15748,7 @@ var require_util_map_includes = __commonJS((exports) => {
|
|
|
15748
15748
|
exports.mapIncludes = mapIncludes;
|
|
15749
15749
|
});
|
|
15750
15750
|
|
|
15751
|
-
// ../node_modules
|
|
15751
|
+
// ../node_modules/yaml/dist/compose/resolve-block-map.js
|
|
15752
15752
|
var require_resolve_block_map = __commonJS((exports) => {
|
|
15753
15753
|
var Pair = require_Pair();
|
|
15754
15754
|
var YAMLMap = require_YAMLMap();
|
|
@@ -15855,7 +15855,7 @@ var require_resolve_block_map = __commonJS((exports) => {
|
|
|
15855
15855
|
exports.resolveBlockMap = resolveBlockMap;
|
|
15856
15856
|
});
|
|
15857
15857
|
|
|
15858
|
-
// ../node_modules
|
|
15858
|
+
// ../node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
15859
15859
|
var require_resolve_block_seq = __commonJS((exports) => {
|
|
15860
15860
|
var YAMLSeq = require_YAMLSeq();
|
|
15861
15861
|
var resolveProps = require_resolve_props();
|
|
@@ -15903,7 +15903,7 @@ var require_resolve_block_seq = __commonJS((exports) => {
|
|
|
15903
15903
|
exports.resolveBlockSeq = resolveBlockSeq;
|
|
15904
15904
|
});
|
|
15905
15905
|
|
|
15906
|
-
// ../node_modules
|
|
15906
|
+
// ../node_modules/yaml/dist/compose/resolve-end.js
|
|
15907
15907
|
var require_resolve_end = __commonJS((exports) => {
|
|
15908
15908
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
15909
15909
|
let comment = "";
|
|
@@ -15943,7 +15943,7 @@ var require_resolve_end = __commonJS((exports) => {
|
|
|
15943
15943
|
exports.resolveEnd = resolveEnd;
|
|
15944
15944
|
});
|
|
15945
15945
|
|
|
15946
|
-
// ../node_modules
|
|
15946
|
+
// ../node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
15947
15947
|
var require_resolve_flow_collection = __commonJS((exports) => {
|
|
15948
15948
|
var identity = require_identity();
|
|
15949
15949
|
var Pair = require_Pair();
|
|
@@ -16134,7 +16134,7 @@ var require_resolve_flow_collection = __commonJS((exports) => {
|
|
|
16134
16134
|
exports.resolveFlowCollection = resolveFlowCollection;
|
|
16135
16135
|
});
|
|
16136
16136
|
|
|
16137
|
-
// ../node_modules
|
|
16137
|
+
// ../node_modules/yaml/dist/compose/compose-collection.js
|
|
16138
16138
|
var require_compose_collection = __commonJS((exports) => {
|
|
16139
16139
|
var identity = require_identity();
|
|
16140
16140
|
var Scalar = require_Scalar();
|
|
@@ -16196,7 +16196,7 @@ var require_compose_collection = __commonJS((exports) => {
|
|
|
16196
16196
|
exports.composeCollection = composeCollection;
|
|
16197
16197
|
});
|
|
16198
16198
|
|
|
16199
|
-
// ../node_modules
|
|
16199
|
+
// ../node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
16200
16200
|
var require_resolve_block_scalar = __commonJS((exports) => {
|
|
16201
16201
|
var Scalar = require_Scalar();
|
|
16202
16202
|
function resolveBlockScalar(ctx, scalar, onError) {
|
|
@@ -16389,7 +16389,7 @@ var require_resolve_block_scalar = __commonJS((exports) => {
|
|
|
16389
16389
|
exports.resolveBlockScalar = resolveBlockScalar;
|
|
16390
16390
|
});
|
|
16391
16391
|
|
|
16392
|
-
// ../node_modules
|
|
16392
|
+
// ../node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
16393
16393
|
var require_resolve_flow_scalar = __commonJS((exports) => {
|
|
16394
16394
|
var Scalar = require_Scalar();
|
|
16395
16395
|
var resolveEnd = require_resolve_end();
|
|
@@ -16605,7 +16605,7 @@ var require_resolve_flow_scalar = __commonJS((exports) => {
|
|
|
16605
16605
|
exports.resolveFlowScalar = resolveFlowScalar;
|
|
16606
16606
|
});
|
|
16607
16607
|
|
|
16608
|
-
// ../node_modules
|
|
16608
|
+
// ../node_modules/yaml/dist/compose/compose-scalar.js
|
|
16609
16609
|
var require_compose_scalar = __commonJS((exports) => {
|
|
16610
16610
|
var identity = require_identity();
|
|
16611
16611
|
var Scalar = require_Scalar();
|
|
@@ -16683,7 +16683,7 @@ var require_compose_scalar = __commonJS((exports) => {
|
|
|
16683
16683
|
exports.composeScalar = composeScalar;
|
|
16684
16684
|
});
|
|
16685
16685
|
|
|
16686
|
-
// ../node_modules
|
|
16686
|
+
// ../node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
16687
16687
|
var require_util_empty_scalar_position = __commonJS((exports) => {
|
|
16688
16688
|
function emptyScalarPosition(offset, before, pos) {
|
|
16689
16689
|
if (before) {
|
|
@@ -16710,7 +16710,7 @@ var require_util_empty_scalar_position = __commonJS((exports) => {
|
|
|
16710
16710
|
exports.emptyScalarPosition = emptyScalarPosition;
|
|
16711
16711
|
});
|
|
16712
16712
|
|
|
16713
|
-
// ../node_modules
|
|
16713
|
+
// ../node_modules/yaml/dist/compose/compose-node.js
|
|
16714
16714
|
var require_compose_node = __commonJS((exports) => {
|
|
16715
16715
|
var Alias = require_Alias();
|
|
16716
16716
|
var identity = require_identity();
|
|
@@ -16813,7 +16813,7 @@ var require_compose_node = __commonJS((exports) => {
|
|
|
16813
16813
|
exports.composeNode = composeNode;
|
|
16814
16814
|
});
|
|
16815
16815
|
|
|
16816
|
-
// ../node_modules
|
|
16816
|
+
// ../node_modules/yaml/dist/compose/compose-doc.js
|
|
16817
16817
|
var require_compose_doc = __commonJS((exports) => {
|
|
16818
16818
|
var Document = require_Document();
|
|
16819
16819
|
var composeNode = require_compose_node();
|
|
@@ -16853,7 +16853,7 @@ var require_compose_doc = __commonJS((exports) => {
|
|
|
16853
16853
|
exports.composeDoc = composeDoc;
|
|
16854
16854
|
});
|
|
16855
16855
|
|
|
16856
|
-
// ../node_modules
|
|
16856
|
+
// ../node_modules/yaml/dist/compose/composer.js
|
|
16857
16857
|
var require_composer2 = __commonJS((exports) => {
|
|
16858
16858
|
var node_process = __require("process");
|
|
16859
16859
|
var directives = require_directives();
|
|
@@ -17042,7 +17042,7 @@ ${end.comment}` : end.comment;
|
|
|
17042
17042
|
exports.Composer = Composer;
|
|
17043
17043
|
});
|
|
17044
17044
|
|
|
17045
|
-
// ../node_modules
|
|
17045
|
+
// ../node_modules/yaml/dist/parse/cst-scalar.js
|
|
17046
17046
|
var require_cst_scalar = __commonJS((exports) => {
|
|
17047
17047
|
var resolveBlockScalar = require_resolve_block_scalar();
|
|
17048
17048
|
var resolveFlowScalar = require_resolve_flow_scalar();
|
|
@@ -17232,7 +17232,7 @@ var require_cst_scalar = __commonJS((exports) => {
|
|
|
17232
17232
|
exports.setScalarValue = setScalarValue;
|
|
17233
17233
|
});
|
|
17234
17234
|
|
|
17235
|
-
// ../node_modules
|
|
17235
|
+
// ../node_modules/yaml/dist/parse/cst-stringify.js
|
|
17236
17236
|
var require_cst_stringify = __commonJS((exports) => {
|
|
17237
17237
|
var stringify = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
|
|
17238
17238
|
function stringifyToken(token) {
|
|
@@ -17290,7 +17290,7 @@ var require_cst_stringify = __commonJS((exports) => {
|
|
|
17290
17290
|
exports.stringify = stringify;
|
|
17291
17291
|
});
|
|
17292
17292
|
|
|
17293
|
-
// ../node_modules
|
|
17293
|
+
// ../node_modules/yaml/dist/parse/cst-visit.js
|
|
17294
17294
|
var require_cst_visit = __commonJS((exports) => {
|
|
17295
17295
|
var BREAK = Symbol("break visit");
|
|
17296
17296
|
var SKIP = Symbol("skip children");
|
|
@@ -17349,7 +17349,7 @@ var require_cst_visit = __commonJS((exports) => {
|
|
|
17349
17349
|
exports.visit = visit;
|
|
17350
17350
|
});
|
|
17351
17351
|
|
|
17352
|
-
// ../node_modules
|
|
17352
|
+
// ../node_modules/yaml/dist/parse/cst.js
|
|
17353
17353
|
var require_cst = __commonJS((exports) => {
|
|
17354
17354
|
var cstScalar = require_cst_scalar();
|
|
17355
17355
|
var cstStringify = require_cst_stringify();
|
|
@@ -17450,7 +17450,7 @@ var require_cst = __commonJS((exports) => {
|
|
|
17450
17450
|
exports.tokenType = tokenType;
|
|
17451
17451
|
});
|
|
17452
17452
|
|
|
17453
|
-
// ../node_modules
|
|
17453
|
+
// ../node_modules/yaml/dist/parse/lexer.js
|
|
17454
17454
|
var require_lexer = __commonJS((exports) => {
|
|
17455
17455
|
var cst = require_cst();
|
|
17456
17456
|
function isEmpty(ch) {
|
|
@@ -18036,7 +18036,7 @@ var require_lexer = __commonJS((exports) => {
|
|
|
18036
18036
|
exports.Lexer = Lexer;
|
|
18037
18037
|
});
|
|
18038
18038
|
|
|
18039
|
-
// ../node_modules
|
|
18039
|
+
// ../node_modules/yaml/dist/parse/line-counter.js
|
|
18040
18040
|
var require_line_counter = __commonJS((exports) => {
|
|
18041
18041
|
class LineCounter {
|
|
18042
18042
|
constructor() {
|
|
@@ -18064,7 +18064,7 @@ var require_line_counter = __commonJS((exports) => {
|
|
|
18064
18064
|
exports.LineCounter = LineCounter;
|
|
18065
18065
|
});
|
|
18066
18066
|
|
|
18067
|
-
// ../node_modules
|
|
18067
|
+
// ../node_modules/yaml/dist/parse/parser.js
|
|
18068
18068
|
var require_parser2 = __commonJS((exports) => {
|
|
18069
18069
|
var node_process = __require("process");
|
|
18070
18070
|
var cst = require_cst();
|
|
@@ -18913,7 +18913,7 @@ var require_parser2 = __commonJS((exports) => {
|
|
|
18913
18913
|
exports.Parser = Parser;
|
|
18914
18914
|
});
|
|
18915
18915
|
|
|
18916
|
-
// ../node_modules
|
|
18916
|
+
// ../node_modules/yaml/dist/public-api.js
|
|
18917
18917
|
var require_public_api = __commonJS((exports) => {
|
|
18918
18918
|
var composer = require_composer2();
|
|
18919
18919
|
var Document = require_Document();
|
|
@@ -19007,7 +19007,7 @@ var require_public_api = __commonJS((exports) => {
|
|
|
19007
19007
|
exports.stringify = stringify;
|
|
19008
19008
|
});
|
|
19009
19009
|
|
|
19010
|
-
// ../node_modules
|
|
19010
|
+
// ../node_modules/yaml/dist/index.js
|
|
19011
19011
|
var require_dist = __commonJS((exports) => {
|
|
19012
19012
|
var composer = require_composer2();
|
|
19013
19013
|
var Document = require_Document();
|
|
@@ -19056,7 +19056,7 @@ var require_dist = __commonJS((exports) => {
|
|
|
19056
19056
|
exports.visitAsync = visit.visitAsync;
|
|
19057
19057
|
});
|
|
19058
19058
|
|
|
19059
|
-
// ../node_modules
|
|
19059
|
+
// ../node_modules/zod/v3/helpers/util.js
|
|
19060
19060
|
var util, objectUtil, ZodParsedType, getParsedType = (data) => {
|
|
19061
19061
|
const t = typeof data;
|
|
19062
19062
|
switch (t) {
|
|
@@ -19187,7 +19187,7 @@ var init_util = __esm(() => {
|
|
|
19187
19187
|
]);
|
|
19188
19188
|
});
|
|
19189
19189
|
|
|
19190
|
-
// ../node_modules
|
|
19190
|
+
// ../node_modules/zod/v3/ZodError.js
|
|
19191
19191
|
var ZodIssueCode, quotelessJson = (obj) => {
|
|
19192
19192
|
const json = JSON.stringify(obj, null, 2);
|
|
19193
19193
|
return json.replace(/"([^"]+)":/g, "$1:");
|
|
@@ -19308,7 +19308,7 @@ var init_ZodError = __esm(() => {
|
|
|
19308
19308
|
};
|
|
19309
19309
|
});
|
|
19310
19310
|
|
|
19311
|
-
// ../node_modules
|
|
19311
|
+
// ../node_modules/zod/v3/locales/en.js
|
|
19312
19312
|
var errorMap = (issue, _ctx) => {
|
|
19313
19313
|
let message;
|
|
19314
19314
|
switch (issue.code) {
|
|
@@ -19415,7 +19415,7 @@ var init_en = __esm(() => {
|
|
|
19415
19415
|
en_default = errorMap;
|
|
19416
19416
|
});
|
|
19417
19417
|
|
|
19418
|
-
// ../node_modules
|
|
19418
|
+
// ../node_modules/zod/v3/errors.js
|
|
19419
19419
|
function setErrorMap(map) {
|
|
19420
19420
|
overrideErrorMap = map;
|
|
19421
19421
|
}
|
|
@@ -19428,7 +19428,7 @@ var init_errors = __esm(() => {
|
|
|
19428
19428
|
overrideErrorMap = en_default;
|
|
19429
19429
|
});
|
|
19430
19430
|
|
|
19431
|
-
// ../node_modules
|
|
19431
|
+
// ../node_modules/zod/v3/helpers/parseUtil.js
|
|
19432
19432
|
function addIssueToContext(ctx, issueData) {
|
|
19433
19433
|
const overrideMap = getErrorMap();
|
|
19434
19434
|
const issue = makeIssue({
|
|
@@ -19533,10 +19533,10 @@ var init_parseUtil = __esm(() => {
|
|
|
19533
19533
|
});
|
|
19534
19534
|
});
|
|
19535
19535
|
|
|
19536
|
-
// ../node_modules
|
|
19536
|
+
// ../node_modules/zod/v3/helpers/typeAliases.js
|
|
19537
19537
|
var init_typeAliases = () => {};
|
|
19538
19538
|
|
|
19539
|
-
// ../node_modules
|
|
19539
|
+
// ../node_modules/zod/v3/helpers/errorUtil.js
|
|
19540
19540
|
var errorUtil;
|
|
19541
19541
|
var init_errorUtil = __esm(() => {
|
|
19542
19542
|
(function(errorUtil2) {
|
|
@@ -19545,7 +19545,7 @@ var init_errorUtil = __esm(() => {
|
|
|
19545
19545
|
})(errorUtil || (errorUtil = {}));
|
|
19546
19546
|
});
|
|
19547
19547
|
|
|
19548
|
-
// ../node_modules
|
|
19548
|
+
// ../node_modules/zod/v3/types.js
|
|
19549
19549
|
class ParseInputLazyPath {
|
|
19550
19550
|
constructor(parent, value, path, key) {
|
|
19551
19551
|
this._cachedPath = [];
|
|
@@ -22896,7 +22896,7 @@ var init_types = __esm(() => {
|
|
|
22896
22896
|
NEVER = INVALID;
|
|
22897
22897
|
});
|
|
22898
22898
|
|
|
22899
|
-
// ../node_modules
|
|
22899
|
+
// ../node_modules/zod/v3/external.js
|
|
22900
22900
|
var exports_external = {};
|
|
22901
22901
|
__export(exports_external, {
|
|
22902
22902
|
void: () => voidType,
|
|
@@ -23016,7 +23016,7 @@ var init_external = __esm(() => {
|
|
|
23016
23016
|
init_ZodError();
|
|
23017
23017
|
});
|
|
23018
23018
|
|
|
23019
|
-
// ../node_modules
|
|
23019
|
+
// ../node_modules/zod/index.js
|
|
23020
23020
|
var init_zod = __esm(() => {
|
|
23021
23021
|
init_external();
|
|
23022
23022
|
init_external();
|
|
@@ -23459,1525 +23459,8 @@ var init_loader = __esm(() => {
|
|
|
23459
23459
|
};
|
|
23460
23460
|
});
|
|
23461
23461
|
|
|
23462
|
-
// ../
|
|
23463
|
-
var
|
|
23464
|
-
var constants = __require("constants");
|
|
23465
|
-
var origCwd = process.cwd;
|
|
23466
|
-
var cwd = null;
|
|
23467
|
-
var platform = process.env.GRACEFUL_FS_PLATFORM || process.platform;
|
|
23468
|
-
process.cwd = function() {
|
|
23469
|
-
if (!cwd)
|
|
23470
|
-
cwd = origCwd.call(process);
|
|
23471
|
-
return cwd;
|
|
23472
|
-
};
|
|
23473
|
-
try {
|
|
23474
|
-
process.cwd();
|
|
23475
|
-
} catch (er) {}
|
|
23476
|
-
if (typeof process.chdir === "function") {
|
|
23477
|
-
chdir = process.chdir;
|
|
23478
|
-
process.chdir = function(d) {
|
|
23479
|
-
cwd = null;
|
|
23480
|
-
chdir.call(process, d);
|
|
23481
|
-
};
|
|
23482
|
-
if (Object.setPrototypeOf)
|
|
23483
|
-
Object.setPrototypeOf(process.chdir, chdir);
|
|
23484
|
-
}
|
|
23485
|
-
var chdir;
|
|
23486
|
-
module.exports = patch;
|
|
23487
|
-
function patch(fs) {
|
|
23488
|
-
if (constants.hasOwnProperty("O_SYMLINK") && process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) {
|
|
23489
|
-
patchLchmod(fs);
|
|
23490
|
-
}
|
|
23491
|
-
if (!fs.lutimes) {
|
|
23492
|
-
patchLutimes(fs);
|
|
23493
|
-
}
|
|
23494
|
-
fs.chown = chownFix(fs.chown);
|
|
23495
|
-
fs.fchown = chownFix(fs.fchown);
|
|
23496
|
-
fs.lchown = chownFix(fs.lchown);
|
|
23497
|
-
fs.chmod = chmodFix(fs.chmod);
|
|
23498
|
-
fs.fchmod = chmodFix(fs.fchmod);
|
|
23499
|
-
fs.lchmod = chmodFix(fs.lchmod);
|
|
23500
|
-
fs.chownSync = chownFixSync(fs.chownSync);
|
|
23501
|
-
fs.fchownSync = chownFixSync(fs.fchownSync);
|
|
23502
|
-
fs.lchownSync = chownFixSync(fs.lchownSync);
|
|
23503
|
-
fs.chmodSync = chmodFixSync(fs.chmodSync);
|
|
23504
|
-
fs.fchmodSync = chmodFixSync(fs.fchmodSync);
|
|
23505
|
-
fs.lchmodSync = chmodFixSync(fs.lchmodSync);
|
|
23506
|
-
fs.stat = statFix(fs.stat);
|
|
23507
|
-
fs.fstat = statFix(fs.fstat);
|
|
23508
|
-
fs.lstat = statFix(fs.lstat);
|
|
23509
|
-
fs.statSync = statFixSync(fs.statSync);
|
|
23510
|
-
fs.fstatSync = statFixSync(fs.fstatSync);
|
|
23511
|
-
fs.lstatSync = statFixSync(fs.lstatSync);
|
|
23512
|
-
if (fs.chmod && !fs.lchmod) {
|
|
23513
|
-
fs.lchmod = function(path, mode, cb) {
|
|
23514
|
-
if (cb)
|
|
23515
|
-
process.nextTick(cb);
|
|
23516
|
-
};
|
|
23517
|
-
fs.lchmodSync = function() {};
|
|
23518
|
-
}
|
|
23519
|
-
if (fs.chown && !fs.lchown) {
|
|
23520
|
-
fs.lchown = function(path, uid, gid, cb) {
|
|
23521
|
-
if (cb)
|
|
23522
|
-
process.nextTick(cb);
|
|
23523
|
-
};
|
|
23524
|
-
fs.lchownSync = function() {};
|
|
23525
|
-
}
|
|
23526
|
-
if (platform === "win32") {
|
|
23527
|
-
fs.rename = typeof fs.rename !== "function" ? fs.rename : function(fs$rename) {
|
|
23528
|
-
function rename(from, to, cb) {
|
|
23529
|
-
var start = Date.now();
|
|
23530
|
-
var backoff = 0;
|
|
23531
|
-
fs$rename(from, to, function CB(er) {
|
|
23532
|
-
if (er && (er.code === "EACCES" || er.code === "EPERM" || er.code === "EBUSY") && Date.now() - start < 60000) {
|
|
23533
|
-
setTimeout(function() {
|
|
23534
|
-
fs.stat(to, function(stater, st) {
|
|
23535
|
-
if (stater && stater.code === "ENOENT")
|
|
23536
|
-
fs$rename(from, to, CB);
|
|
23537
|
-
else
|
|
23538
|
-
cb(er);
|
|
23539
|
-
});
|
|
23540
|
-
}, backoff);
|
|
23541
|
-
if (backoff < 100)
|
|
23542
|
-
backoff += 10;
|
|
23543
|
-
return;
|
|
23544
|
-
}
|
|
23545
|
-
if (cb)
|
|
23546
|
-
cb(er);
|
|
23547
|
-
});
|
|
23548
|
-
}
|
|
23549
|
-
if (Object.setPrototypeOf)
|
|
23550
|
-
Object.setPrototypeOf(rename, fs$rename);
|
|
23551
|
-
return rename;
|
|
23552
|
-
}(fs.rename);
|
|
23553
|
-
}
|
|
23554
|
-
fs.read = typeof fs.read !== "function" ? fs.read : function(fs$read) {
|
|
23555
|
-
function read(fd, buffer, offset, length, position, callback_) {
|
|
23556
|
-
var callback;
|
|
23557
|
-
if (callback_ && typeof callback_ === "function") {
|
|
23558
|
-
var eagCounter = 0;
|
|
23559
|
-
callback = function(er, _, __) {
|
|
23560
|
-
if (er && er.code === "EAGAIN" && eagCounter < 10) {
|
|
23561
|
-
eagCounter++;
|
|
23562
|
-
return fs$read.call(fs, fd, buffer, offset, length, position, callback);
|
|
23563
|
-
}
|
|
23564
|
-
callback_.apply(this, arguments);
|
|
23565
|
-
};
|
|
23566
|
-
}
|
|
23567
|
-
return fs$read.call(fs, fd, buffer, offset, length, position, callback);
|
|
23568
|
-
}
|
|
23569
|
-
if (Object.setPrototypeOf)
|
|
23570
|
-
Object.setPrototypeOf(read, fs$read);
|
|
23571
|
-
return read;
|
|
23572
|
-
}(fs.read);
|
|
23573
|
-
fs.readSync = typeof fs.readSync !== "function" ? fs.readSync : function(fs$readSync) {
|
|
23574
|
-
return function(fd, buffer, offset, length, position) {
|
|
23575
|
-
var eagCounter = 0;
|
|
23576
|
-
while (true) {
|
|
23577
|
-
try {
|
|
23578
|
-
return fs$readSync.call(fs, fd, buffer, offset, length, position);
|
|
23579
|
-
} catch (er) {
|
|
23580
|
-
if (er.code === "EAGAIN" && eagCounter < 10) {
|
|
23581
|
-
eagCounter++;
|
|
23582
|
-
continue;
|
|
23583
|
-
}
|
|
23584
|
-
throw er;
|
|
23585
|
-
}
|
|
23586
|
-
}
|
|
23587
|
-
};
|
|
23588
|
-
}(fs.readSync);
|
|
23589
|
-
function patchLchmod(fs2) {
|
|
23590
|
-
fs2.lchmod = function(path, mode, callback) {
|
|
23591
|
-
fs2.open(path, constants.O_WRONLY | constants.O_SYMLINK, mode, function(err, fd) {
|
|
23592
|
-
if (err) {
|
|
23593
|
-
if (callback)
|
|
23594
|
-
callback(err);
|
|
23595
|
-
return;
|
|
23596
|
-
}
|
|
23597
|
-
fs2.fchmod(fd, mode, function(err2) {
|
|
23598
|
-
fs2.close(fd, function(err22) {
|
|
23599
|
-
if (callback)
|
|
23600
|
-
callback(err2 || err22);
|
|
23601
|
-
});
|
|
23602
|
-
});
|
|
23603
|
-
});
|
|
23604
|
-
};
|
|
23605
|
-
fs2.lchmodSync = function(path, mode) {
|
|
23606
|
-
var fd = fs2.openSync(path, constants.O_WRONLY | constants.O_SYMLINK, mode);
|
|
23607
|
-
var threw = true;
|
|
23608
|
-
var ret;
|
|
23609
|
-
try {
|
|
23610
|
-
ret = fs2.fchmodSync(fd, mode);
|
|
23611
|
-
threw = false;
|
|
23612
|
-
} finally {
|
|
23613
|
-
if (threw) {
|
|
23614
|
-
try {
|
|
23615
|
-
fs2.closeSync(fd);
|
|
23616
|
-
} catch (er) {}
|
|
23617
|
-
} else {
|
|
23618
|
-
fs2.closeSync(fd);
|
|
23619
|
-
}
|
|
23620
|
-
}
|
|
23621
|
-
return ret;
|
|
23622
|
-
};
|
|
23623
|
-
}
|
|
23624
|
-
function patchLutimes(fs2) {
|
|
23625
|
-
if (constants.hasOwnProperty("O_SYMLINK") && fs2.futimes) {
|
|
23626
|
-
fs2.lutimes = function(path, at, mt, cb) {
|
|
23627
|
-
fs2.open(path, constants.O_SYMLINK, function(er, fd) {
|
|
23628
|
-
if (er) {
|
|
23629
|
-
if (cb)
|
|
23630
|
-
cb(er);
|
|
23631
|
-
return;
|
|
23632
|
-
}
|
|
23633
|
-
fs2.futimes(fd, at, mt, function(er2) {
|
|
23634
|
-
fs2.close(fd, function(er22) {
|
|
23635
|
-
if (cb)
|
|
23636
|
-
cb(er2 || er22);
|
|
23637
|
-
});
|
|
23638
|
-
});
|
|
23639
|
-
});
|
|
23640
|
-
};
|
|
23641
|
-
fs2.lutimesSync = function(path, at, mt) {
|
|
23642
|
-
var fd = fs2.openSync(path, constants.O_SYMLINK);
|
|
23643
|
-
var ret;
|
|
23644
|
-
var threw = true;
|
|
23645
|
-
try {
|
|
23646
|
-
ret = fs2.futimesSync(fd, at, mt);
|
|
23647
|
-
threw = false;
|
|
23648
|
-
} finally {
|
|
23649
|
-
if (threw) {
|
|
23650
|
-
try {
|
|
23651
|
-
fs2.closeSync(fd);
|
|
23652
|
-
} catch (er) {}
|
|
23653
|
-
} else {
|
|
23654
|
-
fs2.closeSync(fd);
|
|
23655
|
-
}
|
|
23656
|
-
}
|
|
23657
|
-
return ret;
|
|
23658
|
-
};
|
|
23659
|
-
} else if (fs2.futimes) {
|
|
23660
|
-
fs2.lutimes = function(_a, _b, _c, cb) {
|
|
23661
|
-
if (cb)
|
|
23662
|
-
process.nextTick(cb);
|
|
23663
|
-
};
|
|
23664
|
-
fs2.lutimesSync = function() {};
|
|
23665
|
-
}
|
|
23666
|
-
}
|
|
23667
|
-
function chmodFix(orig) {
|
|
23668
|
-
if (!orig)
|
|
23669
|
-
return orig;
|
|
23670
|
-
return function(target, mode, cb) {
|
|
23671
|
-
return orig.call(fs, target, mode, function(er) {
|
|
23672
|
-
if (chownErOk(er))
|
|
23673
|
-
er = null;
|
|
23674
|
-
if (cb)
|
|
23675
|
-
cb.apply(this, arguments);
|
|
23676
|
-
});
|
|
23677
|
-
};
|
|
23678
|
-
}
|
|
23679
|
-
function chmodFixSync(orig) {
|
|
23680
|
-
if (!orig)
|
|
23681
|
-
return orig;
|
|
23682
|
-
return function(target, mode) {
|
|
23683
|
-
try {
|
|
23684
|
-
return orig.call(fs, target, mode);
|
|
23685
|
-
} catch (er) {
|
|
23686
|
-
if (!chownErOk(er))
|
|
23687
|
-
throw er;
|
|
23688
|
-
}
|
|
23689
|
-
};
|
|
23690
|
-
}
|
|
23691
|
-
function chownFix(orig) {
|
|
23692
|
-
if (!orig)
|
|
23693
|
-
return orig;
|
|
23694
|
-
return function(target, uid, gid, cb) {
|
|
23695
|
-
return orig.call(fs, target, uid, gid, function(er) {
|
|
23696
|
-
if (chownErOk(er))
|
|
23697
|
-
er = null;
|
|
23698
|
-
if (cb)
|
|
23699
|
-
cb.apply(this, arguments);
|
|
23700
|
-
});
|
|
23701
|
-
};
|
|
23702
|
-
}
|
|
23703
|
-
function chownFixSync(orig) {
|
|
23704
|
-
if (!orig)
|
|
23705
|
-
return orig;
|
|
23706
|
-
return function(target, uid, gid) {
|
|
23707
|
-
try {
|
|
23708
|
-
return orig.call(fs, target, uid, gid);
|
|
23709
|
-
} catch (er) {
|
|
23710
|
-
if (!chownErOk(er))
|
|
23711
|
-
throw er;
|
|
23712
|
-
}
|
|
23713
|
-
};
|
|
23714
|
-
}
|
|
23715
|
-
function statFix(orig) {
|
|
23716
|
-
if (!orig)
|
|
23717
|
-
return orig;
|
|
23718
|
-
return function(target, options, cb) {
|
|
23719
|
-
if (typeof options === "function") {
|
|
23720
|
-
cb = options;
|
|
23721
|
-
options = null;
|
|
23722
|
-
}
|
|
23723
|
-
function callback(er, stats) {
|
|
23724
|
-
if (stats) {
|
|
23725
|
-
if (stats.uid < 0)
|
|
23726
|
-
stats.uid += 4294967296;
|
|
23727
|
-
if (stats.gid < 0)
|
|
23728
|
-
stats.gid += 4294967296;
|
|
23729
|
-
}
|
|
23730
|
-
if (cb)
|
|
23731
|
-
cb.apply(this, arguments);
|
|
23732
|
-
}
|
|
23733
|
-
return options ? orig.call(fs, target, options, callback) : orig.call(fs, target, callback);
|
|
23734
|
-
};
|
|
23735
|
-
}
|
|
23736
|
-
function statFixSync(orig) {
|
|
23737
|
-
if (!orig)
|
|
23738
|
-
return orig;
|
|
23739
|
-
return function(target, options) {
|
|
23740
|
-
var stats = options ? orig.call(fs, target, options) : orig.call(fs, target);
|
|
23741
|
-
if (stats) {
|
|
23742
|
-
if (stats.uid < 0)
|
|
23743
|
-
stats.uid += 4294967296;
|
|
23744
|
-
if (stats.gid < 0)
|
|
23745
|
-
stats.gid += 4294967296;
|
|
23746
|
-
}
|
|
23747
|
-
return stats;
|
|
23748
|
-
};
|
|
23749
|
-
}
|
|
23750
|
-
function chownErOk(er) {
|
|
23751
|
-
if (!er)
|
|
23752
|
-
return true;
|
|
23753
|
-
if (er.code === "ENOSYS")
|
|
23754
|
-
return true;
|
|
23755
|
-
var nonroot = !process.getuid || process.getuid() !== 0;
|
|
23756
|
-
if (nonroot) {
|
|
23757
|
-
if (er.code === "EINVAL" || er.code === "EPERM")
|
|
23758
|
-
return true;
|
|
23759
|
-
}
|
|
23760
|
-
return false;
|
|
23761
|
-
}
|
|
23762
|
-
}
|
|
23763
|
-
});
|
|
23764
|
-
|
|
23765
|
-
// ../node_modules/.bun/graceful-fs@4.2.11/node_modules/graceful-fs/legacy-streams.js
|
|
23766
|
-
var require_legacy_streams = __commonJS((exports, module) => {
|
|
23767
|
-
var Stream = __require("stream").Stream;
|
|
23768
|
-
module.exports = legacy;
|
|
23769
|
-
function legacy(fs) {
|
|
23770
|
-
return {
|
|
23771
|
-
ReadStream,
|
|
23772
|
-
WriteStream
|
|
23773
|
-
};
|
|
23774
|
-
function ReadStream(path, options) {
|
|
23775
|
-
if (!(this instanceof ReadStream))
|
|
23776
|
-
return new ReadStream(path, options);
|
|
23777
|
-
Stream.call(this);
|
|
23778
|
-
var self = this;
|
|
23779
|
-
this.path = path;
|
|
23780
|
-
this.fd = null;
|
|
23781
|
-
this.readable = true;
|
|
23782
|
-
this.paused = false;
|
|
23783
|
-
this.flags = "r";
|
|
23784
|
-
this.mode = 438;
|
|
23785
|
-
this.bufferSize = 64 * 1024;
|
|
23786
|
-
options = options || {};
|
|
23787
|
-
var keys = Object.keys(options);
|
|
23788
|
-
for (var index = 0, length = keys.length;index < length; index++) {
|
|
23789
|
-
var key = keys[index];
|
|
23790
|
-
this[key] = options[key];
|
|
23791
|
-
}
|
|
23792
|
-
if (this.encoding)
|
|
23793
|
-
this.setEncoding(this.encoding);
|
|
23794
|
-
if (this.start !== undefined) {
|
|
23795
|
-
if (typeof this.start !== "number") {
|
|
23796
|
-
throw TypeError("start must be a Number");
|
|
23797
|
-
}
|
|
23798
|
-
if (this.end === undefined) {
|
|
23799
|
-
this.end = Infinity;
|
|
23800
|
-
} else if (typeof this.end !== "number") {
|
|
23801
|
-
throw TypeError("end must be a Number");
|
|
23802
|
-
}
|
|
23803
|
-
if (this.start > this.end) {
|
|
23804
|
-
throw new Error("start must be <= end");
|
|
23805
|
-
}
|
|
23806
|
-
this.pos = this.start;
|
|
23807
|
-
}
|
|
23808
|
-
if (this.fd !== null) {
|
|
23809
|
-
process.nextTick(function() {
|
|
23810
|
-
self._read();
|
|
23811
|
-
});
|
|
23812
|
-
return;
|
|
23813
|
-
}
|
|
23814
|
-
fs.open(this.path, this.flags, this.mode, function(err, fd) {
|
|
23815
|
-
if (err) {
|
|
23816
|
-
self.emit("error", err);
|
|
23817
|
-
self.readable = false;
|
|
23818
|
-
return;
|
|
23819
|
-
}
|
|
23820
|
-
self.fd = fd;
|
|
23821
|
-
self.emit("open", fd);
|
|
23822
|
-
self._read();
|
|
23823
|
-
});
|
|
23824
|
-
}
|
|
23825
|
-
function WriteStream(path, options) {
|
|
23826
|
-
if (!(this instanceof WriteStream))
|
|
23827
|
-
return new WriteStream(path, options);
|
|
23828
|
-
Stream.call(this);
|
|
23829
|
-
this.path = path;
|
|
23830
|
-
this.fd = null;
|
|
23831
|
-
this.writable = true;
|
|
23832
|
-
this.flags = "w";
|
|
23833
|
-
this.encoding = "binary";
|
|
23834
|
-
this.mode = 438;
|
|
23835
|
-
this.bytesWritten = 0;
|
|
23836
|
-
options = options || {};
|
|
23837
|
-
var keys = Object.keys(options);
|
|
23838
|
-
for (var index = 0, length = keys.length;index < length; index++) {
|
|
23839
|
-
var key = keys[index];
|
|
23840
|
-
this[key] = options[key];
|
|
23841
|
-
}
|
|
23842
|
-
if (this.start !== undefined) {
|
|
23843
|
-
if (typeof this.start !== "number") {
|
|
23844
|
-
throw TypeError("start must be a Number");
|
|
23845
|
-
}
|
|
23846
|
-
if (this.start < 0) {
|
|
23847
|
-
throw new Error("start must be >= zero");
|
|
23848
|
-
}
|
|
23849
|
-
this.pos = this.start;
|
|
23850
|
-
}
|
|
23851
|
-
this.busy = false;
|
|
23852
|
-
this._queue = [];
|
|
23853
|
-
if (this.fd === null) {
|
|
23854
|
-
this._open = fs.open;
|
|
23855
|
-
this._queue.push([this._open, this.path, this.flags, this.mode, undefined]);
|
|
23856
|
-
this.flush();
|
|
23857
|
-
}
|
|
23858
|
-
}
|
|
23859
|
-
}
|
|
23860
|
-
});
|
|
23861
|
-
|
|
23862
|
-
// ../node_modules/.bun/graceful-fs@4.2.11/node_modules/graceful-fs/clone.js
|
|
23863
|
-
var require_clone = __commonJS((exports, module) => {
|
|
23864
|
-
module.exports = clone;
|
|
23865
|
-
var getPrototypeOf = Object.getPrototypeOf || function(obj) {
|
|
23866
|
-
return obj.__proto__;
|
|
23867
|
-
};
|
|
23868
|
-
function clone(obj) {
|
|
23869
|
-
if (obj === null || typeof obj !== "object")
|
|
23870
|
-
return obj;
|
|
23871
|
-
if (obj instanceof Object)
|
|
23872
|
-
var copy = { __proto__: getPrototypeOf(obj) };
|
|
23873
|
-
else
|
|
23874
|
-
var copy = Object.create(null);
|
|
23875
|
-
Object.getOwnPropertyNames(obj).forEach(function(key) {
|
|
23876
|
-
Object.defineProperty(copy, key, Object.getOwnPropertyDescriptor(obj, key));
|
|
23877
|
-
});
|
|
23878
|
-
return copy;
|
|
23879
|
-
}
|
|
23880
|
-
});
|
|
23881
|
-
|
|
23882
|
-
// ../node_modules/.bun/graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js
|
|
23883
|
-
var require_graceful_fs = __commonJS((exports, module) => {
|
|
23884
|
-
var fs = __require("fs");
|
|
23885
|
-
var polyfills = require_polyfills();
|
|
23886
|
-
var legacy = require_legacy_streams();
|
|
23887
|
-
var clone = require_clone();
|
|
23888
|
-
var util3 = __require("util");
|
|
23889
|
-
var gracefulQueue;
|
|
23890
|
-
var previousSymbol;
|
|
23891
|
-
if (typeof Symbol === "function" && typeof Symbol.for === "function") {
|
|
23892
|
-
gracefulQueue = Symbol.for("graceful-fs.queue");
|
|
23893
|
-
previousSymbol = Symbol.for("graceful-fs.previous");
|
|
23894
|
-
} else {
|
|
23895
|
-
gracefulQueue = "___graceful-fs.queue";
|
|
23896
|
-
previousSymbol = "___graceful-fs.previous";
|
|
23897
|
-
}
|
|
23898
|
-
function noop() {}
|
|
23899
|
-
function publishQueue(context, queue2) {
|
|
23900
|
-
Object.defineProperty(context, gracefulQueue, {
|
|
23901
|
-
get: function() {
|
|
23902
|
-
return queue2;
|
|
23903
|
-
}
|
|
23904
|
-
});
|
|
23905
|
-
}
|
|
23906
|
-
var debug = noop;
|
|
23907
|
-
if (util3.debuglog)
|
|
23908
|
-
debug = util3.debuglog("gfs4");
|
|
23909
|
-
else if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || ""))
|
|
23910
|
-
debug = function() {
|
|
23911
|
-
var m = util3.format.apply(util3, arguments);
|
|
23912
|
-
m = "GFS4: " + m.split(/\n/).join(`
|
|
23913
|
-
GFS4: `);
|
|
23914
|
-
console.error(m);
|
|
23915
|
-
};
|
|
23916
|
-
if (!fs[gracefulQueue]) {
|
|
23917
|
-
queue = global[gracefulQueue] || [];
|
|
23918
|
-
publishQueue(fs, queue);
|
|
23919
|
-
fs.close = function(fs$close) {
|
|
23920
|
-
function close(fd, cb) {
|
|
23921
|
-
return fs$close.call(fs, fd, function(err) {
|
|
23922
|
-
if (!err) {
|
|
23923
|
-
resetQueue();
|
|
23924
|
-
}
|
|
23925
|
-
if (typeof cb === "function")
|
|
23926
|
-
cb.apply(this, arguments);
|
|
23927
|
-
});
|
|
23928
|
-
}
|
|
23929
|
-
Object.defineProperty(close, previousSymbol, {
|
|
23930
|
-
value: fs$close
|
|
23931
|
-
});
|
|
23932
|
-
return close;
|
|
23933
|
-
}(fs.close);
|
|
23934
|
-
fs.closeSync = function(fs$closeSync) {
|
|
23935
|
-
function closeSync(fd) {
|
|
23936
|
-
fs$closeSync.apply(fs, arguments);
|
|
23937
|
-
resetQueue();
|
|
23938
|
-
}
|
|
23939
|
-
Object.defineProperty(closeSync, previousSymbol, {
|
|
23940
|
-
value: fs$closeSync
|
|
23941
|
-
});
|
|
23942
|
-
return closeSync;
|
|
23943
|
-
}(fs.closeSync);
|
|
23944
|
-
if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || "")) {
|
|
23945
|
-
process.on("exit", function() {
|
|
23946
|
-
debug(fs[gracefulQueue]);
|
|
23947
|
-
__require("assert").equal(fs[gracefulQueue].length, 0);
|
|
23948
|
-
});
|
|
23949
|
-
}
|
|
23950
|
-
}
|
|
23951
|
-
var queue;
|
|
23952
|
-
if (!global[gracefulQueue]) {
|
|
23953
|
-
publishQueue(global, fs[gracefulQueue]);
|
|
23954
|
-
}
|
|
23955
|
-
module.exports = patch(clone(fs));
|
|
23956
|
-
if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs.__patched) {
|
|
23957
|
-
module.exports = patch(fs);
|
|
23958
|
-
fs.__patched = true;
|
|
23959
|
-
}
|
|
23960
|
-
function patch(fs2) {
|
|
23961
|
-
polyfills(fs2);
|
|
23962
|
-
fs2.gracefulify = patch;
|
|
23963
|
-
fs2.createReadStream = createReadStream;
|
|
23964
|
-
fs2.createWriteStream = createWriteStream;
|
|
23965
|
-
var fs$readFile = fs2.readFile;
|
|
23966
|
-
fs2.readFile = readFile;
|
|
23967
|
-
function readFile(path, options, cb) {
|
|
23968
|
-
if (typeof options === "function")
|
|
23969
|
-
cb = options, options = null;
|
|
23970
|
-
return go$readFile(path, options, cb);
|
|
23971
|
-
function go$readFile(path2, options2, cb2, startTime) {
|
|
23972
|
-
return fs$readFile(path2, options2, function(err) {
|
|
23973
|
-
if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
|
|
23974
|
-
enqueue([go$readFile, [path2, options2, cb2], err, startTime || Date.now(), Date.now()]);
|
|
23975
|
-
else {
|
|
23976
|
-
if (typeof cb2 === "function")
|
|
23977
|
-
cb2.apply(this, arguments);
|
|
23978
|
-
}
|
|
23979
|
-
});
|
|
23980
|
-
}
|
|
23981
|
-
}
|
|
23982
|
-
var fs$writeFile = fs2.writeFile;
|
|
23983
|
-
fs2.writeFile = writeFile;
|
|
23984
|
-
function writeFile(path, data, options, cb) {
|
|
23985
|
-
if (typeof options === "function")
|
|
23986
|
-
cb = options, options = null;
|
|
23987
|
-
return go$writeFile(path, data, options, cb);
|
|
23988
|
-
function go$writeFile(path2, data2, options2, cb2, startTime) {
|
|
23989
|
-
return fs$writeFile(path2, data2, options2, function(err) {
|
|
23990
|
-
if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
|
|
23991
|
-
enqueue([go$writeFile, [path2, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
|
|
23992
|
-
else {
|
|
23993
|
-
if (typeof cb2 === "function")
|
|
23994
|
-
cb2.apply(this, arguments);
|
|
23995
|
-
}
|
|
23996
|
-
});
|
|
23997
|
-
}
|
|
23998
|
-
}
|
|
23999
|
-
var fs$appendFile = fs2.appendFile;
|
|
24000
|
-
if (fs$appendFile)
|
|
24001
|
-
fs2.appendFile = appendFile;
|
|
24002
|
-
function appendFile(path, data, options, cb) {
|
|
24003
|
-
if (typeof options === "function")
|
|
24004
|
-
cb = options, options = null;
|
|
24005
|
-
return go$appendFile(path, data, options, cb);
|
|
24006
|
-
function go$appendFile(path2, data2, options2, cb2, startTime) {
|
|
24007
|
-
return fs$appendFile(path2, data2, options2, function(err) {
|
|
24008
|
-
if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
|
|
24009
|
-
enqueue([go$appendFile, [path2, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
|
|
24010
|
-
else {
|
|
24011
|
-
if (typeof cb2 === "function")
|
|
24012
|
-
cb2.apply(this, arguments);
|
|
24013
|
-
}
|
|
24014
|
-
});
|
|
24015
|
-
}
|
|
24016
|
-
}
|
|
24017
|
-
var fs$copyFile = fs2.copyFile;
|
|
24018
|
-
if (fs$copyFile)
|
|
24019
|
-
fs2.copyFile = copyFile;
|
|
24020
|
-
function copyFile(src, dest, flags, cb) {
|
|
24021
|
-
if (typeof flags === "function") {
|
|
24022
|
-
cb = flags;
|
|
24023
|
-
flags = 0;
|
|
24024
|
-
}
|
|
24025
|
-
return go$copyFile(src, dest, flags, cb);
|
|
24026
|
-
function go$copyFile(src2, dest2, flags2, cb2, startTime) {
|
|
24027
|
-
return fs$copyFile(src2, dest2, flags2, function(err) {
|
|
24028
|
-
if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
|
|
24029
|
-
enqueue([go$copyFile, [src2, dest2, flags2, cb2], err, startTime || Date.now(), Date.now()]);
|
|
24030
|
-
else {
|
|
24031
|
-
if (typeof cb2 === "function")
|
|
24032
|
-
cb2.apply(this, arguments);
|
|
24033
|
-
}
|
|
24034
|
-
});
|
|
24035
|
-
}
|
|
24036
|
-
}
|
|
24037
|
-
var fs$readdir = fs2.readdir;
|
|
24038
|
-
fs2.readdir = readdir;
|
|
24039
|
-
var noReaddirOptionVersions = /^v[0-5]\./;
|
|
24040
|
-
function readdir(path, options, cb) {
|
|
24041
|
-
if (typeof options === "function")
|
|
24042
|
-
cb = options, options = null;
|
|
24043
|
-
var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$readdir2(path2, options2, cb2, startTime) {
|
|
24044
|
-
return fs$readdir(path2, fs$readdirCallback(path2, options2, cb2, startTime));
|
|
24045
|
-
} : function go$readdir2(path2, options2, cb2, startTime) {
|
|
24046
|
-
return fs$readdir(path2, options2, fs$readdirCallback(path2, options2, cb2, startTime));
|
|
24047
|
-
};
|
|
24048
|
-
return go$readdir(path, options, cb);
|
|
24049
|
-
function fs$readdirCallback(path2, options2, cb2, startTime) {
|
|
24050
|
-
return function(err, files) {
|
|
24051
|
-
if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
|
|
24052
|
-
enqueue([
|
|
24053
|
-
go$readdir,
|
|
24054
|
-
[path2, options2, cb2],
|
|
24055
|
-
err,
|
|
24056
|
-
startTime || Date.now(),
|
|
24057
|
-
Date.now()
|
|
24058
|
-
]);
|
|
24059
|
-
else {
|
|
24060
|
-
if (files && files.sort)
|
|
24061
|
-
files.sort();
|
|
24062
|
-
if (typeof cb2 === "function")
|
|
24063
|
-
cb2.call(this, err, files);
|
|
24064
|
-
}
|
|
24065
|
-
};
|
|
24066
|
-
}
|
|
24067
|
-
}
|
|
24068
|
-
if (process.version.substr(0, 4) === "v0.8") {
|
|
24069
|
-
var legStreams = legacy(fs2);
|
|
24070
|
-
ReadStream = legStreams.ReadStream;
|
|
24071
|
-
WriteStream = legStreams.WriteStream;
|
|
24072
|
-
}
|
|
24073
|
-
var fs$ReadStream = fs2.ReadStream;
|
|
24074
|
-
if (fs$ReadStream) {
|
|
24075
|
-
ReadStream.prototype = Object.create(fs$ReadStream.prototype);
|
|
24076
|
-
ReadStream.prototype.open = ReadStream$open;
|
|
24077
|
-
}
|
|
24078
|
-
var fs$WriteStream = fs2.WriteStream;
|
|
24079
|
-
if (fs$WriteStream) {
|
|
24080
|
-
WriteStream.prototype = Object.create(fs$WriteStream.prototype);
|
|
24081
|
-
WriteStream.prototype.open = WriteStream$open;
|
|
24082
|
-
}
|
|
24083
|
-
Object.defineProperty(fs2, "ReadStream", {
|
|
24084
|
-
get: function() {
|
|
24085
|
-
return ReadStream;
|
|
24086
|
-
},
|
|
24087
|
-
set: function(val) {
|
|
24088
|
-
ReadStream = val;
|
|
24089
|
-
},
|
|
24090
|
-
enumerable: true,
|
|
24091
|
-
configurable: true
|
|
24092
|
-
});
|
|
24093
|
-
Object.defineProperty(fs2, "WriteStream", {
|
|
24094
|
-
get: function() {
|
|
24095
|
-
return WriteStream;
|
|
24096
|
-
},
|
|
24097
|
-
set: function(val) {
|
|
24098
|
-
WriteStream = val;
|
|
24099
|
-
},
|
|
24100
|
-
enumerable: true,
|
|
24101
|
-
configurable: true
|
|
24102
|
-
});
|
|
24103
|
-
var FileReadStream = ReadStream;
|
|
24104
|
-
Object.defineProperty(fs2, "FileReadStream", {
|
|
24105
|
-
get: function() {
|
|
24106
|
-
return FileReadStream;
|
|
24107
|
-
},
|
|
24108
|
-
set: function(val) {
|
|
24109
|
-
FileReadStream = val;
|
|
24110
|
-
},
|
|
24111
|
-
enumerable: true,
|
|
24112
|
-
configurable: true
|
|
24113
|
-
});
|
|
24114
|
-
var FileWriteStream = WriteStream;
|
|
24115
|
-
Object.defineProperty(fs2, "FileWriteStream", {
|
|
24116
|
-
get: function() {
|
|
24117
|
-
return FileWriteStream;
|
|
24118
|
-
},
|
|
24119
|
-
set: function(val) {
|
|
24120
|
-
FileWriteStream = val;
|
|
24121
|
-
},
|
|
24122
|
-
enumerable: true,
|
|
24123
|
-
configurable: true
|
|
24124
|
-
});
|
|
24125
|
-
function ReadStream(path, options) {
|
|
24126
|
-
if (this instanceof ReadStream)
|
|
24127
|
-
return fs$ReadStream.apply(this, arguments), this;
|
|
24128
|
-
else
|
|
24129
|
-
return ReadStream.apply(Object.create(ReadStream.prototype), arguments);
|
|
24130
|
-
}
|
|
24131
|
-
function ReadStream$open() {
|
|
24132
|
-
var that = this;
|
|
24133
|
-
open(that.path, that.flags, that.mode, function(err, fd) {
|
|
24134
|
-
if (err) {
|
|
24135
|
-
if (that.autoClose)
|
|
24136
|
-
that.destroy();
|
|
24137
|
-
that.emit("error", err);
|
|
24138
|
-
} else {
|
|
24139
|
-
that.fd = fd;
|
|
24140
|
-
that.emit("open", fd);
|
|
24141
|
-
that.read();
|
|
24142
|
-
}
|
|
24143
|
-
});
|
|
24144
|
-
}
|
|
24145
|
-
function WriteStream(path, options) {
|
|
24146
|
-
if (this instanceof WriteStream)
|
|
24147
|
-
return fs$WriteStream.apply(this, arguments), this;
|
|
24148
|
-
else
|
|
24149
|
-
return WriteStream.apply(Object.create(WriteStream.prototype), arguments);
|
|
24150
|
-
}
|
|
24151
|
-
function WriteStream$open() {
|
|
24152
|
-
var that = this;
|
|
24153
|
-
open(that.path, that.flags, that.mode, function(err, fd) {
|
|
24154
|
-
if (err) {
|
|
24155
|
-
that.destroy();
|
|
24156
|
-
that.emit("error", err);
|
|
24157
|
-
} else {
|
|
24158
|
-
that.fd = fd;
|
|
24159
|
-
that.emit("open", fd);
|
|
24160
|
-
}
|
|
24161
|
-
});
|
|
24162
|
-
}
|
|
24163
|
-
function createReadStream(path, options) {
|
|
24164
|
-
return new fs2.ReadStream(path, options);
|
|
24165
|
-
}
|
|
24166
|
-
function createWriteStream(path, options) {
|
|
24167
|
-
return new fs2.WriteStream(path, options);
|
|
24168
|
-
}
|
|
24169
|
-
var fs$open = fs2.open;
|
|
24170
|
-
fs2.open = open;
|
|
24171
|
-
function open(path, flags, mode, cb) {
|
|
24172
|
-
if (typeof mode === "function")
|
|
24173
|
-
cb = mode, mode = null;
|
|
24174
|
-
return go$open(path, flags, mode, cb);
|
|
24175
|
-
function go$open(path2, flags2, mode2, cb2, startTime) {
|
|
24176
|
-
return fs$open(path2, flags2, mode2, function(err, fd) {
|
|
24177
|
-
if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
|
|
24178
|
-
enqueue([go$open, [path2, flags2, mode2, cb2], err, startTime || Date.now(), Date.now()]);
|
|
24179
|
-
else {
|
|
24180
|
-
if (typeof cb2 === "function")
|
|
24181
|
-
cb2.apply(this, arguments);
|
|
24182
|
-
}
|
|
24183
|
-
});
|
|
24184
|
-
}
|
|
24185
|
-
}
|
|
24186
|
-
return fs2;
|
|
24187
|
-
}
|
|
24188
|
-
function enqueue(elem) {
|
|
24189
|
-
debug("ENQUEUE", elem[0].name, elem[1]);
|
|
24190
|
-
fs[gracefulQueue].push(elem);
|
|
24191
|
-
retry();
|
|
24192
|
-
}
|
|
24193
|
-
var retryTimer;
|
|
24194
|
-
function resetQueue() {
|
|
24195
|
-
var now = Date.now();
|
|
24196
|
-
for (var i = 0;i < fs[gracefulQueue].length; ++i) {
|
|
24197
|
-
if (fs[gracefulQueue][i].length > 2) {
|
|
24198
|
-
fs[gracefulQueue][i][3] = now;
|
|
24199
|
-
fs[gracefulQueue][i][4] = now;
|
|
24200
|
-
}
|
|
24201
|
-
}
|
|
24202
|
-
retry();
|
|
24203
|
-
}
|
|
24204
|
-
function retry() {
|
|
24205
|
-
clearTimeout(retryTimer);
|
|
24206
|
-
retryTimer = undefined;
|
|
24207
|
-
if (fs[gracefulQueue].length === 0)
|
|
24208
|
-
return;
|
|
24209
|
-
var elem = fs[gracefulQueue].shift();
|
|
24210
|
-
var fn = elem[0];
|
|
24211
|
-
var args = elem[1];
|
|
24212
|
-
var err = elem[2];
|
|
24213
|
-
var startTime = elem[3];
|
|
24214
|
-
var lastTime = elem[4];
|
|
24215
|
-
if (startTime === undefined) {
|
|
24216
|
-
debug("RETRY", fn.name, args);
|
|
24217
|
-
fn.apply(null, args);
|
|
24218
|
-
} else if (Date.now() - startTime >= 60000) {
|
|
24219
|
-
debug("TIMEOUT", fn.name, args);
|
|
24220
|
-
var cb = args.pop();
|
|
24221
|
-
if (typeof cb === "function")
|
|
24222
|
-
cb.call(null, err);
|
|
24223
|
-
} else {
|
|
24224
|
-
var sinceAttempt = Date.now() - lastTime;
|
|
24225
|
-
var sinceStart = Math.max(lastTime - startTime, 1);
|
|
24226
|
-
var desiredDelay = Math.min(sinceStart * 1.2, 100);
|
|
24227
|
-
if (sinceAttempt >= desiredDelay) {
|
|
24228
|
-
debug("RETRY", fn.name, args);
|
|
24229
|
-
fn.apply(null, args.concat([startTime]));
|
|
24230
|
-
} else {
|
|
24231
|
-
fs[gracefulQueue].push(elem);
|
|
24232
|
-
}
|
|
24233
|
-
}
|
|
24234
|
-
if (retryTimer === undefined) {
|
|
24235
|
-
retryTimer = setTimeout(retry, 0);
|
|
24236
|
-
}
|
|
24237
|
-
}
|
|
24238
|
-
});
|
|
24239
|
-
|
|
24240
|
-
// ../node_modules/.bun/retry@0.12.0/node_modules/retry/lib/retry_operation.js
|
|
24241
|
-
var require_retry_operation = __commonJS((exports, module) => {
|
|
24242
|
-
function RetryOperation(timeouts, options) {
|
|
24243
|
-
if (typeof options === "boolean") {
|
|
24244
|
-
options = { forever: options };
|
|
24245
|
-
}
|
|
24246
|
-
this._originalTimeouts = JSON.parse(JSON.stringify(timeouts));
|
|
24247
|
-
this._timeouts = timeouts;
|
|
24248
|
-
this._options = options || {};
|
|
24249
|
-
this._maxRetryTime = options && options.maxRetryTime || Infinity;
|
|
24250
|
-
this._fn = null;
|
|
24251
|
-
this._errors = [];
|
|
24252
|
-
this._attempts = 1;
|
|
24253
|
-
this._operationTimeout = null;
|
|
24254
|
-
this._operationTimeoutCb = null;
|
|
24255
|
-
this._timeout = null;
|
|
24256
|
-
this._operationStart = null;
|
|
24257
|
-
if (this._options.forever) {
|
|
24258
|
-
this._cachedTimeouts = this._timeouts.slice(0);
|
|
24259
|
-
}
|
|
24260
|
-
}
|
|
24261
|
-
module.exports = RetryOperation;
|
|
24262
|
-
RetryOperation.prototype.reset = function() {
|
|
24263
|
-
this._attempts = 1;
|
|
24264
|
-
this._timeouts = this._originalTimeouts;
|
|
24265
|
-
};
|
|
24266
|
-
RetryOperation.prototype.stop = function() {
|
|
24267
|
-
if (this._timeout) {
|
|
24268
|
-
clearTimeout(this._timeout);
|
|
24269
|
-
}
|
|
24270
|
-
this._timeouts = [];
|
|
24271
|
-
this._cachedTimeouts = null;
|
|
24272
|
-
};
|
|
24273
|
-
RetryOperation.prototype.retry = function(err) {
|
|
24274
|
-
if (this._timeout) {
|
|
24275
|
-
clearTimeout(this._timeout);
|
|
24276
|
-
}
|
|
24277
|
-
if (!err) {
|
|
24278
|
-
return false;
|
|
24279
|
-
}
|
|
24280
|
-
var currentTime = new Date().getTime();
|
|
24281
|
-
if (err && currentTime - this._operationStart >= this._maxRetryTime) {
|
|
24282
|
-
this._errors.unshift(new Error("RetryOperation timeout occurred"));
|
|
24283
|
-
return false;
|
|
24284
|
-
}
|
|
24285
|
-
this._errors.push(err);
|
|
24286
|
-
var timeout = this._timeouts.shift();
|
|
24287
|
-
if (timeout === undefined) {
|
|
24288
|
-
if (this._cachedTimeouts) {
|
|
24289
|
-
this._errors.splice(this._errors.length - 1, this._errors.length);
|
|
24290
|
-
this._timeouts = this._cachedTimeouts.slice(0);
|
|
24291
|
-
timeout = this._timeouts.shift();
|
|
24292
|
-
} else {
|
|
24293
|
-
return false;
|
|
24294
|
-
}
|
|
24295
|
-
}
|
|
24296
|
-
var self = this;
|
|
24297
|
-
var timer = setTimeout(function() {
|
|
24298
|
-
self._attempts++;
|
|
24299
|
-
if (self._operationTimeoutCb) {
|
|
24300
|
-
self._timeout = setTimeout(function() {
|
|
24301
|
-
self._operationTimeoutCb(self._attempts);
|
|
24302
|
-
}, self._operationTimeout);
|
|
24303
|
-
if (self._options.unref) {
|
|
24304
|
-
self._timeout.unref();
|
|
24305
|
-
}
|
|
24306
|
-
}
|
|
24307
|
-
self._fn(self._attempts);
|
|
24308
|
-
}, timeout);
|
|
24309
|
-
if (this._options.unref) {
|
|
24310
|
-
timer.unref();
|
|
24311
|
-
}
|
|
24312
|
-
return true;
|
|
24313
|
-
};
|
|
24314
|
-
RetryOperation.prototype.attempt = function(fn, timeoutOps) {
|
|
24315
|
-
this._fn = fn;
|
|
24316
|
-
if (timeoutOps) {
|
|
24317
|
-
if (timeoutOps.timeout) {
|
|
24318
|
-
this._operationTimeout = timeoutOps.timeout;
|
|
24319
|
-
}
|
|
24320
|
-
if (timeoutOps.cb) {
|
|
24321
|
-
this._operationTimeoutCb = timeoutOps.cb;
|
|
24322
|
-
}
|
|
24323
|
-
}
|
|
24324
|
-
var self = this;
|
|
24325
|
-
if (this._operationTimeoutCb) {
|
|
24326
|
-
this._timeout = setTimeout(function() {
|
|
24327
|
-
self._operationTimeoutCb();
|
|
24328
|
-
}, self._operationTimeout);
|
|
24329
|
-
}
|
|
24330
|
-
this._operationStart = new Date().getTime();
|
|
24331
|
-
this._fn(this._attempts);
|
|
24332
|
-
};
|
|
24333
|
-
RetryOperation.prototype.try = function(fn) {
|
|
24334
|
-
console.log("Using RetryOperation.try() is deprecated");
|
|
24335
|
-
this.attempt(fn);
|
|
24336
|
-
};
|
|
24337
|
-
RetryOperation.prototype.start = function(fn) {
|
|
24338
|
-
console.log("Using RetryOperation.start() is deprecated");
|
|
24339
|
-
this.attempt(fn);
|
|
24340
|
-
};
|
|
24341
|
-
RetryOperation.prototype.start = RetryOperation.prototype.try;
|
|
24342
|
-
RetryOperation.prototype.errors = function() {
|
|
24343
|
-
return this._errors;
|
|
24344
|
-
};
|
|
24345
|
-
RetryOperation.prototype.attempts = function() {
|
|
24346
|
-
return this._attempts;
|
|
24347
|
-
};
|
|
24348
|
-
RetryOperation.prototype.mainError = function() {
|
|
24349
|
-
if (this._errors.length === 0) {
|
|
24350
|
-
return null;
|
|
24351
|
-
}
|
|
24352
|
-
var counts = {};
|
|
24353
|
-
var mainError = null;
|
|
24354
|
-
var mainErrorCount = 0;
|
|
24355
|
-
for (var i = 0;i < this._errors.length; i++) {
|
|
24356
|
-
var error = this._errors[i];
|
|
24357
|
-
var message = error.message;
|
|
24358
|
-
var count = (counts[message] || 0) + 1;
|
|
24359
|
-
counts[message] = count;
|
|
24360
|
-
if (count >= mainErrorCount) {
|
|
24361
|
-
mainError = error;
|
|
24362
|
-
mainErrorCount = count;
|
|
24363
|
-
}
|
|
24364
|
-
}
|
|
24365
|
-
return mainError;
|
|
24366
|
-
};
|
|
24367
|
-
});
|
|
24368
|
-
|
|
24369
|
-
// ../node_modules/.bun/retry@0.12.0/node_modules/retry/lib/retry.js
|
|
24370
|
-
var require_retry = __commonJS((exports) => {
|
|
24371
|
-
var RetryOperation = require_retry_operation();
|
|
24372
|
-
exports.operation = function(options) {
|
|
24373
|
-
var timeouts = exports.timeouts(options);
|
|
24374
|
-
return new RetryOperation(timeouts, {
|
|
24375
|
-
forever: options && options.forever,
|
|
24376
|
-
unref: options && options.unref,
|
|
24377
|
-
maxRetryTime: options && options.maxRetryTime
|
|
24378
|
-
});
|
|
24379
|
-
};
|
|
24380
|
-
exports.timeouts = function(options) {
|
|
24381
|
-
if (options instanceof Array) {
|
|
24382
|
-
return [].concat(options);
|
|
24383
|
-
}
|
|
24384
|
-
var opts = {
|
|
24385
|
-
retries: 10,
|
|
24386
|
-
factor: 2,
|
|
24387
|
-
minTimeout: 1 * 1000,
|
|
24388
|
-
maxTimeout: Infinity,
|
|
24389
|
-
randomize: false
|
|
24390
|
-
};
|
|
24391
|
-
for (var key in options) {
|
|
24392
|
-
opts[key] = options[key];
|
|
24393
|
-
}
|
|
24394
|
-
if (opts.minTimeout > opts.maxTimeout) {
|
|
24395
|
-
throw new Error("minTimeout is greater than maxTimeout");
|
|
24396
|
-
}
|
|
24397
|
-
var timeouts = [];
|
|
24398
|
-
for (var i = 0;i < opts.retries; i++) {
|
|
24399
|
-
timeouts.push(this.createTimeout(i, opts));
|
|
24400
|
-
}
|
|
24401
|
-
if (options && options.forever && !timeouts.length) {
|
|
24402
|
-
timeouts.push(this.createTimeout(i, opts));
|
|
24403
|
-
}
|
|
24404
|
-
timeouts.sort(function(a, b) {
|
|
24405
|
-
return a - b;
|
|
24406
|
-
});
|
|
24407
|
-
return timeouts;
|
|
24408
|
-
};
|
|
24409
|
-
exports.createTimeout = function(attempt, opts) {
|
|
24410
|
-
var random = opts.randomize ? Math.random() + 1 : 1;
|
|
24411
|
-
var timeout = Math.round(random * opts.minTimeout * Math.pow(opts.factor, attempt));
|
|
24412
|
-
timeout = Math.min(timeout, opts.maxTimeout);
|
|
24413
|
-
return timeout;
|
|
24414
|
-
};
|
|
24415
|
-
exports.wrap = function(obj, options, methods) {
|
|
24416
|
-
if (options instanceof Array) {
|
|
24417
|
-
methods = options;
|
|
24418
|
-
options = null;
|
|
24419
|
-
}
|
|
24420
|
-
if (!methods) {
|
|
24421
|
-
methods = [];
|
|
24422
|
-
for (var key in obj) {
|
|
24423
|
-
if (typeof obj[key] === "function") {
|
|
24424
|
-
methods.push(key);
|
|
24425
|
-
}
|
|
24426
|
-
}
|
|
24427
|
-
}
|
|
24428
|
-
for (var i = 0;i < methods.length; i++) {
|
|
24429
|
-
var method = methods[i];
|
|
24430
|
-
var original = obj[method];
|
|
24431
|
-
obj[method] = function retryWrapper(original2) {
|
|
24432
|
-
var op = exports.operation(options);
|
|
24433
|
-
var args = Array.prototype.slice.call(arguments, 1);
|
|
24434
|
-
var callback = args.pop();
|
|
24435
|
-
args.push(function(err) {
|
|
24436
|
-
if (op.retry(err)) {
|
|
24437
|
-
return;
|
|
24438
|
-
}
|
|
24439
|
-
if (err) {
|
|
24440
|
-
arguments[0] = op.mainError();
|
|
24441
|
-
}
|
|
24442
|
-
callback.apply(this, arguments);
|
|
24443
|
-
});
|
|
24444
|
-
op.attempt(function() {
|
|
24445
|
-
original2.apply(obj, args);
|
|
24446
|
-
});
|
|
24447
|
-
}.bind(obj, original);
|
|
24448
|
-
obj[method].options = options;
|
|
24449
|
-
}
|
|
24450
|
-
};
|
|
24451
|
-
});
|
|
24452
|
-
|
|
24453
|
-
// ../node_modules/.bun/signal-exit@3.0.7/node_modules/signal-exit/signals.js
|
|
24454
|
-
var require_signals = __commonJS((exports, module) => {
|
|
24455
|
-
module.exports = [
|
|
24456
|
-
"SIGABRT",
|
|
24457
|
-
"SIGALRM",
|
|
24458
|
-
"SIGHUP",
|
|
24459
|
-
"SIGINT",
|
|
24460
|
-
"SIGTERM"
|
|
24461
|
-
];
|
|
24462
|
-
if (process.platform !== "win32") {
|
|
24463
|
-
module.exports.push("SIGVTALRM", "SIGXCPU", "SIGXFSZ", "SIGUSR2", "SIGTRAP", "SIGSYS", "SIGQUIT", "SIGIOT");
|
|
24464
|
-
}
|
|
24465
|
-
if (process.platform === "linux") {
|
|
24466
|
-
module.exports.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT", "SIGUNUSED");
|
|
24467
|
-
}
|
|
24468
|
-
});
|
|
24469
|
-
|
|
24470
|
-
// ../node_modules/.bun/signal-exit@3.0.7/node_modules/signal-exit/index.js
|
|
24471
|
-
var require_signal_exit = __commonJS((exports, module) => {
|
|
24472
|
-
var process3 = global.process;
|
|
24473
|
-
var processOk = function(process4) {
|
|
24474
|
-
return process4 && typeof process4 === "object" && typeof process4.removeListener === "function" && typeof process4.emit === "function" && typeof process4.reallyExit === "function" && typeof process4.listeners === "function" && typeof process4.kill === "function" && typeof process4.pid === "number" && typeof process4.on === "function";
|
|
24475
|
-
};
|
|
24476
|
-
if (!processOk(process3)) {
|
|
24477
|
-
module.exports = function() {
|
|
24478
|
-
return function() {};
|
|
24479
|
-
};
|
|
24480
|
-
} else {
|
|
24481
|
-
assert = __require("assert");
|
|
24482
|
-
signals = require_signals();
|
|
24483
|
-
isWin = /^win/i.test(process3.platform);
|
|
24484
|
-
EE = __require("events");
|
|
24485
|
-
if (typeof EE !== "function") {
|
|
24486
|
-
EE = EE.EventEmitter;
|
|
24487
|
-
}
|
|
24488
|
-
if (process3.__signal_exit_emitter__) {
|
|
24489
|
-
emitter = process3.__signal_exit_emitter__;
|
|
24490
|
-
} else {
|
|
24491
|
-
emitter = process3.__signal_exit_emitter__ = new EE;
|
|
24492
|
-
emitter.count = 0;
|
|
24493
|
-
emitter.emitted = {};
|
|
24494
|
-
}
|
|
24495
|
-
if (!emitter.infinite) {
|
|
24496
|
-
emitter.setMaxListeners(Infinity);
|
|
24497
|
-
emitter.infinite = true;
|
|
24498
|
-
}
|
|
24499
|
-
module.exports = function(cb, opts) {
|
|
24500
|
-
if (!processOk(global.process)) {
|
|
24501
|
-
return function() {};
|
|
24502
|
-
}
|
|
24503
|
-
assert.equal(typeof cb, "function", "a callback must be provided for exit handler");
|
|
24504
|
-
if (loaded === false) {
|
|
24505
|
-
load();
|
|
24506
|
-
}
|
|
24507
|
-
var ev = "exit";
|
|
24508
|
-
if (opts && opts.alwaysLast) {
|
|
24509
|
-
ev = "afterexit";
|
|
24510
|
-
}
|
|
24511
|
-
var remove = function() {
|
|
24512
|
-
emitter.removeListener(ev, cb);
|
|
24513
|
-
if (emitter.listeners("exit").length === 0 && emitter.listeners("afterexit").length === 0) {
|
|
24514
|
-
unload();
|
|
24515
|
-
}
|
|
24516
|
-
};
|
|
24517
|
-
emitter.on(ev, cb);
|
|
24518
|
-
return remove;
|
|
24519
|
-
};
|
|
24520
|
-
unload = function unload2() {
|
|
24521
|
-
if (!loaded || !processOk(global.process)) {
|
|
24522
|
-
return;
|
|
24523
|
-
}
|
|
24524
|
-
loaded = false;
|
|
24525
|
-
signals.forEach(function(sig) {
|
|
24526
|
-
try {
|
|
24527
|
-
process3.removeListener(sig, sigListeners[sig]);
|
|
24528
|
-
} catch (er) {}
|
|
24529
|
-
});
|
|
24530
|
-
process3.emit = originalProcessEmit;
|
|
24531
|
-
process3.reallyExit = originalProcessReallyExit;
|
|
24532
|
-
emitter.count -= 1;
|
|
24533
|
-
};
|
|
24534
|
-
module.exports.unload = unload;
|
|
24535
|
-
emit = function emit2(event, code, signal) {
|
|
24536
|
-
if (emitter.emitted[event]) {
|
|
24537
|
-
return;
|
|
24538
|
-
}
|
|
24539
|
-
emitter.emitted[event] = true;
|
|
24540
|
-
emitter.emit(event, code, signal);
|
|
24541
|
-
};
|
|
24542
|
-
sigListeners = {};
|
|
24543
|
-
signals.forEach(function(sig) {
|
|
24544
|
-
sigListeners[sig] = function listener() {
|
|
24545
|
-
if (!processOk(global.process)) {
|
|
24546
|
-
return;
|
|
24547
|
-
}
|
|
24548
|
-
var listeners = process3.listeners(sig);
|
|
24549
|
-
if (listeners.length === emitter.count) {
|
|
24550
|
-
unload();
|
|
24551
|
-
emit("exit", null, sig);
|
|
24552
|
-
emit("afterexit", null, sig);
|
|
24553
|
-
if (isWin && sig === "SIGHUP") {
|
|
24554
|
-
sig = "SIGINT";
|
|
24555
|
-
}
|
|
24556
|
-
process3.kill(process3.pid, sig);
|
|
24557
|
-
}
|
|
24558
|
-
};
|
|
24559
|
-
});
|
|
24560
|
-
module.exports.signals = function() {
|
|
24561
|
-
return signals;
|
|
24562
|
-
};
|
|
24563
|
-
loaded = false;
|
|
24564
|
-
load = function load2() {
|
|
24565
|
-
if (loaded || !processOk(global.process)) {
|
|
24566
|
-
return;
|
|
24567
|
-
}
|
|
24568
|
-
loaded = true;
|
|
24569
|
-
emitter.count += 1;
|
|
24570
|
-
signals = signals.filter(function(sig) {
|
|
24571
|
-
try {
|
|
24572
|
-
process3.on(sig, sigListeners[sig]);
|
|
24573
|
-
return true;
|
|
24574
|
-
} catch (er) {
|
|
24575
|
-
return false;
|
|
24576
|
-
}
|
|
24577
|
-
});
|
|
24578
|
-
process3.emit = processEmit;
|
|
24579
|
-
process3.reallyExit = processReallyExit;
|
|
24580
|
-
};
|
|
24581
|
-
module.exports.load = load;
|
|
24582
|
-
originalProcessReallyExit = process3.reallyExit;
|
|
24583
|
-
processReallyExit = function processReallyExit2(code) {
|
|
24584
|
-
if (!processOk(global.process)) {
|
|
24585
|
-
return;
|
|
24586
|
-
}
|
|
24587
|
-
process3.exitCode = code || 0;
|
|
24588
|
-
emit("exit", process3.exitCode, null);
|
|
24589
|
-
emit("afterexit", process3.exitCode, null);
|
|
24590
|
-
originalProcessReallyExit.call(process3, process3.exitCode);
|
|
24591
|
-
};
|
|
24592
|
-
originalProcessEmit = process3.emit;
|
|
24593
|
-
processEmit = function processEmit2(ev, arg) {
|
|
24594
|
-
if (ev === "exit" && processOk(global.process)) {
|
|
24595
|
-
if (arg !== undefined) {
|
|
24596
|
-
process3.exitCode = arg;
|
|
24597
|
-
}
|
|
24598
|
-
var ret = originalProcessEmit.apply(this, arguments);
|
|
24599
|
-
emit("exit", process3.exitCode, null);
|
|
24600
|
-
emit("afterexit", process3.exitCode, null);
|
|
24601
|
-
return ret;
|
|
24602
|
-
} else {
|
|
24603
|
-
return originalProcessEmit.apply(this, arguments);
|
|
24604
|
-
}
|
|
24605
|
-
};
|
|
24606
|
-
}
|
|
24607
|
-
var assert;
|
|
24608
|
-
var signals;
|
|
24609
|
-
var isWin;
|
|
24610
|
-
var EE;
|
|
24611
|
-
var emitter;
|
|
24612
|
-
var unload;
|
|
24613
|
-
var emit;
|
|
24614
|
-
var sigListeners;
|
|
24615
|
-
var loaded;
|
|
24616
|
-
var load;
|
|
24617
|
-
var originalProcessReallyExit;
|
|
24618
|
-
var processReallyExit;
|
|
24619
|
-
var originalProcessEmit;
|
|
24620
|
-
var processEmit;
|
|
24621
|
-
});
|
|
24622
|
-
|
|
24623
|
-
// ../node_modules/.bun/proper-lockfile@4.1.2/node_modules/proper-lockfile/lib/mtime-precision.js
|
|
24624
|
-
var require_mtime_precision = __commonJS((exports, module) => {
|
|
24625
|
-
var cacheSymbol = Symbol();
|
|
24626
|
-
function probe(file, fs, callback) {
|
|
24627
|
-
const cachedPrecision = fs[cacheSymbol];
|
|
24628
|
-
if (cachedPrecision) {
|
|
24629
|
-
return fs.stat(file, (err, stat) => {
|
|
24630
|
-
if (err) {
|
|
24631
|
-
return callback(err);
|
|
24632
|
-
}
|
|
24633
|
-
callback(null, stat.mtime, cachedPrecision);
|
|
24634
|
-
});
|
|
24635
|
-
}
|
|
24636
|
-
const mtime = new Date(Math.ceil(Date.now() / 1000) * 1000 + 5);
|
|
24637
|
-
fs.utimes(file, mtime, mtime, (err) => {
|
|
24638
|
-
if (err) {
|
|
24639
|
-
return callback(err);
|
|
24640
|
-
}
|
|
24641
|
-
fs.stat(file, (err2, stat) => {
|
|
24642
|
-
if (err2) {
|
|
24643
|
-
return callback(err2);
|
|
24644
|
-
}
|
|
24645
|
-
const precision = stat.mtime.getTime() % 1000 === 0 ? "s" : "ms";
|
|
24646
|
-
Object.defineProperty(fs, cacheSymbol, { value: precision });
|
|
24647
|
-
callback(null, stat.mtime, precision);
|
|
24648
|
-
});
|
|
24649
|
-
});
|
|
24650
|
-
}
|
|
24651
|
-
function getMtime(precision) {
|
|
24652
|
-
let now = Date.now();
|
|
24653
|
-
if (precision === "s") {
|
|
24654
|
-
now = Math.ceil(now / 1000) * 1000;
|
|
24655
|
-
}
|
|
24656
|
-
return new Date(now);
|
|
24657
|
-
}
|
|
24658
|
-
exports.probe = probe;
|
|
24659
|
-
exports.getMtime = getMtime;
|
|
24660
|
-
});
|
|
24661
|
-
|
|
24662
|
-
// ../node_modules/.bun/proper-lockfile@4.1.2/node_modules/proper-lockfile/lib/lockfile.js
|
|
24663
|
-
var require_lockfile = __commonJS((exports, module) => {
|
|
24664
|
-
var path = __require("path");
|
|
24665
|
-
var fs = require_graceful_fs();
|
|
24666
|
-
var retry = require_retry();
|
|
24667
|
-
var onExit = require_signal_exit();
|
|
24668
|
-
var mtimePrecision = require_mtime_precision();
|
|
24669
|
-
var locks = {};
|
|
24670
|
-
function getLockFile(file, options) {
|
|
24671
|
-
return options.lockfilePath || `${file}.lock`;
|
|
24672
|
-
}
|
|
24673
|
-
function resolveCanonicalPath(file, options, callback) {
|
|
24674
|
-
if (!options.realpath) {
|
|
24675
|
-
return callback(null, path.resolve(file));
|
|
24676
|
-
}
|
|
24677
|
-
options.fs.realpath(file, callback);
|
|
24678
|
-
}
|
|
24679
|
-
function acquireLock(file, options, callback) {
|
|
24680
|
-
const lockfilePath = getLockFile(file, options);
|
|
24681
|
-
options.fs.mkdir(lockfilePath, (err) => {
|
|
24682
|
-
if (!err) {
|
|
24683
|
-
return mtimePrecision.probe(lockfilePath, options.fs, (err2, mtime, mtimePrecision2) => {
|
|
24684
|
-
if (err2) {
|
|
24685
|
-
options.fs.rmdir(lockfilePath, () => {});
|
|
24686
|
-
return callback(err2);
|
|
24687
|
-
}
|
|
24688
|
-
callback(null, mtime, mtimePrecision2);
|
|
24689
|
-
});
|
|
24690
|
-
}
|
|
24691
|
-
if (err.code !== "EEXIST") {
|
|
24692
|
-
return callback(err);
|
|
24693
|
-
}
|
|
24694
|
-
if (options.stale <= 0) {
|
|
24695
|
-
return callback(Object.assign(new Error("Lock file is already being held"), { code: "ELOCKED", file }));
|
|
24696
|
-
}
|
|
24697
|
-
options.fs.stat(lockfilePath, (err2, stat) => {
|
|
24698
|
-
if (err2) {
|
|
24699
|
-
if (err2.code === "ENOENT") {
|
|
24700
|
-
return acquireLock(file, { ...options, stale: 0 }, callback);
|
|
24701
|
-
}
|
|
24702
|
-
return callback(err2);
|
|
24703
|
-
}
|
|
24704
|
-
if (!isLockStale(stat, options)) {
|
|
24705
|
-
return callback(Object.assign(new Error("Lock file is already being held"), { code: "ELOCKED", file }));
|
|
24706
|
-
}
|
|
24707
|
-
removeLock(file, options, (err3) => {
|
|
24708
|
-
if (err3) {
|
|
24709
|
-
return callback(err3);
|
|
24710
|
-
}
|
|
24711
|
-
acquireLock(file, { ...options, stale: 0 }, callback);
|
|
24712
|
-
});
|
|
24713
|
-
});
|
|
24714
|
-
});
|
|
24715
|
-
}
|
|
24716
|
-
function isLockStale(stat, options) {
|
|
24717
|
-
return stat.mtime.getTime() < Date.now() - options.stale;
|
|
24718
|
-
}
|
|
24719
|
-
function removeLock(file, options, callback) {
|
|
24720
|
-
options.fs.rmdir(getLockFile(file, options), (err) => {
|
|
24721
|
-
if (err && err.code !== "ENOENT") {
|
|
24722
|
-
return callback(err);
|
|
24723
|
-
}
|
|
24724
|
-
callback();
|
|
24725
|
-
});
|
|
24726
|
-
}
|
|
24727
|
-
function updateLock(file, options) {
|
|
24728
|
-
const lock2 = locks[file];
|
|
24729
|
-
if (lock2.updateTimeout) {
|
|
24730
|
-
return;
|
|
24731
|
-
}
|
|
24732
|
-
lock2.updateDelay = lock2.updateDelay || options.update;
|
|
24733
|
-
lock2.updateTimeout = setTimeout(() => {
|
|
24734
|
-
lock2.updateTimeout = null;
|
|
24735
|
-
options.fs.stat(lock2.lockfilePath, (err, stat) => {
|
|
24736
|
-
const isOverThreshold = lock2.lastUpdate + options.stale < Date.now();
|
|
24737
|
-
if (err) {
|
|
24738
|
-
if (err.code === "ENOENT" || isOverThreshold) {
|
|
24739
|
-
return setLockAsCompromised(file, lock2, Object.assign(err, { code: "ECOMPROMISED" }));
|
|
24740
|
-
}
|
|
24741
|
-
lock2.updateDelay = 1000;
|
|
24742
|
-
return updateLock(file, options);
|
|
24743
|
-
}
|
|
24744
|
-
const isMtimeOurs = lock2.mtime.getTime() === stat.mtime.getTime();
|
|
24745
|
-
if (!isMtimeOurs) {
|
|
24746
|
-
return setLockAsCompromised(file, lock2, Object.assign(new Error("Unable to update lock within the stale threshold"), { code: "ECOMPROMISED" }));
|
|
24747
|
-
}
|
|
24748
|
-
const mtime = mtimePrecision.getMtime(lock2.mtimePrecision);
|
|
24749
|
-
options.fs.utimes(lock2.lockfilePath, mtime, mtime, (err2) => {
|
|
24750
|
-
const isOverThreshold2 = lock2.lastUpdate + options.stale < Date.now();
|
|
24751
|
-
if (lock2.released) {
|
|
24752
|
-
return;
|
|
24753
|
-
}
|
|
24754
|
-
if (err2) {
|
|
24755
|
-
if (err2.code === "ENOENT" || isOverThreshold2) {
|
|
24756
|
-
return setLockAsCompromised(file, lock2, Object.assign(err2, { code: "ECOMPROMISED" }));
|
|
24757
|
-
}
|
|
24758
|
-
lock2.updateDelay = 1000;
|
|
24759
|
-
return updateLock(file, options);
|
|
24760
|
-
}
|
|
24761
|
-
lock2.mtime = mtime;
|
|
24762
|
-
lock2.lastUpdate = Date.now();
|
|
24763
|
-
lock2.updateDelay = null;
|
|
24764
|
-
updateLock(file, options);
|
|
24765
|
-
});
|
|
24766
|
-
});
|
|
24767
|
-
}, lock2.updateDelay);
|
|
24768
|
-
if (lock2.updateTimeout.unref) {
|
|
24769
|
-
lock2.updateTimeout.unref();
|
|
24770
|
-
}
|
|
24771
|
-
}
|
|
24772
|
-
function setLockAsCompromised(file, lock2, err) {
|
|
24773
|
-
lock2.released = true;
|
|
24774
|
-
if (lock2.updateTimeout) {
|
|
24775
|
-
clearTimeout(lock2.updateTimeout);
|
|
24776
|
-
}
|
|
24777
|
-
if (locks[file] === lock2) {
|
|
24778
|
-
delete locks[file];
|
|
24779
|
-
}
|
|
24780
|
-
lock2.options.onCompromised(err);
|
|
24781
|
-
}
|
|
24782
|
-
function lock(file, options, callback) {
|
|
24783
|
-
options = {
|
|
24784
|
-
stale: 1e4,
|
|
24785
|
-
update: null,
|
|
24786
|
-
realpath: true,
|
|
24787
|
-
retries: 0,
|
|
24788
|
-
fs,
|
|
24789
|
-
onCompromised: (err) => {
|
|
24790
|
-
throw err;
|
|
24791
|
-
},
|
|
24792
|
-
...options
|
|
24793
|
-
};
|
|
24794
|
-
options.retries = options.retries || 0;
|
|
24795
|
-
options.retries = typeof options.retries === "number" ? { retries: options.retries } : options.retries;
|
|
24796
|
-
options.stale = Math.max(options.stale || 0, 2000);
|
|
24797
|
-
options.update = options.update == null ? options.stale / 2 : options.update || 0;
|
|
24798
|
-
options.update = Math.max(Math.min(options.update, options.stale / 2), 1000);
|
|
24799
|
-
resolveCanonicalPath(file, options, (err, file2) => {
|
|
24800
|
-
if (err) {
|
|
24801
|
-
return callback(err);
|
|
24802
|
-
}
|
|
24803
|
-
const operation = retry.operation(options.retries);
|
|
24804
|
-
operation.attempt(() => {
|
|
24805
|
-
acquireLock(file2, options, (err2, mtime, mtimePrecision2) => {
|
|
24806
|
-
if (operation.retry(err2)) {
|
|
24807
|
-
return;
|
|
24808
|
-
}
|
|
24809
|
-
if (err2) {
|
|
24810
|
-
return callback(operation.mainError());
|
|
24811
|
-
}
|
|
24812
|
-
const lock2 = locks[file2] = {
|
|
24813
|
-
lockfilePath: getLockFile(file2, options),
|
|
24814
|
-
mtime,
|
|
24815
|
-
mtimePrecision: mtimePrecision2,
|
|
24816
|
-
options,
|
|
24817
|
-
lastUpdate: Date.now()
|
|
24818
|
-
};
|
|
24819
|
-
updateLock(file2, options);
|
|
24820
|
-
callback(null, (releasedCallback) => {
|
|
24821
|
-
if (lock2.released) {
|
|
24822
|
-
return releasedCallback && releasedCallback(Object.assign(new Error("Lock is already released"), { code: "ERELEASED" }));
|
|
24823
|
-
}
|
|
24824
|
-
unlock(file2, { ...options, realpath: false }, releasedCallback);
|
|
24825
|
-
});
|
|
24826
|
-
});
|
|
24827
|
-
});
|
|
24828
|
-
});
|
|
24829
|
-
}
|
|
24830
|
-
function unlock(file, options, callback) {
|
|
24831
|
-
options = {
|
|
24832
|
-
fs,
|
|
24833
|
-
realpath: true,
|
|
24834
|
-
...options
|
|
24835
|
-
};
|
|
24836
|
-
resolveCanonicalPath(file, options, (err, file2) => {
|
|
24837
|
-
if (err) {
|
|
24838
|
-
return callback(err);
|
|
24839
|
-
}
|
|
24840
|
-
const lock2 = locks[file2];
|
|
24841
|
-
if (!lock2) {
|
|
24842
|
-
return callback(Object.assign(new Error("Lock is not acquired/owned by you"), { code: "ENOTACQUIRED" }));
|
|
24843
|
-
}
|
|
24844
|
-
lock2.updateTimeout && clearTimeout(lock2.updateTimeout);
|
|
24845
|
-
lock2.released = true;
|
|
24846
|
-
delete locks[file2];
|
|
24847
|
-
removeLock(file2, options, callback);
|
|
24848
|
-
});
|
|
24849
|
-
}
|
|
24850
|
-
function check(file, options, callback) {
|
|
24851
|
-
options = {
|
|
24852
|
-
stale: 1e4,
|
|
24853
|
-
realpath: true,
|
|
24854
|
-
fs,
|
|
24855
|
-
...options
|
|
24856
|
-
};
|
|
24857
|
-
options.stale = Math.max(options.stale || 0, 2000);
|
|
24858
|
-
resolveCanonicalPath(file, options, (err, file2) => {
|
|
24859
|
-
if (err) {
|
|
24860
|
-
return callback(err);
|
|
24861
|
-
}
|
|
24862
|
-
options.fs.stat(getLockFile(file2, options), (err2, stat) => {
|
|
24863
|
-
if (err2) {
|
|
24864
|
-
return err2.code === "ENOENT" ? callback(null, false) : callback(err2);
|
|
24865
|
-
}
|
|
24866
|
-
return callback(null, !isLockStale(stat, options));
|
|
24867
|
-
});
|
|
24868
|
-
});
|
|
24869
|
-
}
|
|
24870
|
-
function getLocks() {
|
|
24871
|
-
return locks;
|
|
24872
|
-
}
|
|
24873
|
-
onExit(() => {
|
|
24874
|
-
for (const file in locks) {
|
|
24875
|
-
const options = locks[file].options;
|
|
24876
|
-
try {
|
|
24877
|
-
options.fs.rmdirSync(getLockFile(file, options));
|
|
24878
|
-
} catch (e) {}
|
|
24879
|
-
}
|
|
24880
|
-
});
|
|
24881
|
-
exports.lock = lock;
|
|
24882
|
-
exports.unlock = unlock;
|
|
24883
|
-
exports.check = check;
|
|
24884
|
-
exports.getLocks = getLocks;
|
|
24885
|
-
});
|
|
24886
|
-
|
|
24887
|
-
// ../node_modules/.bun/proper-lockfile@4.1.2/node_modules/proper-lockfile/lib/adapter.js
|
|
24888
|
-
var require_adapter = __commonJS((exports, module) => {
|
|
24889
|
-
var fs = require_graceful_fs();
|
|
24890
|
-
function createSyncFs(fs2) {
|
|
24891
|
-
const methods = ["mkdir", "realpath", "stat", "rmdir", "utimes"];
|
|
24892
|
-
const newFs = { ...fs2 };
|
|
24893
|
-
methods.forEach((method) => {
|
|
24894
|
-
newFs[method] = (...args) => {
|
|
24895
|
-
const callback = args.pop();
|
|
24896
|
-
let ret;
|
|
24897
|
-
try {
|
|
24898
|
-
ret = fs2[`${method}Sync`](...args);
|
|
24899
|
-
} catch (err) {
|
|
24900
|
-
return callback(err);
|
|
24901
|
-
}
|
|
24902
|
-
callback(null, ret);
|
|
24903
|
-
};
|
|
24904
|
-
});
|
|
24905
|
-
return newFs;
|
|
24906
|
-
}
|
|
24907
|
-
function toPromise(method) {
|
|
24908
|
-
return (...args) => new Promise((resolve8, reject) => {
|
|
24909
|
-
args.push((err, result) => {
|
|
24910
|
-
if (err) {
|
|
24911
|
-
reject(err);
|
|
24912
|
-
} else {
|
|
24913
|
-
resolve8(result);
|
|
24914
|
-
}
|
|
24915
|
-
});
|
|
24916
|
-
method(...args);
|
|
24917
|
-
});
|
|
24918
|
-
}
|
|
24919
|
-
function toSync(method) {
|
|
24920
|
-
return (...args) => {
|
|
24921
|
-
let err;
|
|
24922
|
-
let result;
|
|
24923
|
-
args.push((_err, _result) => {
|
|
24924
|
-
err = _err;
|
|
24925
|
-
result = _result;
|
|
24926
|
-
});
|
|
24927
|
-
method(...args);
|
|
24928
|
-
if (err) {
|
|
24929
|
-
throw err;
|
|
24930
|
-
}
|
|
24931
|
-
return result;
|
|
24932
|
-
};
|
|
24933
|
-
}
|
|
24934
|
-
function toSyncOptions(options) {
|
|
24935
|
-
options = { ...options };
|
|
24936
|
-
options.fs = createSyncFs(options.fs || fs);
|
|
24937
|
-
if (typeof options.retries === "number" && options.retries > 0 || options.retries && typeof options.retries.retries === "number" && options.retries.retries > 0) {
|
|
24938
|
-
throw Object.assign(new Error("Cannot use retries with the sync api"), { code: "ESYNC" });
|
|
24939
|
-
}
|
|
24940
|
-
return options;
|
|
24941
|
-
}
|
|
24942
|
-
module.exports = {
|
|
24943
|
-
toPromise,
|
|
24944
|
-
toSync,
|
|
24945
|
-
toSyncOptions
|
|
24946
|
-
};
|
|
24947
|
-
});
|
|
24948
|
-
|
|
24949
|
-
// ../node_modules/.bun/proper-lockfile@4.1.2/node_modules/proper-lockfile/index.js
|
|
24950
|
-
var require_proper_lockfile = __commonJS((exports, module) => {
|
|
24951
|
-
var lockfile = require_lockfile();
|
|
24952
|
-
var { toPromise, toSync, toSyncOptions } = require_adapter();
|
|
24953
|
-
async function lock(file, options) {
|
|
24954
|
-
const release = await toPromise(lockfile.lock)(file, options);
|
|
24955
|
-
return toPromise(release);
|
|
24956
|
-
}
|
|
24957
|
-
function lockSync(file, options) {
|
|
24958
|
-
const release = toSync(lockfile.lock)(file, toSyncOptions(options));
|
|
24959
|
-
return toSync(release);
|
|
24960
|
-
}
|
|
24961
|
-
function unlock(file, options) {
|
|
24962
|
-
return toPromise(lockfile.unlock)(file, options);
|
|
24963
|
-
}
|
|
24964
|
-
function unlockSync(file, options) {
|
|
24965
|
-
return toSync(lockfile.unlock)(file, toSyncOptions(options));
|
|
24966
|
-
}
|
|
24967
|
-
function check(file, options) {
|
|
24968
|
-
return toPromise(lockfile.check)(file, options);
|
|
24969
|
-
}
|
|
24970
|
-
function checkSync(file, options) {
|
|
24971
|
-
return toSync(lockfile.check)(file, toSyncOptions(options));
|
|
24972
|
-
}
|
|
24973
|
-
module.exports = lock;
|
|
24974
|
-
module.exports.lock = lock;
|
|
24975
|
-
module.exports.unlock = unlock;
|
|
24976
|
-
module.exports.lockSync = lockSync;
|
|
24977
|
-
module.exports.unlockSync = unlockSync;
|
|
24978
|
-
module.exports.check = check;
|
|
24979
|
-
module.exports.checkSync = checkSync;
|
|
24980
|
-
});
|
|
23462
|
+
// ../src/vault/flock.ts
|
|
23463
|
+
var init_flock = () => {};
|
|
24981
23464
|
|
|
24982
23465
|
// ../src/vault/vault.ts
|
|
24983
23466
|
import { randomBytes, scryptSync, createCipheriv, createDecipheriv } from "node:crypto";
|
|
@@ -25046,9 +23529,9 @@ function openVault(passphrase, vaultPath) {
|
|
|
25046
23529
|
}
|
|
25047
23530
|
return normalizeSecrets(vaultData.secrets ?? {});
|
|
25048
23531
|
}
|
|
25049
|
-
var
|
|
23532
|
+
var KNOWN_VAULT_ARTIFACT_NAMES, SCRYPT_N = 32768, SCRYPT_R = 8, SCRYPT_P = 1, SCRYPT_MAXMEM, VaultError, LEGACY_SCRYPT_N = 16384;
|
|
25050
23533
|
var init_vault = __esm(() => {
|
|
25051
|
-
|
|
23534
|
+
init_flock();
|
|
25052
23535
|
KNOWN_VAULT_ARTIFACT_NAMES = new Set([
|
|
25053
23536
|
"vault.enc",
|
|
25054
23537
|
"vault.enc.bak",
|
|
@@ -25058,9 +23541,12 @@ var init_vault = __esm(() => {
|
|
|
25058
23541
|
]);
|
|
25059
23542
|
SCRYPT_MAXMEM = 128 * 1024 * 1024;
|
|
25060
23543
|
VaultError = class VaultError extends Error {
|
|
25061
|
-
|
|
23544
|
+
cause;
|
|
23545
|
+
constructor(message, options) {
|
|
25062
23546
|
super(message);
|
|
25063
23547
|
this.name = "VaultError";
|
|
23548
|
+
if (options?.cause !== undefined)
|
|
23549
|
+
this.cause = options.cause;
|
|
25064
23550
|
}
|
|
25065
23551
|
};
|
|
25066
23552
|
});
|
|
@@ -25100,7 +23586,8 @@ var init_protocol = __esm(() => {
|
|
|
25100
23586
|
exports_external.object({ kind: exports_external.literal("string"), value: exports_external.string() }),
|
|
25101
23587
|
exports_external.object({ kind: exports_external.literal("binary"), value: exports_external.string() })
|
|
25102
23588
|
]),
|
|
25103
|
-
token: exports_external.string().optional()
|
|
23589
|
+
token: exports_external.string().optional(),
|
|
23590
|
+
passphrase: exports_external.string().optional()
|
|
25104
23591
|
});
|
|
25105
23592
|
ListRequestSchema = exports_external.object({
|
|
25106
23593
|
v: exports_external.literal(1),
|
|
@@ -25111,9 +23598,10 @@ var init_protocol = __esm(() => {
|
|
|
25111
23598
|
v: exports_external.literal(1),
|
|
25112
23599
|
op: exports_external.literal("mint_grant"),
|
|
25113
23600
|
agent: exports_external.string().min(1),
|
|
25114
|
-
keys: exports_external.array(exports_external.string().min(1))
|
|
23601
|
+
keys: exports_external.array(exports_external.string().min(1)),
|
|
25115
23602
|
ttl_seconds: exports_external.number().int().positive().nullable(),
|
|
25116
|
-
description: exports_external.string().optional()
|
|
23603
|
+
description: exports_external.string().optional(),
|
|
23604
|
+
write_keys: exports_external.array(exports_external.string().min(1)).optional()
|
|
25117
23605
|
});
|
|
25118
23606
|
ListGrantsRequestSchema = exports_external.object({
|
|
25119
23607
|
v: exports_external.literal(1),
|
|
@@ -25254,6 +23742,7 @@ var init_protocol = __esm(() => {
|
|
|
25254
23742
|
id: exports_external.string(),
|
|
25255
23743
|
agent_slug: exports_external.string(),
|
|
25256
23744
|
key_allow: exports_external.array(exports_external.string()),
|
|
23745
|
+
write_allow: exports_external.array(exports_external.string()).default([]),
|
|
25257
23746
|
expires_at: exports_external.number().nullable(),
|
|
25258
23747
|
created_at: exports_external.number(),
|
|
25259
23748
|
description: exports_external.string().nullable()
|
|
@@ -27422,7 +25911,7 @@ import {
|
|
|
27422
25911
|
import { execSync, execFileSync as execFileSync3 } from "node:child_process";
|
|
27423
25912
|
import { basename, join as join12, resolve as resolve10 } from "node:path";
|
|
27424
25913
|
|
|
27425
|
-
// ../node_modules
|
|
25914
|
+
// ../node_modules/chalk/source/vendor/ansi-styles/index.js
|
|
27426
25915
|
var ANSI_BACKGROUND_OFFSET = 10;
|
|
27427
25916
|
var wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
|
|
27428
25917
|
var wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
|
|
@@ -27599,7 +26088,7 @@ function assembleStyles() {
|
|
|
27599
26088
|
var ansiStyles = assembleStyles();
|
|
27600
26089
|
var ansi_styles_default = ansiStyles;
|
|
27601
26090
|
|
|
27602
|
-
// ../node_modules
|
|
26091
|
+
// ../node_modules/chalk/source/vendor/supports-color/index.js
|
|
27603
26092
|
import process2 from "node:process";
|
|
27604
26093
|
import os from "node:os";
|
|
27605
26094
|
import tty from "node:tty";
|
|
@@ -27731,7 +26220,7 @@ var supportsColor = {
|
|
|
27731
26220
|
};
|
|
27732
26221
|
var supports_color_default = supportsColor;
|
|
27733
26222
|
|
|
27734
|
-
// ../node_modules
|
|
26223
|
+
// ../node_modules/chalk/source/utilities.js
|
|
27735
26224
|
function stringReplaceAll(string, substring, replacer) {
|
|
27736
26225
|
let index = string.indexOf(substring);
|
|
27737
26226
|
if (index === -1) {
|
|
@@ -27764,7 +26253,7 @@ function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
|
|
|
27764
26253
|
return returnValue;
|
|
27765
26254
|
}
|
|
27766
26255
|
|
|
27767
|
-
// ../node_modules
|
|
26256
|
+
// ../node_modules/chalk/source/index.js
|
|
27768
26257
|
var { stdout: stdoutColor, stderr: stderrColor } = supports_color_default;
|
|
27769
26258
|
var GENERATOR = Symbol("GENERATOR");
|
|
27770
26259
|
var STYLER = Symbol("STYLER");
|