Skip to content

Commit 4c7f7af

Browse files
hamzaydiaclaude
andauthored
fix: correct documentation inaccuracies (#1)
- Fix polyfill.io impact: 100K+ sites not 100M+ (per Sansec report) - Update SECURITY.md version table from 0.1.x to 1.0.x - Update SECURITY.md known limitations to reference v1.0 - Update examples/README.md: Next.js 15 -> 16, Vite 6 -> 7 https://claude.ai/code/session_015MUvU7bv3vAxkPkW4oUdGm Co-authored-by: Claude <noreply@anthropic.com>
1 parent 4481bd9 commit 4c7f7af

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Loading large files in the browser is painful:
4242

4343
1. **Memory explosion** - `crypto.subtle.digest()` buffers the entire file. 4GB AI model = 4GB+ RAM = browser crash.
4444
2. **No fail-fast** - Download 4GB, find corruption at the end, start over.
45-
3. **CDN compromises** - [polyfill.io](https://sansec.io/research/polyfill-supply-chain-attack) affected 100M+ sites.
45+
3. **CDN compromises** - [polyfill.io](https://sansec.io/research/polyfill-supply-chain-attack) affected 100K+ sites.
4646

4747
### The Solution
4848

SECURITY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
| Version | Supported |
66
| ------- | ------------------ |
7-
| 0.1.x | :white_check_mark: |
7+
| 1.0.x | :white_check_mark: |
88

99
## Reporting a Vulnerability
1010

@@ -55,5 +55,5 @@ When using VerifyFetch:
5555

5656
## Known Limitations
5757

58-
- v0.1 supports hash verification only (signature verification coming in v0.2)
58+
- v1.0 supports hash verification only (signature verification planned for future release)
5959
- SubtleCrypto fallback loads entire file into memory (use WASM for large files)

examples/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ This folder contains example projects demonstrating how to use VerifyFetch in di
77
| Example | Description | Technologies |
88
|---------|-------------|--------------|
99
| [node-cli](./node-cli/) | Command-line usage in Node.js | Node.js, ESM |
10-
| [next-app](./next-app/) | React app with custom hook | Next.js 15, React 19 |
11-
| [vite-app](./vite-app/) | Vanilla TypeScript web app | Vite 6, TypeScript |
10+
| [next-app](./next-app/) | React app with custom hook | Next.js 16, React 19 |
11+
| [vite-app](./vite-app/) | Vanilla TypeScript web app | Vite 7, TypeScript |
1212

1313
## Running the Examples
1414

0 commit comments

Comments
 (0)