update shulkerscript grammar

This commit is contained in:
Moritz Hölting 2025-09-29 14:07:53 +02:00
parent 1d88e4c0df
commit e55cec1739
8 changed files with 1354 additions and 1770 deletions

View File

@ -13,7 +13,7 @@
"dependencies": { "dependencies": {
"@astrojs/check": "^0.9.4", "@astrojs/check": "^0.9.4",
"@astrojs/react": "^4.3.0", "@astrojs/react": "^4.3.0",
"@astrojs/starlight": "^0.35.2", "@astrojs/starlight": "^0.36.0",
"@emotion/react": "^11.14.0", "@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1", "@emotion/styled": "^11.14.1",
"@lorenzo_lewis/starlight-utils": "^0.3.2", "@lorenzo_lewis/starlight-utils": "^0.3.2",
@ -31,7 +31,7 @@
"react-icons": "^5.5.0", "react-icons": "^5.5.0",
"sharp": "^0.34.3", "sharp": "^0.34.3",
"shiki": "^3.9.2", "shiki": "^3.9.2",
"starlight-links-validator": "^0.17.0", "starlight-links-validator": "^0.18.0",
"tm-themes": "^1.10.7", "tm-themes": "^1.10.7",
"typescript": "^5.9.2", "typescript": "^5.9.2",
"unified": "^11.0.5", "unified": "^11.0.5",
@ -42,5 +42,5 @@
"devDependencies": { "devDependencies": {
"sass": "^1.90.0" "sass": "^1.90.0"
}, },
"packageManager": "pnpm@9.7.0" "packageManager": "pnpm@10.17.1"
} }

File diff suppressed because it is too large Load Diff

View File

@ -3,8 +3,8 @@ import MonacoEditor, { useMonaco } from "@monaco-editor/react";
import { createHighlighter, type Highlighter } from "shiki"; import { createHighlighter, type Highlighter } from "shiki";
import { shikiToMonaco } from "@shikijs/monaco"; import { shikiToMonaco } from "@shikijs/monaco";
import { useEffect, useState } from "react"; import { useEffect, useState } from "react";
import darkPlus from "tm-themes/themes/dark-plus.json"; import darkPlus from "tm-themes/themes/dark-plus.json" with { type: 'json' };
import lightPlus from "tm-themes/themes/light-plus.json"; import lightPlus from "tm-themes/themes/light-plus.json" with { type: 'json' };
import { shulkerscriptGrammar } from "@utils/shulkerscript-grammar"; import { shulkerscriptGrammar } from "@utils/shulkerscript-grammar";
import { mcfunctionGrammar } from "@utils/mcfunction-grammar"; import { mcfunctionGrammar } from "@utils/mcfunction-grammar";

View File

@ -1,12 +1,13 @@
import { shulkerscriptGrammar } from "./shulkerscript-grammar";
import { mcfunctionGrammar } from "./mcfunction-grammar"; import { mcfunctionGrammar } from "./mcfunction-grammar";
import { mcscriptGrammar } from "./mcscript-grammar"; import { mcscriptGrammar } from "./mcscript-grammar";
import shulkerscriptGrammar from "./shulkerscript-grammar.json" with { type: 'json' };
const config = { const config = {
langs: [ langs: [
shulkerscriptGrammar, shulkerscriptGrammar,
mcfunctionGrammar, mcfunctionGrammar,
mcscriptGrammar, mcscriptGrammar,
"lua",
], ],
}; };

View File

