LarpixClient/electron/node_modules/native-run/dist/utils/object.js
olcxja 5da5c2afe2
All checks were successful
Android Build / publish (push) Successful in 31s
Linux Build / publish (push) Successful in 55s
fix gitignore again
2026-05-10 16:36:35 +02:00

15 lines
402 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.sort = void 0;
function sort(obj) {
const entries = [...Object.entries(obj)];
entries.sort(([k1], [k2]) => k1.localeCompare(k2));
for (const [key] of entries) {
delete obj[key];
}
for (const [key, value] of entries) {
obj[key] = value;
}
return obj;
}
exports.sort = sort;