Skip to content

Commit 7d9832c

Browse files
committed
feat: update Node version to 20, bump bun version to 1.2, and add patch-package for improved dependency management
1 parent 0039cdc commit 7d9832c

5 files changed

Lines changed: 162 additions & 4 deletions

File tree

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20

dockers/bundler/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM oven/bun:1.1
1+
FROM oven/bun:1.2
22
WORKDIR /app/
33

44
RUN apt-get update && \

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
"eslint-plugin-n": "^15.2.4",
4848
"eslint-plugin-promise": "^6.0.0",
4949
"lerna": "^5.4.0",
50+
"patch-package": "^8.0.0",
5051
"typescript": "^4.7.4",
5152
"webpack": "^5.74.0",
5253
"webpack-cli": "^4.10.0"
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
diff --git a/node_modules/@nomicfoundation/ethereumjs-util/dist/esm/account.js b/node_modules/@nomicfoundation/ethereumjs-util/dist/esm/account.js
2+
index 296c343..5af8365 100644
3+
--- a/node_modules/@nomicfoundation/ethereumjs-util/dist/esm/account.js
4+
+++ b/node_modules/@nomicfoundation/ethereumjs-util/dist/esm/account.js
5+
@@ -1,6 +1,6 @@
6+
import { RLP } from '@nomicfoundation/ethereumjs-rlp';
7+
import { keccak256 } from 'ethereum-cryptography/keccak.js';
8+
-import { privateKeyVerify, publicKeyConvert, publicKeyCreate, publicKeyVerify, } from 'ethereum-cryptography/secp256k1';
9+
+import { privateKeyVerify, publicKeyConvert, publicKeyCreate, publicKeyVerify, } from 'ethereum-cryptography/secp256k1.js';
10+
import { bigIntToUnpaddedBytes, bytesToBigInt, bytesToHex, concatBytes, equalsBytes, hexToBytes, toBytes, utf8ToBytes, zeros, } from './bytes.js';
11+
import { BIGINT_0, KECCAK256_NULL, KECCAK256_RLP } from './constants.js';
12+
import { assertIsBytes, assertIsHexString, assertIsString } from './helpers.js';
13+
diff --git a/node_modules/@nomicfoundation/ethereumjs-util/dist/esm/signature.js b/node_modules/@nomicfoundation/ethereumjs-util/dist/esm/signature.js
14+
index f0bfb20..a6ec775 100644
15+
--- a/node_modules/@nomicfoundation/ethereumjs-util/dist/esm/signature.js
16+
+++ b/node_modules/@nomicfoundation/ethereumjs-util/dist/esm/signature.js
17+
@@ -1,5 +1,5 @@
18+
import { keccak256 } from 'ethereum-cryptography/keccak.js';
19+
-import { ecdsaRecover, ecdsaSign, publicKeyConvert } from 'ethereum-cryptography/secp256k1';
20+
+import { ecdsaRecover, ecdsaSign, publicKeyConvert } from 'ethereum-cryptography/secp256k1.js';
21+
import { bytesToBigInt, bytesToHex, bytesToInt, concatBytes, setLengthLeft, toBytes, } from './bytes.js';
22+
import { BIGINT_0, BIGINT_1, BIGINT_2, BIGINT_27, SECP256K1_ORDER, SECP256K1_ORDER_DIV_2, } from './constants.js';
23+
import { assertIsBytes } from './helpers.js';

yarn.lock

Lines changed: 136 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3483,6 +3483,14 @@ call-bind-apply-helpers@^1.0.0, call-bind-apply-helpers@^1.0.1:
34833483
es-errors "^1.3.0"
34843484
function-bind "^1.1.2"
34853485

3486+
call-bind-apply-helpers@^1.0.2:
3487+
version "1.0.2"
3488+
resolved "https://registry.yarnpkg.com/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz#4b5428c222be985d79c3d82657479dbe0b59b2d6"
3489+
integrity sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==
3490+
dependencies:
3491+
es-errors "^1.3.0"
3492+
function-bind "^1.1.2"
3493+
34863494
call-bind@^1.0.7, call-bind@^1.0.8:
34873495
version "1.0.8"
34883496
resolved "https://registry.npmjs.org/call-bind/-/call-bind-1.0.8.tgz"
@@ -3501,6 +3509,14 @@ call-bound@^1.0.2, call-bound@^1.0.3:
35013509
call-bind-apply-helpers "^1.0.1"
35023510
get-intrinsic "^1.2.6"
35033511

