Skip to content

Commit

Permalink
chore(deps): update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaka91 committed Jan 31, 2024
1 parent 7425a11 commit 7737243
Show file tree
Hide file tree
Showing 12 changed files with 72 additions and 73 deletions.
72 changes: 36 additions & 36 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ clone_on_ref_ptr = "warn"

[workspace.dependencies]
anstream = "0.6.11"
anstyle = "1.0.4"
anstyle = "1.0.5"
anyhow = "1.0.79"
clap = { version = "4.4.18", features = ["derive", "wrap_help"] }
glob = "0.3.1"
Expand All @@ -35,8 +35,8 @@ mimalloc = "0.1.39"
proc-macro2 = { version = "1.0.78", default-features = false }
quote = { version = "1.0.35", default-features = false }
rustc-hash = "1.1.0"
serde = { version = "1.0.195", features = ["derive"] }
serde_json = "1.0.111"
serde = { version = "1.0.196", features = ["derive"] }
serde_json = "1.0.113"
syn = "2.0.48"
thiserror = "1.0.56"

Expand Down
2 changes: 1 addition & 1 deletion book/biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/1.5.0/schema.json",
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"organizeImports": {
"enabled": true
},
Expand Down
4 changes: 2 additions & 2 deletions book/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"lint": "biome check --apply .vitepress/config.mts"
},
"devDependencies": {
"@biomejs/biome": "^1.5.2",
"vitepress": "^1.0.0-rc.39"
"@biomejs/biome": "^1.5.3",
"vitepress": "^1.0.0-rc.40"
}
}
Binary file modified bun.lockb
Binary file not shown.
8 changes: 4 additions & 4 deletions crates/mabo-doc/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const defaultTheme = require("tailwindcss/defaultTheme")
const colors = require("tailwindcss/colors")

/** @type {import('tailwindcss').Config} */
module.exports = {
export default {
content: {
relative: true,
files: ["./templates/**/*.html"],
Expand All @@ -13,9 +13,9 @@ module.exports = {
main: colors.neutral,
},
fontFamily: {
'sans': ['"Noto Sans"', ...defaultTheme.fontFamily.sans],
'serif': ['"Noto Serif"', ...defaultTheme.fontFamily.serif],
'mono': ['"Fira Code"', ...defaultTheme.fontFamily.mono],
sans: ['"Noto Sans"', ...defaultTheme.fontFamily.sans],
serif: ['"Noto Serif"', ...defaultTheme.fontFamily.serif],
mono: ['"Fira Code"', ...defaultTheme.fontFamily.mono],
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion crates/mabo-parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ anstream.workspace = true
anstyle.workspace = true
mabo-derive = { path = "../mabo-derive" }
miette.workspace = true
winnow = "0.5.34"
winnow = "0.5.35"

[dev-dependencies]
indoc.workspace = true
Expand Down
3 changes: 1 addition & 2 deletions crates/mabo-parser/src/parser.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
use winnow::{
ascii::{multispace0, newline, space0},
combinator::{fail, opt, peek, preceded, repeat, terminated},
combinator::{fail, opt, peek, preceded, repeat, terminated, trace},
dispatch,
error::ParserError,
prelude::*,
stream::{AsChar, Stream, StreamIsPartial},
token::any,
trace::trace,
};

pub use self::{
Expand Down
38 changes: 18 additions & 20 deletions crates/mabo-parser/src/parser/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ use std::ops::Range;
use mabo_derive::{ParserError, ParserErrorCause};
use winnow::{
ascii::{dec_uint, space0},
combinator::{
alt, cut_err, fail, opt, preceded, separated, separated_pair, success, terminated,
},
combinator::{alt, cut_err, empty, fail, opt, preceded, separated, separated_pair, terminated},
dispatch,
error::ErrorKind,
stream::Location,
Expand Down Expand Up @@ -74,23 +72,23 @@ fn parse_basic<'i>(input: &mut Input<'i>) -> Result<DataType<'i>, Cause> {
alt((
dispatch! {
take_while(2.., ('a'..='z', '0'..='9', '&'));
"bool" => success(DataType::Bool),
"u8" => success(DataType::U8),
"u16" => success(DataType::U16),
"u32" => success(DataType::U32),
"u64" => success(DataType::U64),
"u128" => success(DataType::U128),
"i8" => success(DataType::I8),
"i16" => success(DataType::I16),
"i32" => success(DataType::I32),
"i64" => success(DataType::I64),
"i128" => success(DataType::I128),
"f32" => success(DataType::F32),
"f64" => success(DataType::F64),
"string" => success(DataType::String),
"&string" => success(DataType::StringRef),
"bytes" => success(DataType::Bytes),
"&bytes" => success(DataType::BytesRef),
"bool" => empty.value(DataType::Bool),
"u8" => empty.value(DataType::U8),
"u16" => empty.value(DataType::U16),
"u32" => empty.value(DataType::U32),
"u64" => empty.value(DataType::U64),
"u128" => empty.value(DataType::U128),
"i8" => empty.value(DataType::I8),
"i16" => empty.value(DataType::I16),
"i32" => empty.value(DataType::I32),
"i64" => empty.value(DataType::I64),
"i128" => empty.value(DataType::I128),
"f32" => empty.value(DataType::F32),
"f64" => empty.value(DataType::F64),
"string" => empty.value(DataType::String),
"&string" => empty.value(DataType::StringRef),
"bytes" => empty.value(DataType::Bytes),
"&bytes" => empty.value(DataType::BytesRef),
_ => fail,
},
tag("box<string>").value(DataType::BoxString),
Expand Down
2 changes: 2 additions & 0 deletions vscode-extension/.vscodeignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
../
out/
src/
images/*.svg
schemas/*.yaml
syntaxes/*.yaml
.gitignore
biome.json
2 changes: 1 addition & 1 deletion vscode-extension/biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/1.5.0/schema.json",
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"organizeImports": {
"enabled": true
},
Expand Down
6 changes: 3 additions & 3 deletions vscode-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@
"vscode-languageclient": "^9.0.1"
},
"devDependencies": {
"@biomejs/biome": "^1.5.2",
"@biomejs/biome": "^1.5.3",
"@types/vscode": "^1.85.0",
"@vscode/vsce": "^2.22.0",
"esbuild": "^0.19.11",
"@vscode/vsce": "~2.22.0",
"esbuild": "^0.20.0",
"js-yaml": "^4.1.0"
}
}

0 comments on commit 7737243

Please sign in to comment.