@networkpro/web 1.25.8 β†’ 1.25.10

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/.env.template CHANGED
@@ -5,7 +5,7 @@
5
5
  # Rename to `.env` (or `.env.local`) and customize as needed
6
6
 
7
7
  # Custom environment mode for scripts and tooling
8
- # One of: dev, test, ci, preview, production
8
+ # One of: dev, test, ci, audit, production
9
9
  ENV_MODE=dev
10
10
 
11
11
  # Optional: API keys or tokens for local dev (never commit real values)
@@ -25,6 +25,8 @@ on:
25
25
  jobs:
26
26
  auto-assign:
27
27
  runs-on: ubuntu-24.04
28
+ env:
29
+ ENV_MODE: ci
28
30
 
29
31
  steps:
30
32
  - name: 'Auto-assign issue or PR'
@@ -22,6 +22,8 @@ jobs:
22
22
  name: Sync backup/nightly-snapshot to master
23
23
  runs-on: ubuntu-24.04
24
24
  if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request'
25
+ env:
26
+ ENV_MODE: ci
25
27
 
26
28
  steps:
27
29
  - name: Checkout master branch
@@ -42,11 +42,6 @@ jobs:
42
42
  cache: npm
43
43
  cache-dependency-path: package-lock.json
44
44
 
45
- #- name: Show Node.js and npm versions
46
- # run: |
47
- # echo "Node.js version: $(node -v)"
48
- # echo "npm version: $(npm -v)"
49
-
50
45
  - name: Upgrade npm
51
46
  run: |
52
47
  corepack enable
@@ -132,11 +127,6 @@ jobs:
132
127
  cache: npm
133
128
  cache-dependency-path: package-lock.json
134
129
 
135
- #- name: Show Node.js and npm versions
136
- # run: |
137
- # echo "Node.js version: $(node -v)"
138
- # echo "npm version: $(npm -v)"
139
-
140
130
  - name: Upgrade npm
141
131
  run: |
142
132
  corepack enable
@@ -193,11 +183,6 @@ jobs:
193
183
  cache: npm
194
184
  cache-dependency-path: package-lock.json
195
185
 
196
- #- name: Show Node.js and npm versions
197
- # run: |
198
- # echo "Node.js version: $(node -v)"
199
- # echo "npm version: $(npm -v)"
200
-
201
186
  - name: Upgrade npm
202
187
  run: |
203
188
  corepack enable
@@ -12,6 +12,8 @@ jobs:
12
12
  check-expiry:
13
13
  runs-on: ubuntu-latest
14
14
  name: Validate .well-known/security.txt expiration
15
+ env:
16
+ ENV_MODE: ci
15
17
 
16
18
  steps:
17
19
  - name: Checkout repo
@@ -13,6 +13,8 @@ permissions:
13
13
  jobs:
14
14
  dependency-review:
15
15
  runs-on: ubuntu-24.04
16
+ env:
17
+ ENV_MODE: ci
16
18
 
17
19
  steps:
18
20
  - name: 'Checkout Repository'
@@ -18,6 +18,9 @@ permissions:
18
18
  jobs:
19
19
  meta:
20
20
  runs-on: ubuntu-24.04
21
+ env:
22
+ ENV_MODE: ci
23
+
21
24
  steps:
22
25
  - name: Checkout repo
23
26
  uses: actions/checkout@v5
@@ -16,6 +16,9 @@ permissions:
16
16
  jobs:
17
17
  check-branch:
18
18
  runs-on: ubuntu-24.04
19
+ env:
20
+ ENV_MODE: ci
21
+
19
22
  steps:
20
23
  - name: Fail if source is audit-netlify
21
24
  run: |
@@ -45,7 +45,7 @@ jobs:
45
45
  echo "πŸ“„ Raw API response:"
46
46
  cat "$response_file"
47
47
 
48
- if [ "$http_code" -ne 201 ]; then
48
+ if [ "$http_code" -ne 201 ] && [ "$http_code" -ne 200 ]; then
49
49
  echo "::error ::Unexpected HTTP response from Probely API: $http_code"
50
50
  exit 1
51
51
  fi
@@ -60,7 +60,8 @@ jobs:
60
60
  scan_id=$(jq -r '.id // empty' "$response_file")
61
61
 
62
62
  if [ -z "$scan_id" ]; then
63
- echo "::error ::Scan ID not found in response. Check API key, target ID, or base URL."
63
+ echo "::error ::Scan ID not found in response. Response content:"
64
+ cat "$response_file"
64
65
  exit 1
