pullfrog 0.1.12 → 0.1.13
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.mjs +9 -3
- package/dist/index.js +8 -2
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -144249,7 +144249,7 @@ var import_semver = __toESM(require_semver2(), 1);
|
|
|
144249
144249
|
// package.json
|
|
144250
144250
|
var package_default = {
|
|
144251
144251
|
name: "pullfrog",
|
|
144252
|
-
version: "0.1.
|
|
144252
|
+
version: "0.1.13",
|
|
144253
144253
|
type: "module",
|
|
144254
144254
|
bin: {
|
|
144255
144255
|
pullfrog: "dist/cli.mjs",
|
|
@@ -145120,7 +145120,13 @@ var TRANSIENT_PATTERNS = [
|
|
|
145120
145120
|
/HTTP 5\d\d/,
|
|
145121
145121
|
/returned error: 5\d\d/i,
|
|
145122
145122
|
/HTTP 429/,
|
|
145123
|
-
/returned error: 429/i
|
|
145123
|
+
/returned error: 429/i,
|
|
145124
|
+
// github installation tokens can 401 for seconds after minting while
|
|
145125
|
+
// replicating (@octokit/auth-app retries the same class). git push
|
|
145126
|
+
// surfaces it as "Invalid username or token", distinct from 403
|
|
145127
|
+
// permission denied — safe to backoff-retry with the same token.
|
|
145128
|
+
/Invalid username or token/,
|
|
145129
|
+
/Authentication failed for 'https:\/\/github\.com\//
|
|
145124
145130
|
];
|
|
145125
145131
|
function classifyPushError(msg) {
|
|
145126
145132
|
if (CONCURRENT_PUSH_PATTERNS.some((p2) => msg.includes(p2))) return "concurrent-push";
|
|
@@ -158384,7 +158390,7 @@ async function run2() {
|
|
|
158384
158390
|
}
|
|
158385
158391
|
|
|
158386
158392
|
// cli.ts
|
|
158387
|
-
var VERSION10 = "0.1.
|
|
158393
|
+
var VERSION10 = "0.1.13";
|
|
158388
158394
|
var bin = basename2(process.argv[1] || "");
|
|
158389
158395
|
var PROG = bin === "pf" || bin === "pullfrog" ? bin : "pullfrog";
|
|
158390
158396
|
var rawArgs = process.argv.slice(2);
|
package/dist/index.js
CHANGED
|
@@ -142509,7 +142509,7 @@ var import_semver = __toESM(require_semver2(), 1);
|
|
|
142509
142509
|
// package.json
|
|
142510
142510
|
var package_default = {
|
|
142511
142511
|
name: "pullfrog",
|
|
142512
|
-
version: "0.1.
|
|
142512
|
+
version: "0.1.13",
|
|
142513
142513
|
type: "module",
|
|
142514
142514
|
bin: {
|
|
142515
142515
|
pullfrog: "dist/cli.mjs",
|
|
@@ -143380,7 +143380,13 @@ var TRANSIENT_PATTERNS = [
|
|
|
143380
143380
|
/HTTP 5\d\d/,
|
|
143381
143381
|
/returned error: 5\d\d/i,
|
|
143382
143382
|
/HTTP 429/,
|
|
143383
|
-
/returned error: 429/i
|
|
143383
|
+
/returned error: 429/i,
|
|
143384
|
+
// github installation tokens can 401 for seconds after minting while
|
|
143385
|
+
// replicating (@octokit/auth-app retries the same class). git push
|
|
143386
|
+
// surfaces it as "Invalid username or token", distinct from 403
|
|
143387
|
+
// permission denied — safe to backoff-retry with the same token.
|
|
143388
|
+
/Invalid username or token/,
|
|
143389
|
+
/Authentication failed for 'https:\/\/github\.com\//
|
|
143384
143390
|
];
|
|
143385
143391
|
function classifyPushError(msg) {
|
|
143386
143392
|
if (CONCURRENT_PUSH_PATTERNS.some((p) => msg.includes(p))) return "concurrent-push";
|