Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not warn when application/ld+json scripts are used with next/head #34021

Merged
merged 2 commits into from Feb 5, 2022

Commits on Feb 5, 2022

  1. Do not warn when application/ld+json scripts are used with next/head

    In vercel#33968, a warning was added for script tags inserted through the
    next/head component. This change unintentionally included
    application/ld+json scripts, which shouldn't be triggering the
    warnings (as they were originally intended to catch scripts where
    loading order or timing could be important). This change adds an
    exception for application/ld+json scripts, so they do not log the
    warning if they are included through next/head.
    kara committed Feb 5, 2022
    Copy the full SHA
    9c0e4fc View commit details
    Browse the repository at this point in the history
  2. Merge branch 'canary' into json

    ijjk committed Feb 5, 2022
    Copy the full SHA
    2136ffa View commit details
    Browse the repository at this point in the history