1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-11 00:08:30 +01:00
unleash.unleash/src/lib/util
Christopher Kolstad c60bca777f
feat: replace gravatar-url with inline function (#5128)
As #4475 says, MD5 is not available in secure places anymore. This PR
swaps out gravatar-url with an inline function using crypto:sha256 which
is FIPS-140-2 compliant. Since we only used this method for generating
avatar URLs the extra customization wasn't needed and we could hard code
the URL parameters.
 
fixes: Linear
https://linear.app/unleash/issue/SR-112/gh-support-swap-out-gravatar-url-lib
closes: #4475
2023-10-24 10:07:26 +02:00
..
validators
anonymise.test.ts
anonymise.ts
anyEventEmitter.test.ts
anyEventEmitter.ts
arraysHaveSameItems.test.ts
arraysHaveSameItems.ts
collapseHourlyMetrics.test.ts
collapseHourlyMetrics.ts
collect-ids.ts
constants.ts
constantTimeCompare.test.ts
constantTimeCompare.ts
db-lock.test.ts feat: promise timeout on lock (#5108) 2023-10-20 12:10:18 +02:00
db-lock.ts feat: promise timeout on lock (#5108) 2023-10-20 12:10:18 +02:00
ensureArray.ts
ensureStringValue.test.ts
ensureStringValue.ts
escape-regex.ts
extract-user.test.ts
extract-user.ts
findDuplicates.test.ts
findDuplicates.ts
findPublicFolder.ts
flag-resolver.test.ts
flag-resolver.ts
format-base-uri.test.ts
format-base-uri.ts
generateImageUrl.test.ts feat: replace gravatar-url with inline function (#5128) 2023-10-24 10:07:26 +02:00
generateImageUrl.ts feat: replace gravatar-url with inline function (#5128) 2023-10-24 10:07:26 +02:00
get-prop-from-string.ts
graceful-shutdown.ts
index.ts
is-email.test.ts
is-email.ts
isDefined.test.ts
isDefined.ts
isEmpty.ts
load-index-html.ts
map-values.test.ts
map-values.ts
metrics-helper.ts
omit-keys.test.ts
omit-keys.ts
parseEnvVar.test.ts
parseEnvVar.ts
random-id.ts
rewriteHTML.test.ts
rewriteHTML.ts
segments.ts
semver.test.ts
semver.ts
snakeCase.test.ts
snakeCase.ts feat: Move environments to enterprise (#935) 2021-09-13 15:57:38 +02:00
time-utils.test.ts
time-utils.ts
timer.test.ts
timer.ts
unique.test.ts
unique.ts
validateJsonString.test.ts
validateJsonString.ts
validateOrigin.test.ts
validateOrigin.ts
version.ts