@next-safe/middleware@0.5.0
·
101 commits
to main
since this release
Minor Changes
-
#15
e7b4193Thanks @nibtime! - better bundling config + bundling of external utils. Saves around ~100% size for_middleware- important for edge where limit is 1MB -
#15
e7b4193Thanks @nibtime! - provide an API handler for easy creation of a report procesing endpoint by Next/Vercel cloud function -
#17
b084027Thanks @nibtime! - providestrictInlineStylesmiddleware. Extenddist/documentto write out hashes of inline styles (Hash-based) or attach nonce to inline styles (Nonce-based). -
#17
b084027Thanks @nibtime! - addtellsupportedconfig option (a function) tostrictDynamic. Allows for strong customization of fallback behavior by parsed user agent.