kindspells / astro-shield

Astro integration to enhance your website's security with SubResource Integrity hashes, Content-Security-Policy headers, and other techniques.
https://astro-shield.kindspells.dev
MIT License
57 stars 6 forks source link

feat: smaller package #98

Closed castarco closed 2 months ago

castarco commented 2 months ago

This PR reduces the size of the package (uncompressed) from 140KB to 98KB.

socket-security[bot] commented 2 months ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@biomejs/biome@1.9.0 None 0 196 kB conaclos, dominionl, ematipico, ...1 more
npm/@types/node@22.5.5 None 0 2.2 MB types
npm/@vitest/coverage-v8@2.1.1 Transitive: environment, filesystem +15 6.54 MB antfu, oreanno, patak, ...1 more
npm/astro@4.15.6 Transitive: environment, filesystem, network, shell, unsafe +51 31.4 MB fredkschott, matthewp, natemoo-re
npm/get-tsconfig@4.8.1 filesystem 0 105 kB hirokiosame

🚮 Removed packages: npm/@biomejs/biome@1.8.3, npm/@types/node@22.5.4, npm/@vitest/coverage-v8@2.0.5, npm/astro@4.15.4, npm/get-tsconfig@4.8.0, npm/publint@0.2.10, npm/rollup-plugin-dts@6.1.1, npm/rollup-plugin-esbuild@6.1.1, npm/rollup@4.21.3, npm/sharp@0.33.5, npm/sst@3.1.7, npm/typescript@5.6.2, npm/vite@5.4.4, npm/vitest@2.0.5

View full report↗︎