@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.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/dbd.ts +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1927,8 +1927,8 @@ class DBDParser {
|
|
|
1927
1927
|
const versionChunk = chunks.find((chunk) => chunk.find((line) => {
|
|
1928
1928
|
const layoutsMatch = PATTERN_LAYOUT.exec(line);
|
|
1929
1929
|
const layouts = layoutsMatch?.[1].split(",").map((v) => v.trim().toLowerCase());
|
|
1930
|
-
return layouts?.includes(layoutHashHex);
|
|
1931
|
-
}));
|
|
1930
|
+
return layouts?.includes(layoutHashHex) === true;
|
|
1931
|
+
}) !== void 0);
|
|
1932
1932
|
assert__default(versionChunk, `No version definition found for layout hash ${layoutHashHex}`);
|
|
1933
1933
|
versionChunk.forEach((line) => {
|
|
1934
1934
|
if (line.startsWith("LAYOUT") || line.startsWith("BUILD") || line.startsWith("COMMENT")) {
|