cuonztech-privacy-chaos-gate 0.3.2 → 0.3.3
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/action.yml +1 -1
- package/dist/{chunk-6MBUQ5EL.js → chunk-VCRSP7XL.js} +5 -2
- package/dist/cli.js +2 -2
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ Das Paket ist proprietär und source-available (Datei `LICENSE`, ab 0.2.1; die V
|
|
|
35
35
|
Online-Kauf → Code per Mail.
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
|
-
export CPCG_LICENSE="CPCG-…" #
|
|
38
|
+
export CPCG_LICENSE="CPCG-…" # Kunden-Key CPCG-K-… (Pilot und Abo; ältere Offline-Lizenzcodes CPCG-… gelten weiter)
|
|
39
39
|
cpcg --url https://staging.example.com --jurisdiction CH
|
|
40
40
|
```
|
|
41
41
|
|
package/action.yml
CHANGED
|
@@ -188,7 +188,7 @@ runs:
|
|
|
188
188
|
shell: bash
|
|
189
189
|
env:
|
|
190
190
|
ACTION_PATH: ${{ github.action_path }}
|
|
191
|
-
CPCG_PINNED_VERSION: "0.3.
|
|
191
|
+
CPCG_PINNED_VERSION: "0.3.3" # = package.json version; bei jedem Release mit anheben (tests/action-pin.test.ts prüft das)
|
|
192
192
|
run: |
|
|
193
193
|
set -euo pipefail
|
|
194
194
|
|
|
@@ -10896,7 +10896,7 @@ async function resolveLicenseGrant(opts) {
|
|
|
10896
10896
|
return {
|
|
10897
10897
|
ok: false,
|
|
10898
10898
|
reason: "invalid",
|
|
10899
|
-
detail:
|
|
10899
|
+
detail: `Grant vom Dienst nicht verifizierbar${fresh.detail ? ` (${fresh.detail.replace(/\.$/, "")})` : ""}.`
|
|
10900
10900
|
};
|
|
10901
10901
|
}
|
|
10902
10902
|
if (outcome.kind === "rejected") {
|
|
@@ -10975,6 +10975,9 @@ async function resolveEntitlement(input = {}) {
|
|
|
10975
10975
|
return { status: "unreachable", detail: resolved.detail };
|
|
10976
10976
|
}
|
|
10977
10977
|
if (resolved.reason === "blocked") {
|
|
10978
|
+
if (/^Laufzeit abgelaufen/i.test(resolved.detail)) {
|
|
10979
|
+
return { status: "invalid", messages: ["\u2716 Lizenz abgelaufen: " + resolved.detail] };
|
|
10980
|
+
}
|
|
10978
10981
|
return { status: "invalid", messages: ["\u2716 Lizenz gesperrt: " + resolved.detail, " Kontakt: support@cuonztech.ch"] };
|
|
10979
10982
|
}
|
|
10980
10983
|
return { status: "invalid", messages: ["\u2716 Lizenz nicht verf\xFCgbar: " + resolved.detail] };
|
|
@@ -11006,7 +11009,7 @@ import pc from "picocolors";
|
|
|
11006
11009
|
import { createHash } from "crypto";
|
|
11007
11010
|
import fs10 from "fs/promises";
|
|
11008
11011
|
import path10 from "path";
|
|
11009
|
-
var CPCG_VERSION = true ? "0.3.
|
|
11012
|
+
var CPCG_VERSION = true ? "0.3.3" : "dev";
|
|
11010
11013
|
function scanConfigOf(config) {
|
|
11011
11014
|
return {
|
|
11012
11015
|
targetUrl: config.targetUrl,
|
package/dist/cli.js
CHANGED
|
@@ -11,12 +11,12 @@ import {
|
|
|
11
11
|
resolveEntitlement,
|
|
12
12
|
resolveGateConfig,
|
|
13
13
|
resolveJurisdictions
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VCRSP7XL.js";
|
|
15
15
|
|
|
16
16
|
// src/cli.ts
|
|
17
17
|
import { Command, CommanderError } from "commander";
|
|
18
18
|
import pc from "picocolors";
|
|
19
|
-
var VERSION = true ? "0.3.
|
|
19
|
+
var VERSION = true ? "0.3.3" : "dev";
|
|
20
20
|
for (const stream of [process.stdout, process.stderr]) {
|
|
21
21
|
stream.on("error", (err) => {
|
|
22
22
|
if (err.code !== "EPIPE") throw err;
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cuonztech-privacy-chaos-gate",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "CuonzTech Privacy Chaos Gate — CI/CD Consent-Scanner, Chaos-Szenarien und Auto-Fix-PR",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"test:watch": "vitest",
|
|
40
40
|
"typecheck": "tsc --noEmit",
|
|
41
41
|
"typecheck:all": "tsc -p tsconfig.test.json --noEmit",
|
|
42
|
-
"prepublishOnly": "pnpm run typecheck && pnpm run
|
|
42
|
+
"prepublishOnly": "pnpm run typecheck && pnpm run build && pnpm run test",
|
|
43
43
|
"demo": "tsx scripts/scan-demo-portal.mts && tsx scripts/make-deluxe-report.mts && tsx scripts/package-delivery.mts",
|
|
44
44
|
"demo:report": "tsx scripts/make-deluxe-report.mts"
|
|
45
45
|
},
|