@ -0,0 +1,206 @@
{
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
"name": "shulkerscript",
"aliases": ["shu"],
"displayName": "Shulkerscript",
"fileTypes": ["shu"],
"scopeName": "source.shulkerscript",
"patterns": [
{ "include": "#comments" },
{ "include": "#commandLiteral" },
{ "include": "#luaBlock" },
{ "include": "#declarationKeywords" },
{ "include": "#flowKeywords" },
{ "include": "#generalKeywords" },
{ "include": "#executeKeywords" },
{ "include": "#types" },
{ "include": "#functions" },
{ "include": "#strings" },
{ "include": "#numbers" },
{ "include": "#annotations" },
{ "include": "#operators" },
{ "include": "#punctuation" }
],
"repository": {
"comments": {
"patterns": [
{
"name": "comment.line.doc.shulkerscript",
"match": "///.*$"
},
{
"name": "comment.line.double-slash.shulkerscript",
"match": "//.*$"
},
{
"name": "comment.block.shulkerscript",
"begin": "/\\*",
"end": "\\*/"
}
]
},
"declarationKeywords": {
"patterns": [
{
"name": "keyword.declaration.shulkerscript",
"match": "\\b(namespace|fn|pub|val|tag)\\b"
}
]
},
"flowKeywords": {
"patterns": [
{
"name": "keyword.control.flow.shulkerscript",
"match": "\\b(if|else|return|group)\\b"
}
]
},
"generalKeywords": {
"patterns": [
{
"name": "keyword.control.shulkerscript",
"match": "\\b(from|import|replace|run)\\b"
}
]
},
"executeKeywords": {
"patterns": [
{
"name": "keyword.control.execute.shulkerscript",
"match": "\\b(align|anchored|as|asat|at|facing|in|on|positioned|rotated|store|summon)\\b"
}
]
},
"types": {
"patterns": [
{
"name": "storage.type.shulkerscript",
"match": "\\b(int|bool|macro)\\b"
}
]
},
"functions": {
"patterns": [
{
"name": "entity.name.function.shulkerscript",
"match": "\\b([A-Za-z_][A-Za-z0-9_]*)\\s*(?=\\()"
}
]
},
"strings": {
"patterns": [
{
"name": "string.quoted.double.shulkerscript",
"begin": "\"",
"end": "\"",
"patterns": [
{
"name": "constant.character.escape.shulkerscript",
"match": "\\\\."
}
]
},
{
"name": "string.interpolated.shulkerscript",
"begin": "`",
"end": "`",
"patterns": [
{
"name": "variable.interpolation.shulkerscript",
"begin": "\\$\\(",
"end": "\\)",
"beginCaptures": {
"0": {
"name": "punctuation.interpolation.begin.shulkerscript"
}
},
"endCaptures": {
"0": {
"name": "punctuation.interpolation.end.shulkerscript"
}
},
"patterns": [
{ "include": "$self" },
{
"name": "variable.interpolation.shulkerscript",
"match": ".+?"
}
]
}
]
}
]
},
"numbers": {
"patterns": [
{
"name": "constant.numeric.shulkerscript",
"match": "\\b[0-9]+\\b"
}
]
},
"annotations": {
"patterns": [
{
"name": "meta.annotation.shulkerscript",
"begin": "#\\[",
"end": "\\]",
"patterns": [
{ "include": "#declarationKeywords" },
{ "include": "#flowKeywords" },
{ "include": "#generalKeywords" },
{ "include": "#strings" },
{ "include": "#numbers" }
]
}
]
},
"operators": {
"patterns": [
{
"name": "keyword.operator.shulkerscript",
"match": "(\\+|\\-|\\*|\\/|%|==|!=|<=|>=|<|>|&&|\\|\\||=|!)"
}
]
},
"punctuation": {
"patterns": [
{
"name": "punctuation.separator.shulkerscript",
"match": "[,;]"
},
{
"name": "punctuation.brackets.shulkerscript",
"match": "[\\[\\]\\(\\)\\{\\}]"
},
{
"name": "punctuation.accessor.shulkerscript",
"match": "\\."
}
]
},
"commandLiteral": {
"name": "string.commandliteral.shulkerscript",
"match": "^\\s*(/\\w+)(.*)$",
"captures": {
"1": {
"name": "keyword.other.commandliteral.shulkerscript"
},
"2": {
"name": "string.command.shulkerscript"
}
}
},
"luaBlock": {
"name": "meta.embedded.lua.shulkerscript",
"begin": "(lua)\\s*\\(\\s*((\\w+\\s*,\\s*)*\\w+?\\s*)?\\)\\s*\\{",
"end": "\\}",
"beginCaptures": {
"1": {
"name": "keyword.control.lua.shulkerscript"
}
},
"patterns": [{ "include": "source.lua" }]
}
}
}

View File

