diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 86f0547..fb8f397 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: yarn - name: Install dependencies diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..8fdd954 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +22 \ No newline at end of file diff --git a/action.yml b/action.yml index dd1642f..1588076 100644 --- a/action.yml +++ b/action.yml @@ -53,5 +53,5 @@ outputs: description: The gas diff between the base gas report and the freshly generated gas report, specifically formatted for markdown display runs: - using: node16 + using: node22 main: dist/index.js diff --git a/package.json b/package.json index 53d28a9..aeba31d 100644 --- a/package.json +++ b/package.json @@ -33,29 +33,28 @@ "hardhat" ], "dependencies": { - "@actions/artifact": "^2.1.7", - "@actions/core": "^1.10.1", + "@actions/artifact": "^2.1.11", + "@actions/core": "^1.11.1", "@actions/exec": "^1.1.1", "@actions/github": "^5.1.1", "@octokit/core": "^6.1.2", - "adm-zip": "^0.5.12", + "adm-zip": "^0.5.16", "lodash": "^4.17.21", - "minimatch": "^9.0.4" + "minimatch": "^10.0.1" }, "devDependencies": { - "@jest/types": "^29.6.3", "@trivago/prettier-plugin-sort-imports": "^4.3.0", "@types/adm-zip": "^0.5.5", - "@types/jest": "^29.5.12", - "@types/lodash": "^4.17.4", + "@types/jest": "^29.5.13", + "@types/lodash": "^4.17.12", "@types/minimatch": "^5.1.2", - "@types/node": "^20.12.12", + "@types/node": "^22.7.8", "@vercel/ncc": "^0.36.1", "colors": "^1.4.0", "jest": "^29.7.0", "prettier": "^2.8.8", - "ts-jest": "^29.1.4", - "typescript": "^5.4.5" + "ts-jest": "^29.2.5", + "typescript": "^5.6.3" }, "jest": { "clearMocks": true, diff --git a/tests/mocks/1-2.md b/tests/mocks/1-2.md index 7ca0cb1..465ef99 100644 --- a/tests/mocks/1-2.md +++ b/tests/mocks/1-2.md @@ -6,7 +6,8 @@ | Contract | Method | Avg (+/-) | % | |:-|:-|-:|-:| -| **Morpho** | _claimToTreasury_
_defaultMaxGasForMatching_
_liquidate_
_marketStatus_
_repay(address,uint256)_
_setDefaultMaxGasForMatching_
_setP2PIndexCursor_
_supply(address,address,uint256,uint256)_
_updateP2PIndexes_ | +3,963 ❌
-67 ✅
-69,325 ✅
+622 ❌
-22,934 ✅
-872 ✅
+25,350 ❌
+402,561 ❌
-2,300 ✅ | **+46.86%**
**-10.55%**
**-21.50%**
**+53.99%**
**-8.94%**
**-10.08%**
**+512.43%**
**+2898.00%**
**-9.16%** | +| **Morpho** | _borrow(address,uint256)_
_claimToTreasury_
_defaultMaxGasForMatching_
_liquidate_
_marketStatus_
_repay(address,uint256)_
_setDefaultMaxGasForMatching_
_setP2PIndexCursor_
_supply(address,address,uint256,uint256)_
_updateP2PIndexes_ | -43,939 ✅
+3,963 ❌
-67 ✅
-69,325 ✅
+622 ❌
-22,934 ✅
-872 ✅
+25,350 ❌
+402,561 ❌
-2,300 ✅ | **-7.91%**
**+46.86%**
**-10.55%**
**-21.50%**
**+53.99%**
**-8.94%**
**-10.08%**
**+512.43%**
**+2898.00%**
**-9.16%** | +| **Lens** | _getCurrentCompBorrowIndex_
_getCurrentCompSupplyIndex_
_getCurrentP2PBorrowIndex_
_getIndexes_
_getUserMaxCapacitiesForAsset_ | -2,022 ✅
-1,989 ✅
-29,179 ✅
-4,769 ✅
-7,961 ✅ | **-15.48%**
**-16.86%**
**-31.35%**
**-9.78%**
**-7.77%** | | **PositionsManager** | _liquidateLogic_
_repayLogic_ | -82,027 ✅
-25,060 ✅ | **-24.90%**
**-10.26%** | | **InterestRatesManager** | _updateP2PIndexes_ | -3,004 ✅ | **-11.05%** | --- @@ -18,6 +19,7 @@ | Contract | Deployment Cost (+/-) | Method | Min (+/-) | % | Avg (+/-) | % | Median (+/-) | % | Max (+/-) | % | # Calls (+/-) | |:-|-:|:-|-:|-:|-:|-:|-:|-:|-:|-:|-:| | **Morpho** | 3,381,129 (+113,744) | _borrow(address,uint256)_
_borrow(address,uint256,uint256)_
_borrowBalanceInOf_
_cEth_
_claimRewards_
_claimToTreasury_
_createMarket_
_defaultMaxGasForMatching_
_deltas_
_enteredMarkets_
_getEnteredMarkets_
_getNext_
_initialize_
_interestRatesManager_
_isClaimRewardsPaused_
_lastPoolIndexes_
_liquidate_
_marketParameters_
_marketStatus_
_maxSortedUsers_
_p2pBorrowIndex_
_p2pSupplyIndex_
_positionsManager_
_repay(address,address,uint256)_
_repay(address,uint256)_
_rewardsManager_
_setDefaultMaxGasForMatching_
_setIncentivesVault_
_setInterestRatesManager_
_setMaxSortedUsers_
_setP2PIndexCursor_
_setPositionsManager_
_setReserveFactor_
_setRewardsManager_
_setTreasuryVault_
_supply(address,address,uint256)_
_supply(address,address,uint256,uint256)_
_supply(address,uint256)_
_supplyBalanceInOf_
_treasuryVault_
_updateP2PIndexes_
_wEth_
_withdraw(address,uint256)_
_withdraw(address,uint256,address)_ | 13,703 (+9,785)
11,078 (-382,423)
894 (0)
405 (0)
5,871 (0)
1,194 (+22)
2,736 (+22)
568 (-67)
1,050 (0)
616 (+22)
1,256 (+22)
1,057 (+22)
3,765 (-45)
471 (+22)
443 (+44)
742 (0)
11,771 (+7,706)
669 (0)
774 (+22)
373 (+22)
593 (+22)
591 (+22)
493 (+22)
8,542 (-517)
13,873 (+9,949)
471 (+22)
1,113 (-66)
2,695 (0)
2,673 (+44)
621 (+44)
2,717 (-2,230)
2,697 (+67)
2,717 (-67)
2,631 (0)
2,629 (0)
469,051 (-4,937)
11,502 (-2,389)
13,923 (+10,006)
980 (+44)
493 (+22)
1,766 (-45)
2,426 (+22)
5,649 (+1,772)
327,424 (-8,284) | **+249.74%**
**-97.18%**
**0.00%**
**0.00%**
**0.00%**
**+1.88%**
**+0.81%**
**-10.55%**
**0.00%**
**+3.70%**
**+1.78%**
**+2.13%**
**-1.18%**
**+4.90%**
**+11.03%**
**0.00%**
**+189.57%**
**0.00%**
**+2.93%**
**+6.27%**
**+3.85%**
**+3.87%**
**+4.67%**
**-5.71%**
**+253.54%**
**+4.90%**
**-5.60%**
**0.00%**
**+1.67%**
**+7.63%**
**-45.08%**
**+2.55%**
**-2.41%**
**0.00%**
**0.00%**
**-1.04%**
**-17.20%**
**+255.45%**
**+4.70%**
**+4.67%**
**-2.48%**
**+0.92%**
**+45.71%**
**-2.47%** | 511,848 (-43,939)
453,367 (+4,279)
1,410 (-14)
655 (-10)
162,715 (+28)
12,420 (+3,963)
259,951 (-802)
568 (-67)
2,171 (-77)
834 (+22)
1,514 (+25)
1,127 (+22)
247,044 (+84)
476 (+23)
443 (+44)
914 (-5)
253,108 (-69,325)
1,079 (-21)
1,774 (+622)
373 (+22)
705 (+18)
710 (+18)
493 (+22)
57,644 (-2,020)
233,500 (-22,934)
676 (+18)
7,779 (-872)
23,750 (+19)
5,732 (+62)
4,598 (+49)
30,297 (+25,350)
5,756 (+85)
42,724 (-1,062)
21,643 (+25)
23,553 (+39)
469,051 (-4,937)
416,452 (+402,561)
348,636 (-22,356)
1,181 (+35)
1,293 (+22)
22,820 (-2,300)
2,426 (+22)
249,208 (-15,968)
327,424 (-8,284) | **-7.91%**
**+0.95%**
**-0.98%**
**-1.50%**
**+0.02%**
**+46.86%**
**-0.31%**
**-10.55%**
**-3.43%**
**+2.71%**
**+1.68%**
**+1.99%**
**+0.03%**
**+5.08%**
**+11.03%**
**-0.54%**
**-21.50%**
**-1.91%**
**+53.99%**
**+6.27%**
**+2.62%**
**+2.60%**
**+4.67%**
**-3.39%**
**-8.94%**
**+2.74%**
**-10.08%**
**+0.08%**
**+1.09%**
**+1.08%**
**+512.43%**
**+1.50%**
**-2.43%**
**+0.12%**
**+0.17%**
**-1.04%**
**+2898.00%**
**-6.03%**
**+3.05%**
**+1.73%**
**-9.16%**
**+0.92%**
**-6.02%**
**-2.47%** | 398,171 (-236,518)
430,755 (-8,480)
894 (0)
405 (0)
177,285 (+22)
7,913 (+2,917)
254,459 (-930)
568 (-67)
1,050 (0)
889 (+22)
1,530 (+22)
1,130 (+22)
247,904 (-45)
471 (+22)
443 (+44)
742 (0)
379,725 (-8,991)
669 (0)
1,774 (+1,022)
373 (+22)
593 (+22)
591 (+22)
493 (+22)
11,007 (-1,471)
148,456 (-17,582)
471 (+22)
8,238 (-66)
23,878 (0)
5,732 (+62)
4,598 (+49)
4,881 (-66)
5,756 (+85)
2,717 (-67)
21,814 (0)
23,812 (0)
469,051 (-4,937)
540,732 (+526,841)
345,216 (-49,628)
980 (+44)
493 (+22)
21,822 (-2,657)
2,426 (+22)
182,413 (-2,833)
327,424 (-8,284) | **-37.27%**
**-1.93%**
**0.00%**
**0.00%**
**+0.01%**
**+58.39%**
**-0.36%**
**-10.55%**
**0.00%**
**+2.54%**
**+1.46%**
**+1.99%**
**-0.02%**
**+4.90%**
**+11.03%**
**0.00%**
**-2.31%**
**0.00%**
**+135.90%**
**+6.27%**
**+3.85%**
**+3.87%**
**+4.67%**
**-11.79%**
**-10.59%**
**+4.90%**
**-0.79%**
**0.00%**
**+1.09%**
**+1.08%**
**-1.33%**
**+1.50%**
**-2.41%**
**0.00%**
**0.00%**
**-1.04%**
**+3792.68%**
**-12.57%**
**+4.70%**
**+4.67%**
**-10.85%**
**+0.92%**
**-1.53%**
**-2.47%** | 1,084,878 (-14,126)
926,748 (+244,864)
4,894 (0)
2,405 (0)
314,724 (+66)
23,501 (-35)
305,124 (-2,270)
568 (-67)
9,050 (0)
889 (+22)
2,911 (+22)
1,193 (+22)
247,904 (-45)
2,471 (+22)
443 (+44)
2,742 (0)
546,086 (-10,768)
2,669 (0)
2,774 (+22)
373 (+22)
2,593 (+22)
2,591 (+22)
493 (+22)
200,020 (-4,621)
2,293,327 (-8,768)
2,471 (+22)
10,238 (-66)
23,878 (0)
8,791 (+79)
8,576 (+55)
108,709 (+103,762)
8,815 (+102)
108,692 (-2,679)
21,814 (0)
23,812 (0)
469,051 (-4,937)
697,123 (+683,232)
2,095,559 (-5,545)
4,980 (+44)
2,493 (+22)
51,876 (-2,657)
2,426 (+22)
1,930,391 (-13,111)
327,424 (-8,284) | **-1.29%**
**+35.91%**
**0.00%**
**0.00%**
**+0.02%**
**-0.15%**
**-0.74%**
**-10.55%**
**0.00%**
**+2.54%**
**+0.76%**
**+1.88%**
**-0.02%**
**+0.90%**
**+11.03%**
**0.00%**
**-1.93%**
**0.00%**
**+0.80%**
**+6.27%**
**+0.86%**
**+0.86%**
**+4.67%**
**-2.26%**
**-0.38%**
**+0.90%**
**-0.64%**
**0.00%**
**+0.91%**
**+0.65%**
**+2097.47%**
**+1.17%**
**-2.41%**
**0.00%**
**0.00%**
**-1.04%**
**+4918.52%**
**-0.26%**
**+0.89%**
**+0.89%**
**-4.87%**
**+0.92%**
**-0.67%**
**-2.47%** | 331 (+74)
43 (+3)
519 (-1)
24 (+1)
17 (0)
5 (-5)
1,717 (+223)
4 (+3)
214 (+7)
5 (0)
87 (-1)
36 (0)
284 (+37)
2,546 (+401)
1 (0)
347 (-2)
32 (+4)
156 (+3)
4 (-6)
1 (0)
482 (+2)
453 (0)
1 (0)
4 (0)
69 (+5)
2,829 (+438)
39 (+10)
285 (+37)
2 (0)
4 (0)
4 (+3)
2 (0)
21 (0)
286 (+37)
287 (+37)
1 (0)
3 (+2)
673 (+165)
476 (0)
5 (0)
1,313 (+3)
1 (0)
93 (+8)
1 (0) | +| **Lens** | 5,038,336 (+162,625) | _computeLiquidationRepayAmount_
_getAverageBorrowRatePerBlock_
_getAverageSupplyRatePerBlock_
_getCurrentBorrowBalanceInOf_
_getCurrentCompBorrowIndex_
_getCurrentCompSupplyIndex_
_getCurrentP2PBorrowIndex_
_getCurrentP2PSupplyIndex_
_getCurrentSupplyBalanceInOf_
_getCurrentUserBorrowRatePerBlock_
_getCurrentUserSupplyRatePerBlock_
_getEnteredMarkets_
_getIndexes_
_getMainMarketData_
_getMarketConfiguration_
_getNextUserBorrowRatePerBlock_
_getNextUserSupplyRatePerBlock_
_getRatesPerBlock_
_getTotalBorrow_
_getTotalMarketBorrow_
_getTotalMarketSupply_
_getTotalSupply_
_getUserBalanceStates_
_getUserHealthFactor_
_getUserLiquidityDataForAsset_
_getUserMaxCapacitiesForAsset_
_getUserUnclaimedRewards_
_initialize_
_isLiquidatable_ | 56,582 (-729)
45,579 (-1,293)
40,161 (+55)
13,719 (+33)
9,005 (-4,055)
7,809 (-3,989)
35,121 (-57,951)
11,002 (+11)
13,792 (+77)
54,976 (-1,943)
56,438 (-1,943)
6,942 (+22)
15,791 (-894)
90,113 (-2,142)
49,352 (-91)
61,611 (-1,950)
61,634 (-1,906)
38,277 (-1,016)
224,694 (-5,038)
22,924 (-1,249)
21,263 (-891)
338,240 (-4,603)
53,745 (-707)
45,883 (+77)
24,787 (+66)
11,926 (+44)
20,058 (+33)
2,776 (0)
53,725 (-762) | **-1.27%**
**-2.76%**
**+0.14%**
**+0.24%**
**-31.05%**
**-33.81%**
**-62.26%**
**+0.10%**
**+0.56%**
**-3.41%**
**-3.33%**
**+0.32%**
**-5.36%**
**-2.32%**
**-0.18%**
**-3.07%**
**-3.00%**
**-2.59%**
**-2.19%**
**-5.17%**
**-4.02%**
**-1.34%**
**-1.30%**
**+0.17%**
**+0.27%**
**+0.37%**
**+0.16%**
**0.00%**
**-1.40%** | 107,868 (-766)
63,276 (-1,086)
61,078 (-652)
20,763 (-106)
11,038 (-2,022)
9,809 (-1,989)
63,893 (-29,179)
51,850 (-198)
21,092 (-496)
68,345 (-1,527)
68,703 (-1,527)
6,942 (+22)
44,014 (-4,769)
90,113 (-2,142)
50,122 (-102)
87,213 (-1,524)
87,093 (-1,505)
42,021 (-1,014)
224,694 (-5,038)
25,531 (-1,882)
24,107 (-1,659)
338,240 (-4,603)
65,796 (-886)
58,997 (-666)
59,939 (-435)
94,500 (-7,961)
44,422 (-167)
71,274 (+58)
58,632 (-548) | **-0.71%**
**-1.69%**
**-1.06%**
**-0.51%**
**-15.48%**
**-16.86%**
**-31.35%**
**-0.38%**
**-2.30%**
**-2.19%**
**-2.17%**
**+0.32%**
**-9.78%**
**-2.32%**
**-0.20%**
**-1.72%**
**-1.70%**
**-2.36%**
**-2.19%**
**-6.87%**
**-6.44%**
**-1.34%**
**-1.33%**
**-1.12%**
**-0.72%**
**-7.77%**
**-0.37%**
**+0.08%**
**-0.93%** | 95,073 (-1,579)
47,579 (-1,293)
45,937 (-1,002)
13,719 (+33)
11,038 (-2,022)
9,809 (-1,989)
63,893 (-29,179)
51,850 (-198)
17,836 (-861)
56,976 (-1,943)
57,068 (-1,943)
6,942 (+22)
37,682 (+1,099)
90,113 (-2,142)
50,122 (-102)
75,810 (-1,434)
75,807 (-1,390)
38,277 (-1,016)
224,694 (-5,038)
25,531 (-1,882)
24,107 (-1,659)
338,240 (-4,603)
57,745 (-707)
58,187 (-773)
39,287 (+66)
85,085 (-5,690)
41,887 (+33)
71,517 (+22)
54,553 (+66) | **-1.63%**
**-2.65%**
**-2.13%**
**+0.24%**
**-15.48%**
**-16.86%**
**-31.35%**
**-0.38%**
**-4.61%**
**-3.30%**
**-3.29%**
**+0.32%**
**+3.00%**
**-2.32%**
**-0.20%**
**-1.86%**
**-1.80%**
**-2.59%**
**-2.19%**
**-6.87%**
**-6.44%**
**-1.34%**
**-1.21%**
**-1.31%**
**+0.17%**
**-6.27%**
**+0.08%**
**+0.03%**
**+0.12%** | 168,711 (-1,137)
125,931 (-576)
124,748 (-482)
34,852 (-385)
13,071 (+11)
11,809 (+11)
92,665 (-407)
92,699 (-407)
34,905 (-341)
99,989 (-385)
100,061 (-385)
6,942 (+22)
92,709 (-374)
90,113 (-2,142)
50,892 (-113)
158,653 (-1,390)
158,646 (-1,390)
99,277 (-1,016)
224,694 (-5,038)
28,138 (-2,516)
26,952 (-2,427)
338,240 (-4,603)
109,136 (-1,469)
75,210 (-253)
136,952 (-352)
165,329 (-198)
101,399 (-2,050)
71,517 (+22)
93,044 (-541) | **-0.67%**
**-0.46%**
**-0.38%**
**-1.09%**
**+0.08%**
**+0.09%**
**-0.44%**
**-0.44%**
**-0.97%**
**-0.38%**
**-0.38%**
**+0.32%**
**-0.40%**
**-2.32%**
**-0.22%**
**-0.87%**
**-0.87%**
**-1.01%**
**-2.19%**
**-8.21%**
**-8.26%**
**-1.34%**
**-1.33%**
**-0.34%**
**-0.26%**
**-0.12%**
**-1.98%**
**+0.03%**
**-0.58%** | 19 (-1)
6 (0)
6 (0)
3 (0)
2 (+1)
2 (+1)
2 (+1)
2 (0)
4 (0)
5 (0)
5 (0)
1 (0)
5 (+2)
1 (0)
2 (0)
9 (0)
9 (0)
21 (0)
2 (0)
4 (0)
4 (0)
2 (0)
9 (0)
10 (0)
10 (0)
23 (+1)
10 (0)
284 (+37)
24 (-1) | | **PositionsManager** | 4,592,720 (+291,600) | _borrowLogic_
_liquidateLogic_
_repayLogic_
_supplyLogic_
_withdrawLogic_ | 556 (-147,533)
1,046 (-1,855)
679 (0)
759 (+22)
657 (0) | **-99.62%**
**-63.94%**
**0.00%**
**+2.99%**
**0.00%** | 503,082 (-39,042)
247,375 (-82,027)
219,166 (-25,060)
344,282 (-21,036)
244,934 (-20,058) | **-7.20%**
**-24.90%**
**-10.26%**
**-5.76%**
**-7.57%** | 426,548 (-15,648)
376,224 (-8,359)
141,582 (-19,981)
342,120 (-53,095)
178,893 (-2,526) | **-3.54%**
**-2.17%**
**-12.37%**
**-13.43%**
**-1.39%** | 1,081,377 (-13,795)
542,584 (-10,136)
2,289,787 (-8,443)
2,092,034 (-5,214)
1,926,871 (-12,804) | **-1.26%**
**-1.83%**
**-0.37%**
**-0.25%**
**-0.66%** | 374 (+79)
32 (+5)
73 (+6)
677 (+169)
94 (+9) | | **InterestRatesManager** | 845,047 (+38,239) | _updateP2PIndexes_ | 618 (0) | **0.00%** | 24,182 (-3,004) | **-11.05%** | 20,674 (-2,612) | **-11.22%** | 102,527 (-320) | **-0.31%** | 2,551 (+237) | | **RewardsManager** | 972,578 (0) | _accrueUserBorrowUnclaimedRewards_
_accrueUserSupplyUnclaimedRewards_
_claimRewards_
_compBorrowerIndex_
_compSupplierIndex_
_getLocalCompBorrowState_
_getLocalCompSupplyState_
_initialize_ | 2,107 (0)
2,129 (0)
20,828 (+88)
708 (0)
731 (0)
826 (0)
849 (0)
2,753 (0) | **0.00%**
**0.00%**
**+0.42%**
**0.00%**
**0.00%**
**0.00%**
**0.00%**
**0.00%** | 23,043 (-185)
28,068 (+27)
68,539 (-36)
1,088 (-64)
912 (-29)
1,270 (-89)
1,071 (-44)
68,914 (+35) | **-0.80%**
**+0.10%**
**-0.05%**
**-5.56%**
**-3.08%**
**-6.55%**
**-3.95%**
**+0.05%** | 23,802 (0)
25,824 (0)
67,447 (+71)
708 (0)
731 (0)
826 (0)
849 (0)
69,148 (0) | **0.00%**
**0.00%**
**+0.11%**
**0.00%**
**0.00%**
**0.00%**
**0.00%**
**0.00%** | 56,277 (0)
57,058 (0)
182,933 (-2,066)
2,708 (0)
2,731 (0)
2,826 (0)
2,849 (0)
69,148 (0) | **0.00%**
**0.00%**
**-1.12%**
**0.00%**
**0.00%**
**0.00%**
**0.00%**
**0.00%** | 669 (+93)
959 (+174)
24 (0)
21 (+3)
22 (+3)
18 (+3)
18 (+3)
284 (+37) | diff --git a/yarn.lock b/yarn.lock index 86c6b33..53ab2d2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,10 +2,10 @@ # yarn lockfile v1 -"@actions/artifact@^2.1.7": - version "2.1.7" - resolved "https://registry.yarnpkg.com/@actions/artifact/-/artifact-2.1.7.tgz#1e9d8f54f8fe7988aad76c5c545fa064f056c52e" - integrity sha512-iIFsTPZnb182dBc+Is5v7ZqojC4ydO8Ru4/PD8Azg2diV//fdW3H6biEH/utUlNhwfOuHxZpC/QSQsU5KDEuuw== +"@actions/artifact@^2.1.11": + version "2.1.11" + resolved "https://registry.yarnpkg.com/@actions/artifact/-/artifact-2.1.11.tgz#3dac32ea6feaa545bb99cb04bc4dd97b0c58e86a" + integrity sha512-V/N/3yM3oLxozq2dpdGqbd/39UbDOR54bF25vYsvn3QZnyZERSzPjTAAwpGzdcwESye9G7vnuhPiKQACEuBQpg== dependencies: "@actions/core" "^1.10.0" "@actions/github" "^5.1.1" @@ -17,12 +17,11 @@ "@octokit/request-error" "^5.0.0" "@protobuf-ts/plugin" "^2.2.3-alpha.1" archiver "^7.0.1" - crypto "^1.0.1" jwt-decode "^3.1.2" twirp-ts "^2.5.0" unzip-stream "^0.3.1" -"@actions/core@^1.10.0", "@actions/core@^1.10.1": +"@actions/core@^1.10.0": version "1.10.1" resolved "https://registry.yarnpkg.com/@actions/core/-/core-1.10.1.tgz#61108e7ac40acae95ee36da074fa5850ca4ced8a" integrity sha512-3lBR9EDAY+iYIpTnTIXmWcNbX3T2kCkAEQGIQx4NVQ0575nk2k3GRZDTPQG+vVtS2izSLmINlxXf0uLtnrTP+g== @@ -30,6 +29,14 @@ "@actions/http-client" "^2.0.1" uuid "^8.3.2" +"@actions/core@^1.11.1": + version "1.11.1" + resolved "https://registry.yarnpkg.com/@actions/core/-/core-1.11.1.tgz#ae683aac5112438021588030efb53b1adb86f172" + integrity sha512-hXJCSrkwfA46Vd9Z3q4cpEpHB1rL5NG04+/rbqW9d3+CSvtB1tYe8UTpAlixa1vj0m/ULglfEK2UKxMGxCxv5A== + dependencies: + "@actions/exec" "^1.1.1" + "@actions/http-client" "^2.0.1" + "@actions/exec@^1.1.1": version "1.1.1" resolved "https://registry.yarnpkg.com/@actions/exec/-/exec-1.1.1.tgz#2e43f28c54022537172819a7cf886c844221a611" @@ -1057,18 +1064,18 @@ dependencies: "@types/istanbul-lib-report" "*" -"@types/jest@^29.5.12": - version "29.5.12" - resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.5.12.tgz#7f7dc6eb4cf246d2474ed78744b05d06ce025544" - integrity sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw== +"@types/jest@^29.5.13": + version "29.5.13" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.5.13.tgz#8bc571659f401e6a719a7bf0dbcb8b78c71a8adc" + integrity sha512-wd+MVEZCHt23V0/L642O5APvspWply/rGY5BcW4SUETo2UzPU3Z26qr8jC2qxpimI2jjx9h7+2cj2FwIr01bXg== dependencies: expect "^29.0.0" pretty-format "^29.0.0" -"@types/lodash@^4.17.4": - version "4.17.4" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.17.4.tgz#0303b64958ee070059e3a7184048a55159fe20b7" - integrity sha512-wYCP26ZLxaT3R39kiN2+HcJ4kTd3U1waI/cY7ivWYqFP6pW3ZNpvi6Wd6PHZx7T/t8z0vlkXMg3QYLa7DZ/IJQ== +"@types/lodash@^4.17.12": + version "4.17.12" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.17.12.tgz#25d71312bf66512105d71e55d42e22c36bcfc689" + integrity sha512-sviUmCE8AYdaF/KIHLDJBQgeYzPBI0vf/17NaYehBJfYD1j6/L95Slh07NlyK2iNyBNaEkb3En2jRt+a8y3xZQ== "@types/minimatch@^5.1.2": version "5.1.2" @@ -1083,13 +1090,20 @@ "@types/node" "*" form-data "^4.0.0" -"@types/node@*", "@types/node@^20.12.12": +"@types/node@*": version "20.12.12" resolved "https://registry.yarnpkg.com/@types/node/-/node-20.12.12.tgz#7cbecdf902085cec634fdb362172dfe12b8f2050" integrity sha512-eWLDGF/FOSPtAvEqeRAQ4C8LSA7M1I7i0ky1I8U7kD1J5ITyW3AsRhQrKVoWf5pFKZ2kILsEGJhsI9r93PYnOw== dependencies: undici-types "~5.26.4" +"@types/node@^22.7.8": + version "22.7.8" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.7.8.tgz#a1dbf0dc5f71bdd2642fc89caef65d58747ce825" + integrity sha512-a922jJy31vqR5sk+kAdIENJjHblqcZ4RmERviFsER4WJcEONqxKcjNOlk0q7OUfrF5sddT+vng070cdfMlrPLg== + dependencies: + undici-types "~6.19.2" + "@types/stack-utils@^2.0.0": version "2.0.3" resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.3.tgz#6209321eb2c1712a7e7466422b8cb1fc0d9dd5d8" @@ -1126,10 +1140,10 @@ abort-controller@^3.0.0: dependencies: event-target-shim "^5.0.0" -adm-zip@^0.5.12: - version "0.5.12" - resolved "https://registry.yarnpkg.com/adm-zip/-/adm-zip-0.5.12.tgz#87786328e91d54b37358d8a50f954c4cd73ba60b" - integrity sha512-6TVU49mK6KZb4qG6xWaaM4C7sA/sgUMLy/JYMOzkcp3BvVLpW0fXDFQiIzAuxFCt/2+xD7fNIiPFAoLZPhVNLQ== +adm-zip@^0.5.16: + version "0.5.16" + resolved "https://registry.yarnpkg.com/adm-zip/-/adm-zip-0.5.16.tgz#0b5e4c779f07dedea5805cdccb1147071d94a909" + integrity sha512-TGw5yVi4saajsSEgz25grObGHEUaDrniwvA2qwSC060KfqGPdglhvPMA2lPIoxs3PQIItj2iag35fONcQqgUaQ== ansi-escapes@^4.2.1: version "4.3.2" @@ -1213,6 +1227,11 @@ argparse@^1.0.7: dependencies: sprintf-js "~1.0.2" +async@^3.2.3: + version "3.2.6" + resolved "https://registry.yarnpkg.com/async/-/async-3.2.6.tgz#1b0728e14929d51b85b449b7f06e27c1145e38ce" + integrity sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA== + async@^3.2.4: version "3.2.5" resolved "https://registry.yarnpkg.com/async/-/async-3.2.5.tgz#ebd52a8fdaf7a2289a24df399f8d8485c8a46b66" @@ -1358,7 +1377,7 @@ browserslist@^4.22.2: node-releases "^2.0.14" update-browserslist-db "^1.0.13" -bs-logger@0.x: +bs-logger@^0.2.6: version "0.2.6" resolved "https://registry.yarnpkg.com/bs-logger/-/bs-logger-0.2.6.tgz#eb7d365307a72cf974cc6cda76b68354ad336bd8" integrity sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog== @@ -1439,7 +1458,7 @@ chalk@^2.4.2: escape-string-regexp "^1.0.5" supports-color "^5.3.0" -chalk@^4.0.0: +chalk@^4.0.0, chalk@^4.0.2: version "4.1.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== @@ -1583,11 +1602,6 @@ cross-spawn@^7.0.0, cross-spawn@^7.0.3: shebang-command "^2.0.0" which "^2.0.1" -crypto@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/crypto/-/crypto-1.0.1.tgz#2af1b7cad8175d24c8a1b0778255794a21803037" - integrity sha512-VxBKmeNcqQdiUQUW2Tzq0t377b54N2bMtXO/qiLa+6eRRmmC4qT3D4OnTGoT/U6O9aklQ/jTwbOtRMTTY8G0Ig== - debug@^4.1.0, debug@^4.1.1, debug@^4.3.1: version "4.3.4" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" @@ -1638,6 +1652,13 @@ eastasianwidth@^0.2.0: resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== +ejs@^3.1.10: + version "3.1.10" + resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.10.tgz#69ab8358b14e896f80cc39e62087b88500c3ac3b" + integrity sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA== + dependencies: + jake "^10.8.5" + electron-to-chromium@^1.4.668: version "1.4.783" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.783.tgz#933887165b8b6025a81663d2d97cf4b85cde27b2" @@ -1743,6 +1764,13 @@ fb-watchman@^2.0.0: dependencies: bser "2.1.1" +filelist@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/filelist/-/filelist-1.0.4.tgz#f78978a1e944775ff9e62e744424f215e58352b5" + integrity sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q== + dependencies: + minimatch "^5.0.1" + fill-range@^7.1.1: version "7.1.1" resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292" @@ -2010,6 +2038,16 @@ jackspeak@^3.1.2: optionalDependencies: "@pkgjs/parseargs" "^0.11.0" +jake@^10.8.5: + version "10.9.2" + resolved "https://registry.yarnpkg.com/jake/-/jake-10.9.2.tgz#6ae487e6a69afec3a5e167628996b59f35ae2b7f" + integrity sha512-2P4SQ0HrLQ+fw6llpLnOaGAvN2Zu6778SJMrCUwns4fOoG9ayrTiZk3VV8sCPkVZF8ab0zksVpS8FDY5pRCNBA== + dependencies: + async "^3.2.3" + chalk "^4.0.2" + filelist "^1.0.4" + minimatch "^3.1.2" + javascript-natural-sort@0.7.1: version "0.7.1" resolved "https://registry.yarnpkg.com/javascript-natural-sort/-/javascript-natural-sort-0.7.1.tgz#f9e2303d4507f6d74355a73664d1440fb5a0ef59" @@ -2435,7 +2473,7 @@ locate-path@^5.0.0: dependencies: p-locate "^4.1.0" -lodash.memoize@4.x: +lodash.memoize@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" integrity sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag== @@ -2471,7 +2509,7 @@ make-dir@^4.0.0: dependencies: semver "^7.5.3" -make-error@1.x: +make-error@^1.3.6: version "1.3.6" resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== @@ -2513,14 +2551,21 @@ mimic-fn@^2.1.0: resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== -minimatch@^3.0.4, minimatch@^3.1.1: +minimatch@^10.0.1: + version "10.0.1" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-10.0.1.tgz#ce0521856b453c86e25f2c4c0d03e6ff7ddc440b" + integrity sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ== + dependencies: + brace-expansion "^2.0.1" + +minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== dependencies: brace-expansion "^1.1.7" -minimatch@^5.1.0: +minimatch@^5.0.1, minimatch@^5.1.0: version "5.1.6" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96" integrity sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g== @@ -2845,6 +2890,11 @@ semver@^7.5.3, semver@^7.5.4: resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.2.tgz#1e3b34759f896e8f14d6134732ce798aeb0c6e13" integrity sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w== +semver@^7.6.3: + version "7.6.3" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.3.tgz#980f7b5550bc175fb4dc09403085627f9eb33143" + integrity sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A== + shebang-command@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" @@ -3073,19 +3123,20 @@ tr46@~0.0.3: resolved "https://registry.yarnpkg.com/traverse/-/traverse-0.3.9.tgz#717b8f220cc0bb7b44e40514c22b2e8bbc70d8b9" integrity sha512-iawgk0hLP3SxGKDfnDJf8wTz4p2qImnyihM5Hh/sGvQ3K37dPi/w8sRhdNIxYA1TwFwc5mDhIJq+O0RsvXBKdQ== -ts-jest@^29.1.4: - version "29.1.4" - resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.1.4.tgz#26f8a55ce31e4d2ef7a1fd47dc7fa127e92793ef" - integrity sha512-YiHwDhSvCiItoAgsKtoLFCuakDzDsJ1DLDnSouTaTmdOcOwIkSzbLXduaQ6M5DRVhuZC/NYaaZ/mtHbWMv/S6Q== +ts-jest@^29.2.5: + version "29.2.5" + resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.2.5.tgz#591a3c108e1f5ebd013d3152142cb5472b399d63" + integrity sha512-KD8zB2aAZrcKIdGk4OwpJggeLcH1FgrICqDSROWqlnJXGCXK4Mn6FcdK2B6670Xr73lHMG1kHw8R87A0ecZ+vA== dependencies: - bs-logger "0.x" - fast-json-stable-stringify "2.x" + bs-logger "^0.2.6" + ejs "^3.1.10" + fast-json-stable-stringify "^2.1.0" jest-util "^29.0.0" json5 "^2.2.3" - lodash.memoize "4.x" - make-error "1.x" - semver "^7.5.3" - yargs-parser "^21.0.1" + lodash.memoize "^4.1.2" + make-error "^1.3.6" + semver "^7.6.3" + yargs-parser "^21.1.1" ts-poet@^4.5.0: version "4.15.0" @@ -3132,16 +3183,21 @@ typescript@^3.9: resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.10.tgz#70f3910ac7a51ed6bef79da7800690b19bf778b8" integrity sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q== -typescript@^5.4.5: - version "5.4.5" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.5.tgz#42ccef2c571fdbd0f6718b1d1f5e6e5ef006f611" - integrity sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ== +typescript@^5.6.3: + version "5.6.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.6.3.tgz#5f3449e31c9d94febb17de03cc081dd56d81db5b" + integrity sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw== undici-types@~5.26.4: version "5.26.5" resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== +undici-types@~6.19.2: + version "6.19.8" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02" + integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw== + undici@^5.25.4: version "5.28.4" resolved "https://registry.yarnpkg.com/undici/-/undici-5.28.4.tgz#6b280408edb6a1a604a9b20340f45b422e373068" @@ -3289,7 +3345,7 @@ yaml@^1.10.2: resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== -yargs-parser@^21.0.1, yargs-parser@^21.1.1: +yargs-parser@^21.1.1: version "21.1.1" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==