@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 +1 -1
- package/netlify.toml +1 -0
- package/package.json +2 -2
- package/src/hooks.server.js +2 -0
- package/src/lib/pages/AboutContent.svelte +1 -1
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
|
|
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
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"./.netlify/shims.js"
|
|
6
6
|
],
|
|
7
|
-
"version": "1.6.
|
|
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",
|
package/src/hooks.server.js
CHANGED
|
@@ -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";
|