spark-html-sri 0.1.3 → 1.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -3
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -92,18 +92,19 @@ sriPlugin({ algorithm: 'sha384' }); // 'sha256' | 'sha384' | 'sha512'
92
92
 
93
93
  ## Why not put this in the core?
94
94
 
95
- The spark-html runtime has a frozen 13 kB budget. Verification lives here
95
+ The spark-html runtime has a frozen 15 kB budget. Verification lives here
96
96
  instead, as an opt-in wrapper around `fetch` — projects that don't use SRI
97
97
  pay zero bytes, and the core stays tiny.
98
98
 
99
99
  ## The Spark family
100
100
 
101
101
  Small, single-purpose packages that share one philosophy: no compiler, no
102
- virtual DOM, no build step required. Add only what you use.
102
+ virtual DOM, no build step required built for humans who love hand-writing
103
+ their web apps. Add only what you use.
103
104
 
104
105
  | Package | What it does |
105
106
  |---|---|
106
- | [`spark-html`](https://www.npmjs.com/package/spark-html) | The runtime — components, reactivity, stores, forms, scoped styles. 13 kB gzip, 0 deps. |
107
+ | [`spark-html`](https://www.npmjs.com/package/spark-html) | The runtime — components, reactivity, stores, forms, scoped styles. ~14.4 kB gzip, 0 deps. |
107
108
  | [`spark-html-bun`](https://www.npmjs.com/package/spark-html-bun) | Dev server, bundler & preview on Bun — scoped HMR, no-build dev, post-build pipeline. |
108
109
  | [`spark-html-router`](https://www.npmjs.com/package/spark-html-router) | `<template route>` routing — nested routes/layouts, `route.query`, active links. |
109
110
  | [`spark-html-theme`](https://www.npmjs.com/package/spark-html-theme) | Dark/light/system theming in one line — persisted, no flash. |
@@ -114,6 +115,7 @@ virtual DOM, no build step required. Add only what you use.
114
115
  | [`spark-html-persist`](https://www.npmjs.com/package/spark-html-persist) | Persist stores to localStorage/sessionStorage in one line. |
115
116
  | [`spark-html-websocket`](https://www.npmjs.com/package/spark-html-websocket) | A WebSocket as a reactive store — auto-reconnect, JSON, `send()`. |
116
117
  | [`spark-prerender`](https://www.npmjs.com/package/spark-prerender) | Build-time SEO prerender + sitemap/robots — no SSR server. |
118
+ | [`spark-ssr`](https://www.npmjs.com/package/spark-ssr) | Full-stack SSR on Bun — the template is the backend: inferred DB, REST CRUD, auth, live updates. Precompiled + response-cached: fast by default. |
117
119
  | [`spark-html-image`](https://www.npmjs.com/package/spark-html-image) | Build-time image optimization — webp/avif + responsive `srcset`, zero config. |
118
120
  | [`spark-html-font`](https://www.npmjs.com/package/spark-html-font) | Font loading optimizer — preload + size-adjusted fallbacks, no FOUT. |
119
121
  | [`spark-html-manifest`](https://www.npmjs.com/package/spark-html-manifest) | PWA manifest + icons + head tags (and optional service worker) from one config. |
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "spark-html-sri",
3
- "version": "0.1.3",
3
+ "version": "1.0.0-rc.1",
4
4
  "description": "Subresource Integrity for spark-html — auto-hash built assets and components, verify at runtime, and make URL-imported components safe with an origin allow list + trust-on-first-use. Zero dependencies.",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
7
7
  "types": "./src/index.d.ts",
8
- "homepage": "https://wilkinnovo.github.io/spark",
8
+ "homepage": "https://wilkinnovo.github.io/spark-html",
9
9
  "exports": {
10
10
  ".": {
11
11
  "types": "./src/index.d.ts",
@@ -23,7 +23,7 @@
23
23
  ],
24
24
  "repository": {
25
25
  "type": "git",
26
- "url": "git+https://github.com/wilkinnovo/spark.git",
26
+ "url": "git+https://github.com/wilkinnovo/spark-html.git",
27
27
  "directory": "packages/spark-html-sri"
28
28
  },
29
29
  "keywords": [