@networkpro/web 1.25.15 → 1.25.16
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.
- package/CHANGELOG.md +18 -1
- package/cspell.json +1 -0
- package/package.json +1 -1
- package/src/hooks.server.js +2 -2
- package/src/service-worker.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -22,6 +22,22 @@ This project attempts to follow [Keep a Changelog](https://keepachangelog.com/en
|
|
|
22
22
|
|
|
23
23
|
---
|
|
24
24
|
|
|
25
|
+
## [1.25.16] - 2025-11-18
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
|
|
29
|
+
- Removed `vercel-insights.com` from the `disallowedHosts` list in `service-worker.js`.
|
|
30
|
+
|
|
31
|
+
### Removed
|
|
32
|
+
|
|
33
|
+
- Removed `https://vercel-insights.com` from `script-src` and `connect-src` in `hooks.server.js`.
|
|
34
|
+
|
|
35
|
+
### Notes
|
|
36
|
+
|
|
37
|
+
- **Analytics:** Reverted Vercel Analytics integration due to inline script injection requirement. Continuing with PostHog Cloud until migration to CSP-compliant Matomo is feasible.
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
25
41
|
## [1.25.15] - 2025-11-18
|
|
26
42
|
|
|
27
43
|
### Added
|
|
@@ -1945,7 +1961,8 @@ This enables analytics filtering and CSP hardening for the audit environment.
|
|
|
1945
1961
|
|
|
1946
1962
|
<!-- Link references -->
|
|
1947
1963
|
|
|
1948
|
-
[Unreleased]: https://github.com/netwk-pro/netwk-pro.github.io/compare/v1.25.
|
|
1964
|
+
[Unreleased]: https://github.com/netwk-pro/netwk-pro.github.io/compare/v1.25.16...HEAD
|
|
1965
|
+
[1.25.16]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.25.16
|
|
1949
1966
|
[1.25.15]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.25.15
|
|
1950
1967
|
[1.25.14]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.25.14
|
|
1951
1968
|
[1.25.13]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.25.13
|
package/cspell.json
CHANGED
package/package.json
CHANGED
package/src/hooks.server.js
CHANGED
|
@@ -51,10 +51,10 @@ export async function handle({ event, resolve }) {
|
|
|
51
51
|
|
|
52
52
|
const cspDirectives = [
|
|
53
53
|
"default-src 'self';",
|
|
54
|
-
"script-src 'self' 'unsafe-inline' https://us.i.posthog.com https://us-assets.i.posthog.com
|
|
54
|
+
"script-src 'self' 'unsafe-inline' https://us.i.posthog.com https://us-assets.i.posthog.com;",
|
|
55
55
|
"style-src 'self' 'unsafe-inline';",
|
|
56
56
|
"img-src 'self' data:;",
|
|
57
|
-
"connect-src 'self' https://us.i.posthog.com https://us-assets.i.posthog.com
|
|
57
|
+
"connect-src 'self' https://us.i.posthog.com https://us-assets.i.posthog.com;",
|
|
58
58
|
"font-src 'self' data:;",
|
|
59
59
|
"form-action 'self';",
|
|
60
60
|
"base-uri 'self';",
|
package/src/service-worker.js
CHANGED
|
@@ -17,7 +17,6 @@ const isDev = location.hostname === 'localhost';
|
|
|
17
17
|
const disallowedHosts = [
|
|
18
18
|
'us.i.posthog.com', // Add PostHog to disallowed hosts
|
|
19
19
|
'posthog.com', // Add PostHog to disallowed hosts
|
|
20
|
-
'vercel-insights.com', // Add Vercel to disallowed hosts
|
|
21
20
|
];
|
|
22
21
|
|
|
23
22
|
import { build, files, version } from '$service-worker';
|