@networkpro/web 1.26.4 → 1.26.6

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.
@@ -0,0 +1,38 @@
1
+ # .github/workflows/deploy-audit-netlify.yml
2
+ #
3
+ # Copyright © 2025 Network Pro Strategies (Network Pro™)
4
+ # SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
5
+ # This file is part of Network Pro
6
+
7
+ name: Deploy Audit to Netlify
8
+
9
+ on:
10
+ push:
11
+ branches:
12
+ - audit-netlify
13
+ workflow_dispatch: {}
14
+
15
+ permissions:
16
+ contents: read
17
+
18
+ jobs:
19
+ deploy:
20
+ runs-on: ubuntu-24.04
21
+ env:
22
+ ENV_MODE: audit
23
+ PUBLIC_ENV_MODE: audit
24
+
25
+ steps:
26
+ - uses: actions/checkout@v6
27
+
28
+ - uses: actions/setup-node@v6
29
+ with:
30
+ node-version: 22
31
+ cache: npm
32
+ cache-dependency-path: package-lock.json
33
+
34
+ - name: Install Dependencies
35
+ run: npm ci
36
+
37
+ - name: Build in Audit Mode
38
+ run: npm run build:audit
package/.ncurc.cjs CHANGED
@@ -31,7 +31,7 @@ This file is part of Network Pro.
31
31
  /** @type {import('npm-check-updates').RunOptions} */
32
32
  module.exports = {
33
33
  // Ignore specific dependencies (prevent upgrades)
34
- reject: [],
34
+ reject: ['prettier'],
35
35
 
36
36
  // Always upgrade devDependencies as well
37
37
  dep: 'prod,dev',
package/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- <!-- =====================================================================
1
+ <!-- =====================================================================
2
2
  CHANGELOG.md
3
3
 
4
4
  Copyright © 2025-2026-2026 Network Pro Strategies (Network Pro™)
@@ -24,6 +24,40 @@ version increments reflecting both user-visible and operational impact.
24
24
 
25
25
  ---
26
26
 
27
+ ## [1.26.6] - 2026-01-29
28
+
29
+ ### Changed
30
+
31
+ - Added Prettier to the `npm-check-updates` ignore list (`.ncurc.cjs`) for deterministic formatting changes.
32
+ - Updated the company name in `src/lib/pages/AboutContent.svelte` to the full, legal name.
33
+ - Updated the copyright statement in `src/lib/pages/LicenseContent.svelte` to use the full, legal company name.
34
+ - Updated the footer to display the full, legal company name.
35
+ - Bumped project version to `v1.26.6`.
36
+ - Updated dependencies:
37
+ - `globals` `^17.1.0` → `^17.2.0`
38
+ - `posthog-js` `^1.335.2` → `^1.336.2`
39
+ - `svelte` `5.48.2` → `5.49.0`
40
+
41
+ ### Security
42
+
43
+ - Pinned the `tar` package to `^7.5.7` in transitive dependencies, in order to address CVE-2026-24842.
44
+
45
+ ---
46
+
47
+ ## [1.26.5] - 2026-01-24
48
+
49
+ ### Added
50
+
51
+ - `scripts/hooks/pre-push.sh`: `simple-git-hooks` pre-push guard to prevent accidental pushes directly to `master`/`main` while preserving the existing `npm run checkout` pre-push behavior.
52
+
53
+ ### Changed
54
+
55
+ - `.github/workflows/deploy-audit-netlify.yml`: Added `workflow_dispatch` so the audit Netlify deployment can be triggered manually (e.g., when `audit-netlify` is already in sync and no new push occurs).
56
+ - `package.json`: Updated `simple-git-hooks` configuration to run `bash scripts/hooks/pre-push.sh` on `pre-push` (alongside the existing `pre-commit` hook).
57
+ - Bumped project version to `v1.26.5`.
58
+
59
+ ---
60
+
27
61
  ## [1.26.4] - 2026-01-24
28
62
 
29
63
  ### Added
@@ -2311,7 +2345,9 @@ This enables analytics filtering and CSP hardening for the audit environment.
2311
2345
 
2312
2346
  <!-- Link references -->
2313
2347
 
2314
- [Unreleased]: https://github.com/netwk-pro/netwk-pro.github.io/compare/v1.26.4...HEAD
2348
+ [Unreleased]: https://github.com/netwk-pro/netwk-pro.github.io/compare/v1.26.6...HEAD
2349
+ [1.26.6]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.26.6
2350
+ [1.26.5]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.26.5
2315
2351
  [1.26.4]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.26.4
2316
2352
  [1.26.3]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.26.3
2317
2353
  [1.26.2]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.26.2
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@networkpro/web",
3
3
  "private": false,
4
- "version": "1.26.4",
4
+ "version": "1.26.6",
5
5
  "description": "Locking Down Networks, Unlocking Confidence™ | Security, Networking, Privacy — Network Pro Strategies",
6
6
  "keywords": [
7
7
  "advocacy",
@@ -86,13 +86,13 @@
86
86
  },
87
87
  "simple-git-hooks": {
88
88
  "pre-commit": "if [ \"$CI\" = \"true\" ]; then exit 0; else npm run lint:all; fi",
89
- "pre-push": "if [ \"$CI\" = \"true\" ]; then exit 0; else npm run checkout; fi"
89
+ "pre-push": "bash scripts/hooks/pre-push.sh"
90
90
  },
91
91
  "dependencies": {
92
92
  "dompurify": "^3.3.1",
93
- "posthog-js": "^1.335.2",
93
+ "posthog-js": "^1.336.2",
94
94
  "semver": "^7.7.3",
95
- "svelte": "5.48.2"
95
+ "svelte": "5.49.0"
96
96
  },
97
97
  "devDependencies": {
98
98
  "@eslint/compat": "^2.0.1",
@@ -112,7 +112,7 @@
112
112
  "eslint-config-prettier": "^10.1.8",
113
113
  "eslint-plugin-jsdoc": "^62.4.1",
114
114
  "eslint-plugin-svelte": "^3.14.0",
115
- "globals": "^17.1.0",
115
+ "globals": "^17.2.0",
116
116
  "globby": "^16.1.0",
117
117
  "jsdom": "27.4.0",
118
118
  "lightningcss": "^1.31.1",
@@ -144,7 +144,7 @@
144
144
  "js-yaml": "^4.1.1",
145
145
  "lodash": "^4.17.23",
146
146
  "qs": "^6.14.1",
147
- "tar": "^7.5.6",
147
+ "tar": "^7.5.7",
148
148
  "tmp": "^0.2.4"
149
149
  }
150
150
  }
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env bash
2
+ #
3
+ # Copyright © 2025-2026 Network Pro Strategies (Network Pro™)
4
+ # SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
5
+ # This file is part of Network Pro
6
+ set -e
7
+
8
+ # Don't run local hooks in CI
9
+ [ "${CI:-}" = "true" ] && exit 0
10
+
11
+ branch="$(git rev-parse --abbrev-ref HEAD)"
12
+ if [[ "$branch" == "master" || "$branch" == "main" ]]; then
13
+ echo "❌ Refusing to push directly to $branch (use a PR)."
14
+ exit 1
15
+ fi
16
+
17
+ # Existing behavior
18
+ npm run checkout
@@ -14,8 +14,6 @@ This file is part of Network Pro.
14
14
  // Log the base path to verify its value
