flightdeck 0.2.18 → 0.2.19
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.
|
@@ -342,6 +342,9 @@ var simpleLogger = {
|
|
|
342
342
|
warn: simpleLog(`warn`)
|
|
343
343
|
};
|
|
344
344
|
var AtomIOLogger = class {
|
|
345
|
+
logLevel;
|
|
346
|
+
filter;
|
|
347
|
+
logger;
|
|
345
348
|
constructor(logLevel, filter, logger = simpleLogger) {
|
|
346
349
|
this.logLevel = logLevel;
|
|
347
350
|
this.filter = filter;
|
|
@@ -1584,11 +1587,12 @@ var Junction = class {
|
|
|
1584
1587
|
|
|
1585
1588
|
// ../atom.io/internal/src/lazy-map.ts
|
|
1586
1589
|
var LazyMap = class extends Map {
|
|
1590
|
+
deleted = /* @__PURE__ */ new Set();
|
|
1591
|
+
source;
|
|
1587
1592
|
constructor(source) {
|
|
1588
1593
|
super();
|
|
1589
1594
|
this.source = source;
|
|
1590
1595
|
}
|
|
1591
|
-
deleted = /* @__PURE__ */ new Set();
|
|
1592
1596
|
get(key) {
|
|
1593
1597
|
const has = super.has(key);
|
|
1594
1598
|
if (has) {
|
|
@@ -3971,11 +3975,6 @@ selectorFamily({
|
|
|
3971
3975
|
|
|
3972
3976
|
// ../atom.io/realtime-server/src/ipc-sockets/custom-socket.ts
|
|
3973
3977
|
var CustomSocket = class {
|
|
3974
|
-
constructor(emit) {
|
|
3975
|
-
this.emit = emit;
|
|
3976
|
-
this.listeners = /* @__PURE__ */ new Map();
|
|
3977
|
-
this.globalListeners = /* @__PURE__ */ new Set();
|
|
3978
|
-
}
|
|
3979
3978
|
listeners;
|
|
3980
3979
|
globalListeners;
|
|
3981
3980
|
handleEvent(event, ...args) {
|
|
@@ -3990,6 +3989,12 @@ var CustomSocket = class {
|
|
|
3990
3989
|
}
|
|
3991
3990
|
}
|
|
3992
3991
|
id = `no_id_retrieved`;
|
|
3992
|
+
emit;
|
|
3993
|
+
constructor(emit) {
|
|
3994
|
+
this.emit = emit;
|
|
3995
|
+
this.listeners = /* @__PURE__ */ new Map();
|
|
3996
|
+
this.globalListeners = /* @__PURE__ */ new Set();
|
|
3997
|
+
}
|
|
3993
3998
|
on(event, listener) {
|
|
3994
3999
|
const listeners = this.listeners.get(event);
|
|
3995
4000
|
if (listeners) {
|
|
@@ -4268,6 +4273,25 @@ function isVersionNumber(version) {
|
|
|
4268
4273
|
return /^\d+\.\d+\.\d+$/.test(version) || !Number.isNaN(Number.parseFloat(version));
|
|
4269
4274
|
}
|
|
4270
4275
|
var FlightDeck = class {
|
|
4276
|
+
options;
|
|
4277
|
+
safety = 0;
|
|
4278
|
+
storage;
|
|
4279
|
+
webhookServer;
|
|
4280
|
+
services;
|
|
4281
|
+
serviceIdx;
|
|
4282
|
+
defaultServicesReadyToUpdate;
|
|
4283
|
+
servicesReadyToUpdate;
|
|
4284
|
+
autoRespawnDeadServices;
|
|
4285
|
+
logger;
|
|
4286
|
+
serviceLoggers;
|
|
4287
|
+
updateAvailabilityChecker = null;
|
|
4288
|
+
servicesLive;
|
|
4289
|
+
servicesDead;
|
|
4290
|
+
live = new Future(() => {
|
|
4291
|
+
});
|
|
4292
|
+
dead = new Future(() => {
|
|
4293
|
+
});
|
|
4294
|
+
restartTimes = [];
|
|
4271
4295
|
constructor(options) {
|
|
4272
4296
|
this.options = options;
|
|
4273
4297
|
const { FLIGHTDECK_SECRET } = env;
|
|
@@ -4385,24 +4409,6 @@ var FlightDeck = class {
|
|
|
4385
4409
|
}
|
|
4386
4410
|
});
|
|
4387
4411
|
}
|
|
4388
|
-
safety = 0;
|
|
4389
|
-
storage;
|
|
4390
|
-
webhookServer;
|
|
4391
|
-
services;
|
|
4392
|
-
serviceIdx;
|
|
4393
|
-
defaultServicesReadyToUpdate;
|
|
4394
|
-
servicesReadyToUpdate;
|
|
4395
|
-
autoRespawnDeadServices;
|
|
4396
|
-
logger;
|
|
4397
|
-
serviceLoggers;
|
|
4398
|
-
updateAvailabilityChecker = null;
|
|
4399
|
-
servicesLive;
|
|
4400
|
-
servicesDead;
|
|
4401
|
-
live = new Future(() => {
|
|
4402
|
-
});
|
|
4403
|
-
dead = new Future(() => {
|
|
4404
|
-
});
|
|
4405
|
-
restartTimes = [];
|
|
4406
4412
|
seekUpdate(version) {
|
|
4407
4413
|
this.logger.info(`Checking for updates...`);
|
|
4408
4414
|
const { checkAvailability } = this.options.scripts;
|
|
@@ -4768,5 +4774,5 @@ var FlightDeckLogger = class {
|
|
|
4768
4774
|
};
|
|
4769
4775
|
|
|
4770
4776
|
export { FLIGHTDECK_ERROR, FLIGHTDECK_INFO, FLIGHTDECK_LNAV_FORMAT, FLIGHTDECK_SETUP_PHASES, FLIGHTDECK_UPDATE_PHASES, FLIGHTDECK_WARN, FlightDeck, FlightDeckLogger, flightDeckLogSchema, isVersionNumber };
|
|
4771
|
-
//# sourceMappingURL=chunk-
|
|
4772
|
-
//# sourceMappingURL=chunk-
|
|
4777
|
+
//# sourceMappingURL=chunk-D4EVARJP.js.map
|
|
4778
|
+
//# sourceMappingURL=chunk-D4EVARJP.js.map
|