pi-readseek 0.8.14 → 0.8.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.ts +1 -1
  2. package/package.json +2 -2
package/dist/index.ts CHANGED
@@ -2859,7 +2859,7 @@ function invalidInteger(value, name) {
2859
2859
  };
2860
2860
  }
2861
2861
  function coerceObviousBase10Int(value, name) {
2862
- if (value === undefined) {
2862
+ if (value === undefined || typeof value === "string" && value.trim() === "") {
2863
2863
  return { ok: true, value: undefined };
2864
2864
  }
2865
2865
  if (typeof value === "number") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-readseek",
3
- "version": "0.8.14",
3
+ "version": "0.8.15",
4
4
  "description": "Pi extension for readseek-backed hash-anchored read/edit/grep, structural code maps, structural search, and file exploration",
5
5
  "type": "module",
6
6
  "exports": {
@@ -40,7 +40,7 @@
40
40
  "node": ">=20.0.0"
41
41
  },
42
42
  "dependencies": {
43
- "@jarkkojs/readseek": "^0.8.14",
43
+ "@jarkkojs/readseek": "^0.8.15",
44
44
  "diff": "^9.0.0",
45
45
  "xxhash-wasm": "^1.1.0"
46
46
  },