65
66
  fi
66
67
 
@@ -94,7 +95,7 @@ jobs:
94
95
  exit 1
95
96
  fi
96
97
 
97
- - name: Download Probely HTML Report
98
+ - name: Download Probely CSV Report
98
99
  run: |
99
100
  echo "πŸ“₯ Downloading report for scan $scan_id ..."
100
101
  curl -s "$API_BASE/targets/$TARGET_ID/scans/$scan_id/endpoints/" \
@@ -21,6 +21,8 @@ jobs:
21
21
  issues: write
22
22
  env:
23
23
  CODEQL_ACTION_ANALYSIS_KEY: gitleaks
24
+ ENV_MODE: ci
25
+
24
26
  steps:
25
27
  # ---------------------------------------------------------------------
26
28
  # Checkout the full repo history (needed for Gitleaks to scan all commits)
@@ -4,7 +4,7 @@
4
4
  # has completed successfully.
5
5
  #
6
6
  # Version: v1.0.0
7
- # Maintainer: Scott Lopez <support@neteng.pro>
7
+ # Maintainer: Scott Lopez <support@netwk.pro>
8
8
  # Usage: Copy to `.github/workflows/check-codeql.yml` in your repo or reference directly if shared centrally.
9
9
  #
10
10
  # Copyright Β© 2025 Network Pro Strategies (Network Proβ„’)
@@ -24,6 +24,8 @@ jobs:
24
24
  check:
25
25
  name: Check CodeQL Status
26
26
  runs-on: ubuntu-24.04
27
+ env:
28
+ ENV_MODE: ci
27
29
 
28
30
  steps:
29
31
  - name: Check CodeQL Workflow
@@ -4,7 +4,7 @@
4
4
  # GPR.
5
5
  #
6
6
  # Version: v1.1.0
7
- # Maintainer: Scott Lopez <support@neteng.pro>
7
+ # Maintainer: Scott Lopez <support@netwk.pro>
8
8
  # Usage: Copy to `.github/workflows/publish.yml` in your repo or reference
9
9
  # directly if shared centrally.
10
10
  #
@@ -50,11 +50,6 @@ jobs:
50
50
  cache: npm
51
51
  cache-dependency-path: package-lock.json
52
52
 
53
- #- name: Show Node.js and npm versions
54
- # run: |
55
- # echo "Node.js version: $(node -v)"
56
- # echo "npm version: $(npm -v)"
57
-
58
53
  - name: Upgrade npm
59
54
  run: |
60
55
  corepack enable
@@ -136,11 +131,6 @@ jobs:
136
131
  cache: npm
137
132
  cache-dependency-path: package-lock.json
138
133
 
139
- #- name: Show Node.js and npm versions
140
- # run: |
141
- # echo "Node.js version: $(node -v)"
142
- # echo "npm version: $(npm -v)"
143
-
144
134
  - name: Upgrade npm
145
135
  run: |
146
136
  corepack enable
@@ -197,11 +187,6 @@ jobs:
197
187
  cache: npm
198
188
  cache-dependency-path: package-lock.json
199
189
 
200
- #- name: Show Node.js and npm versions
201
- # run: |
202
- # echo "Node.js version: $(node -v)"
203
- # echo "npm version: $(npm -v)"
204
-
205
190
  - name: Upgrade npm
206
191
  run: |
207
192
  corepack enable
