diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..a32855d --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,27 @@ +name: run + +on: + pull_request: + branches: [main] + workflow_dispatch: +jobs: + tests: + name: unit-tests + strategy: + matrix: + platform: [ubuntu-latest] + runs-on: ${{ matrix.platform }} + + steps: + - name: Checkout Code + uses: actions/checkout@v3 + + - name: Run Era Test Node + uses: dutterbutter/era-test-node-action@latest + + - name: Install Dependencies + run: yarn install + + - name: Run Tests + run: | + yarn ci:tests \ No newline at end of file diff --git a/contracts/hardhat.config.ts b/contracts/hardhat.config.ts index ac8001b..8cb3bc0 100644 --- a/contracts/hardhat.config.ts +++ b/contracts/hardhat.config.ts @@ -5,18 +5,23 @@ import "@matterlabs/hardhat-zksync-solc"; import "@matterlabs/hardhat-zksync-verify"; import "@nomiclabs/hardhat-etherscan"; -// dynamically changes endpoints for local tests -const zkSyncTestnet = - process.env.NODE_ENV == "test" - ? { +const getNetworkConfig = () => { + const env = process.env.DEPLOY_ENV || "local"; + switch (env) { + case "local": + return { url: "http://localhost:3050", ethNetwork: "http://localhost:8545", zksync: true, - // Verification endpoint for Goerli - verifyURL: - "https://zksync2-testnet-explorer.zksync.dev/contract_verification", - } - : { + }; + case "ci": + return { + url: "http://127.0.0.1:8011", + ethNetwork: "goerli", + zksync: true, + }; + case "testnet": + return { url: "https://zksync2-testnet.zksync.dev", ethNetwork: "goerli", zksync: true, @@ -24,10 +29,16 @@ const zkSyncTestnet = verifyURL: "https://zksync2-testnet-explorer.zksync.dev/contract_verification", }; + default: + throw new Error(`Unsupported DEPLOY_ENV: ${env}`); + } +}; + +const networkConfig = getNetworkConfig(); const config: HardhatUserConfig = { zksolc: { - version: "latest", // can be defined like 1.3.x + version: "latest", settings: {}, }, defaultNetwork: "zkSyncTestnet", @@ -35,7 +46,7 @@ const config: HardhatUserConfig = { hardhat: { zksync: false, }, - zkSyncTestnet, + zkSyncTestnet: networkConfig, }, solidity: { version: "0.8.17", diff --git a/contracts/package.json b/contracts/package.json index ce1ca6f..63d47cf 100644 --- a/contracts/package.json +++ b/contracts/package.json @@ -25,7 +25,8 @@ "zksync-web3": "^0.14.3" }, "scripts": { - "test": "NODE_ENV=test hardhat test --network zkSyncTestnet", + "test": "NODE_ENV=local hardhat test --network zkSyncTestnet", + "ci:tests": "DEPLOY_ENV=ci hardhat test --network zkSyncTestnet --show-stack-traces", "deploy": "hardhat deploy-zksync", "greeter": "hardhat deploy-zksync --script greeter.ts", "gasless": "hardhat deploy-zksync --script gaslessPaymaster.ts", diff --git a/contracts/test/allowlist.test.ts b/contracts/test/allowlist.test.ts index 161146c..244022c 100644 --- a/contracts/test/allowlist.test.ts +++ b/contracts/test/allowlist.test.ts @@ -1,17 +1,19 @@ import { expect } from "chai"; import { Wallet, Provider, Contract, utils } from "zksync-web3"; -import * as hre from "hardhat"; +import hardhatConfig from "../hardhat.config"; import { Deployer } from "@matterlabs/hardhat-zksync-deploy"; import * as ethers from "ethers"; -import { deployContract, fundAccount } from "./utils"; +import { deployContract, fundAccount, setupDeployer } from "./utils"; // load env file import dotenv from "dotenv"; dotenv.config(); // load wallet private key from env file -const PRIVATE_KEY = process.env.WALLET_PRIVATE_KEY || ""; +const PRIVATE_KEY = + process.env.WALLET_PRIVATE_KEY || + "0x7726827caac94a7f9e1b160f7ea819f172f7b6f9d2a97f992c38edeab82d4110"; describe("AllowlistPaymaster", function () { let provider: Provider; @@ -24,10 +26,9 @@ describe("AllowlistPaymaster", function () { let greeter: Contract; before(async function () { + const deployUrl = hardhatConfig.networks.zkSyncTestnet.url; // setup deployer - provider = Provider.getDefaultProvider(); - wallet = new Wallet(PRIVATE_KEY, provider); - deployer = new Deployer(hre, wallet); + [provider, wallet, deployer] = setupDeployer(deployUrl, PRIVATE_KEY); // setup new wallet emptyWallet = Wallet.createRandom(); console.log(`Empty wallet's address: ${emptyWallet.address}`); @@ -99,7 +100,6 @@ describe("AllowlistPaymaster", function () { expect(e.message).to.include("Ownable: caller is not the owner"); } }); - it("should prevent non-allowed user from calling Greeter", async function () { const notAllowedWallet = Wallet.createRandom().connect(provider); try { diff --git a/contracts/test/erc20fixed.test.ts b/contracts/test/erc20fixed.test.ts index f02a86e..72f819a 100644 --- a/contracts/test/erc20fixed.test.ts +++ b/contracts/test/erc20fixed.test.ts @@ -1,17 +1,19 @@ import { expect } from "chai"; import { Wallet, Provider, Contract, utils } from "zksync-web3"; -import * as hre from "hardhat"; +import hardhatConfig from "../hardhat.config"; import { Deployer } from "@matterlabs/hardhat-zksync-deploy"; import * as ethers from "ethers"; -import { deployContract, fundAccount } from "./utils"; +import { deployContract, fundAccount, setupDeployer } from "./utils"; // load env file import dotenv from "dotenv"; dotenv.config(); // load wallet private key from env file -const PRIVATE_KEY = process.env.WALLET_PRIVATE_KEY || ""; +const PRIVATE_KEY = + process.env.WALLET_PRIVATE_KEY || + "0x7726827caac94a7f9e1b160f7ea819f172f7b6f9d2a97f992c38edeab82d4110"; describe("ERC20fixedPaymaster", function () { let provider: Provider; @@ -24,10 +26,9 @@ describe("ERC20fixedPaymaster", function () { let token: Contract; before(async function () { + const deployUrl = hardhatConfig.networks.zkSyncTestnet.url; // setup deployer - provider = Provider.getDefaultProvider(); - wallet = new Wallet(PRIVATE_KEY, provider); - deployer = new Deployer(hre, wallet); + [provider, wallet, deployer] = setupDeployer(deployUrl, PRIVATE_KEY); // setup new wallet const emptyWallet = Wallet.createRandom(); console.log(`Empty wallet's address: ${emptyWallet.address}`); diff --git a/contracts/test/erc721gated.test.ts b/contracts/test/erc721gated.test.ts index 87143af..8a5e6a6 100644 --- a/contracts/test/erc721gated.test.ts +++ b/contracts/test/erc721gated.test.ts @@ -1,17 +1,19 @@ import { expect } from "chai"; import { Wallet, Provider, Contract, utils } from "zksync-web3"; -import * as hre from "hardhat"; import { Deployer } from "@matterlabs/hardhat-zksync-deploy"; import * as ethers from "ethers"; +import hardhatConfig from "../hardhat.config"; -import { deployContract, fundAccount } from "./utils"; +import { deployContract, fundAccount, setupDeployer } from "./utils"; // load env file import dotenv from "dotenv"; dotenv.config(); // load wallet private key from env file -const PRIVATE_KEY = process.env.WALLET_PRIVATE_KEY || ""; +const PRIVATE_KEY = + process.env.WALLET_PRIVATE_KEY || + "0x7726827caac94a7f9e1b160f7ea819f172f7b6f9d2a97f992c38edeab82d4110"; describe("ERC721gatedPaymaster", function () { let provider: Provider; @@ -25,11 +27,9 @@ describe("ERC721gatedPaymaster", function () { let erc721: Contract; before(async function () { + const deployUrl = hardhatConfig.networks.zkSyncTestnet.url; // setup deployer - provider = Provider.getDefaultProvider(); - wallet = new Wallet(PRIVATE_KEY, provider); - deployer = new Deployer(hre, wallet); - + [provider, wallet, deployer] = setupDeployer(deployUrl, PRIVATE_KEY); // setup new wallet userWallet = Wallet.createRandom(); userWallet = new Wallet(userWallet.privateKey, provider); diff --git a/contracts/test/gasless.test.ts b/contracts/test/gasless.test.ts index ba20697..38e6e10 100644 --- a/contracts/test/gasless.test.ts +++ b/contracts/test/gasless.test.ts @@ -1,17 +1,19 @@ import { expect } from "chai"; import { Wallet, Provider, Contract, utils } from "zksync-web3"; -import * as hre from "hardhat"; +import hardhatConfig from "../hardhat.config"; import { Deployer } from "@matterlabs/hardhat-zksync-deploy"; import * as ethers from "ethers"; -import { deployContract, fundAccount } from "./utils"; +import { deployContract, fundAccount, setupDeployer } from "./utils"; // load env file import dotenv from "dotenv"; dotenv.config(); // load wallet private key from env file -const PRIVATE_KEY = process.env.WALLET_PRIVATE_KEY || ""; +const PRIVATE_KEY = + process.env.WALLET_PRIVATE_KEY || + "0x7726827caac94a7f9e1b160f7ea819f172f7b6f9d2a97f992c38edeab82d4110"; describe("GaslessPaymaster", function () { let provider: Provider; @@ -24,10 +26,9 @@ describe("GaslessPaymaster", function () { let greeter: Contract; before(async function () { + const deployUrl = hardhatConfig.networks.zkSyncTestnet.url; // setup deployer - provider = Provider.getDefaultProvider(); - wallet = new Wallet(PRIVATE_KEY, provider); - deployer = new Deployer(hre, wallet); + [provider, wallet, deployer] = setupDeployer(deployUrl, PRIVATE_KEY); // setup new wallet emptyWallet = Wallet.createRandom(); console.log(`Empty wallet's address: ${emptyWallet.address}`); diff --git a/contracts/test/utils.ts b/contracts/test/utils.ts index 2cd5ba5..0511320 100644 --- a/contracts/test/utils.ts +++ b/contracts/test/utils.ts @@ -1,5 +1,6 @@ -import { Contract, Wallet } from "zksync-web3"; +import { Contract, Wallet, Provider } from "zksync-web3"; import { Deployer } from "@matterlabs/hardhat-zksync-deploy"; +import * as hre from "hardhat"; import * as ethers from "ethers"; async function deployContract( @@ -28,4 +29,16 @@ async function fundAccount(wallet: Wallet, address: string, amount: string) { console.log(`Account ${address} funded with ${amount}`); } -export { deployContract, fundAccount }; +function setupDeployer( + url: string, + privateKey: string, +): [Provider, Wallet, Deployer] { + // setup deployer + const provider = new Provider(url); + const wallet = new Wallet(privateKey, provider); + const deployer = new Deployer(hre, wallet); + + return [provider, wallet, deployer]; +} + +export { deployContract, fundAccount, setupDeployer }; diff --git a/frontend/src/components/PaymasterMessage.js b/frontend/src/components/PaymasterMessage.js index 958770d..b1d08e0 100644 --- a/frontend/src/components/PaymasterMessage.js +++ b/frontend/src/components/PaymasterMessage.js @@ -13,21 +13,99 @@ const PaymasterMessage = ({ switch (selectedPaymaster) { case "Allowlist Paymaster 📜": - message = - <>

