From b178d729457d9adf2ce6415c5abf54b3aaae90b9 Mon Sep 17 00:00:00 2001 From: Amit Narwal Date: Thu, 22 Oct 2026 15:41:06 +0530 Subject: [PATCH 1/2] Prepare 1.2.0 - Version 1.2.0, its changelog entry, and the CDN pins and integrity hashes of its files in the README, llms.txt and the example. - The pin check covers every CDN address of the package, so the one in llms.txt can no longer fall behind. - Test workers start without NO_COLOR, which Node warned about beside the FORCE_COLOR Playwright gives every worker. Signed-off-by: Amit Narwal --- CHANGELOG.md | 2 +- README.md | 6 +++--- examples/html/index.html | 4 ++-- llms.txt | 2 +- package-lock.json | 4 ++-- package.json | 2 +- playwright.config.ts | 4 ++++ scripts/check-example.mjs | 20 +++++++++++++++++--- 8 files changed, 31 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bfeffb1..f6546d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ Svifa follows [semantic versioning](https://semver.org). -## Unreleased +## 1.2.0 ### Added diff --git a/README.md b/README.md index 0a41874..00cbc28 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ imports it as published, Yarn's Plug'n'Play mode included. Or load the script build, which sets `window.Svifa`: ```html - + ``` Pin the exact version in the address, as here: the `integrity` hash then makes the browser refuse any file that differs from the @@ -364,8 +364,8 @@ each page as it comes in. A script reaches the page's Svifa through the hidden e ### A plain page ```html - - + + diff --git a/examples/html/index.html b/examples/html/index.html index 0af82d9..54a1007 100644 --- a/examples/html/index.html +++ b/examples/html/index.html @@ -7,7 +7,7 @@ Svifa on a plain page - +