@rhyster/wow-casc-dbc 2.8.0 → 2.8.1

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.mjs CHANGED
@@ -1915,8 +1915,8 @@ class DBDParser {
1915
1915
  const versionChunk = chunks.find((chunk) => chunk.find((line) => {
1916
1916
  const layoutsMatch = PATTERN_LAYOUT.exec(line);
1917
1917
  const layouts = layoutsMatch?.[1].split(",").map((v) => v.trim().toLowerCase());
1918
- return layouts?.includes(layoutHashHex);
1919
- }));
1918
+ return layouts?.includes(layoutHashHex) === true;
1919
+ }) !== void 0);
1920
1920
  assert(versionChunk, `No version definition found for layout hash ${layoutHashHex}`);
1921
1921
  versionChunk.forEach((line) => {
1922
1922
  if (line.startsWith("LAYOUT") || line.startsWith("BUILD") || line.startsWith("COMMENT")) {