package/CHANGELOG.md CHANGED
@@ -22,6 +22,53 @@ This project attempts to follow [Keep a Changelog](https://keepachangelog.com/en
22
22
 
23
23
  ---
24
24
 
25
+ ## [1.25.10] - 2025-11-12
26
+
27
+ ### Changed
28
+
29
+ - Updated GitHub workflows to specify `ENV: ci` where appropriate:
30
+ - `templates/check-codeql.template.yml`
31
+ - `templates/publish.template.yml`
32
+ - `auto-assign.yml`
33
+ - `branch-backup.yml`
34
+ - `check-security-txt-expiry.yml`
35
+ - `dependency-review.yml`
36
+ - `meta-check.yml`
37
+ - `prevent-audit-merges.yml`
38
+ - `secret-scan.yml`
39
+ - Added `@sveltejs/adapter-netlify` devDependency for smoother toggling between production and audit modes.
40
+ - Production uses `@sveltejs/adapter-vercel` only. `@sveltejs/adapter-netlify` exists solely to support the audit environment.
41
+ - Bumped project version to `v1.25.10`.
42
+ - Updated dependencies:
43
+ - `@testing-library/svelte` `^5.2.8` β†’ `^5.2.9`
44
+ - `eslint-plugin-jsdoc` `^61.1.12` β†’ `^61.2.0`
45
+ - `posthog-js` `^1.290.0` β†’ `^1.292.0`
46
+
47
+ ## Removed
48
+
49
+ - Removed unneeded comments in `build-and-publish.yml` workflow.
50
+
51
+ ---
52
+
53
+ ## [1.25.9] - 2025-11-11
54
+
55
+ ### Changed
56
+
57
+ - Updated the support email address to `support@netwk.pro` in the following files:
58
+ - `README.md`
59
+ - `check-codeql.template.yml`
60
+ - `publish.template.yml`
61
+ - `contact.vcf`
62
+ - Modified `eslint.config.mjs` to include `.cjs` files when linting JavaScript.
63
+ - Bumped project version to `v1.25.9`.
64
+
65
+ ## Fixed
66
+
67
+ - Modified `.github/workflows/probely-scan.yml` to accept either a 200 or 201 response.
68
+ - Workflow was correctly triggering scan, but then failed due to receiving a 200 response rather than the 201 that was expected.
69
+
70
+ ---
71
+
25
72
  ## [1.25.8] - 2025-11-11
26
73
 
27
74
  ### Added
@@ -56,6 +103,7 @@ This project attempts to follow [Keep a Changelog](https://keepachangelog.com/en
56
103
  - Updated `lint:md` script to exclude the `build/` and `.netlify/` directories
57
104
  - Refined `svelte.config.js` to support alternate build targets (Vercel β†’ Netlify via adapter switch)
58
105
  - Audit builds now use isolated `.env` config and a separate Netlify site token
106
+ - Bumped project version to `v1.25.8`
59
107
 
60
108
  ---
61
109
 
@@ -1807,7 +1855,9 @@ This enables analytics filtering and CSP hardening for the audit environment.
1807
1855
 
1808
1856
  <!-- Link references -->
1809
1857
 
1810
- [Unreleased]: https://github.com/netwk-pro/netwk-pro.github.io/compare/v1.25.8...HEAD
1858
+ [Unreleased]: https://github.com/netwk-pro/netwk-pro.github.io/compare/v1.25.10...HEAD
1859
+ [1.25.10]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.25.10
1860
+ [1.25.9]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.25.9
1811
1861
  [1.25.8]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.25.8
1812
1862
  [1.25.7]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.25.7
1813
1863
  [1.25.6]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.25.6
package/LICENSE.md CHANGED
@@ -226,7 +226,7 @@ This legal page may be updated to comply with legal or operational changes. The
226
226
  ## 14. Contact
227
227
 
228
228
  The Company may be contacted via our [Contact Form](https://netwk.pro/contact) or by email at:
229
- πŸ“§ `support (at) neteng.pro`
229
+ πŸ“§ `support (at) netwk.pro`
230
230
 
231
231
  <sub>[Back to top](#top)</sub>
232
232
 
package/README.md CHANGED
@@ -114,7 +114,7 @@ static/
114
114
  β”œβ”€β”€ pgp/
115
115
  β”‚ β”œβ”€β”€ contact@s.neteng.pro.asc # Public key for secure email
116
116
  β”‚ β”œβ”€β”€ security@s.neteng.pro.asc # Public key for security contact
117
- β”‚ β”œβ”€β”€ support@neteng.pro.asc # Public key for general support
117
+ β”‚ β”œβ”€β”€ support@netwk.pro.asc # Public key for general support
118
118
  └── ...
119
119
  ```
120
120
 
@@ -533,7 +533,7 @@ Source code, branding, and visual assets are subject to reuse and distribution t
533
533
 
534
534
  ## πŸ™‹β€β™‚οΈQuestions?
535
535
 
536
- Reach out via our [Contact Form](https://netwk.pro/contact), open an issue on this repo, or email us directly at `support (at) neteng.pro`.
536
+ Reach out via our [Contact Form](https://netwk.pro/contact), open an issue on this repo, or email us directly at `support (at) netwk.pro`.
537
537
 
538
538
  </section>
539
539
 
package/eslint.config.mjs CHANGED
@@ -52,7 +52,7 @@ export default [
52
52
 
53
53
  // General JavaScript/Node.js configuration
54
54
  {
55
- files: ['**/*.mjs', '**/*.js'],
55
+ files: ['**/*.mjs', '**/*.cjs', '**/*.js'],
56
56
  languageOptions: {
57
57
  globals: GLOBALS,
58
58
  ecmaVersion: 'latest',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@networkpro/web",
3
3
  "private": false,
4
- "version": "1.25.8",
4
+ "version": "1.25.10",
5
5
  "description": "Locking Down Networks, Unlocking Confidenceβ„’ | Security, Networking, Privacy β€” Network Pro Strategies",
6
6
  "keywords": [
7
7
  "advisory",
@@ -85,7 +85,7 @@
85
85
  },
86
86
  "dependencies": {
87
87
  "dompurify": "^3.3.0",
88
- "posthog-js": "^1.290.0",
88
+ "posthog-js": "^1.292.0",
89
89
  "semver": "^7.7.3",
90
90
  "svelte": "5.43.6"
91
91
  },
@@ -94,17 +94,18 @@
94
94
  "@eslint/js": "^9.39.1",
95
95
  "@lhci/cli": "^0.15.1",
96
96
  "@playwright/test": "^1.56.1",
97
+ "@sveltejs/adapter-netlify": "^5.2.4",
97
98
  "@sveltejs/adapter-vercel": "^6.1.1",
98
99
  "@sveltejs/kit": "2.48.4",
99
100
  "@sveltejs/vite-plugin-svelte": "^6.2.1",
100
101
  "@testing-library/jest-dom": "^6.9.1",
101
- "@testing-library/svelte": "^5.2.8",
102
+ "@testing-library/svelte": "^5.2.9",
102
103
  "@vitest/coverage-v8": "3.2.4",
103
104
  "autoprefixer": "^10.4.22",
104
105
  "browserslist": "^4.28.0",
105
106
  "eslint": "^9.39.1",
106
107
  "eslint-config-prettier": "^10.1.8",
107
- "eslint-plugin-jsdoc": "^61.1.12",
108
+ "eslint-plugin-jsdoc": "^61.2.0",
108
109
  "eslint-plugin-svelte": "^3.13.0",
109
110
  "globals": "^16.5.0",
110
111
  "jsdom": "26.1.0",
@@ -15,7 +15,7 @@ This file is part of Network Pro.
15
15
  * @updated 2025-11-11
16
16
  */
17
17
 
18
- /** @typedef {{ ua: string, ip: string }} ScannerInput */
18
+ /** @typedef {{ ua?: string, ip?: string }} ScannerInput */
19
19
 
20
20
  /**
21
21
  * Check if a request is likely from Probely.
@@ -23,7 +23,13 @@ This file is part of Network Pro.
23
23
  * @returns {boolean} - True if the request matches Probely’s fingerprint.
24
24
  */
25
25
  export function isProbelyScanner({ ua, ip }) {
26
- const PROBELY_UA_FRAGMENT = 'probelyspdr/';
26
+ const PROBELY_UA_FRAGMENTS = [
27
+ 'probelyspdr/',
28
+ 'probelyfp/',
29
+ 'probelymrkt/',
30
+ 'probelysc/',
31
+ 'python-httpx/',
32
+ ];
27
33
  const PROBELY_IPS = [
28
34
  '18.235.241.170',
29
35
  '52.65.214.19',
@@ -41,7 +47,10 @@ export function isProbelyScanner({ ua, ip }) {
41
47
  const normalizedIP = ip?.trim() ?? '';
42
48
 
43
49
  return (
44
- normalizedUA.includes(PROBELY_UA_FRAGMENT) ||
45
- PROBELY_IPS.includes(normalizedIP)
50
+ PROBELY_UA_FRAGMENTS.some((fragment) =>
51
+ normalizedUA.includes(fragment.toLowerCase()),
52
+ ) || PROBELY_IPS.includes(normalizedIP)
46
53
  );
47
54
  }
55
+
56
+ // cspell:ignore probelyfp probelymrkt probelysc httpx
@@ -3,7 +3,7 @@ VERSION:3.0
3
3
  FN:Scott Lopez
4
4
  N:Lopez;Scott
5
5
  TEL;TYPE=WORK,PREF=1:(623) 252-4350
6
- EMAIL;TYPE=WORK:support@neteng.pro
6
+ EMAIL;TYPE=WORK:support@netwk.pro
7
7
  EMAIL;TYPE=Secure:business@s.neteng.pro
8
8
  ADR;TYPE=WORK:;;Peoria\, AZ 85382\nUS
9
9
  ORG:Network Pro Strategies