@networkpro/web 1.26.0 → 1.26.2
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/.github/ISSUE_TEMPLATE/config.yml +1 -1
- package/.github/workflows/lighthouse.yml +1 -2
- package/.node-version +1 -1
- package/.nvmrc +1 -1
- package/.vscode/settings.json +1 -1
- package/CHANGELOG.md +47 -1
- package/package.json +11 -11
- package/src/app.html +1 -1
- package/src/lib/pages/PrivacyContent.svelte +4 -4
- package/src/lib/pages/TermsUseContent.svelte +6 -7
- package/static/manifest.json +2 -15
- package/static/robots.txt +0 -1
- package/static/sitemap.xml +3 -3
- package/tests/unit/client/lib/unregisterServiceWorker.test.js +9 -1
- package/tests/unit/client/lib/utils/utm.test.js +8 -0
- package/tests/unit/server/lib/utils/purify.test.js +2 -2
|
@@ -10,7 +10,7 @@ contact_links:
|
|
|
10
10
|
|
|
11
11
|
- name: Commonly asked questions
|
|
12
12
|
url: https://stackoverflowteams.com/c/netwk-pro/questions
|
|
13
|
-
about: 'Ask and answer common questions on Stack
|
|
13
|
+
about: 'Ask and answer common questions on Stack Internal.'
|
|
14
14
|
|
|
15
15
|
- name: Contact Network Pro Strategies
|
|
16
16
|
url: https://netwk.pro/contact?utm_source=github
|
|
@@ -13,8 +13,6 @@ on:
|
|
|
13
13
|
branches: [master]
|
|
14
14
|
workflow_dispatch:
|
|
15
15
|
|
|
16
|
-
# cspell:ignore tostring
|
|
17
|
-
|
|
18
16
|
# Sets permissions of the GITHUB_TOKEN to allow read access to repo and write
|
|
19
17
|
# permission for PRs for comment summary
|
|
20
18
|
permissions:
|
|
@@ -160,3 +158,4 @@ jobs:
|
|
|
160
158
|
path: .lighthouseci/
|
|
161
159
|
include-hidden-files: true
|
|
162
160
|
if-no-files-found: error
|
|
161
|
+
# cspell:ignore tostring
|
package/.node-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
24.
|
|
1
|
+
24.13.0
|
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
24.
|
|
1
|
+
24.13.0
|
package/.vscode/settings.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"eslint.workingDirectories": ["D:\\Netwk-Pro\\git\\netwk-pro.github.io"],
|
|
21
21
|
"eslint.validate": ["svelte", "javascript", "javascriptreact"],
|
|
22
22
|
"eslint.lintTask.enable": true,
|
|
23
|
-
"eslint.lintTask.options": ". --ext .mjs,.js,.svelte --config eslint.config.mjs",
|
|
23
|
+
"eslint.lintTask.options": ". --ext .mjs,.js,.cjs,.svelte --config eslint.config.mjs",
|
|
24
24
|
"eslint.useESLintClass": true,
|
|
25
25
|
"eslint.useFlatConfig": true,
|
|
26
26
|
"eslint.codeActionsOnSave.mode": "problems",
|
package/CHANGELOG.md
CHANGED
|
@@ -24,6 +24,50 @@ version increments reflecting both user-visible and operational impact.
|
|
|
24
24
|
|
|
25
25
|
---
|
|
26
26
|
|
|
27
|
+
## [1.26.2] - 2026-01-17
|
|
28
|
+
|
|
29
|
+
### Changed
|
|
30
|
+
|
|
31
|
+
- Updated generator metadata in `src/app.html` to reflect **SvelteKit 2.50.0**.
|
|
32
|
+
- Updated `.nvmrc` and `.node-version` to utilize **Node.js** `v24.13.0`.
|
|
33
|
+
- Bumped project version to `v1.26.2`.
|
|
34
|
+
- Updated dependencies:
|
|
35
|
+
- `@sveltejs/kit` `2.49.5` → `2.50.0`
|
|
36
|
+
- `posthog-js` `^1.323.0` → `^1.327.0`
|
|
37
|
+
- `eslint-plugin-jsdoc` `^62.0.0` → `^62.0.1`
|
|
38
|
+
|
|
39
|
+
### Security
|
|
40
|
+
|
|
41
|
+
- Updated transitive dependency override to address reported vulnerabilities:
|
|
42
|
+
- `tar@7.5.2` → `tar@7.5.3` (addresses CVE-2026-23745).
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## [1.26.1] - 2026-01-15
|
|
47
|
+
|
|
48
|
+
### Changed
|
|
49
|
+
|
|
50
|
+
- Updated generator metadata in `src/app.html` to reflect **SvelteKit 2.49.5**.
|
|
51
|
+
- Updated `static/manifest.json` to better reflect the company's current mission, focus, and messaging.
|
|
52
|
+
- Updated timestamps in `sitemap.xml`.
|
|
53
|
+
- Minor edits made to `PrivacyContent.svelte` and `TermsUseContent.svelte` for clarity and accuracy.
|
|
54
|
+
- Bumped project version to `v1.26.1`.
|
|
55
|
+
- Updated dependencies:
|
|
56
|
+
- `@sveltejs/kit` `2.49.4` → `2.49.5`
|
|
57
|
+
- `@vitest/coverage-v8` `4.0.16` → `4.0.17`
|
|
58
|
+
- `svelte` `5.46.1` → `5.46.4`
|
|
59
|
+
- `vitest` `4.0.16` → `4.0.17`
|
|
60
|
+
- `posthog-js` `^1.318.1` → `^1.323.0`
|
|
61
|
+
- `prettier` `3.7.4` → `3.8.0`
|
|
62
|
+
- `stylelint` `^16.26.1` → `^17.0.0`
|
|
63
|
+
- `stylelint-config-recommended` `^17.0.0` → `^18.0.0`
|
|
64
|
+
|
|
65
|
+
### Security
|
|
66
|
+
|
|
67
|
+
- Updated `@sveltejs/kit` to `2.49.5`, in order to address CVE-2026-22803.
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
27
71
|
## [1.26.0] - 2026-01-10
|
|
28
72
|
|
|
29
73
|
### Changed
|
|
@@ -2199,7 +2243,9 @@ This enables analytics filtering and CSP hardening for the audit environment.
|
|
|
2199
2243
|
|
|
2200
2244
|
<!-- Link references -->
|
|
2201
2245
|
|
|
2202
|
-
[Unreleased]: https://github.com/netwk-pro/netwk-pro.github.io/compare/v1.26.
|
|
2246
|
+
[Unreleased]: https://github.com/netwk-pro/netwk-pro.github.io/compare/v1.26.2...HEAD
|
|
2247
|
+
[1.26.2]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.26.2
|
|
2248
|
+
[1.26.1]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.26.1
|
|
2203
2249
|
[1.26.0]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.26.0
|
|
2204
2250
|
[1.25.24]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.25.24
|
|
2205
2251
|
[1.25.23]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.25.23
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@networkpro/web",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.26.
|
|
4
|
+
"version": "1.26.2",
|
|
5
5
|
"description": "Locking Down Networks, Unlocking Confidence™ | Security, Networking, Privacy — Network Pro Strategies",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"advocacy",
|
|
@@ -88,9 +88,9 @@
|
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
90
|
"dompurify": "^3.3.1",
|
|
91
|
-
"posthog-js": "^1.
|
|
91
|
+
"posthog-js": "^1.327.0",
|
|
92
92
|
"semver": "^7.7.3",
|
|
93
|
-
"svelte": "5.46.
|
|
93
|
+
"svelte": "5.46.4"
|
|
94
94
|
},
|
|
95
95
|
"devDependencies": {
|
|
96
96
|
"@eslint/compat": "^2.0.1",
|
|
@@ -99,16 +99,16 @@
|
|
|
99
99
|
"@playwright/test": "^1.57.0",
|
|
100
100
|
"@sveltejs/adapter-netlify": "^5.2.4",
|
|
101
101
|
"@sveltejs/adapter-vercel": "^6.3.0",
|
|
102
|
-
"@sveltejs/kit": "2.
|
|
102
|
+
"@sveltejs/kit": "2.50.0",
|
|
103
103
|
"@sveltejs/vite-plugin-svelte": "^6.2.4",
|
|
104
104
|
"@testing-library/jest-dom": "^6.9.1",
|
|
105
105
|
"@testing-library/svelte": "^5.3.1",
|
|
106
|
-
"@vitest/coverage-v8": "4.0.
|
|
106
|
+
"@vitest/coverage-v8": "4.0.17",
|
|
107
107
|
"autoprefixer": "^10.4.23",
|
|
108
108
|
"browserslist": "^4.28.1",
|
|
109
109
|
"eslint": "^9.39.2",
|
|
110
110
|
"eslint-config-prettier": "^10.1.8",
|
|
111
|
-
"eslint-plugin-jsdoc": "^62.0.
|
|
111
|
+
"eslint-plugin-jsdoc": "^62.0.1",
|
|
112
112
|
"eslint-plugin-svelte": "^3.14.0",
|
|
113
113
|
"globals": "^17.0.0",
|
|
114
114
|
"globby": "^16.1.0",
|
|
@@ -119,12 +119,12 @@
|
|
|
119
119
|
"npm-run-all": "^4.1.5",
|
|
120
120
|
"playwright": "^1.57.0",
|
|
121
121
|
"postcss": "^8.5.6",
|
|
122
|
-
"prettier": "3.
|
|
122
|
+
"prettier": "3.8.0",
|
|
123
123
|
"prettier-plugin-svelte": "^3.4.1",
|
|
124
124
|
"simple-git-hooks": "^2.13.1",
|
|
125
|
-
"stylelint": "^
|
|
125
|
+
"stylelint": "^17.0.0",
|
|
126
126
|
"stylelint-config-html": "^1.1.0",
|
|
127
|
-
"stylelint-config-recommended": "^
|
|
127
|
+
"stylelint-config-recommended": "^18.0.0",
|
|
128
128
|
"stylelint-order": "^7.0.1",
|
|
129
129
|
"svelte-check": "^4.3.5",
|
|
130
130
|
"svelte-eslint-parser": "^1.4.1",
|
|
@@ -134,14 +134,14 @@
|
|
|
134
134
|
"vite-plugin-devtools-json": "^1.0.0",
|
|
135
135
|
"vite-plugin-lightningcss": "^0.0.5",
|
|
136
136
|
"vite-tsconfig-paths": "^6.0.4",
|
|
137
|
-
"vitest": "4.0.
|
|
137
|
+
"vitest": "4.0.17"
|
|
138
138
|
},
|
|
139
139
|
"overrides": {
|
|
140
140
|
"cookie": "^1.0.0",
|
|
141
141
|
"glob": "^11.1.0",
|
|
142
142
|
"js-yaml": "^4.1.1",
|
|
143
143
|
"qs": "^6.14.1",
|
|
144
|
-
"tar": "^7.5.
|
|
144
|
+
"tar": "^7.5.3",
|
|
145
145
|
"tmp": "^0.2.4"
|
|
146
146
|
}
|
|
147
147
|
}
|
package/src/app.html
CHANGED
|
@@ -55,7 +55,7 @@ This file is part of Network Pro.
|
|
|
55
55
|
];
|
|
56
56
|
|
|
57
57
|
/** @type {string} */
|
|
58
|
-
const effectiveDate = '
|
|
58
|
+
const effectiveDate = 'January 11, 2026';
|
|
59
59
|
|
|
60
60
|
/** @type {string} */
|
|
61
61
|
const classSmall = 'small-text';
|
|
@@ -164,15 +164,15 @@ This file is part of Network Pro.
|
|
|
164
164
|
the privacy of clients and website visitors. This Privacy Policy outlines
|
|
165
165
|
how we collect, use, and safeguard your information when you interact with
|
|
166
166
|
our website or services, consistent with applicable U.S. federal law and Arizona
|
|
167
|
-
law, including
|
|
167
|
+
law, including
|
|
168
168
|
<strong>
|
|
169
169
|
<a
|
|
170
170
|
rel={PAGE.REL}
|
|
171
171
|
href="https://www.azleg.gov/arstitle"
|
|
172
172
|
target={PAGE.BLANK}>
|
|
173
|
-
|
|
173
|
+
A.R.S.
|
|
174
174
|
</a>
|
|
175
|
-
</strong>
|
|
175
|
+
</strong> §§ 18-551, 18-552.
|
|
176
176
|
</p>
|
|
177
177
|
{:else if link.id === 'collect'}
|
|
178
178
|
<ul>
|
|
@@ -63,7 +63,7 @@ This file is part of Network Pro.
|
|
|
63
63
|
* @type {{ effectiveDate: string, classSmall: string }}
|
|
64
64
|
*/
|
|
65
65
|
const constants = {
|
|
66
|
-
effectiveDate: '
|
|
66
|
+
effectiveDate: 'January 11, 2026',
|
|
67
67
|
classSmall: 'small-text',
|
|
68
68
|
};
|
|
69
69
|
</script>
|
|
@@ -81,7 +81,7 @@ This file is part of Network Pro.
|
|
|
81
81
|
</section>
|
|
82
82
|
|
|
83
83
|
<section id="page-title">
|
|
84
|
-
<h1>
|
|
84
|
+
<h1>Terms of Use</h1>
|
|
85
85
|
<p>
|
|
86
86
|
<strong>{COMPANY_INFO.NAME}</strong><br />
|
|
87
87
|
<strong>Effective Date:</strong>
|
|
@@ -130,7 +130,7 @@ This file is part of Network Pro.
|
|
|
130
130
|
|
|
131
131
|
{#if link.id === 'introduction'}
|
|
132
132
|
<p>
|
|
133
|
-
|
|
133
|
+
By accessing or using any of the platforms operated by {COMPANY_INFO.NAME}
|
|
134
134
|
("Company," "we," "us," or "our"), you agree to be bound by these Terms of
|
|
135
135
|
Use ("Terms"). If you do not agree to these Terms, please refrain from using
|
|
136
136
|
our services.
|
|
@@ -140,10 +140,9 @@ This file is part of Network Pro.
|
|
|
140
140
|
These Terms of Use apply to all platforms associated with the Company,
|
|
141
141
|
including but not limited to:
|
|
142
142
|
<strong>
|
|
143
|
-
GitHub, our
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
platforms).
|
|
143
|
+
GitHub, our websites (hosted via Vercel), Stack Internal, Nextcloud,
|
|
144
|
+
communications on Discord, and our social media presence (e.g.,
|
|
145
|
+
Facebook, Instagram, X, and similar platforms).
|
|
147
146
|
</strong>
|
|
148
147
|
</p>
|
|
149
148
|
{:else if link.id === 'acceptable-use'}
|
package/static/manifest.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"scope": "/",
|
|
5
5
|
"name": "Network Pro Strategies",
|
|
6
6
|
"short_name": "Network Pro™",
|
|
7
|
-
"description": "
|
|
7
|
+
"description": "Explore practical cybersecurity, resilient infrastructure, and digital privacy research from Network Pro Strategies. This app provides access to our hands-on work, technical writing, educational resources, and select consulting offerings—focused on real-world systems, responsible security, and purposeful design.",
|
|
8
8
|
"lang": "en-US",
|
|
9
9
|
"dir": "ltr",
|
|
10
10
|
"display": "standalone",
|
|
@@ -68,19 +68,6 @@
|
|
|
68
68
|
}
|
|
69
69
|
],
|
|
70
70
|
"shortcuts": [
|
|
71
|
-
{
|
|
72
|
-
"name": "On-Site Services",
|
|
73
|
-
"short_name": "Services",
|
|
74
|
-
"description": "Explore the services we offer",
|
|
75
|
-
"url": "/services?utm_source=shortcut",
|
|
76
|
-
"icons": [
|
|
77
|
-
{
|
|
78
|
-
"src": "/icon-services.png",
|
|
79
|
-
"sizes": "96x96",
|
|
80
|
-
"type": "image/png"
|
|
81
|
-
}
|
|
82
|
-
]
|
|
83
|
-
},
|
|
84
71
|
{
|
|
85
72
|
"name": "About Us",
|
|
86
73
|
"short_name": "About",
|
|
@@ -97,7 +84,7 @@
|
|
|
97
84
|
{
|
|
98
85
|
"name": "Contact Us",
|
|
99
86
|
"short_name": "Contact",
|
|
100
|
-
"description": "
|
|
87
|
+
"description": "Get in touch",
|
|
101
88
|
"url": "/contact?utm_source=shortcut",
|
|
102
89
|
"icons": [
|
|
103
90
|
{
|
package/static/robots.txt
CHANGED
package/static/sitemap.xml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!-- Sitemap last updated 2026-01-
|
|
2
|
+
<!-- Sitemap last updated 2026-01-11 -->
|
|
3
3
|
|
|
4
4
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
|
5
5
|
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
|
|
56
56
|
<loc>https://netwk.pro/privacy</loc>
|
|
57
57
|
|
|
58
|
-
<lastmod>
|
|
58
|
+
<lastmod>2026-01-11</lastmod>
|
|
59
59
|
|
|
60
60
|
<changefreq>monthly</changefreq>
|
|
61
61
|
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
|
|
80
80
|
<loc>https://netwk.pro/terms-of-use</loc>
|
|
81
81
|
|
|
82
|
-
<lastmod>
|
|
82
|
+
<lastmod>2026-01-11</lastmod>
|
|
83
83
|
|
|
84
84
|
<changefreq>monthly</changefreq>
|
|
85
85
|
|
|
@@ -6,8 +6,16 @@ SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
|
6
6
|
This file is part of Network Pro.
|
|
7
7
|
========================================================================== */
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* @file unregisterServiceWorker.test.js
|
|
11
|
+
* @description Unit test for unregisterServiceWorker.js
|
|
12
|
+
* @module tests/unit/client/lib
|
|
13
|
+
* @author Scott Lopez
|
|
14
|
+
* @updated 2026-01-15
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import { unregisterServiceWorker } from '$lib/unregisterServiceWorker.js';
|
|
9
18
|
import { beforeEach, describe, expect, it, vi } from 'vitest';
|
|
10
|
-
import { unregisterServiceWorker } from '../../../../src/lib/unregisterServiceWorker.js';
|
|
11
19
|
|
|
12
20
|
describe('unregisterServiceWorker()', () => {
|
|
13
21
|
beforeEach(() => {
|
|
@@ -6,6 +6,14 @@ SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
|
6
6
|
This file is part of Network Pro.
|
|
7
7
|
========================================================================== */
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* @file utm.test.js
|
|
11
|
+
* @description Unit test for UTM parameters
|
|
12
|
+
* @module tests/unit/client/lib/utils
|
|
13
|
+
* @author Scott Lopez
|
|
14
|
+
* @updated 2026-01-15
|
|
15
|
+
*/
|
|
16
|
+
|
|
9
17
|
// Mock SvelteKit environment and store
|
|
10
18
|
vi.mock('$app/environment', () => ({ browser: true }));
|
|
11
19
|
|
|
@@ -11,11 +11,11 @@ This file is part of Network Pro.
|
|
|
11
11
|
* @description Unit test for src/lib/utils/purify.js
|
|
12
12
|
* @module tests/unit/lib/util
|
|
13
13
|
* @author Scott Lopez
|
|
14
|
-
* @updated
|
|
14
|
+
* @updated 2026-01-15
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
+
import { sanitizeHtml } from '$lib/utils/purify.js';
|
|
17
18
|
import { describe, expect, it } from 'vitest';
|
|
18
|
-
import { sanitizeHtml } from '../../../../../src/lib/utils/purify.js';
|
|
19
19
|
|
|
20
20
|
describe('sanitizeHtml', () => {
|
|
21
21
|
it('removes dangerous tags like <script>', async () => {
|