@d-zero/beholder 0.1.29 → 2.0.1

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 (46) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +172 -477
  3. package/package.json +7 -11
  4. package/src/debug.ts +5 -2
  5. package/src/dom-evaluation.ts +195 -65
  6. package/src/index.ts +27 -3
  7. package/src/is-error.spec.ts +33 -0
  8. package/src/is-error.ts +10 -0
  9. package/src/keyword-check.spec.ts +45 -4
  10. package/src/keyword-check.ts +5 -3
  11. package/src/parse-url.spec.ts +35 -0
  12. package/src/parse-url.ts +26 -0
  13. package/src/scraper.ts +338 -300
  14. package/src/types.ts +345 -258
  15. package/LICENSE +0 -21
  16. package/dist/debug.d.ts +0 -6
  17. package/dist/debug.js +0 -6
  18. package/dist/dom-evaluation.d.ts +0 -51
  19. package/dist/dom-evaluation.js +0 -147
  20. package/dist/events.d.ts +0 -32
  21. package/dist/events.js +0 -15
  22. package/dist/fetch-destination.d.ts +0 -8
  23. package/dist/fetch-destination.js +0 -145
  24. package/dist/index.d.ts +0 -4
  25. package/dist/index.js +0 -4
  26. package/dist/keyword-check.d.ts +0 -6
  27. package/dist/keyword-check.js +0 -15
  28. package/dist/net-timeout-error.d.ts +0 -3
  29. package/dist/net-timeout-error.js +0 -3
  30. package/dist/scraper.d.ts +0 -15
  31. package/dist/scraper.js +0 -621
  32. package/dist/sub-process-runner.d.ts +0 -12
  33. package/dist/sub-process-runner.js +0 -180
  34. package/dist/sub-process.d.ts +0 -1
  35. package/dist/sub-process.js +0 -67
  36. package/dist/types.d.ts +0 -271
  37. package/dist/types.js +0 -1
  38. package/dist/utils.d.ts +0 -16
  39. package/dist/utils.js +0 -69
  40. package/src/events.ts +0 -21
  41. package/src/fetch-destination.ts +0 -173
  42. package/src/net-timeout-error.ts +0 -3
  43. package/src/sub-process-runner.ts +0 -220
  44. package/src/sub-process.ts +0 -86
  45. package/src/utils.ts +0 -89
  46. package/tsconfig.tsbuildinfo +0 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,21 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.0.1](https://github.com/d-zero-dev/tools/compare/@d-zero/beholder@2.0.0...@d-zero/beholder@2.0.1) (2026-03-11)
7
+
8
+ **Note:** Version bump only for package @d-zero/beholder
9
+
10
+ # [2.0.0](https://github.com/d-zero-dev/tools/compare/@d-zero/beholder@0.1.29...@d-zero/beholder@2.0.0) (2026-02-26)
11
+
12
+ - feat(beholder)!: replace SubProcessRunner with in-process Scraper ([eaf2768](https://github.com/d-zero-dev/tools/commit/eaf276898d96dccf6b504b22b7c8f0234162e82e))
13
+
14
+ ### BREAKING CHANGES
15
+
16
+ - SubProcessRunner and related event types are removed.
17
+ Use the new Scraper class with scrapeStart(page, url) instead.
18
+
19
+ Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
20
+
6
21
  ## [0.1.29](https://github.com/d-zero-dev/tools/compare/@d-zero/beholder@0.1.28...@d-zero/beholder@0.1.29) (2026-02-24)
7
22
 
8
23
  **Note:** Version bump only for package @d-zero/beholder