github remix-run/remix headers@1.1.0
headers v1.1.0

latest releases: ui@0.13.1, remix@3.2.0, static-middleware@1.0.2...
4 hours ago

Minor Changes

  • Build, parse, and edit a single policy with ContentSecurityPolicy, exported from the package root and content-security-policy subpath. Initializers use camel-cased directives, source token arrays, and a single endpoint string for reportTo; get, set, and delete use hyphenated names. (#12098)

    Parsing preserves the first duplicate directive and rejects policy lists. report-to requires exactly one HTTP token. Existing SuperHeaders CSP accessors retain their string API.

Don't miss a new remix release

NewReleases is sending notifications on new releases.