Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace TOML parser. #8

Merged
merged 3 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to the "Simbolik VSCode" extension will be documented in this file.

## [2.0.3] - 2024-05-28

- Fixed a bug in the TOML parser

## [2.0.2] - 2024-05-27

- Added information about the Simbolik API.
Expand Down
26 changes: 15 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"publisher": "runtimeverification",
"description": "Advanced Solidity and EVM Debugger",
"version": "2.0.2",
"version": "2.0.3",
"engines": {
"vscode": "^1.79.0"
},
Expand Down Expand Up @@ -210,7 +210,7 @@
"dependencies": {
"@solidity-parser/parser": "^0.18.0",
"@types/ws": "^8.5.10",
"ws": "^8.16.0",
"toml": "^3.0.0"
"smol-toml": "^1.2.0",
"ws": "^8.16.0"
}
}
2 changes: 1 addition & 1 deletion src/foundry.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as vscode from 'vscode';
import {getConfigValue} from './utils';
import {parse as parseToml} from 'toml';
import {parse as parseToml} from 'smol-toml';


export
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"compilerOptions": {
"rootDir": "src",
"outDir": "build",
"lib": ["ES2020"],
"target": "ES2020"
"lib": ["ES2022"],
"target": "ES2022"
},
"include": [
"src/**/*.ts",
Expand Down