From 6ff7bed1722f8e7afa4b4c495216ca20ea47f42a Mon Sep 17 00:00:00 2001 From: Alex Gherghisan Date: Tue, 10 Oct 2023 13:28:01 +0100 Subject: [PATCH] fix: default export in noir-version (#2757) alternative to #2751 until #2644 is closed. # Checklist: Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge. - [ ] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag. - [x] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code. - [x] Every change is related to the PR description. - [x] I have [linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) this pull request to relevant issues (if any exist). --- yarn-project/noir-compiler/src/noir-version.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/yarn-project/noir-compiler/src/noir-version.ts b/yarn-project/noir-compiler/src/noir-version.ts index aad45f07eef..4946d70fd3b 100644 --- a/yarn-project/noir-compiler/src/noir-version.ts +++ b/yarn-project/noir-compiler/src/noir-version.ts @@ -1,3 +1 @@ -import * as version from './noir-version.json' assert { type: 'json' }; - -export default version.default; +export { default } from './noir-version.json' assert { type: 'json' };