@networkpro/web 1.6.1 → 1.6.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/README.md CHANGED
@@ -33,7 +33,7 @@ All infrastructure and data flows are designed with **maximum transparency, self
33
33
  ├── .github/workflows # CI workflows and automation
34
34
  ├── .vscode/ # Recommended VS Code settings, extensions
35
35
  ├── netlify-functions/
36
- │ └── cspReport.js # Serverless function to receive and log CSP violation reports
36
+ │ └── cspReport.js # Serverless function to receive and log CSP violation reports
37
37
  ├── scripts/ # Utility scripts
38
38
  ├── src/
39
39
  │ ├── lib/ # Reusable components, styles, utilities
package/netlify.toml CHANGED
@@ -4,6 +4,7 @@
4
4
 
5
5
  [build.environment]
6
6
  NODE_VERSION = "22"
7
+ ENV_MODE = "prod"
7
8
 
8
9
  [dev]
9
10
  command = "npm run dev"
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "sideEffects": [
5
5
  "./.netlify/shims.js"
6
6
  ],
7
- "version": "1.6.1",
7
+ "version": "1.6.2",
8
8
  "description": "Locking Down Networks, Unlocking Confidence | Security, Networking, Privacy — Network Pro Strategies",
9
9
  "keywords": [
10
10
  "advisory",
@@ -78,7 +78,6 @@
78
78
  },
79
79
  "dependencies": {
80
80
  "nodemailer": "^7.0.3",
81
- "playwright": "^1.52.0",
82
81
  "semver": "^7.7.2",
83
82
  "svelte": "5.33.2"
84
83
  },
@@ -106,6 +105,7 @@
106
105
  "markdownlint-cli2": "^0.18.1",
107
106
  "mdsvex": "^0.12.6",
108
107
  "normalize.css": "^8.0.1",
108
+ "playwright": "^1.52.0",
109
109
  "postcss": "^8.5.3",
110
110
  "prettier": "^3.5.3",
111
111
  "prettier-plugin-svelte": "^3.4.0",
@@ -14,6 +14,8 @@ export async function handle({ event, resolve }) {
14
14
  // Create the response
15
15
  const response = await resolve(event);
16
16
 
17
+ console.log("ENV_MODE:", process.env.ENV_MODE);
18
+
17
19
  // Check if the environment is for testing
18
20
  const isTestEnvironment =
19
21
  process.env.NODE_ENV === "test" || process.env.ENV_MODE === "ci";
@@ -57,7 +57,7 @@ This file is part of Network Pro.
57
57
  },
58
58
  {
59
59
  label: "Markdown",
60
- href: "https://netwk.pro/docs",
60
+ href: "https://docs.netwk.pro",
61
61
  target: "_self",
62
62
  },
63
63
  ];