3512+
call-bound@^1.0.4:
3513+
version "1.0.4"
3514+
resolved "https://registry.yarnpkg.com/call-bound/-/call-bound-1.0.4.tgz#238de935d2a2a692928c538c7ccfa91067fd062a"
3515+
integrity sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==
3516+
dependencies:
3517+
call-bind-apply-helpers "^1.0.2"
3518+
get-intrinsic "^1.3.0"
3519+
35043520
callsite@^1.0.0:
35053521
version "1.0.0"
35063522
resolved "https://registry.npmjs.org/callsite/-/callsite-1.0.0.tgz"
@@ -3643,6 +3659,11 @@ ci-info@^2.0.0:
36433659
resolved "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz"
36443660
integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==
36453661

3662+
ci-info@^3.7.0:
3663+
version "3.9.0"
3664+
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.9.0.tgz#4279a62028a7b1f262f3473fc9605f5e218c59b4"
3665+
integrity sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==
3666+
36463667
cids@^0.7.1:
36473668
version "0.7.5"
36483669
resolved "https://registry.npmjs.org/cids/-/cids-0.7.5.tgz"
@@ -4711,6 +4732,13 @@ es-object-atoms@^1.0.0:
47114732
dependencies:
47124733
es-errors "^1.3.0"
47134734

4735+
es-object-atoms@^1.1.1:
4736+
version "1.1.1"
4737+
resolved "https://registry.yarnpkg.com/es-object-atoms/-/es-object-atoms-1.1.1.tgz#1c4f2c4837327597ce69d2ca190a7fdd172338c1"
4738+
integrity sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==
4739+
dependencies:
4740+
es-errors "^1.3.0"
4741+
47144742
es-set-tostringtag@^2.0.3:
47154743
version "2.0.3"
47164744
resolved "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.3.tgz"
@@ -5489,6 +5517,13 @@ find-up@^5.0.0:
54895517
locate-path "^6.0.0"
54905518
path-exists "^4.0.0"
54915519

5520+
find-yarn-workspace-root@^2.0.0:
5521+
version "2.0.0"
5522+
resolved "https://registry.yarnpkg.com/find-yarn-workspace-root/-/find-yarn-workspace-root-2.0.0.tgz#f47fb8d239c900eb78179aa81b66673eac88f7bd"
5523+
integrity sha512-1IMnbjt4KzsQfnhnzNd8wUEgXZ44IzZaZmnLYx7D5FZlaHt2gW20Cri8Q+E/t5tIj4+epTBub+2Zxu/vNILzqQ==
5524+
dependencies:
5525+
micromatch "^4.0.2"
5526+
54925527
findup-sync@^5.0.0:
54935528
version "5.0.0"
54945529
resolved "https://registry.npmjs.org/findup-sync/-/findup-sync-5.0.0.tgz"
@@ -5640,7 +5675,7 @@ fs-extra@^8.1.0:
56405675
jsonfile "^4.0.0"
56415676
universalify "^0.1.0"
56425677

5643-
fs-extra@^9.1.0:
5678+
fs-extra@^9.0.0, fs-extra@^9.1.0:
56445679
version "9.1.0"
56455680
resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz"
56465681
integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==
@@ -5741,6 +5776,22 @@ get-intrinsic@^1.2.4, get-intrinsic@^1.2.5, get-intrinsic@^1.2.6:
57415776
hasown "^2.0.2"
57425777
math-intrinsics "^1.0.0"
57435778

5779+
get-intrinsic@^1.3.0:
5780+
version "1.3.0"
5781+
resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.3.0.tgz#743f0e3b6964a93a5491ed1bffaae054d7f98d01"
5782+
integrity sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==
5783+
dependencies:
5784+
call-bind-apply-helpers "^1.0.2"
5785+
es-define-property "^1.0.1"
5786+
es-errors "^1.3.0"
5787+
es-object-atoms "^1.1.1"
5788+
function-bind "^1.1.2"
5789+
get-proto "^1.0.1"
5790+
gopd "^1.2.0"
5791+
has-symbols "^1.1.0"
5792+
hasown "^2.0.2"
5793+
math-intrinsics "^1.1.0"
5794+
57445795
get-pkg-repo@^4.0.0:
57455796
version "4.2.1"
57465797
resolved "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-4.2.1.tgz"
@@ -5761,6 +5812,14 @@ get-port@^5.1.1:
57615812
resolved "https://registry.npmjs.org/get-port/-/get-port-5.1.1.tgz"
57625813
integrity sha512-g/Q1aTSDOxFpchXC4i8ZWvxA1lnPqx/JHqcpIw0/LX9T8x/GBbi6YnlN5nhaKIFkT8oFsscUKgDJYxfwfS6QsQ==
57635814

