ochre-sdk 0.20.13 → 0.20.15

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 -1
  2. package/package.json +6 -8
package/dist/index.mjs CHANGED
@@ -2542,7 +2542,7 @@ const propertyValueQueryItemSchema = z.object({
2542
2542
  returnValue.label = parsePropertyValueLabel(val.content);
2543
2543
  break;
2544
2544
  default:
2545
- returnValue.content = val.rawValue != null && val.rawValue !== "" ? val.rawValue.toString() : null;
2545
+ returnValue.content = val.rawValue != null && val.rawValue !== "" ? val.rawValue.toString() : val.content != null && val.content !== "<unassigned>" ? parseStringContent({ content: val.content }) : null;
2546
2546
  returnValue.label = parsePropertyValueLabel(val.content);
2547
2547
  break;
2548
2548
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ochre-sdk",
3
- "version": "0.20.13",
3
+ "version": "0.20.15",
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",
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "devDependencies": {
49
49
  "@antfu/eslint-config": "^7.6.1",
50
- "@types/node": "^24.10.15",
50
+ "@types/node": "^24.11.0",
51
51
  "bumpp": "^10.4.1",
52
52
  "eslint": "^10.0.2",
53
53
  "prettier": "^3.8.1",
@@ -57,12 +57,10 @@
57
57
  "scripts": {
58
58
  "dev": "tsdown src/index.ts --watch",
59
59
  "build": "tsdown",
60
- "lint": "eslint --cache .",
61
- "lint:fix": "eslint --cache . --fix",
62
- "lint:nocache": "eslint .",
63
- "lint:nocache:fix": "eslint . --fix",
64
- "format": "prettier --cache --check .",
65
- "format:fix": "prettier --cache --write --list-different .",
60
+ "lint": "eslint .",
61
+ "lint:fix": "eslint . --fix",
62
+ "format": "prettier --check .",
63
+ "format:fix": "prettier --write --list-different .",
66
64
  "check-types": "tsc --noEmit",
67
65
  "release": "bumpp"
68
66
  }