@harshankur/viewcounter 3.0.0 → 3.0.1
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 +15 -10
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
# ViewCounter
|
|
2
2
|
|
|
3
|
-
[](https://viewcounter.harshankur.com)
|
|
4
4
|
[](LICENSE)
|
|
5
5
|
[](https://github.com/harshankur/viewcounter/actions/workflows/ci.yml)
|
|
6
|
-
[](TEST_REPORT.md)
|
|
7
|
+
[](https://www.npmjs.com/package/@harshankur/viewcounter)
|
|
8
|
+
[](https://www.npmjs.com/package/@harshankur/viewcounter#provenance)
|
|
7
9
|
|
|
8
10
|
A comprehensive Node.js/Express analytics server for tracking website views with MySQL storage, featuring auto-database creation, advanced tracking, and rich analytics.
|
|
9
11
|
|
|
10
12
|
## 📖 Documentation
|
|
11
|
-
Visit our [Interactive Documentation](https://harshankur.
|
|
13
|
+
Visit our [Interactive Documentation](https://viewcounter.harshankur.com) for detailed API specifications, debugging tips, and integration guides.
|
|
12
14
|
|
|
13
15
|
## 🛡️ GDPR Compliant & Privacy-First
|
|
14
16
|
**100% GDPR Compliant By Design.** This project is built from the ground up to respect user privacy and adhere to modern ethical standards:
|
|
@@ -781,13 +783,16 @@ The package is published as **`@harshankur/viewcounter`** (scoped). npm rejects
|
|
|
781
783
|
the unscoped `viewcounter` as too similar to the existing `view-counter`; a
|
|
782
784
|
scope is its own namespace, so the collision does not apply.
|
|
783
785
|
|
|
784
|
-
Authentication is OIDC via npm Trusted Publishing
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
786
|
+
**No secret is involved.** Authentication is OIDC via npm Trusted Publishing:
|
|
787
|
+
the package is bound to this repository and to `release.yml` specifically, and
|
|
788
|
+
the runner exchanges a short-lived id-token for a registry credential at publish
|
|
789
|
+
time. There is no `NPM_TOKEN` to rotate or leak, and nothing to be caught by
|
|
790
|
+
npm's deprecation of 2FA-bypassing tokens. Every release carries a signed SLSA
|
|
791
|
+
provenance attestation, verifiable with:
|
|
792
|
+
|
|
793
|
+
```bash
|
|
794
|
+
npm audit signatures
|
|
795
|
+
```
|
|
791
796
|
|
|
792
797
|
To publish automatically on every version bump instead, uncomment the `push:`
|
|
793
798
|
trigger in `.github/workflows/release.yml`.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harshankur/viewcounter",
|
|
3
3
|
"description": "A middleware backend server that registers views to my db server when requested to register a view from my other projects.",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.1",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=24"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"bugs": {
|
|
61
61
|
"url": "https://github.com/harshankur/viewcounter/issues"
|
|
62
62
|
},
|
|
63
|
-
"homepage": "https://harshankur.
|
|
63
|
+
"homepage": "https://viewcounter.harshankur.com",
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"cors": "^2.8.6",
|
|
66
66
|
"dotenv": "^17.4.2",
|