dawnfix 0.3.0 → 0.3.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/dist/cli.js +5 -5
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
// Dawnfix 0.3.
|
|
2
|
+
// Dawnfix 0.3.1: npx dawnfix init | doctor | flare.
|
|
3
3
|
// Source available under FSL-1.1-ALv2 (see LICENSE in this package).
|
|
4
4
|
// GENERATED from cli/src/ and flare/src/ by `npm run build` (esbuild, one file, no dependencies). Do not edit.
|
|
5
5
|
import { createRequire as __dawnfixRequire } from 'node:module';
|
|
@@ -8059,7 +8059,7 @@ function findingsFor(pool, account) {
|
|
|
8059
8059
|
severity: "high",
|
|
8060
8060
|
account,
|
|
8061
8061
|
resource: `namespace ${id}`,
|
|
8062
|
-
title: `
|
|
8062
|
+
title: `Rate-limit namespace ${id} shared by ${workers.length} Workers`,
|
|
8063
8063
|
detail: `${where}. They share counters, so traffic to one spends the others' limit.`,
|
|
8064
8064
|
fix: `Give each Worker its own ids${free ? ` (next free block: ${free}-${Number(free) + 98})` : ""} and redeploy each.`,
|
|
8065
8065
|
source
|
|
@@ -8551,7 +8551,7 @@ var CHECK_NAMES = {
|
|
|
8551
8551
|
"workers-dev-enabled": "workers.dev exposure",
|
|
8552
8552
|
"preview-urls-enabled": "Preview URLs",
|
|
8553
8553
|
"hostname-without-auth": "Hostname without auth",
|
|
8554
|
-
"ratelimit-namespace-shared": "
|
|
8554
|
+
"ratelimit-namespace-shared": "Rate-limit namespace clash",
|
|
8555
8555
|
"route-to-missing-script": "Route to missing Worker",
|
|
8556
8556
|
"dangling-dns": "Dangling DNS",
|
|
8557
8557
|
"dead-script": "Dead script",
|
|
@@ -9588,7 +9588,7 @@ function validate(schema, value, root = schema, path = "") {
|
|
|
9588
9588
|
}
|
|
9589
9589
|
|
|
9590
9590
|
// src/version.mjs
|
|
9591
|
-
var VERSION = true ? "0.3.
|
|
9591
|
+
var VERSION = true ? "0.3.1" : "0.0.0-dev";
|
|
9592
9592
|
var TAG = `v${VERSION}`;
|
|
9593
9593
|
var MAJOR_REF = `v${VERSION.split(".")[0]}`;
|
|
9594
9594
|
var REPO_URL = "https://github.com/dawnfix/dawnfix";
|
|
@@ -9608,7 +9608,7 @@ Exit 0 when nothing failed, 1 otherwise.
|
|
|
9608
9608
|
`;
|
|
9609
9609
|
var NEEDED_PERMISSIONS = { contents: "write", "pull-requests": "write", issues: "write", "id-token": "write" };
|
|
9610
9610
|
var USES = /^dawnfix\/dawnfix\/\.github\/workflows\/dawnfix\.yml(?:@(.*))?$/;
|
|
9611
|
-
var ENTERPRISE = ["DAWNFIX_ENTERPRISE_KEY"
|
|
9611
|
+
var ENTERPRISE = ["DAWNFIX_ENTERPRISE_KEY"];
|
|
9612
9612
|
function readYaml(path) {
|
|
9613
9613
|
return (0, import_yaml.parse)(readFileSync(path, "utf8"));
|
|
9614
9614
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dawnfix",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Dawnfix, the AI SRE that runs in your own GitHub Actions: `npx dawnfix init` sets it up in a repo, `npx dawnfix doctor` checks the setup, `npx dawnfix flare` audits Cloudflare. One file, no dependencies.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai-sre",
|