5815+
get-proto@^1.0.1:
5816+
version "1.0.1"
5817+
resolved "https://registry.yarnpkg.com/get-proto/-/get-proto-1.0.1.tgz#150b3f2743869ef3e851ec0c49d15b1d14d00ee1"
5818+
integrity sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==
5819+
dependencies:
5820+
dunder-proto "^1.0.1"
5821+
es-object-atoms "^1.0.0"
5822+
57645823
get-stream@^4.1.0:
57655824
version "4.1.0"
57665825
resolved "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz"
@@ -6893,7 +6952,7 @@ is-windows@^1.0.1:
68936952
resolved "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz"
68946953
integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==
68956954

6896-
is-wsl@^2.2.0:
6955+
is-wsl@^2.1.1, is-wsl@^2.2.0:
68976956
version "2.2.0"
68986957
resolved "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz"
68996958
integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==
@@ -7029,6 +7088,17 @@ json-stable-stringify-without-jsonify@^1.0.1:
70297088
resolved "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz"
70307089
integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==
70317090

7091+
json-stable-stringify@^1.0.2:
7092+
version "1.3.0"
7093+
resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.3.0.tgz#8903cfac42ea1a0f97f35d63a4ce0518f0cc6a70"
7094+
integrity sha512-qtYiSSFlwot9XHtF9bD9c7rwKjr+RecWT//ZnPvSmEjpV5mmPOCN4j8UjY5hbjNkOwZ/jQv3J6R1/pL7RwgMsg==
7095+
dependencies:
7096+
call-bind "^1.0.8"
7097+
call-bound "^1.0.4"
7098+
isarray "^2.0.5"
7099+
jsonify "^0.0.1"
7100+
object-keys "^1.1.1"
7101+
70327102
json-stream-stringify@^3.1.4:
70337103
version "3.1.6"
70347104
resolved "https://registry.npmjs.org/json-stream-stringify/-/json-stream-stringify-3.1.6.tgz"
@@ -7077,6 +7147,11 @@ jsonfile@^6.0.1:
70777147
optionalDependencies:
70787148
graceful-fs "^4.1.6"
70797149

7150+
jsonify@^0.0.1:
7151+
version "0.0.1"
7152+
resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.1.tgz#2aa3111dae3d34a0f151c63f3a45d995d9420978"
7153+
integrity sha512-2/Ki0GcmuqSrgFyelQq9M05y7PS0mEwuIzrf3f1fPqkVDVRvZrPZtVSMHxdgo8Aq0sxAOb/cr2aqqA3LeWHVPg==
7154+
70807155
jsonparse@^1.2.0, jsonparse@^1.3.1:
70817156
version "1.3.1"
70827157
resolved "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz"
@@ -7140,6 +7215,13 @@ kind-of@^6.0.2, kind-of@^6.0.3:
71407215
resolved "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz"
71417216
integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==
71427217

7218+
klaw-sync@^6.0.0:
7219+
version "6.0.0"
7220+
resolved "https://registry.yarnpkg.com/klaw-sync/-/klaw-sync-6.0.0.tgz#1fd2cfd56ebb6250181114f0a581167099c2b28c"
7221+
integrity sha512-nIeuVSzdCCs6TDPTqI8w1Yre34sSq7AkZ4B3sfOBbI2CgVSB4Du4aLQijFU2+lhAFCwt9+42Hel6lQNIv6AntQ==
7222+
dependencies:
7223+
graceful-fs "^4.1.11"
7224+
71437225
lerna@^5.4.0:
71447226
version "5.6.2"
71457227
resolved "https://registry.npmjs.org/lerna/-/lerna-5.6.2.tgz"
@@ -7480,7 +7562,7 @@ micro-ftch@^0.3.1:
74807562
resolved "https://registry.npmjs.org/micro-ftch/-/micro-ftch-0.3.1.tgz"
74817563
integrity sha512-/0LLxhzP0tfiR5hcQebtudP56gUurs2CLkGarnCiB/OqEyUFQ6U3paQi/tgLv0hBJYt2rnr9MNpxz4fiiugstg==
74827564

