dirsql 0.4.53 → 0.4.55

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.
@@ -16,9 +16,10 @@
16
16
  * is the whole remedy — no `unsafe`, no `sigaction`.
17
17
  */
18
18
  export function keepSignalsFatal() {
19
- // While the core is running, its own handler drives shutdown and this
20
- // listener is the tail of the chain; it matters for signals arriving
21
- // outside that window, where exiting is exactly right.
19
+ // This listener cannot fire while the core runs — the napi call blocks the
20
+ // event loop — so the addon drops to `SIG_DFL` for that window.
21
+ // Registering here is still what gives signal-hook a disposition to chain
22
+ // to, and it handles signals arriving outside that window.
22
23
  process.on("SIGINT", () => process.exit(130));
23
24
  process.on("SIGTERM", () => process.exit(143));
24
25
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dirsql",
3
- "version": "0.4.53",
3
+ "version": "0.4.55",
4
4
  "description": "Ephemeral SQL index over a local directory",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/thekevinscott/dirsql",
@@ -221,10 +221,10 @@
221
221
  ]
222
222
  },
223
223
  "optionalDependencies": {
224
- "@dirsql/lib-linux-x64-gnu": "0.4.53",
225
- "@dirsql/lib-linux-arm64-gnu": "0.4.53",
226
- "@dirsql/lib-darwin-x64": "0.4.53",
227
- "@dirsql/lib-darwin-arm64": "0.4.53",
228
- "@dirsql/lib-win32-x64-msvc": "0.4.53"
224
+ "@dirsql/lib-linux-x64-gnu": "0.4.55",
225
+ "@dirsql/lib-linux-arm64-gnu": "0.4.55",
226
+ "@dirsql/lib-darwin-x64": "0.4.55",
227
+ "@dirsql/lib-darwin-arm64": "0.4.55",
228
+ "@dirsql/lib-win32-x64-msvc": "0.4.55"
229
229
  }
230
230
  }