@gearbox-protocol/deploy-tools 4.61.32 → 4.61.34
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/index.mjs +10 -3
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -51405,13 +51405,13 @@ var require_audits = __commonJS({
|
|
|
51405
51405
|
},
|
|
51406
51406
|
{
|
|
51407
51407
|
type: "commit",
|
|
51408
|
-
commit: "
|
|
51408
|
+
commit: "370777f28ba4df7f6465f4deca2a337fece2abb5",
|
|
51409
51409
|
// v3.1
|
|
51410
51410
|
report: exports2.auditReports["2024_Oct_Watchpug_Pendle"]
|
|
51411
51411
|
},
|
|
51412
51412
|
{
|
|
51413
51413
|
type: "commit",
|
|
51414
|
-
commit: "
|
|
51414
|
+
commit: "4f2b39e0554beeb484d07a53ce90b67f63aaa41d",
|
|
51415
51415
|
// v3.0
|
|
51416
51416
|
report: exports2.auditReports["2024_Oct_Watchpug_Pendle"]
|
|
51417
51417
|
},
|
|
@@ -317431,6 +317431,7 @@ var Auditor = class {
|
|
|
317431
317431
|
this.#logger.trace(`Checking audits for ${filePath} in ${repo}`);
|
|
317432
317432
|
file.audits = await this.#findMatches(file);
|
|
317433
317433
|
if (!file.audits?.length && this.#dumpMissing) {
|
|
317434
|
+
this.#logger.warn(`Cannot find audits for ${filePath} in ${repo}`);
|
|
317434
317435
|
const dumpDest = path2.resolve(this.#missingDir, repo, filePath);
|
|
317435
317436
|
mkdirSync(path2.dirname(dumpDest), { recursive: true });
|
|
317436
317437
|
await writeFile(dumpDest, file.buffer);
|
|
@@ -317445,12 +317446,18 @@ var Auditor = class {
|
|
|
317445
317446
|
async #findMatches(file) {
|
|
317446
317447
|
const repoAudits = import_sdk_gov2.audits[file.repo] ?? [];
|
|
317447
317448
|
const result = [];
|
|
317449
|
+
const commits = [];
|
|
317448
317450
|
for (const repoAudit of repoAudits) {
|
|
317451
|
+
const commitish = repoAudit.type === "commit" ? repoAudit.commit : repoAudit.branch;
|
|
317452
|
+
commits.push(commitish);
|
|
317449
317453
|
const ok = await this.#findMatch(file, repoAudit);
|
|
317450
317454
|
if (ok) {
|
|
317451
317455
|
result.push(repoAudit);
|
|
317452
317456
|
}
|
|
317453
317457
|
}
|
|
317458
|
+
if (!result.length) {
|
|
317459
|
+
this.#logger.warn(`No audits found for ${file.path} in ${file.repo}, checked ${repoAudits.length} audits: ${commits.join(", ")}`);
|
|
317460
|
+
}
|
|
317454
317461
|
return result.length ? result : void 0;
|
|
317455
317462
|
}
|
|
317456
317463
|
/**
|
|
@@ -335787,7 +335794,7 @@ function getRenderer(opts) {
|
|
|
335787
335794
|
}
|
|
335788
335795
|
|
|
335789
335796
|
// package.json
|
|
335790
|
-
var version2 = "4.61.
|
|
335797
|
+
var version2 = "4.61.34";
|
|
335791
335798
|
|
|
335792
335799
|
// src/version.ts
|
|
335793
335800
|
var version_default = version2;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gearbox-protocol/deploy-tools",
|
|
3
3
|
"description": "Gearbox deploy tools",
|
|
4
|
-
"version": "4.61.
|
|
4
|
+
"version": "4.61.34",
|
|
5
5
|
"homepage": "https://gearbox.fi",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"gearbox"
|
|
@@ -44,16 +44,16 @@
|
|
|
44
44
|
"@gearbox-protocol/deploy-tools-node": "0.0.0",
|
|
45
45
|
"@gearbox-protocol/deploy-tools-shared": "0.0.0",
|
|
46
46
|
"@gearbox-protocol/deploy-tools-types": "0.0.0",
|
|
47
|
-
"@gearbox-protocol/sdk-gov": "^2.32.
|
|
47
|
+
"@gearbox-protocol/sdk-gov": "^2.32.1",
|
|
48
48
|
"@types/lodash-es": "^4.17.12",
|
|
49
49
|
"@types/node": "^22.10.1",
|
|
50
|
-
"@types/react": "^18.3.
|
|
50
|
+
"@types/react": "^18.3.13",
|
|
51
51
|
"@types/react-dom": "^18.3.1",
|
|
52
|
-
"abitype": "^1.0.
|
|
52
|
+
"abitype": "^1.0.7",
|
|
53
53
|
"chalk": "^5.3.0",
|
|
54
54
|
"commander": "^12.1.0",
|
|
55
55
|
"date-fns": "^4.1.0",
|
|
56
|
-
"dotenv": "^16.4.
|
|
56
|
+
"dotenv": "^16.4.7",
|
|
57
57
|
"esbuild": "^0.24.0",
|
|
58
58
|
"ethers": "^6.13.4",
|
|
59
59
|
"ethers-multisend": "^3.1.0",
|