From d410896a41734fc204c356d25ba161bde41c0672 Mon Sep 17 00:00:00 2001 From: MuRong Date: Fri, 15 Dec 2023 16:54:32 +0800 Subject: [PATCH 1/2] chore(compile): missing space --- packages/zkgraph-cli/src/commands/compile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/zkgraph-cli/src/commands/compile.ts b/packages/zkgraph-cli/src/commands/compile.ts index 5cc0844..333a06c 100644 --- a/packages/zkgraph-cli/src/commands/compile.ts +++ b/packages/zkgraph-cli/src/commands/compile.ts @@ -185,7 +185,7 @@ function logCompileResult(wasmPath: string, watPath: string): void { // Log compiled file size by line count const compiledFileContent = fs.readFileSync(watPath, 'utf-8') const compiledFileLineCount = compiledFileContent.split('\n').length - logger.info(`[*]${compiledFileLineCount}${compiledFileLineCount > 1 ? ' lines' : ' line'} in ${watPath}`) + logger.info(`[*] ${compiledFileLineCount}${compiledFileLineCount > 1 ? ' lines' : ' line'} in ${watPath}`) // Log status logger.info(`[+] Output written to \`${path.dirname(wasmPath)}\` folder.`) logger.info('[+] COMPILATION SUCCESS!' + '\n') From cebbf6fe46036caa1d5a35d28e74d4b727f4763d Mon Sep 17 00:00:00 2001 From: MuRong Date: Fri, 15 Dec 2023 17:02:58 +0800 Subject: [PATCH 2/2] chore: upgrade esno --- package.json | 2 +- pnpm-lock.yaml | 32 ++++++++------------------------ 2 files changed, 9 insertions(+), 25 deletions(-) diff --git a/package.json b/package.json index 096d219..de025a7 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "bumpp": "^9.2.0", "consola": "^3.2.3", "eslint": "^8.51.0", - "esno": "^0.16.3", + "esno": "^4.0.0", "fast-glob": "^3.3.1", "fs-extra": "^11.1.1", "lint-staged": "^13.3.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8c45d07..f493e90 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -43,8 +43,8 @@ importers: specifier: ^8.51.0 version: 8.55.0 esno: - specifier: ^0.16.3 - version: 0.16.3 + specifier: ^4.0.0 + version: 4.0.0 fast-glob: specifier: ^3.3.1 version: 3.3.2 @@ -2429,10 +2429,6 @@ packages: update-browserslist-db: 1.0.13(browserslist@4.22.2) dev: true - /buffer-from@1.1.2: - resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} - dev: true - /buffer@5.7.1: resolution: {integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==} dependencies: @@ -3669,11 +3665,11 @@ packages: - supports-color dev: true - /esno@0.16.3: - resolution: {integrity: sha512-6slSBEV1lMKcX13DBifvnDFpNno5WXhw4j/ff7RI0y51BZiDqEe5dNhhjhIQ3iCOQuzsm2MbVzmwqbN78BBhPg==} + /esno@4.0.0: + resolution: {integrity: sha512-tmaM9gfnSWqzePVJ5FJLYX9mMyE6ZevvOIvd1CMoMk2Fn1F3aKI/OQPjubS5wCIKlPpWfDfKFEtoslCNCiZJpQ==} hasBin: true dependencies: - tsx: 3.14.0 + tsx: 4.6.2 dev: true /espree@9.6.1: @@ -6421,18 +6417,6 @@ packages: engines: {node: '>=0.10.0'} dev: true - /source-map-support@0.5.21: - resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} - dependencies: - buffer-from: 1.1.2 - source-map: 0.6.1 - dev: true - - /source-map@0.6.1: - resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} - engines: {node: '>=0.10.0'} - dev: true - /spdx-correct@3.2.0: resolution: {integrity: sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==} dependencies: @@ -6760,13 +6744,13 @@ packages: typescript: 5.3.2 dev: true - /tsx@3.14.0: - resolution: {integrity: sha512-xHtFaKtHxM9LOklMmJdI3BEnQq/D5F73Of2E1GDrITi9sgoVkvIsrQUTY1G8FlmGtA+awCI4EBlTRRYxkL2sRg==} + /tsx@4.6.2: + resolution: {integrity: sha512-QPpBdJo+ZDtqZgAnq86iY/PD2KYCUPSUGIunHdGwyII99GKH+f3z3FZ8XNFLSGQIA4I365ui8wnQpl8OKLqcsg==} + engines: {node: '>=18.0.0'} hasBin: true dependencies: esbuild: 0.18.20 get-tsconfig: 4.7.2 - source-map-support: 0.5.21 optionalDependencies: fsevents: 2.3.3 dev: true