You've selected the Allowlist Paymaster. Let's see if you are on the list! 📜


The Allowlist Paymaster uses the general paymaster flow which should be used if no prior actions are required from the user for the paymaster to operate. For more information, proceed to our docs here.

; + message = ( + <> + {" "} +

+ You've selected the Allowlist Paymaster. Let's see if you are on the + list! 📜 +

{" "} +
+

+ The Allowlist Paymaster uses the{" "} + general paymaster flow which + should be used if no prior actions are required from the user for + the paymaster to operate. For more information, proceed to our docs{" "} + + here. + +

+ + ); break; case "Gasless Paymaster 🆓": - message = - <>

You've selected the Gasless Paymaster. Things are going to be cheap for you!


The Gasless Paymaster uses the general paymaster flow which should be used if no prior actions are required from the user for the paymaster to operate. For more information, proceed to our docs here.

; + message = ( + <> +

+ You've selected the Gasless Paymaster. Things are going to be cheap + for you! +

{" "} +
+

+ The Gasless Paymaster uses the{" "} + general paymaster flow which + should be used if no prior actions are required from the user for + the paymaster to operate. For more information, proceed to our docs{" "} + + here. + +

+ + ); break; case "ERC20Fixed Paymaster 🎫": - message = - <>

You've selected the ERC20Fixed Paymaster. You will need to input the token contract address that is required for the paymaster.


