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
58 stars 6 forks source link

refactor: switch to typescript #92

Closed castarco closed 2 months ago

castarco commented 2 months ago

This is a long overdue change. Switching to TypeScript (instead of JSDoc) will allow us to write better and safer code from now on.

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/@types/node@22.5.4 None +1 2.29 MB types
npm/@vitest/coverage-v8@2.0.5 Transitive: environment, filesystem, shell +64 10.6 MB vitestbot
npm/get-tsconfig@4.8.0 filesystem +1 120 kB hirokiosame
npm/rollup-plugin-dts@6.1.1 environment, unsafe +2 777 kB swatinem
npm/rollup-plugin-esbuild@6.1.1 filesystem Transitive: environment, network, shell +8 522 kB egoist
npm/vitest@2.0.5 environment, eval Transitive: filesystem, shell, unsafe +52 4.7 MB vitestbot

🚮 Removed packages: npm/@types/node@20.16.5, npm/@vitest/coverage-v8@1.6.0, npm/vitest@1.6.0

View full report↗︎