Skip to content

Releases: kindspells/astro-shield

0.2.1

11 Feb 09:31
ac88392
Compare
Choose a tag to compare

Improvements

  • Now there is no need to pass the dist path to the integration function
  • Better documentation
  • Better types

Breaking Changes

  • Now parameters are passed as an options object instead of individual ordered values

0.1.7 - First Public Release

10 Feb 23:30
011ca07
Compare
Choose a tag to compare

What does this lib does?

  • Transforms Astro's generated HTML files to add Subresource Integrity hashes to inlined scripts and styles.
  • Generates a JS module that exports the list of script and styles hashes, so they can be used to generate CSP headers.