@bitbybit-dev/ifc 1.5.0-rc.0 → 1.5.0
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/lib/geometry/groups.js +2 -1
- package/package.json +2 -2
package/lib/geometry/groups.js
CHANGED
|
@@ -9,7 +9,8 @@ const UNCOUNTED = new Set(["Furniture", "Equipment"]);
|
|
|
9
9
|
const MAX_NESTING = 64;
|
|
10
10
|
function pluralOf(words) {
|
|
11
11
|
var _a;
|
|
12
|
-
const
|
|
12
|
+
const parts = words.split(" ");
|
|
13
|
+
const last = (_a = parts[parts.length - 1]) !== null && _a !== void 0 ? _a : words;
|
|
13
14
|
if (UNCOUNTED.has(last.charAt(0).toUpperCase() + last.slice(1))) {
|
|
14
15
|
return words;
|
|
15
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitbybit-dev/ifc",
|
|
3
|
-
"version": "1.5.0
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "Bit By Bit Developers IFC library to write, read and author BIM models in TypeScript",
|
|
5
5
|
"homepage": "https://docs.bitbybit.dev/classes/Bit.IFC",
|
|
6
6
|
"main": "index.js",
|
|
@@ -47,6 +47,6 @@
|
|
|
47
47
|
"types": "./index.d.ts",
|
|
48
48
|
"type": "module",
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@bitbybit-dev/base": "1.5.0
|
|
50
|
+
"@bitbybit-dev/base": "1.5.0"
|
|
51
51
|
}
|
|
52
52
|
}
|