From 673b674389fa5330d911ffbe72610466b25d1ae6 Mon Sep 17 00:00:00 2001 From: zoeyTM Date: Fri, 21 Feb 2025 00:17:07 -0500 Subject: [PATCH 1/3] update mermaid version --- packages/hardhat-ignition-ui/package.json | 4 +-- pnpm-lock.yaml | 35 ++++++++++++----------- 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/packages/hardhat-ignition-ui/package.json b/packages/hardhat-ignition-ui/package.json index 567ec1a1e3..c149e80375 100644 --- a/packages/hardhat-ignition-ui/package.json +++ b/packages/hardhat-ignition-ui/package.json @@ -5,7 +5,7 @@ "scripts": { "predev": "pnpm regenerate-deployment-example", "dev": "vite --force", - "build": "tsc --build . && vite build", + "build": "tsc && vite build", "test": "mocha --loader=ts-node/esm --recursive \"test/**/*.ts\"", "test:coverage": "nyc mocha --loader=ts-node/esm --recursive \"test/**/*.ts\"", "regenerate-deployment-example": "node ./scripts/generate-example-deployment-json.js", @@ -30,7 +30,7 @@ "eslint": "^8.38.0", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.3.4", - "mermaid": "10.8.0", + "mermaid": "10.9.3", "mocha": "^9.1.3", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 03218c1790..0daa77aaeb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -983,8 +983,8 @@ importers: specifier: ^0.3.4 version: 0.3.5(eslint@8.57.1) mermaid: - specifier: 10.8.0 - version: 10.8.0 + specifier: ^10.9.0 + version: 10.9.3 mocha: specifier: ^9.1.3 version: 9.2.2 @@ -3697,9 +3697,6 @@ packages: '@types/through@0.0.33': resolution: {integrity: sha512-HsJ+z3QuETzP3cswwtzt2vEIiHBk/dCcHGhbmG5X3ecnwFD/lPrMpliGXxSCg03L9AhrdwA4Oz/qfspkDW+xGQ==} - '@types/trusted-types@2.0.7': - resolution: {integrity: sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==} - '@types/unist@2.0.11': resolution: {integrity: sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==} @@ -4962,8 +4959,8 @@ packages: resolution: {integrity: sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==} engines: {node: '>= 4'} - dompurify@3.2.3: - resolution: {integrity: sha512-U1U5Hzc2MO0oW3DF+G9qYN0aT7atAou4AgI0XjWz061nyBPbdxkfdhfy5uMgGn6+oLFCfn44ZGbdDqCzVmlOWA==} + dompurify@3.1.6: + resolution: {integrity: sha512-cTOAhc36AalkjtBpfG6O8JimdTMWNXjiePT2xQH/ppBGi/4uIpmj8eKyIkMJErXWARyINV/sB38yf8JCLF5pbQ==} domutils@3.1.0: resolution: {integrity: sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==} @@ -6289,6 +6286,10 @@ packages: just-extend@6.2.0: resolution: {integrity: sha512-cYofQu2Xpom82S6qD778jBDpwvvy39s1l/hrYij2u9AMdQcGRpaBu6kY4mVhuno5kJVi1DAz4aiphA2WI1/OAw==} + katex@0.16.21: + resolution: {integrity: sha512-XvqR7FgOHtWupfMiigNzmh+MgUVmDGU2kXZm899ZkPfcuoPuFxyHmXsgATDpFZDAXCI8tvinaVcDo8PIIJSo4A==} + hasBin: true + keccak@3.0.4: resolution: {integrity: sha512-3vKuW0jV8J3XNTzvfyicFR5qvxrSAGl7KIhvgOu5cmWwM7tZRj3fMbj/pfIf4be7aznbc+prBWGjywox/g2Y6Q==} engines: {node: '>=10.0.0'} @@ -6478,8 +6479,8 @@ packages: resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} engines: {node: '>= 8'} - mermaid@10.8.0: - resolution: {integrity: sha512-9CzfSreRjdDJxX796+jW4zjEq0DVw5xVF0nWsqff8OTbrt+ml0TZ5PyYUjjUZJa2NYxYJZZXewEquxGiM8qZEA==} + mermaid@10.9.3: + resolution: {integrity: sha512-V80X1isSEvAewIL3xhmz/rVmc27CVljcsbWxkxlWJWY/1kQa4XOABqpDl2qQLGKzpKm6WbTfUEKImBlUfFYArw==} methods@1.1.2: resolution: {integrity: sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==} @@ -10543,9 +10544,6 @@ snapshots: dependencies: '@types/node': 18.19.59 - '@types/trusted-types@2.0.7': - optional: true - '@types/unist@2.0.11': {} '@types/uuid@8.3.4': {} @@ -11967,9 +11965,7 @@ snapshots: dependencies: domelementtype: 2.3.0 - dompurify@3.2.3: - optionalDependencies: - '@types/trusted-types': 2.0.7 + dompurify@3.1.6: {} domutils@3.1.0: dependencies: @@ -13645,6 +13641,10 @@ snapshots: just-extend@6.2.0: {} + katex@0.16.21: + dependencies: + commander: 8.3.0 + keccak@3.0.4: dependencies: node-addon-api: 2.0.2 @@ -13828,7 +13828,7 @@ snapshots: merge2@1.4.1: {} - mermaid@10.8.0: + mermaid@10.9.3: dependencies: '@braintree/sanitize-url': 6.0.4 '@types/d3-scale': 4.0.8 @@ -13839,8 +13839,9 @@ snapshots: d3-sankey: 0.12.3 dagre-d3-es: 7.0.10 dayjs: 1.11.13 - dompurify: 3.2.3 + dompurify: 3.1.6 elkjs: 0.9.3 + katex: 0.16.21 khroma: 2.1.0 lodash-es: 4.17.21 mdast-util-from-markdown: 1.3.1 From bc09e8d15f8c545a91a6da05737ab241ada759a2 Mon Sep 17 00:00:00 2001 From: Patricio Palladino Date: Fri, 21 Feb 2025 06:24:03 +0000 Subject: [PATCH 2/3] Update lockfile --- pnpm-lock.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0daa77aaeb..f1eef51112 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -983,7 +983,7 @@ importers: specifier: ^0.3.4 version: 0.3.5(eslint@8.57.1) mermaid: - specifier: ^10.9.0 + specifier: 10.9.3 version: 10.9.3 mocha: specifier: ^9.1.3 From fb256034b42bc8a4585f7f54c48a46ce86717fbc Mon Sep 17 00:00:00 2001 From: Patricio Palladino Date: Fri, 21 Feb 2025 06:37:37 +0000 Subject: [PATCH 3/3] Fix the global build --- package.json | 4 ++-- packages/hardhat-ignition-ui/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 9a91672e2f..0ce8fb7f5d 100644 --- a/package.json +++ b/package.json @@ -13,8 +13,8 @@ "typescript": "~5.0.0" }, "scripts": { - "postbuild": "cp packages/hardhat-core/src/internal/solidity/compiler/solcjs-runner.js packages/hardhat-core/internal/solidity/compiler/solcjs-runner.js", - "build": "tsc --build packages/hardhat-core packages/hardhat-ethers packages/hardhat-verify packages/hardhat-solhint packages/hardhat-solpp packages/hardhat-truffle4 packages/hardhat-truffle5 packages/hardhat-vyper packages/hardhat-web3 packages/hardhat-web3-v4 packages/hardhat-web3-legacy packages/hardhat-chai-matchers packages/hardhat-network-helpers packages/hardhat-toolbox packages/hardhat-foundry packages/hardhat-ledger packages/hardhat-viem packages/hardhat-toolbox-viem && pnpm build:ignition", + "postbuild": "cp packages/hardhat-core/src/internal/solidity/compiler/solcjs-runner.js packages/hardhat-core/internal/solidity/compiler/solcjs-runner.js && pnpm build:ignition", + "build": "tsc --build packages/hardhat-core packages/hardhat-ethers packages/hardhat-verify packages/hardhat-solhint packages/hardhat-solpp packages/hardhat-truffle4 packages/hardhat-truffle5 packages/hardhat-vyper packages/hardhat-web3 packages/hardhat-web3-v4 packages/hardhat-web3-legacy packages/hardhat-chai-matchers packages/hardhat-network-helpers packages/hardhat-toolbox packages/hardhat-foundry packages/hardhat-ledger packages/hardhat-viem packages/hardhat-toolbox-viem", "build:ignition": "pnpm run --filter \"./packages/hardhat-ignition*\" build", "watch": "tsc --build --watch packages/hardhat-core/src packages/hardhat-ethers packages/hardhat-verify packages/hardhat-solhint packages/hardhat-solpp packages/hardhat-truffle4 packages/hardhat-truffle5 packages/hardhat-vyper packages/hardhat-web3 packages/hardhat-web3-v4 packages/hardhat-web3-legacy packages/hardhat-chai-matchers packages/hardhat-network-helpers packages/hardhat-toolbox packages/hardhat-foundry packages/hardhat-ledger packages/hardhat-viem packages/hardhat-toolbox-viem", "clean": "pnpm run --recursive clean", diff --git a/packages/hardhat-ignition-ui/package.json b/packages/hardhat-ignition-ui/package.json index c149e80375..c9a8c209be 100644 --- a/packages/hardhat-ignition-ui/package.json +++ b/packages/hardhat-ignition-ui/package.json @@ -5,7 +5,7 @@ "scripts": { "predev": "pnpm regenerate-deployment-example", "dev": "vite --force", - "build": "tsc && vite build", + "build": "tsc --build . && vite build", "test": "mocha --loader=ts-node/esm --recursive \"test/**/*.ts\"", "test:coverage": "nyc mocha --loader=ts-node/esm --recursive \"test/**/*.ts\"", "regenerate-deployment-example": "node ./scripts/generate-example-deployment-json.js",