Skip to content

Commit

Permalink
Minor: fix non-legacy values being under the "legacy" comment
Browse files Browse the repository at this point in the history
This change should have no user impact.
  • Loading branch information
EvanHahn committed May 6, 2023
1 parent 7452891 commit 8e14969
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -473,21 +473,21 @@ export {
originAgentCluster,
referrerPolicy,
strictTransportSecurity,
xContentTypeOptions,
xDnsPrefetchControl,
xDownloadOptions,
xFrameOptions,
xPoweredBy,
xXssProtection,

// Legacy aliases
strictTransportSecurity as hsts,
xContentTypeOptions,
xContentTypeOptions as noSniff,
xDnsPrefetchControl,
xDnsPrefetchControl as dnsPrefetchControl,
xDownloadOptions,
xDownloadOptions as ieNoOpen,
xFrameOptions,
xFrameOptions as frameguard,
xPermittedCrossDomainPolicies,
xPermittedCrossDomainPolicies as permittedCrossDomainPolicies,
xPoweredBy,
xPoweredBy as hidePoweredBy,
xXssProtection,
xXssProtection as xssFilter,
};

0 comments on commit 8e14969

Please sign in to comment.