Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: microlinkhq/metascraper
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.54.1
Choose a base ref
...
head repository: microlinkhq/metascraper
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.55.0
Choose a head ref
  • 2 commits
  • 72 files changed
  • 2 contributors

Commits on Aug 9, 2026

  1. feat(helpers): pass propName to validate (#868)

    * feat(helpers): pass propName to validate
    
    `findRule` already receives the property it is resolving and used it only
    for a debug label. A validate could not see it, so a consumer gating on
    value shape had no way to scope itself — and the same bytes want opposite
    answers depending on the property: a script-bearing HTML document is a
    hostile `logo` candidate and the expected `url` result.
    
    Without it, callers substitute proxies. Comparing the value against the
    page URL stands in for "this is the url property", which mismatches both
    ways: a `logo` that happens to equal the page URL goes ungated, and a
    `url` rule returning a canonicalised variant gets rejected. Exempting a
    content type stands in for "this might be a page", which then applies to
    every property.
    
    `propName` rides on the options object, so the documented
    `(value, options, debug)` signature is unchanged and existing validates
    keep working. The object is built once per property rather than per
    candidate, and only when a validate is present.
    
    Co-Authored-By: Claude Opus 5 <[email protected]>
    Claude-Session: https://claude.ai/code/session_01YKVuh1R8HtB7SX7eKa7UsJ
    
    * Update index.js
    
    ---------
    
    Co-authored-by: Claude Opus 5 <[email protected]>
    Kikobeats and claude authored Aug 9, 2026
    Configuration menu
    Copy the full SHA
    8e0a75f View commit details
    Browse the repository at this point in the history
  2. chore(release): v5.55.0

    Kikobeats committed Aug 9, 2026
    Configuration menu
    Copy the full SHA
    c6fdffe View commit details
    Browse the repository at this point in the history
Loading