Skip to content

Commit 88c6cb3

Browse files
committed
gcs crc32 to crc32c
1 parent 2265bd4 commit 88c6cb3

File tree

8 files changed

+11
-8
lines changed

8 files changed

+11
-8
lines changed

lib/components/DownloadDataContext/DownloadDataContext.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -971,8 +971,8 @@ var reducer = function reducer(state, action) {
971971
name: fileObj.name,
972972
size: parseInt(fileObj.size, 10),
973973
url: fileObj.url,
974-
checksum: fileObj.md5 ? fileObj.md5 : fileObj.crc32,
975-
checksumAlgorithm: fileObj.md5 ? 'MD5' : 'CRC32',
974+
checksum: fileObj.md5 ? fileObj.md5 : fileObj.crc32c,
975+
checksumAlgorithm: fileObj.md5 ? 'MD5' : 'CRC32C',
976976
site: response.site,
977977
yearMonth: response.yearMonth,
978978
tableData: {

lib/remoteAssets/drupal-header.html.d.ts

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

lib/remoteAssets/drupal-header.html.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/types/manifest.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ export interface ManifestRequest {
1212
}
1313
export declare enum ChecksumAlgorithmType {
1414
MD5 = "MD5",
15-
CRC32 = "CRC32"
15+
CRC32 = "CRC32",
16+
CRC32C = "CRC32C"
1617
}
1718
export interface ManifestFile {
1819
release: string;

lib/types/manifest.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ exports.ChecksumAlgorithmType = ChecksumAlgorithmType;
1010
(function (ChecksumAlgorithmType) {
1111
ChecksumAlgorithmType["MD5"] = "MD5";
1212
ChecksumAlgorithmType["CRC32"] = "CRC32";
13+
ChecksumAlgorithmType["CRC32C"] = "CRC32C";
1314
})(ChecksumAlgorithmType || (exports.ChecksumAlgorithmType = ChecksumAlgorithmType = {}));

src/lib_components/components/DownloadDataContext/DownloadDataContext.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -869,8 +869,8 @@ const reducer = (state, action) => {
869869
name: fileObj.name,
870870
size: parseInt(fileObj.size, 10),
871871
url: fileObj.url,
872-
checksum: fileObj.md5 ? fileObj.md5 : fileObj.crc32,
873-
checksumAlgorithm: fileObj.md5 ? 'MD5' : 'CRC32',
872+
checksum: fileObj.md5 ? fileObj.md5 : fileObj.crc32c,
873+
checksumAlgorithm: fileObj.md5 ? 'MD5' : 'CRC32C',
874874
site: response.site,
875875
yearMonth: response.yearMonth,
876876
tableData: { checked: false },

src/lib_components/remoteAssets/drupal-header.html.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,7 @@ export default html = `
10871087
10881088
<label for="edit-keys--2" class="visually-hidden">Search</label>
10891089
</div>
1090-
<div class="search-form__actions form-actions js-form-wrapper form-wrapper" data-drupal-selector="edit-actions" id="edit-actions--2">
1090+
<div class="search-form__actions form-actions js-form-wrapper form-wrapper" data-drupal-selector="edit-actions" id="edit-actions--3">
10911091
10921092
<input class="search-form__button button js-form-submit form-submit button--search" data-drupal-selector="edit-submit" type="submit" id="edit-submit--2" value="Search" />
10931093
</div>

src/lib_components/types/manifest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export interface ManifestRequest {
1515
export enum ChecksumAlgorithmType {
1616
MD5 = 'MD5',
1717
CRC32 = 'CRC32',
18+
CRC32C = 'CRC32C',
1819
}
1920

2021
export interface ManifestFile {

0 commit comments

Comments
 (0)