-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Documentation is
- Outdated
Explain in Detail
The last two hashes listed in https://github.com/vitejs/vite/tree/main/packages/plugin-legacy#content-security-policy, which comes from
vite/packages/plugin-legacy/README.md
Lines 160 to 163 in 6c50119
| - `sha256-MS6/3FCg4WjP9gwgaBGwLpRCY6fZBgwmhVCdrPrNf3E=` | |
| - `sha256-tQjf8gvb2ROOMapIxFvFAYBeUJ0v1HCbOcSmDNXGtDo=` | |
| - `sha256-BoFUHKsYhJ9tbsHugtNQCmnkBbZ11pcW6kZguu+T+EU=` | |
| - `sha256-A18HC3jLpyEc9B8oyxq/NBFCyFBJFSsRLt0gmT9kft8=` |
The hashes returned from import { cspHashes } from '@vitejs/plugin-legacy' using v4.0.1:
[
'MS6/3FCg4WjP9gwgaBGwLpRCY6fZBgwmhVCdrPrNf3E=',
'tQjf8gvb2ROOMapIxFvFAYBeUJ0v1HCbOcSmDNXGtDo=',
'p7PoC97FO+Lu90RNjGWxhbm13yALSR4xzV8vaDhaQBo=',
'+5XkZFazzJo8n0iOP4ti/cLCMUudTf//Mzkb7xNPXIc='
]Your Suggestion for Changes
- Update the
README.mdfile in@vitejs/plugin-legacyto have correct hashes. - Should there also be added an automatic CI test that e.g. checks that the hashes in
cspHashesfrom@vitejs/plugin-legacyexists in theREADME.mdin order to ensure it does not get outdated again?
Reproduction
No response
Steps to reproduce
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation