@rhyster/wow-casc-dbc 2.11.28 → 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.cjs CHANGED
@@ -1040,7 +1040,7 @@ const JEDEC = [
1040
1040
  ];
1041
1041
  const formatFileSize = (input) => {
1042
1042
  if (Number.isNaN(input)) return "";
1043
- let size = Number(input);
1043
+ let size = input;
1044
1044
  const isNegative = size < 0;
1045
1045
  const result = [];
1046
1046
  if (isNegative) size = -size;
@@ -1968,9 +1968,9 @@ class DBDParser {
1968
1968
  const annotations = annotationsText ? annotationsText.split(",").map((v) => v.trim()) : [];
1969
1969
  const size = sizeText ? parseInt(sizeText, 10) : void 0;
1970
1970
  const arraySize = arraySizeText ? parseInt(arraySizeText, 10) : void 0;
1971
- const isID = !!annotations.includes("id");
1971
+ const isID = annotations.includes("id");
1972
1972
  const isInline = !annotations.includes("noninline");
1973
- const isRelation = !!annotations.includes("relation");
1973
+ const isRelation = annotations.includes("relation");
1974
1974
  const isSigned = !unsigned;
1975
1975
  this.columns.push({
1976
1976
  name,