Browse Source
Bugfix/handle undefined in decode data source (#2013)
* Handle undefined data source
* Update changelog
pull/2014/head
Thomas Kaul
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
9 additions and
1 deletions
-
CHANGELOG.md
-
libs/common/src/lib/helper.ts
|
|
@ -13,6 +13,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
- Added a link to manage the benchmarks to the benchmark comparator |
|
|
|
- Added support for localized routes |
|
|
|
|
|
|
|
### Fixed |
|
|
|
|
|
|
|
- Fixed an issue in the data source transformation |
|
|
|
|
|
|
|
## 1.272.0 - 2023-05-26 |
|
|
|
|
|
|
|
### Added |
|
|
|
|
|
@ -15,7 +15,11 @@ export function capitalize(aString: string) { |
|
|
|
} |
|
|
|
|
|
|
|
export function decodeDataSource(encodedDataSource: string) { |
|
|
|
if (encodedDataSource) { |
|
|
|
return Buffer.from(encodedDataSource, 'hex').toString(); |
|
|
|
} |
|
|
|
|
|
|
|
return undefined; |
|
|
|
} |
|
|
|
|
|
|
|
export function downloadAsFile({ |
|
|
|