The ERC20Fixed Paymaster uses the approval-based paymaster flow which should be used if the user is required to set certain allowance to a token for the paymaster to operate. For more information, proceed to our docs here.

; + message = ( + <> +

+ You've selected the ERC20Fixed Paymaster. You will need to input the + token contract address that is required for the paymaster. +

{" "} +
+

+ The ERC20Fixed Paymaster uses the{" "} + approval-based paymaster flow{" "} + which should be used if the user is required to set certain + allowance to a token for the paymaster to operate. For more + information, proceed to our docs{" "} + + here. + +

+ + ); additionalInputNeeded = true; break; case "ERC721Gated Paymaster 🎨": - message = - <>

You've selected the ERC721Gated Paymaster. You will need to input the NFT contract address that is gating the paymaster.


The ERC721Gated Paymaster uses the general paymaster flow which should be used if no prior actions are required from the user for the paymaster to operate. For more information, proceed to our docs here.

; + message = ( + <> +

+ You've selected the ERC721Gated Paymaster. You will need to input + the NFT contract address that is gating the paymaster. +

{" "} +
+

+ The ERC721Gated Paymaster uses the{" "} + general paymaster flow which + should be used if no prior actions are required from the user for + the paymaster to operate. For more information, proceed to our docs{" "} + + here. + +

+ + ); additionalInputNeeded = true; break; default: diff --git a/frontend/src/components/TxDetails.js b/frontend/src/components/TxDetails.js index a1c28c2..1d0ef93 100644 --- a/frontend/src/components/TxDetails.js +++ b/frontend/src/components/TxDetails.js @@ -15,9 +15,23 @@ const TxDetails = ({ txHash, signer, initialSignerBalance }) => { return (

Transaction details:

-

Transaction Hash: {txHash}

-

Signer Initial Balance: {initialSignerBalance}

-

Signer Balance After: {signerBalanceAfter}

+

+ Transaction Hash:{" "} + + {txHash} + +

+

+ Signer Initial Balance:{" "} + {initialSignerBalance}{" "} +

+

+ Signer Balance After:{" "} + {signerBalanceAfter} +

); }; diff --git a/frontend/src/constants/consts.js b/frontend/src/constants/consts.js index b4fb8ff..ee660b2 100644 --- a/frontend/src/constants/consts.js +++ b/frontend/src/constants/consts.js @@ -11,4 +11,4 @@ export const ERC721_GATED_PAYMASTER = "ERC721Gated Paymaster 🎨"; export const ERC20_GATED_PAYMASTER = "ERC20Fixed Paymaster 🎫"; export const GASLESS_PAYMASTER = "Gasless Paymaster 🆓"; export const ALLOWLIST_PAYMASTER = "Allowlist Paymaster 📜"; -export const TESTNET_EXPLORER_URL = "https://goerli.explorer.zksync.io/tx/" \ No newline at end of file +export const TESTNET_EXPLORER_URL = "https://goerli.explorer.zksync.io/tx/"; diff --git a/package.json b/package.json index 8641f69..2749bf0 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ }, "scripts": { "test:contracts": "yarn workspace contracts test", + "ci:tests": "yarn workspace contracts ci:tests", "deploy:contracts": "yarn workspace contracts deploy", "compile:contracts": "yarn workspace contracts compile", "deploy:greeter": "yarn workspace contracts greeter", diff --git a/yarn.lock b/yarn.lock index 027a256..870071c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -454,12 +454,14 @@ "@jridgewell/resolve-uri" "3.1.0" "@jridgewell/sourcemap-codec" "1.4.14" -"@matterlabs/hardhat-zksync-deploy@^0.6.1": - version "0.6.1" - resolved "https://registry.yarnpkg.com/@matterlabs/hardhat-zksync-deploy/-/hardhat-zksync-deploy-0.6.1.tgz#4a439cfd34bab33f59b8a36dda582c70a0e8f5fe" - integrity sha512-5uVcJGAc5cjWB1GjrUC/XAmF/03+QhoCaZiZA6HplgTJ9bzSWZ+Zzr+B18TFUD8+4fL8iBdstVlhw3C4j0/QLg== +"@matterlabs/hardhat-zksync-deploy@^0.6.5": + version "0.6.5" + resolved "https://registry.yarnpkg.com/@matterlabs/hardhat-zksync-deploy/-/hardhat-zksync-deploy-0.6.5.tgz#fe56bf30850e71c8d328ac1a06a100c1a0af6e3e" + integrity sha512-EZpvn8pDslfO3UA2obT8FOi5jsHhxYS5ndIR7tjL2zXKbvkbpoJR5rgKoGTJJm0riaCud674sQcxMOybVQ+2gg== dependencies: + "@matterlabs/hardhat-zksync-solc" "0.4.2" chalk "4.1.2" + ts-morph "^19.0.0" "@matterlabs/hardhat-zksync-solc@0.3.17": version "0.3.17" @@ -470,15 +472,16 @@ chalk "4.1.2" dockerode "^3.3.4" -"@matterlabs/hardhat-zksync-solc@^0.4.0": - version "0.4.0" - resolved "https://registry.yarnpkg.com/@matterlabs/hardhat-zksync-solc/-/hardhat-zksync-solc-0.4.0.tgz#4f0352398a9de9144fd2c0e32295e212318e164c" - integrity sha512-lCHozNmgLco7WOKSCG0FaywAT2Hdymlb2EZF3J4ly4gMVkz54LXXXFLtibggWH5OdYmYkMLGRvUdq8w/ilJUjQ== +"@matterlabs/hardhat-zksync-solc@0.4.2", "@matterlabs/hardhat-zksync-solc@^0.4.2": + version "0.4.2" + resolved "https://registry.yarnpkg.com/@matterlabs/hardhat-zksync-solc/-/hardhat-zksync-solc-0.4.2.tgz#64121082e88c5ab22eb4e9594d120e504f6af499" + integrity sha512-6NFWPSZiOAoo7wNuhMg4ztj7mMEH+tLrx09WuCbcURrHPijj/KxYNsJD6Uw5lapKr7G8H7SQISGid1/MTXVmXQ== dependencies: "@nomiclabs/hardhat-docker" "^2.0.0" chalk "4.1.2" dockerode "^3.3.4" fs-extra "^11.1.1" + proper-lockfile "^4.1.2" semver "^7.5.1" "@matterlabs/hardhat-zksync-verify@^0.1.8": @@ -937,6 +940,16 @@ dependencies: tslib "^2.4.0" +"@ts-morph/common@~0.20.0": + version "0.20.0" + resolved "https://registry.yarnpkg.com/@ts-morph/common/-/common-0.20.0.tgz#3f161996b085ba4519731e4d24c35f6cba5b80af" + integrity sha512-7uKjByfbPpwuzkstL3L5MQyuXPSKdoNG93Fmi2JoDcTf3pEP731JdRFAduRVkOs8oqxPsXKA+ScrWkdQ8t/I+Q== + dependencies: + fast-glob "^3.2.12" + minimatch "^7.4.3" + mkdirp "^2.1.6" + path-browserify "^1.0.1" + "@tsconfig/node10@^1.0.7": version "1.0.9" resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.9.tgz#df4907fc07a886922637b15e02d4cebc4c0021b2" @@ -1733,6 +1746,11 @@ cliui@^7.0.2: strip-ansi "^6.0.0" wrap-ansi "^7.0.0" +code-block-writer@^12.0.0: + version "12.0.0" + resolved "https://registry.yarnpkg.com/code-block-writer/-/code-block-writer-12.0.0.tgz#4dd58946eb4234105aff7f0035977b2afdc2a770" + integrity sha512-q4dMFMlXtKR3XNBHyMHt/3pwYNA69EDk00lloMOaaUMKPUXBw6lpXtbu3MMVG6/uOihGnRDOlkyqsONEUj60+w== + color-convert@^1.9.0: version "1.9.3" resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" @@ -3616,6 +3634,13 @@ minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: dependencies: brace-expansion "^1.1.7" +minimatch@^7.4.3: + version "7.4.6" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-7.4.6.tgz#845d6f254d8f4a5e4fd6baf44d5f10c8448365fb" + integrity sha512-sBz8G/YjVniEz6lKPNpKxXwazJe4c19fEfV2GDMX6AjFz+MX9uDWIZW8XreVhkFW3fkIdTv/gxWr/Kks5FFAVw== + dependencies: + brace-expansion "^2.0.1" + minimist@^1.2.0: version "1.2.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" @@ -3638,6 +3663,11 @@ mkdirp@^0.5.1: dependencies: minimist "^1.2.6" +mkdirp@^2.1.6: + version "2.1.6" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-2.1.6.tgz#964fbcb12b2d8c5d6fbc62a963ac95a273e2cc19" + integrity sha512-+hEnITedc8LAtIP9u3HJDFIdcLV2vXP33sqLLIzkv1Db1zO/1OxbvYf0Y1OC/S/Qo5dxHXepofhmxL02PsKe+A== + mnemonist@^0.38.0: version "0.38.5" resolved "https://registry.yarnpkg.com/mnemonist/-/mnemonist-0.38.5.tgz#4adc7f4200491237fe0fa689ac0b86539685cade" @@ -3964,6 +3994,11 @@ parent-module@^1.0.0: dependencies: callsites "^3.0.0" +path-browserify@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-1.0.1.tgz#d98454a9c3753d5790860f16f68867b9e46be1fd" + integrity sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g== + path-exists@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" @@ -4130,6 +4165,15 @@ prop-types@^15.8.1: object-assign "^4.1.1" react-is "^16.13.1" +proper-lockfile@^4.1.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/proper-lockfile/-/proper-lockfile-4.1.2.tgz#c8b9de2af6b2f1601067f98e01ac66baa223141f" + integrity sha512-TjNPblN4BwAWMXU8s9AEz4JmQxnD1NNL7bNOY/AKUzyamc379FWASUhc/K1pL2noVb+XmZKLL68cjzLsiOAMaA== + dependencies: + graceful-fs "^4.2.4" + retry "^0.12.0" + signal-exit "^3.0.2" + proxy-from-env@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" @@ -4320,6 +4364,11 @@ resolve@^2.0.0-next.4: path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" +retry@^0.12.0: + version "0.12.0" + resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" + integrity sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow== + reusify@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" @@ -4495,7 +4544,7 @@ side-channel@^1.0.4: get-intrinsic "^1.0.2" object-inspect "^1.9.0" -signal-exit@^3.0.3, signal-exit@^3.0.7: +signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7: version "3.0.7" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== @@ -4900,6 +4949,14 @@ ts-interface-checker@^0.1.9: resolved "https://registry.yarnpkg.com/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz#784fd3d679722bc103b1b4b8030bcddb5db2a699" integrity sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA== +ts-morph@^19.0.0: + version "19.0.0" + resolved "https://registry.yarnpkg.com/ts-morph/-/ts-morph-19.0.0.tgz#43e95fb0156c3fe3c77c814ac26b7d0be2f93169" + integrity sha512-D6qcpiJdn46tUqV45vr5UGM2dnIEuTGNxVhg0sk5NX11orcouwj6i1bMqZIz2mZTZB1Hcgy7C3oEVhAT+f6mbQ== + dependencies: + "@ts-morph/common" "~0.20.0" + code-block-writer "^12.0.0" + ts-node@^10.9.1: version "10.9.1" resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.1.tgz#e73de9102958af9e1f0b168a6ff320e25adcff4b"