@ -1,226 +1,5 @@
import type { LanguageInput } from "shiki"; import type { LanguageInput } from "shiki";
export const shulkerscriptGrammar: LanguageInput = { import grammar from "./shulkerscript-grammar.json" with { type: 'json' };
name: "shulkerscript",
aliases: ["shu"],
displayName: "Shulkerscript",
fileTypes: ["shu"],
scopeName: "source.shulkerscript",
patterns: [
{
include: "#namespaceKeyword",
},
{
include: "#functionContents",
},
{
include: "#functionDeclaration",
},
{
include: "#functionAnnotation",
},
{
include: "#importStatement",
},
{
include: "#tagDeclaration",
},
],
repository: {
$base: {},
$self: {},
// Groupings
functionContents: {
patterns: [
{ include: "#docComment" },
{ include: "#lineComment" },
{ include: "#blockComment" },
{ include: "#commandLiteral" },
{ include: "#lua" },
{ include: "#groupBlock" },
{ include: "#stringLiteral" },
{ include: "#templateStringLiteral" },
{ include: "#binaryOperator" },
{ include: "#executeKeyword" },
{ include: "#elseKeyword" },
{ include: "#runKeyword" },
{ include: "#functionCall" },
],
},
// Components export const shulkerscriptGrammar: LanguageInput = grammar;
lineComment: {
name: "comment.line.shulkerscript",
match: "//.*$",
},
blockComment: {
name: "comment.block.shulkerscript",
begin: "/\\*",
end: "\\*/",
},
docComment: {
name: "comment.documentation.shulkerscript",
match: "///.*$",
},
namespaceKeyword: {
name: "keyword.other.namespace.shulkerscript",
match: "\\bnamespace\\b",
},
functionDeclaration: {
begin: "^\\s*(pub\\s)?(fn)\\s+(\\w+)\\(\\s*(?:\\w+\\s*(?:,\\s*\\w+\\s*)*)?\\)\\s*{",
end: "}",
captures: {
1: {
name: "keyword.control.public.shulkerscript",
},
2: {
name: "keyword.control.function.shulkerscript",
},
3: {
name: "entity.name.function.shulkerscript",
},
},
patterns: [{ include: "#functionContents" }],
},
functionAnnotation: {
name: "entity.annotation.function.shulkerscript",
match: '(#\\[)(\\w+)(?:\\s*=\\s*"[^"]+")?(\\])',
captures: {
1: {
name: "keyword.operator.annotation.shulkerscript",
},
2: {
name: "entity.annotation.function.shulkerscript",
},
3: {
name: "keyword.operator.annotation.shulkerscript",
},
},
},
functionCall: {
match: "(\\w+)\\s*\\(\\s*(?:.*?)?\\)",
captures: {
1: {
name: "entity.name.function.shulkerscript",
},
},
},
tagDeclaration: {
begin: '^\\s*(tag)\\s+("\\w+")\\s+(?:(of)\\s+("\\w+")\\s+)?(?:(replace)\\s+)?\\[',
end: "]",
patterns: [{ include: "#stringLiteral" }],
captures: {
1: {
name: "keyword.control.tag.shulkerscript",
},
2: {
name: "string.quoted.double.shulkerscript",
},
3: {
name: "keyword.control.of.shulkerscript",
},
4: {
name: "string.quoted.double.shulkerscript",
},
5: {
name: "keyword.control.replace.shulkerscript",
},
},
},
binaryOperator: {
name: "punctuation.operator.binary.shulkerscript",
match: "(&&|\\|\\|)",
},
executeKeyword: {
name: "keyword.control.execute.shulkerscript",
match: "\\b(if|align|as|asat|at|facing|in|on|positioned|rotated|store|summon)\\b",
},
elseKeyword: {
name: "keyword.control.else.shulkerscript",
match: "\\belse\\b",
},
runKeyword: {
name: "keyword.control.run.shulkerscript",
match: "\\brun\\b",
},
commandLiteral: {
name: "string.commandliteral.shulkerscript",
match: "^\\s*(/\\w+)(.*)$",
captures: {
1: {
name: "keyword.other.commandliteral.shulkerscript",
},
2: {
name: "string.command.shulkerscript",
},
},
},
stringLiteral: {
name: "string.quoted.double.shulkerscript",
begin: '"',
end: '"',
patterns: [
{
name: "constant.character.escape.shulkerscript",
match: "\\\\.",
},
],
},
templateStringLiteral: {
name: "string.quoted.macro.shulkerscript",
begin: "`",
end: "`",
patterns: [
{
name: "constant.character.escape.shulkerscript",
match: "\\\\.",
},
{
name: "punctuation.interpolation.shulkerscript",
match: "\\$\\((\\w+)\\)",
captures: {
1: {
name: "variable.other.shulkerscript",
},
},
},
],
},
lua: {
name: "entity.lua.shulkerscript",
begin: "(lua)\\s*\\(\\s*\\)\\s*{",
end: "}",
beginCaptures: {
1: {
name: "keyword.control.lua.shulkerscript",
},
},
patterns: [{ include: "source.lua" }],
},
groupBlock: {
name: "entity.group.shulkerscript",
begin: "^\\s*(group)\\s*{",
end: "}",
captures: {
1: {
name: "keyword.control.group.shulkerscript",
},
2: {
name: "entity.name.group.shulkerscript",
},
},
patterns: [{ include: "#functionContents" }],
},
importStatement: {
name: "keyword.import.other.shulkerscript",
begin: "from\\s",
end: "import\\s(\\w+(?:\\s?,\\s?(?:\\w+))*)\\s?,?\\s?",
captures: {
1: {
name: "entity.name.function.shulkerscript",
},
},
patterns: [{ include: "#stringLiteral" }],
},
},
};

View File

@ -4,9 +4,9 @@ version = 4
[[package]] [[package]]
name = "adler2" name = "adler2"
version = "2.0.0" version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
[[package]] [[package]]
name = "aho-corasick" name = "aho-corasick"
@ -20,10 +20,8 @@ dependencies = [
[[package]] [[package]]
name = "ansi-to-html" name = "ansi-to-html"
version = "0.2.2" version = "0.2.2"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "12e283a4fc285735ef99577e81a125f738429516161ac33977e466d0d8d40764" checksum = "12e283a4fc285735ef99577e81a125f738429516161ac33977e466d0d8d40764"
checksum = "12e283a4fc285735ef99577e81a125f738429516161ac33977e466d0d8d40764"
dependencies = [ dependencies = [
"regex", "regex",
"thiserror 1.0.69", "thiserror 1.0.69",
@ -31,17 +29,15 @@ dependencies = [
[[package]] [[package]]
name = "anyhow" name = "anyhow"
version = "1.0.99" version = "1.0.100"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b0674a1ddeecb70197781e945de4b3b8ffb61fa939a5597bcf48503737663100" checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61"
[[package]] [[package]]
name = "arbitrary" name = "arbitrary"
version = "1.4.1" version = "1.4.2"
version = "1.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dde20b3d026af13f561bdd0f15edf01fc734f0dafcedbaf42bba506a9517f223" checksum = "c3d036a3c4ab069c7b410a2ce876bd74808d2d0888a82667669f8e783a898bf1"
checksum = "dde20b3d026af13f561bdd0f15edf01fc734f0dafcedbaf42bba506a9517f223"
dependencies = [ dependencies = [
"derive_arbitrary", "derive_arbitrary",
] ]
@ -66,15 +62,21 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]] [[package]]
name = "bumpalo" name = "bumpalo"
version = "3.17.0" version = "3.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43"
[[package]]
name = "byteorder"
version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
[[package]] [[package]]
name = "cfg-if" name = "cfg-if"
version = "1.0.1" version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9555578bc9e57714c812a1f84e4fc5b4d21fcb063490c624de019f7464c91268" checksum = "2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9"
[[package]] [[package]]
name = "chksum-core" name = "chksum-core"
@ -142,16 +144,6 @@ dependencies = [
"chksum-hash-md5 0.0.1", "chksum-hash-md5 0.0.1",
] ]
[[package]]
name = "colored"
version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fde0e0ec90c9dfb3b4b1a0891a7dcd0e2bffde2f7efed5fe7c9bb00e5bfb915e"
dependencies = [
"lazy_static",
"windows-sys",
]
[[package]] [[package]]
name = "colored" name = "colored"
version = "3.0.0" version = "3.0.0"
@ -173,24 +165,22 @@ dependencies = [
[[package]] [[package]]
name = "crc32fast" name = "crc32fast"
version = "1.4.2" version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511"
dependencies = [ dependencies = [
"cfg-if", "cfg-if",
] ]
[[package]] [[package]]
name = "derive_arbitrary" name = "derive_arbitrary"
version = "1.4.1" version = "1.4.2"
version = "1.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "30542c1ad912e0e3d22a1935c290e12e8a29d704a420177a31faad4a601a0800" checksum = "1e567bd82dcff979e4b03460c307b3cdc9e96fde3d73bed1496d2bc75d9dd62a"
checksum = "30542c1ad912e0e3d22a1935c290e12e8a29d704a420177a31faad4a601a0800"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.100", "syn 2.0.106",
] ]
[[package]] [[package]]
@ -206,11 +196,11 @@ dependencies = [
name = "derive_more-impl" name = "derive_more-impl"
version = "2.0.1" version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" checksum = "bda628edc44c4bb645fbe0f758797143e4e07926f7ebf4e9bdfbd3d2ce621df3"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.100", "syn 2.0.106",
] ]
[[package]] [[package]]
@ -228,7 +218,7 @@ dependencies = [
"heck", "heck",
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.100", "syn 2.0.106",
] ]
[[package]] [[package]]
@ -250,9 +240,9 @@ dependencies = [
[[package]] [[package]]
name = "flexbuffers" name = "flexbuffers"
version = "25.2.10" version = "25.9.23"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "935627e7bc8f083035d9faad09ffaed9128f73fb1f74a8798f115749c43378e8" checksum = "0e6701cb4a12d88a63f83ac41a11aa61286b5a678445a1a5ab9bc8e38654910a"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"byteorder", "byteorder",
@ -263,21 +253,21 @@ dependencies = [
[[package]] [[package]]
name = "getset" name = "getset"
version = "0.1.5" version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f3586f256131df87204eb733da72e3d3eb4f343c639f4b7be279ac7c48baeafe" checksum = "9cf0fc11e47561d47397154977bc219f4cf809b2974facc3ccb3b89e2436f912"
dependencies = [ dependencies = [
"proc-macro-error2", "proc-macro-error2",
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.100", "syn 2.0.106",
] ]
[[package]] [[package]]
name = "hashbrown" name = "hashbrown"
version = "0.15.2" version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" checksum = "5419bdc4f6a9207fbeba6d11b604d481addf78ecd10c11ad51e76c2f6482748d"
[[package]] [[package]]
name = "heck" name = "heck"
@ -287,9 +277,9 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
[[package]] [[package]]
name = "indexmap" name = "indexmap"
version = "2.8.0" version = "2.11.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3954d50fe15b02142bf25d3b8bdadb634ec3948f103d04ffe3031bc8fe9d7058" checksum = "4b0f83760fb341a774ed326568e19f5a863af4a952def8c39f9ab92fd95b88e5"
dependencies = [ dependencies = [
"equivalent", "equivalent",
"hashbrown", "hashbrown",
@ -312,9 +302,9 @@ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
[[package]] [[package]]
name = "js-sys" name = "js-sys"
version = "0.3.77" version = "0.3.81"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f" checksum = "ec48937a97411dcb524a265206ccd4c90bb711fca92b2792c407f268825b9305"
dependencies = [ dependencies = [
"once_cell", "once_cell",
"wasm-bindgen", "wasm-bindgen",
@ -322,9 +312,9 @@ dependencies = [
[[package]] [[package]]
name = "libz-rs-sys" name = "libz-rs-sys"
version = "0.5.1" version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172a788537a2221661b480fee8dc5f96c580eb34fa88764d3205dc356c7e4221" checksum = "840db8cf39d9ec4dd794376f38acc40d0fc65eec2a8f484f7fd375b84602becd"
dependencies = [ dependencies = [
"zlib-rs", "zlib-rs",
] ]
@ -339,17 +329,11 @@ dependencies = [
"scopeguard", "scopeguard",
] ]
[[package]]
name = "lockfree-object-pool"
version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9374ef4228402d4b7e403e5838cb880d9ee663314b0a900d5a6aabf0c213552e"
[[package]] [[package]]
name = "log" name = "log"
version = "0.4.26" version = "0.4.28"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432"
[[package]] [[package]]
name = "lol_alloc" name = "lol_alloc"
@ -362,9 +346,9 @@ dependencies = [
[[package]] [[package]]
name = "memchr" name = "memchr"
version = "2.7.4" version = "2.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
[[package]] [[package]]
name = "miniz_oxide" name = "miniz_oxide"
@ -398,9 +382,9 @@ dependencies = [
[[package]] [[package]]
name = "once_cell" name = "once_cell"
version = "1.21.0" version = "1.21.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cde51589ab56b20a6f686b2c68f7a0bd6add753d697abf720d63f8db3ab7b1ad" checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
[[package]] [[package]]
name = "pathdiff" name = "pathdiff"
@ -421,7 +405,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919"
dependencies = [ dependencies = [
"once_cell", "once_cell",
"toml_edit 0.19.15", "toml_edit",
] ]
[[package]] [[package]]
@ -443,32 +427,32 @@ dependencies = [
"proc-macro-error-attr2", "proc-macro-error-attr2",
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.100", "syn 2.0.106",
] ]
[[package]] [[package]]
name = "proc-macro2" name = "proc-macro2"
version = "1.0.94" version = "1.0.101"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a31971752e70b8b2686d7e46ec17fb38dad4051d94024c88df49b667caea9c84" checksum = "89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de"
dependencies = [ dependencies = [
"unicode-ident", "unicode-ident",
] ]
[[package]] [[package]]
name = "quote" name = "quote"
version = "1.0.40" version = "1.0.41"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" checksum = "ce25767e7b499d1b604768e7cde645d14cc8584231ea6b295e9c9eb22c02e1d1"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
] ]
[[package]] [[package]]
name = "regex" name = "regex"
version = "1.11.1" version = "1.11.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" checksum = "8b5288124840bee7b386bc413c487869b360b2b4ec421ea56425128692f2a82c"
dependencies = [ dependencies = [
"aho-corasick", "aho-corasick",
"memchr", "memchr",
@ -478,9 +462,9 @@ dependencies = [
[[package]] [[package]]
name = "regex-automata" name = "regex-automata"
version = "0.4.9" version = "0.4.11"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" checksum = "833eb9ce86d40ef33cb1306d8accf7bc8ec2bfea4355cbdebb3df68b40925cad"
dependencies = [ dependencies = [
"aho-corasick", "aho-corasick",
"memchr", "memchr",
@ -489,21 +473,21 @@ dependencies = [
[[package]] [[package]]
name = "regex-syntax" name = "regex-syntax"
version = "0.8.5" version = "0.8.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" checksum = "caf4aa5b0f434c91fe5c7f1ecb6a5ece2130b02ad2a590589dda5146df959001"
[[package]] [[package]]
name = "rustversion" name = "rustversion"
version = "1.0.20" version = "1.0.22"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2" checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
[[package]] [[package]]
name = "ryu" name = "ryu"
version = "1.0.20" version = "1.0.20"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
[[package]] [[package]]
name = "scopeguard" name = "scopeguard"
@ -513,12 +497,11 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]] [[package]]
name = "serde" name = "serde"
version = "1.0.219" version = "1.0.228"
version = "1.0.219"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6"
dependencies = [ dependencies = [
"serde_core",
"serde_derive", "serde_derive",
] ]
@ -534,37 +517,45 @@ dependencies = [
] ]
[[package]] [[package]]
name = "serde_derive" name = "serde_core"
version = "1.0.219" version = "1.0.228"
version = "1.0.219"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
version = "1.0.228"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.100", "syn 2.0.106",
] ]
[[package]] [[package]]
name = "serde_json" name = "serde_json"
version = "1.0.140" version = "1.0.145"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c"
dependencies = [ dependencies = [
"itoa", "itoa",
"memchr", "memchr",
"ryu", "ryu",
"serde", "serde",
"serde_core",
] ]
[[package]] [[package]]
name = "serde_spanned" name = "serde_spanned"
version = "1.0.0" version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "40734c41988f7306bb04f0ecf60ec0f3f1caa34290e4e8ea471dcd3346483b83" checksum = "5417783452c2be558477e104686f7de5dae53dba813c28435e0e70f82d9b04ee"
dependencies = [ dependencies = [
"serde", "serde_core",
] ]
[[package]] [[package]]
@ -582,9 +573,11 @@ dependencies = [
[[package]] [[package]]
name = "shulkerscript" name = "shulkerscript"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/moritz-hoelting/shulkerscript-lang.git?rev=d988a10d9dee222d16ec2b30da202fb8a9a1f051#d988a10d9dee222d16ec2b30da202fb8a9a1f051"
dependencies = [ dependencies = [
"chksum-md5", "cfg-if",
"colored 2.1.0", "chksum-md5 0.1.0",
"colored",
"derive_more", "derive_more",
"enum-as-inner", "enum-as-inner",
"flexbuffers", "flexbuffers",
@ -595,7 +588,7 @@ dependencies = [
"shulkerbox", "shulkerbox",
"strsim", "strsim",
"strum", "strum",
"thiserror 2.0.12", "thiserror 2.0.17",
"tracing", "tracing",
] ]
@ -622,31 +615,41 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
[[package]] [[package]]
name = "strum" name = "strum"
version = "0.27.1" version = "0.27.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f64def088c51c9510a8579e3c5d67c65349dcf755e5479ad3d010aa6454e2c32" checksum = "af23d6f6c1a224baef9d3f61e287d2761385a5b88fdab4eb4c6f11aeb54c4bcf"
dependencies = [ dependencies = [
"strum_macros", "strum_macros",
] ]
[[package]] [[package]]
name = "strum_macros" name = "strum_macros"
version = "0.27.1" version = "0.27.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c77a8c5abcaf0f9ce05d62342b7d298c346515365c36b673df4ebe3ced01fde8" checksum = "7695ce3845ea4b33927c055a39dc438a45b059f7c1b3d91d38d10355fb8cbca7"
dependencies = [ dependencies = [
"heck", "heck",
"proc-macro2", "proc-macro2",
"quote", "quote",
"rustversion", "syn 2.0.106",
"syn 2.0.100",
] ]
[[package]] [[package]]
name = "syn" name = "syn"
version = "2.0.87" version = "1.0.109"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d" checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
dependencies = [
"proc-macro2",
"quote",
"unicode-ident",
]
[[package]]
name = "syn"
version = "2.0.106"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -664,11 +667,11 @@ dependencies = [
[[package]] [[package]]
name = "thiserror" name = "thiserror"
version = "2.0.12" version = "2.0.17"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8"
dependencies = [ dependencies = [
"thiserror-impl 2.0.12", "thiserror-impl 2.0.17",
] ]
[[package]] [[package]]
@ -679,58 +682,75 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.100", "syn 2.0.106",
] ]
[[package]] [[package]]
name = "thiserror-impl" name = "thiserror-impl"
version = "2.0.12" version = "2.0.17"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.100", "syn 2.0.106",
] ]
[[package]] [[package]]
name = "toml" name = "toml"
version = "0.9.5" version = "0.9.7"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "75129e1dc5000bfbaa9fee9d1b21f974f9fbad9daec557a521ee6e080825f6e8" checksum = "00e5e5d9bf2475ac9d4f0d9edab68cc573dc2fd644b0dba36b0c30a92dd9eaa0"
dependencies = [ dependencies = [
"indexmap", "indexmap",
"serde", "serde_core",
"serde_spanned", "serde_spanned",
"toml_datetime", "toml_datetime 0.7.2",
"toml_parser", "toml_parser",
"toml_writer", "toml_writer",
"winnow", "winnow 0.7.13",
] ]
[[package]] [[package]]
name = "toml_datetime" name = "toml_datetime"
version = "0.7.0" version = "0.6.11"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bade1c3e902f58d73d3f294cd7f20391c1cb2fbcb643b73566bc773971df91e3" checksum = "22cddaf88f4fbc13c51aebbf5f8eceb5c7c5a9da2ac40a13519eb5b0a0e8f11c"
[[package]]
name = "toml_datetime"
version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32f1085dec27c2b6632b04c80b3bb1b4300d6495d1e129693bdda7d91e72eec1"
dependencies = [ dependencies = [
"serde", "serde_core",
]
[[package]]
name = "toml_edit"
version = "0.19.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421"
dependencies = [
"indexmap",
"toml_datetime 0.6.11",
"winnow 0.5.40",
] ]
[[package]] [[package]]
name = "toml_parser" name = "toml_parser"
version = "1.0.2" version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b551886f449aa90d4fe2bdaa9f4a2577ad2dde302c61ecf262d80b116db95c10" checksum = "4cf893c33be71572e0e9aa6dd15e6677937abd686b066eac3f8cd3531688a627"
dependencies = [ dependencies = [
"winnow", "winnow 0.7.13",
] ]
[[package]] [[package]]
name = "toml_writer" name = "toml_writer"
version = "1.0.2" version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fcc842091f2def52017664b53082ecbbeb5c7731092bad69d2c63050401dfd64" checksum = "d163a63c116ce562a22cda521fcc4d79152e7aba014456fb5eb442f6d6a10109"
[[package]] [[package]]
name = "tracing" name = "tracing"
@ -745,68 +765,62 @@ dependencies = [
[[package]] [[package]]
name = "tracing-attributes" name = "tracing-attributes"
version = "0.1.28" version = "0.1.30"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" checksum = "81383ab64e72a7a8b8e13130c49e3dab29def6d0c7d76a03087b3cf71c5c6903"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.100", "syn 2.0.106",
] ]
[[package]] [[package]]
name = "tracing-core" name = "tracing-core"
version = "0.1.33" version = "0.1.34"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" checksum = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678"
dependencies = [ dependencies = [
"once_cell", "once_cell",
] ]
[[package]] [[package]]
name = "unicode-ident" name = "unicode-ident"
version = "1.0.18" version = "1.0.19"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" checksum = "f63a545481291138910575129486daeaf8ac54aee4387fe7906919f7830c7d9d"
[[package]] [[package]]
name = "wasm-bindgen" name = "wasm-bindgen"
version = "0.2.100" version = "0.2.104"
version = "0.2.100"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5" checksum = "c1da10c01ae9f1ae40cbfac0bac3b1e724b320abfcf52229f80b547c0d250e2d"
checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
dependencies = [ dependencies = [
"cfg-if", "cfg-if",
"once_cell", "once_cell",
"rustversion", "rustversion",
"rustversion",
"wasm-bindgen-macro", "wasm-bindgen-macro",
"wasm-bindgen-shared",
] ]
[[package]] [[package]]
name = "wasm-bindgen-backend" name = "wasm-bindgen-backend"
version = "0.2.100" version = "0.2.104"
version = "0.2.100"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6" checksum = "671c9a5a66f49d8a47345ab942e2cb93c7d1d0339065d4f8139c486121b43b19"
checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6"
dependencies = [ dependencies = [
"bumpalo", "bumpalo",
"log", "log",
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.100", "syn 2.0.106",
"wasm-bindgen-shared", "wasm-bindgen-shared",
] ]
[[package]] [[package]]
name = "wasm-bindgen-macro" name = "wasm-bindgen-macro"
version = "0.2.100" version = "0.2.104"
version = "0.2.100"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407" checksum = "7ca60477e4c59f5f2986c50191cd972e3a50d8a95603bc9434501cf156a9a119"
checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407"
dependencies = [ dependencies = [
"quote", "quote",
"wasm-bindgen-macro-support", "wasm-bindgen-macro-support",
@ -814,29 +828,22 @@ dependencies = [
[[package]] [[package]]
name = "wasm-bindgen-macro-support" name = "wasm-bindgen-macro-support"
version = "0.2.100" version = "0.2.104"
version = "0.2.100"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" checksum = "9f07d2f20d4da7b26400c9f4a0511e6e0345b040694e8a75bd41d578fa4421d7"
checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.100", "syn 2.0.106",
"wasm-bindgen-backend", "wasm-bindgen-backend",
"wasm-bindgen-shared", "wasm-bindgen-shared",
] ]
[[package]] [[package]]
name = "wasm-bindgen-shared" name = "wasm-bindgen-shared"
version = "0.2.100" version = "0.2.104"
version = "0.2.100"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d" checksum = "bad67dc8b2a1a6e5448428adec4c3e84c43e561d8c9ee8a9e5aabeb193ec41d1"
dependencies = [
"unicode-ident",
]
checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d"
dependencies = [ dependencies = [
"unicode-ident", "unicode-ident",
] ]
@ -849,7 +856,7 @@ dependencies = [
"anyhow", "anyhow",
"base64", "base64",
"cfg-if", "cfg-if",
"colored 3.0.0", "colored",
"console_error_panic_hook", "console_error_panic_hook",
"lol_alloc", "lol_alloc",
"serde", "serde",
@ -935,15 +942,24 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
[[package]] [[package]]
name = "winnow" name = "winnow"
version = "0.7.12" version = "0.5.40"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f3edebf492c8125044983378ecb5766203ad3b4c2f7a922bd7dd207f6d443e95" checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876"
dependencies = [
"memchr",
]
[[package]]
name = "winnow"
version = "0.7.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "21a0236b59786fed61e2a80582dd500fe61f18b5dca67a4a067d0bc9039339cf"
[[package]] [[package]]
name = "zip" name = "zip"
version = "4.3.0" version = "4.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9aed4ac33e8eb078c89e6cbb1d5c4c7703ec6d299fc3e7c3695af8f8b423468b" checksum = "caa8cd6af31c3b31c6631b8f483848b91589021b28fffe50adada48d4f4d2ed1"
dependencies = [ dependencies = [
"arbitrary", "arbitrary",
"crc32fast", "crc32fast",
@ -955,20 +971,18 @@ dependencies = [
[[package]] [[package]]
name = "zlib-rs" name = "zlib-rs"
version = "0.5.1" version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "626bd9fa9734751fc50d6060752170984d7053f5a39061f524cda68023d4db8a" checksum = "2f06ae92f42f5e5c42443fd094f245eb656abf56dd7cce9b8b263236565e00f2"
[[package]] [[package]]
name = "zopfli" name = "zopfli"
version = "0.8.1" version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e5019f391bac5cf252e93bbcc53d039ffd62c7bfb7c150414d61369afe57e946" checksum = "edfc5ee405f504cd4984ecc6f14d02d55cfda60fa4b689434ef4102aae150cd7"
dependencies = [ dependencies = [
"bumpalo", "bumpalo",
"crc32fast", "crc32fast",
"lockfree-object-pool",
"log", "log",
"once_cell",
"simd-adler32", "simd-adler32",
] ]

View File

@ -6,7 +6,8 @@
"@*": ["src/*"] "@*": ["src/*"]
}, },
"jsx": "react-jsx", "jsx": "react-jsx",
"jsxImportSource": "react" "jsxImportSource": "react",
"resolveJsonModule": true
}, },
"exclude": ["dist", "node_modules"] "exclude": ["dist", "node_modules"]
} }