15
15
  //console.log("Base path:", base);
16
16
 
17
- //console.log(CONSTANTS.COMPANY_INFO.APP_NAME);
18
-
19
17
  const { COMPANY_INFO, CONTACT, PAGE, NAV } = CONSTANTS;
20
18
 
21
19
  // Dynamic links for licensing and trademark
@@ -26,6 +24,9 @@ This file is part of Network Pro.
26
24
  /** @type {string} */
27
25
  const creatorUrl = 'https://netwk.pro';
28
26
 
27
+ /** @type {string} */
28
+ const businessName = 'Network Pro Strategies, LLC';
29
+
29
30
  /** @type {string} */
30
31
  const creatorSlogan = 'Locking Down Networks...';
31
32
 
@@ -96,7 +97,7 @@ This file is part of Network Pro.
96
97
  property="cc:attributionName"
97
98
  href={creatorUrl}
98
99
  target={PAGE.BLANK}>
99
- <strong>{COMPANY_INFO.NAME}</strong>
100
+ <strong>{businessName}</strong>
100
101
  </a>
101
102
  ({COMPANY_INFO.APP_NAME})
102
103
  </p>
@@ -106,7 +107,7 @@ This file is part of Network Pro.
106
107
  {COMPANY_INFO.APP_NAME}, the shield logo, and the "{creatorSlogan}&trade;"
107
108
  slogan are
108
109
  <a href={trademarkLink} target={PAGE.SELF}>trademarks</a>
109
- of {COMPANY_INFO.NAME}.
110
+ of {businessName}.
110
111
  </p>
111
112
 
112
113
  <!-- Licensing Section -->
@@ -210,7 +210,7 @@ This file is part of Network Pro.
210
210
  </p>
211
211
 
212
212
  <p>
213
- <strong>{COMPANY_INFO.NAME}</strong><br />
213
+ <strong>Network Pro Strategies, LLC</strong><br />
214
214
  📞 Phone: {CONTACT.PHONE}<br />
215
215
  📧 General Inquiries:
216
216
  <a href={`mailto:${CONTACT.EMAIL_LINK}`} target={PAGE.BLANK}>
@@ -14,8 +14,6 @@ This file is part of Network Pro.
14
14
  // Log the base path to verify its value
15
15
  //console.log("Base path:", base);
16
16
 
17
- //console.log(CONSTANTS.COMPANY_INFO.APP_NAME);
18
-
19
17
  const { COMPANY_INFO, CONTACT, PAGE, LINKS, NAV } = CONSTANTS;
20
18
 
21
19
  /**
@@ -65,7 +63,7 @@ This file is part of Network Pro.
65
63
  * @type {{ effectiveDate: string, classSmall: string }}
66
64
  */
67
65
  const constants = {
68
- effectiveDate: 'June 4, 2025',
66
+ effectiveDate: 'January 29, 2026',
69
67
  classSmall: 'small-text',
70
68
  };
71
69
  </script>
@@ -133,7 +131,9 @@ This file is part of Network Pro.
133
131
  <p>
134
132
  Copyright &copy; {COMPANY_INFO.YEAR}
135
133
  <strong>
136
- <a href={homeLink} target={PAGE.BLANK}> {COMPANY_INFO.NAME} </a>
134
+ <a href={homeLink} target={PAGE.BLANK}>
135
+ Network Pro Strategies, LLC
136
+ </a>
137
137
  </strong>
138
138
  ({COMPANY_INFO.APP_NAME})
139
139
  </p>