mirror of
https://github.com/rjNemo/federation
synced 2026-06-08 19:26:40 +00:00
11 lines
No EOL
347 B
JavaScript
11 lines
No EOL
347 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
function mapValues(object, callback) {
|
|
const result = Object.create(null);
|
|
for (const [key, value] of Object.entries(object)) {
|
|
result[key] = callback(value);
|
|
}
|
|
return result;
|
|
}
|
|
exports.mapValues = mapValues;
|
|
//# sourceMappingURL=mapValues.js.map
|