borisbu / OctoRelay

OctoPrint / Octopi plugin to control relays
GNU Affero General Public License v3.0
43 stars 25 forks source link

🚀 3.11.1 #224

Closed RobinTail closed 11 months ago

RobinTail commented 11 months ago
coveralls commented 11 months ago

Coverage Status

coverage: 100.0%. remained the same when pulling 32a9ed8ca1e39d6e33af35cbf2b3721903e9ab8e on develop into 316e8f436332ffacf24ce256f6211aa786b617d9 on master.

RobinTail commented 11 months ago

Differences between tsc and tsup (esbuild) outputs:

- const getCountdownDelay = (deadline) => deadline - Date.now() > 120000 ? 60000 : 1000;
+ const getCountdownDelay = (deadline) => deadline - Date.now() > 12e4 ? 6e4 : 1e3;
- const compareDeadlines = (a, b) => {
-     var _a, _b; 
-     return (((_a = a.relay.upcoming) === null || _a === void 0 ? void 0 : _a.deadline) || 0) - (((_b = b.relay.upcoming) === null || _b === void 0 ? void 0 : _b.deadline) || 0);
- };
+ const compareDeadlines = (a, b) => {
+      var _a, _b;
+      return (((_a = a.relay.upcoming) == null ? void 0 : _a.deadline) || 0) - (((_b = b.relay.upcoming) == null ? void 0 : _b.deadline) || 0);
+    };
- let target = undefined;
+ let target = void 0;
RobinTail commented 11 months ago

🚀 3.11.1rc1

RobinTail commented 11 months ago

✅ QA passed