@golproductions/check 3.1.9 → 3.2.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 +4 -0
- package/package.json +1 -1
- package/src/index.js +8 -2
package/README.md
CHANGED
|
@@ -97,6 +97,10 @@ Thin wrappers over this same API exist on the [VS Code Marketplace](https://mark
|
|
|
97
97
|
|
|
98
98
|
[Product](https://www.golproductions.com/check.html) · [Pricing](https://www.golproductions.com/pricing.html) · [Console](https://www.golproductions.com/console.html) · [Updates](https://www.golproductions.com/updates.html) · [Blog](https://www.golproductions.com/blog/)
|
|
99
99
|
|
|
100
|
+
## Terms
|
|
101
|
+
|
|
102
|
+
By installing or using Check you agree to the [Terms of Service](https://www.golproductions.com/terms.html) and [Privacy Policy](https://www.golproductions.com/privacy.html). The service is provided as is; see the Terms for the full picture, including your Australian Consumer Law rights.
|
|
103
|
+
|
|
100
104
|
## License
|
|
101
105
|
|
|
102
106
|
Copyright (c) 2026 GOL Productions. All rights reserved.
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { homedir, platform, arch } from "node:os";
|
|
|
5
5
|
import { pipeline } from "node:stream/promises";
|
|
6
6
|
import { Readable } from "node:stream";
|
|
7
7
|
|
|
8
|
-
const VERSION = "3.1
|
|
8
|
+
const VERSION = "3.2.1";
|
|
9
9
|
const BINARY_VERSION = "3.0.0";
|
|
10
10
|
const API = "https://triage.golproductions.com/preflight";
|
|
11
11
|
const CDN = "https://pub-e55366a7f5994be9be04f0e205179f4a.r2.dev/releases";
|
|
@@ -296,6 +296,8 @@ async function install() {
|
|
|
296
296
|
console.log(` Shared by every editor on this machine. 120 free checks/day.`);
|
|
297
297
|
console.log(` Need more? Get a GOL API Key (paid, prepaid balance) at`);
|
|
298
298
|
console.log(` https://www.golproductions.com/console`);
|
|
299
|
+
console.log(`\n By using Check you agree to the Terms and Privacy Policy:`);
|
|
300
|
+
console.log(` golproductions.com/terms | golproductions.com/privacy`);
|
|
299
301
|
console.log(`\nSafe travels wanderer..\n`);
|
|
300
302
|
process.exit(0);
|
|
301
303
|
}
|
|
@@ -764,7 +766,11 @@ async function main() {
|
|
|
764
766
|
|
|
765
767
|
if (d.verdict === "runnable") { out(f, true); }
|
|
766
768
|
else { out(f, false, d.reason || "denied — address the issue before continuing"); }
|
|
767
|
-
} catch {
|
|
769
|
+
} catch {
|
|
770
|
+
// Network failure or timeout: fail OPEN. An unreachable validation
|
|
771
|
+
// service must never block the user's work (Terms, section 5).
|
|
772
|
+
outCreditsExhausted(f, "check: validation service unreachable, command ran unverified. Check resumes automatically.");
|
|
773
|
+
}
|
|
768
774
|
}
|
|
769
775
|
|
|
770
776
|
main();
|