@mlightcad/libredwg-converter 3.1.9 → 3.1.11

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.
@@ -12309,7 +12309,7 @@ class go {
12309
12309
  v && (K = B.dwg_entity_block_header_get_block(v).name);
12310
12310
  }
12311
12311
  }
12312
- K === "" && (K = B.dwg_dynapi_entity_value(A, "block_name").data);
12312
+ K || (K = B.dwg_dynapi_entity_value(A, "block_name").data);
12313
12313
  const H = B.dwg_dynapi_entity_value(A, "ins_pt").data, M = B.dwg_dynapi_entity_value(A, "scale").data, h = B.dwg_dynapi_entity_value(A, "rotation").data, S = B.dwg_dynapi_entity_value(A, "num_cols").data, T = B.dwg_dynapi_entity_value(A, "num_rows").data, y = B.dwg_dynapi_entity_value(
12314
12314
  A,
12315
12315
  "col_spacing"
@@ -13132,7 +13132,7 @@ class EE {
13132
13132
  }
13133
13133
  convertBlockRecord(A, Q) {
13134
13134
  const B = this.libredwg, K = this.getCommonTableEntryAttrs(A, Q), i = B.dwg_entity_block_header_get_block(A);
13135
- K.name = i.name;
13135
+ i.name && (K.name = i.name);
13136
13136
  const H = B.dwg_dynapi_entity_value(A, "flag").data, M = B.dwg_dynapi_entity_value(A, "description").data, h = B.dwg_dynapi_entity_value(A, "base_pt").data, S = B.dwg_dynapi_entity_value(
13137
13137
  A,
13138
13138
  "insert_units"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mlightcad/libredwg-converter",
3
- "version": "3.1.9",
3
+ "version": "3.1.11",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,13 +33,13 @@
33
33
  "require": "./dist/libredwg-converter.umd.cjs"
34
34
  },
35
35
  "dependencies": {
36
- "@mlightcad/libredwg-web": "0.4.0"
36
+ "@mlightcad/libredwg-web": "0.4.1"
37
37
  },
38
38
  "devDependencies": {
39
39
  "vite": "^5.2.10"
40
40
  },
41
41
  "peerDependencies": {
42
- "@mlightcad/data-model": "1.3.9"
42
+ "@mlightcad/data-model": "1.3.11"
43
43
  },
44
44
  "scripts": {
45
45
  "analyze": "pnpm run analyze:lib && pnpm run analyze:worker",