libram 0.9.12 → 0.9.13

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/property.js +1 -1
  2. package/package.json +1 -1
package/dist/property.js CHANGED
@@ -67,7 +67,7 @@ export function get(property, _default) {
67
67
  return getPhylum(property, _default);
68
68
  }
69
69
  else if (isStringProperty(property)) {
70
- return value;
70
+ return value === "" && _default !== undefined ? _default : value;
71
71
  }
72
72
  // Not a KnownProperty from here on out.
73
73
  if (_default instanceof Location) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libram",
3
- "version": "0.9.12",
3
+ "version": "0.9.13",
4
4
  "description": "JavaScript helper library for KoLmafia",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",