browserclaw 0.8.1 → 0.8.2

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.
package/dist/index.cjs CHANGED
@@ -1947,14 +1947,18 @@ function ensurePageState(page) {
1947
1947
  Promise.resolve(state.dialogHandler(event)).then(() => {
1948
1948
  if (!handled) {
1949
1949
  dialog.dismiss().catch((err) => {
1950
- console.warn(`[browserclaw] Failed to auto-dismiss dialog: ${err instanceof Error ? err.message : String(err)}`);
1950
+ console.warn(
1951
+ `[browserclaw] Failed to auto-dismiss dialog: ${err instanceof Error ? err.message : String(err)}`
1952
+ );
1951
1953
  });
1952
1954
  }
1953
1955
  }).catch((err) => {
1954
1956
  console.warn(`[browserclaw] onDialog handler error: ${err instanceof Error ? err.message : String(err)}`);
1955
1957
  if (!handled) {
1956
1958
  dialog.dismiss().catch((dismissErr) => {
1957
- console.warn(`[browserclaw] Failed to dismiss dialog after handler error: ${dismissErr instanceof Error ? dismissErr.message : String(dismissErr)}`);
1959
+ console.warn(
1960
+ `[browserclaw] Failed to dismiss dialog after handler error: ${dismissErr instanceof Error ? dismissErr.message : String(dismissErr)}`
1961
+ );
1958
1962
  });
1959
1963
  }
1960
1964
  });
@@ -2579,7 +2583,17 @@ var BLOCKED_IPV4_RANGES = /* @__PURE__ */ new Set([
2579
2583
  "private",
2580
2584
  "reserved"
2581
2585
  ]);
2582
- var BLOCKED_IPV6_RANGES = /* @__PURE__ */ new Set(["unspecified", "loopback", "linkLocal", "uniqueLocal", "multicast"]);
2586
+ var BLOCKED_IPV6_RANGES = /* @__PURE__ */ new Set([
2587
+ "unspecified",
2588
+ "loopback",
2589
+ "linkLocal",
2590
+ "uniqueLocal",
2591
+ "multicast",
2592
+ "reserved",
2593
+ "benchmarking",
2594
+ "discard",
2595
+ "orchid2"
2596
+ ]);
2583
2597
  var RFC2544_BENCHMARK_PREFIX = [ipaddr.IPv4.parse("198.18.0.0"), 15];
2584
2598
  var EMBEDDED_IPV4_SENTINEL_RULES = [
2585
2599
  // IPv4-compatible (::a.b.c.d)
@@ -4243,6 +4257,7 @@ var CONTENT_ROLES = /* @__PURE__ */ new Set([
4243
4257
  var STRUCTURAL_ROLES = /* @__PURE__ */ new Set([
4244
4258
  "generic",
4245
4259
  "group",
4260
+ "ignored",
4246
4261
  "list",
4247
4262
  "table",
4248
4263
  "row",