import { isDeepStrictEqual } from "node:util";
/**
 * Returns an array of keys in `b` that are different from `a`.
 */
export const diff = (a, b) => {
    const keys = [];
    for (const key in a) {
        if (!isDeepStrictEqual(a[key], b[key])) {
            keys.push(key);
        }
    }
    return keys;
};
//# sourceMappingURL=diff.js.map