7483-
micromatch@^4.0.4:
7565+
micromatch@^4.0.2, micromatch@^4.0.4:
74847566
version "4.0.8"
74857567
resolved "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz"
74867568
integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==
@@ -8246,6 +8328,14 @@ onetime@^5.1.0, onetime@^5.1.2:
82468328
dependencies:
82478329
mimic-fn "^2.1.0"
82488330

8331+
open@^7.4.2:
8332+
version "7.4.2"
8333+
resolved "https://registry.yarnpkg.com/open/-/open-7.4.2.tgz#b8147e26dcf3e426316c730089fd71edd29c2321"
8334+
integrity sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q==
8335+
dependencies:
8336+
is-docker "^2.0.0"
8337+
is-wsl "^2.1.1"
8338+
82498339
open@^8.4.0:
82508340
version "8.4.2"
82518341
resolved "https://registry.npmjs.org/open/-/open-8.4.2.tgz"
@@ -8547,6 +8637,27 @@ parseurl@~1.3.3:
85478637
resolved "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz"
85488638
integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==
85498639

8640+
patch-package@^8.0.0:
8641+
version "8.0.0"
8642+
resolved "https://registry.yarnpkg.com/patch-package/-/patch-package-8.0.0.tgz#d191e2f1b6e06a4624a0116bcb88edd6714ede61"
8643+
integrity sha512-da8BVIhzjtgScwDJ2TtKsfT5JFWz1hYoBl9rUQ1f38MC2HwnEIkK8VN3dKMKcP7P7bvvgzNDbfNHtx3MsQb5vA==
8644+
dependencies:
8645+
"@yarnpkg/lockfile" "^1.1.0"
8646+
chalk "^4.1.2"
8647+
ci-info "^3.7.0"
8648+
cross-spawn "^7.0.3"
8649+
find-yarn-workspace-root "^2.0.0"
8650+
fs-extra "^9.0.0"
8651+
json-stable-stringify "^1.0.2"
8652+
klaw-sync "^6.0.0"
8653+
minimist "^1.2.6"
8654+
open "^7.4.2"
8655+
rimraf "^2.6.3"
8656+
semver "^7.5.3"
8657+
slash "^2.0.0"
8658+
tmp "^0.0.33"
8659+
yaml "^2.2.2"
8660+
85508661
path-exists@^3.0.0:
85518662
version "3.0.0"
85528663
resolved "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz"
@@ -9197,6 +9308,13 @@ reusify@^1.0.4:
91979308
resolved "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz"
91989309
integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==
91999310

9311+
rimraf@^2.6.3:
9312+
version "2.7.1"
9313+
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec"
9314+
integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==
9315+
dependencies:
9316+
glob "^7.1.3"
9317+
92009318
rimraf@^3.0.0, rimraf@^3.0.2:
92019319
version "3.0.2"
92029320
resolved "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz"
@@ -9366,6 +9484,11 @@ semver@^7.0.0, semver@^7.1.1, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semve
93669484
resolved "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz"
93679485
integrity sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==
93689486

9487+
semver@^7.5.3:
9488+
version "7.7.2"
9489+
resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.2.tgz#67d99fdcd35cec21e6f8b87a7fd515a33f982b58"
9490+
integrity sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==
9491+
93699492
send@0.19.0:
93709493
version "0.19.0"
93719494
resolved "https://registry.npmjs.org/send/-/send-0.19.0.tgz"
@@ -9570,6 +9693,11 @@ sinon@^19.0.2:
95709693
nise "^6.1.1"
95719694
supports-color "^7.2.0"
95729695

9696+
slash@^2.0.0:
9697+
version "2.0.0"
9698+
resolved "https://registry.yarnpkg.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44"
9699+
integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==
9700+
95739701
slash@^3.0.0:
95749702
version "3.0.0"
95759703
resolved "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz"
@@ -11480,6 +11608,11 @@ yaml@^1.10.0:
1148011608
resolved "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz"
1148111609
integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==
1148211610

11611+
yaml@^2.2.2:
11612+
version "2.8.0"
11613+
resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.8.0.tgz#15f8c9866211bdc2d3781a0890e44d4fa1a5fff6"
11614+
integrity sha512-4lLa/EcQCB0cJkyts+FpIRx5G/llPxfP6VQU5KByHEhLxY3IJCH0f0Hy1MHI8sClTvsIb8qwRJ6R/ZdlDJ/leQ==
11615+
1148311616
yargs-parser@20.2.4:
1148411617
version "20.2.4"
1148511618
resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz"

0 commit comments

Comments
 (0)