@networkpro/web 1.26.1 → 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 +21 -1
- package/package.json +5 -5
- package/src/app.html +1 -1
- package/static/robots.txt +0 -1
- 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,25 @@ 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
|
+
|
|
27
46
|
## [1.26.1] - 2026-01-15
|
|
28
47
|
|
|
29
48
|
### Changed
|
|
@@ -2224,7 +2243,8 @@ This enables analytics filtering and CSP hardening for the audit environment.
|
|
|
2224
2243
|
|
|
2225
2244
|
<!-- Link references -->
|
|
2226
2245
|
|
|
2227
|
-
[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
|
|
2228
2248
|
[1.26.1]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.26.1
|
|
2229
2249
|
[1.26.0]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.26.0
|
|
2230
2250
|
[1.25.24]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.25.24
|
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,7 +88,7 @@
|
|
|
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
93
|
"svelte": "5.46.4"
|
|
94
94
|
},
|
|
@@ -99,7 +99,7 @@
|
|
|
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",
|
|
@@ -108,7 +108,7 @@
|
|
|
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",
|
|
@@ -141,7 +141,7 @@
|
|
|
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
package/static/robots.txt
CHANGED
|
@@ -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 () => {
|