@rhyster/wow-casc-dbc 2.11.27 → 2.11.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -276,4 +276,5 @@ declare class DBDParser {
276
276
  getRowData(id: number): Record<string, ColumnData> | undefined;
277
277
  }
278
278
 
279
- export { ADBReader, type ArchiveIndex, type BasicColumnData, CASCClient, type ClientPreloadData, type Column, type ColumnData, DBDParser, type EncodingData, type FieldStorageInfo, type FieldStorageInfoCompressionBitpacked, type FieldStorageInfoCompressionBitpackedIndexed, type FieldStorageInfoCompressionBitpackedIndexedArray, type FieldStorageInfoCompressionBitpackedSigned, type FieldStorageInfoCompressionCommonData, type FieldStorageInfoCompressionNone, type FieldStructure, type FileFetchResult, type FileFetchResultFull, type FileFetchResultPartial, type FileInfo, type Hotfix, type HotfixDelete, type HotfixEntry, type HotfixModify, type InstallData, type InstallFile, type MissingKeyBlock, type ParsedField, type ParsedFieldBitpacked, type ParsedFieldBitpackedArray, type ParsedFieldCommonData, type ParsedFieldNone, type RootData, type SparseRow, type Version, WDCReader };
279
+ export { ADBReader, CASCClient, DBDParser, WDCReader };
280
+ export type { ArchiveIndex, BasicColumnData, ClientPreloadData, Column, ColumnData, EncodingData, FieldStorageInfo, FieldStorageInfoCompressionBitpacked, FieldStorageInfoCompressionBitpackedIndexed, FieldStorageInfoCompressionBitpackedIndexedArray, FieldStorageInfoCompressionBitpackedSigned, FieldStorageInfoCompressionCommonData, FieldStorageInfoCompressionNone, FieldStructure, FileFetchResult, FileFetchResultFull, FileFetchResultPartial, FileInfo, Hotfix, HotfixDelete, HotfixEntry, HotfixModify, InstallData, InstallFile, MissingKeyBlock, ParsedField, ParsedFieldBitpacked, ParsedFieldBitpackedArray, ParsedFieldCommonData, ParsedFieldNone, RootData, SparseRow, Version };
package/dist/index.d.mts CHANGED
@@ -276,4 +276,5 @@ declare class DBDParser {
276
276
  getRowData(id: number): Record<string, ColumnData> | undefined;
277
277
  }
278
278
 
279
- export { ADBReader, type ArchiveIndex, type BasicColumnData, CASCClient, type ClientPreloadData, type Column, type ColumnData, DBDParser, type EncodingData, type FieldStorageInfo, type FieldStorageInfoCompressionBitpacked, type FieldStorageInfoCompressionBitpackedIndexed, type FieldStorageInfoCompressionBitpackedIndexedArray, type FieldStorageInfoCompressionBitpackedSigned, type FieldStorageInfoCompressionCommonData, type FieldStorageInfoCompressionNone, type FieldStructure, type FileFetchResult, type FileFetchResultFull, type FileFetchResultPartial, type FileInfo, type Hotfix, type HotfixDelete, type HotfixEntry, type HotfixModify, type InstallData, type InstallFile, type MissingKeyBlock, type ParsedField, type ParsedFieldBitpacked, type ParsedFieldBitpackedArray, type ParsedFieldCommonData, type ParsedFieldNone, type RootData, type SparseRow, type Version, WDCReader };
279
+ export { ADBReader, CASCClient, DBDParser, WDCReader };
280
+ export type { ArchiveIndex, BasicColumnData, ClientPreloadData, Column, ColumnData, EncodingData, FieldStorageInfo, FieldStorageInfoCompressionBitpacked, FieldStorageInfoCompressionBitpackedIndexed, FieldStorageInfoCompressionBitpackedIndexedArray, FieldStorageInfoCompressionBitpackedSigned, FieldStorageInfoCompressionCommonData, FieldStorageInfoCompressionNone, FieldStructure, FileFetchResult, FileFetchResultFull, FileFetchResultPartial, FileInfo, Hotfix, HotfixDelete, HotfixEntry, HotfixModify, InstallData, InstallFile, MissingKeyBlock, ParsedField, ParsedFieldBitpacked, ParsedFieldBitpackedArray, ParsedFieldCommonData, ParsedFieldNone, RootData, SparseRow, Version };
package/dist/index.mjs CHANGED
@@ -1028,7 +1028,7 @@ const JEDEC = [
1028
1028
  ];
1029
1029
  const formatFileSize = (input) => {
1030
1030
  if (Number.isNaN(input)) return "";
1031
- let size = Number(input);
1031
+ let size = input;
1032
1032
  const isNegative = size < 0;
1033
1033
  const result = [];
1034
1034
  if (isNegative) size = -size;
@@ -1956,9 +1956,9 @@ class DBDParser {
1956
1956
  const annotations = annotationsText ? annotationsText.split(",").map((v) => v.trim()) : [];
1957
1957
  const size = sizeText ? parseInt(sizeText, 10) : void 0;
1958
1958
  const arraySize = arraySizeText ? parseInt(arraySizeText, 10) : void 0;
1959
- const isID = !!annotations.includes("id");
1959
+ const isID = annotations.includes("id");
1960
1960
  const isInline = !annotations.includes("noninline");
1961
- const isRelation = !!annotations.includes("relation");
1961
+ const isRelation = annotations.includes("relation");
1962
1962
  const isSigned = !unsigned;
1963
1963
  this.columns.push({
1964
1964
  name,