landxml 0.5.1 → 0.5.2
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/CHANGELOG.md +6 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -166,7 +166,7 @@ var parseXML = (xmlString) => __async(void 0, null, function* () {
|
|
|
166
166
|
}, []);
|
|
167
167
|
faces = surface.Definition.Faces.F.reduce((faceList, face) => {
|
|
168
168
|
const { attr, content } = face;
|
|
169
|
-
if (attr.i === "1")
|
|
169
|
+
if ((attr == null ? void 0 : attr.i) === "1")
|
|
170
170
|
return faceList;
|
|
171
171
|
const [a, b, c] = content.split(" ").map((v) => pointIdMap[v]);
|
|
172
172
|
if ([a, b, c].filter((v) => typeof v === "undefined").length > 0) {
|
package/dist/index.mjs
CHANGED
|
@@ -131,7 +131,7 @@ var parseXML = (xmlString) => __async(void 0, null, function* () {
|
|
|
131
131
|
}, []);
|
|
132
132
|
faces = surface.Definition.Faces.F.reduce((faceList, face) => {
|
|
133
133
|
const { attr, content } = face;
|
|
134
|
-
if (attr.i === "1")
|
|
134
|
+
if ((attr == null ? void 0 : attr.i) === "1")
|
|
135
135
|
return faceList;
|
|
136
136
|
const [a, b, c] = content.split(" ").map((v) => pointIdMap[v]);
|
|
137
137
|
if ([a, b, c].filter((v) => typeof v === "undefined").length > 0) {
|