ochre-sdk 0.22.6 → 0.22.7

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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -2
  2. package/package.json +3 -3
package/dist/index.mjs CHANGED
@@ -919,7 +919,6 @@ const setItemsParamsSchema = z.object({
919
919
  });
920
920
  //#endregion
921
921
  //#region src/utils/parse/index.ts
922
- const TRAILING_ELLIPSIS_REGEX = /\s*\.{3}$/;
923
922
  /**
924
923
  * Parses raw identification data into the standardized Identification type
925
924
  *
@@ -1426,7 +1425,7 @@ function parseProperty(property, language = "eng") {
1426
1425
  });
1427
1426
  return {
1428
1427
  uuid: property.label.uuid,
1429
- label: parseStringContent(property.label, language).replace(TRAILING_ELLIPSIS_REGEX, "").trim(),
1428
+ label: parseStringContent(property.label, language).trim(),
1430
1429
  values,
1431
1430
  comment: property.comment != null ? parseStringContent(property.comment) : null,
1432
1431
  properties: property.property ? parseProperties(ensureArray(property.property)) : []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ochre-sdk",
3
- "version": "0.22.6",
3
+ "version": "0.22.7",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Node.js library for working with OCHRE (Online Cultural and Historical Research Environment) data",
@@ -49,12 +49,12 @@
49
49
  "zod": "^4.3.6"
50
50
  },
51
51
  "devDependencies": {
52
- "@antfu/eslint-config": "^8.1.1",
52
+ "@antfu/eslint-config": "^8.2.0",
53
53
  "@types/node": "^24.12.2",
54
54
  "bumpp": "^11.0.1",
55
55
  "eslint": "^10.2.0",
56
56
  "prettier": "^3.8.2",
57
- "tsdown": "^0.21.7",
57
+ "tsdown": "^0.21.8",
58
58
  "typescript": "^6.0.2",
59
59
  "vitest": "^4.1.4"
60
60
  },