@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 +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
- package/src/dbd.ts +2 -2
- package/src/utils.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rhyster/wow-casc-dbc",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.29",
|
|
4
4
|
"description": "Fetch World of Warcraft data files from CASC and parse DBC/DB2 files.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -38,18 +38,18 @@
|
|
|
38
38
|
"author": "Rhythm",
|
|
39
39
|
"license": "MIT",
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@rhyster/eslint-config": "^1.
|
|
42
|
-
"@types/async": "^3.2.
|
|
41
|
+
"@rhyster/eslint-config": "^1.8.2",
|
|
42
|
+
"@types/async": "^3.2.25",
|
|
43
43
|
"@types/cli-progress": "^3.11.6",
|
|
44
|
-
"@types/node": "^22.
|
|
45
|
-
"eslint": "^9.
|
|
44
|
+
"@types/node": "^22.17.1",
|
|
45
|
+
"eslint": "^9.33.0",
|
|
46
46
|
"tsx": "^4.20.3",
|
|
47
|
-
"typescript": "^5.
|
|
47
|
+
"typescript": "^5.9.2",
|
|
48
48
|
"unbuild": "^3.6.0"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"async": "^3.2.6",
|
|
52
52
|
"cli-progress": "^3.12.0"
|
|
53
53
|
},
|
|
54
|
-
"packageManager": "pnpm@10.
|
|
54
|
+
"packageManager": "pnpm@10.14.0"
|
|
55
55
|
}
|
package/src/dbd.ts
CHANGED
|
@@ -163,9 +163,9 @@ export default class DBDParser {
|
|
|
163
163
|
const size = sizeText ? parseInt(sizeText, 10) : undefined;
|
|
164
164
|
const arraySize = arraySizeText ? parseInt(arraySizeText, 10) : undefined;
|
|
165
165
|
|
|
166
|
-
const isID =
|
|
166
|
+
const isID = annotations.includes('id');
|
|
167
167
|
const isInline = !annotations.includes('noninline');
|
|
168
|
-
const isRelation =
|
|
168
|
+
const isRelation = annotations.includes('relation');
|
|
169
169
|
const isSigned = !unsigned;
|
|
170
170
|
|
|
171
171
|
this.columns.push({
|