Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
replacePropTransform((value, key) => {
if (key === "uri") {
return hash(value);
}
if (key === "source" && value.uri) {
return hash(value.uri);
}
return value;
})
)
replacePropTransform((value, key) => (key === "d" ? hash(value) : value))
)
(value, key) =>
longKeysSet.has(key) ? hash(JSON.stringify(value)) : value
)
replacePropTransform((value, key) => (key === "d" ? hash(value) : value))
)
replacePropTransform((value, key) => (key === "d" ? hash(value) : value))
)
(value, key) =>
longKeysSet.has(key) ? hash(JSON.stringify(value)) : value
)
replacePropTransform((value, key) => (key === "d" ? hash(value) : value))
)
(value, key) =>
longKeysSet.has(key) ? hash(JSON.stringify(value)) : value
)
(value, key) =>
longKeysSet.has(key) ? hash(JSON.stringify(value)) : value
)
(value, key) =>
longValues.has(key) ? hash(JSON.stringify(value)) : value
)