From b6a36c20bf52ff8e5420ab410c8a0d4e04a797b9 Mon Sep 17 00:00:00 2001 From: v1rtl Date: Thu, 27 Jun 2024 09:23:55 +0300 Subject: [PATCH] bring back ensdomains/buffer --- packages/ensjs/package.json | 5 ++++- pnpm-lock.yaml | 35 ++++------------------------------- 2 files changed, 8 insertions(+), 32 deletions(-) diff --git a/packages/ensjs/package.json b/packages/ensjs/package.json index 6a142375..3000890c 100644 --- a/packages/ensjs/package.json +++ b/packages/ensjs/package.json @@ -109,6 +109,7 @@ "pako": "^2.1.0" }, "devDependencies": { + "@ensdomains/buffer": "^0.1.1", "@ensdomains/ens-contracts": "1.0.0", "@ensdomains/ens-test-env": "workspace:*", "@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers", @@ -122,7 +123,6 @@ "cbor": "^8.1.0", "dotenv": "^16.0.0", "esbuild": "^0.15.6", - "eth-ens-namehash": "^2.0.8", "ethers": "^5.7.2", "glob": "^8.0.3", "happy-dom": "^13.3.8", @@ -142,5 +142,8 @@ }, "peerDependencies": { "viem": "^2.9.2" + }, + "engines": { + "node": ">=18" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ffd1e890..fe86d592 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -148,6 +148,9 @@ importers: specifier: ^2.1.0 version: 2.1.0 devDependencies: + '@ensdomains/buffer': + specifier: ^0.1.1 + version: 0.1.1 '@ensdomains/ens-contracts': specifier: 1.0.0 version: 1.0.0 @@ -187,9 +190,6 @@ importers: esbuild: specifier: ^0.15.6 version: 0.15.6 - eth-ens-namehash: - specifier: ^2.0.8 - version: 2.0.8 ethers: specifier: ^5.7.2 version: 5.7.2(bufferutil@4.0.8)(utf-8-validate@5.0.7) @@ -2134,9 +2134,6 @@ packages: resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} engines: {node: '>=0.10.0'} - eth-ens-namehash@2.0.8: - resolution: {integrity: sha512-VWEI1+KJfz4Km//dadyvBBoBeSQ0MHTXPvr8UIXiLW6IanxvAV+DmlZAijZwAyggqGUfwQBeHf7tc9wzc1piSw==} - ethereum-cryptography@0.1.3: resolution: {integrity: sha512-w8/4x1SGGzc+tO97TASLja6SLd3fRIK2tLVcV2Gx4IB21hE19atll5Cq9o3d0ZmAYC/8aw0ipieTSiekAea4SQ==} @@ -2484,10 +2481,6 @@ packages: resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} engines: {node: '>=0.10.0'} - idna-uts46-hx@2.3.1: - resolution: {integrity: sha512-PWoF9Keq6laYdIRwwCdhTPl60xRqAloYNMQLiyUnG42VjT53oW07BXIRM+NK7eQjzXjAk2gUvX9caRxlnF9TAA==} - engines: {node: '>=4.0.0'} - ieee754@1.2.1: resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} @@ -2726,9 +2719,6 @@ packages: js-sdsl@4.4.1: resolution: {integrity: sha512-6Gsx8R0RucyePbWqPssR8DyfuXmLBooYN5cZFZKjHGnQuaf7pEzhtpceagJxVu4LqhYY5EYA7nko3FmeHZ1KbA==} - js-sha3@0.5.7: - resolution: {integrity: sha512-GII20kjaPX0zJ8wzkTbNDYMY7msuZcTWk8S5UOh6806Jq/wz1J8/bnr8uGU0DAUmYDjj2Mr4X1cW8v/GLYnR+g==} - js-sha3@0.8.0: resolution: {integrity: sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==} @@ -3206,10 +3196,6 @@ packages: pump@3.0.0: resolution: {integrity: sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==} - punycode@2.1.0: - resolution: {integrity: sha512-Yxz2kRwT90aPiWEMHVYnEf4+rhwF1tBmmZ4KepCP+Wkium9JxtWnUm1nqGwpiAHr/tnTSeHqr3wb++jgSkXjhA==} - engines: {node: '>=6'} - punycode@2.1.1: resolution: {integrity: sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==} engines: {node: '>=6'} @@ -6369,11 +6355,6 @@ snapshots: esutils@2.0.3: {} - eth-ens-namehash@2.0.8: - dependencies: - idna-uts46-hx: 2.3.1 - js-sha3: 0.5.7 - ethereum-cryptography@0.1.3: dependencies: '@types/pbkdf2': 3.1.0 @@ -6868,10 +6849,6 @@ snapshots: dependencies: safer-buffer: 2.1.2 - idna-uts46-hx@2.3.1: - dependencies: - punycode: 2.1.0 - ieee754@1.2.1: {} ignore@5.2.0: {} @@ -7092,8 +7069,6 @@ snapshots: js-sdsl@4.4.1: {} - js-sha3@0.5.7: {} - js-sha3@0.8.0: {} js-tokens@4.0.0: {} @@ -7571,8 +7546,6 @@ snapshots: end-of-stream: 1.4.4 once: 1.4.0 - punycode@2.1.0: {} - punycode@2.1.1: {} qs@6.11.0: @@ -8225,7 +8198,7 @@ snapshots: utf-8-validate@5.0.7: dependencies: - node-gyp-build: 4.5.0 + node-gyp-build: 4.8.1 optional: true utf-8-validate@6.0.4: