hanoman 0.9.17 → 0.9.18

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.9.17",
3
- "sha": "381be09d",
4
- "builtAt": "2026-10-05T06:39:44.498Z"
2
+ "version": "0.9.18",
3
+ "sha": "e6d9ceea",
4
+ "builtAt": "2026-10-07T01:21:53.306Z"
5
5
  }
package/dist/server.js CHANGED
@@ -44645,7 +44645,7 @@ var init_ssrf = __esm({
44645
44645
  });
44646
44646
 
44647
44647
  // src/services/safe-outbound-request.ts
44648
- import { resolve4 as resolve42, resolve6 as resolve62 } from "node:dns/promises";
44648
+ import { Resolver } from "node:dns/promises";
44649
44649
  import { request as httpRequest } from "node:http";
44650
44650
  import { request as httpsRequest } from "node:https";
44651
44651
  import { isIP } from "node:net";
@@ -44784,7 +44784,9 @@ var init_safe_outbound_request = __esm({
44784
44784
  defaultLookup2 = async (host2) => {
44785
44785
  const literal = isIP(host2);
44786
44786
  if (literal) return [{ address: host2, family: literal }];
44787
- const [v4, v6] = await Promise.allSettled([resolve42(host2), resolve62(host2)]);
44787
+ const resolver = new Resolver();
44788
+ const [v4, v6] = await Promise.allSettled([resolver.resolve4(host2), resolver.resolve6(host2)]);
44789
+ resolver.cancel();
44788
44790
  const out4 = [];
44789
44791
  if (v4.status === "fulfilled") out4.push(...v4.value.map((address) => ({ address, family: 4 })));
44790
44792
  if (v6.status === "fulfilled") out4.push(...v6.value.map((address) => ({ address, family: 6 })));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hanoman",
3
- "version": "0.9.17",
3
+ "version": "0.9.18",
4
4
  "description": "Orchestrator + dashboard workflow docs-driven untuk sesi Claude Code / Codex",
5
5
  "type": "module",
6
6
  "repository": {