mirror of
https://github.com/Quad4-Software/MeshChatX.git
synced 2026-08-18 09:49:09 -04:00
chore: update Micron-Parser-Go version to v1.0.6 in various configuration files and locales
This commit is contained in:
parent
e64b36ddad
commit
7737194b3c
8 changed files with 10 additions and 8 deletions
BIN
meshchatx.rsm
BIN
meshchatx.rsm
Binary file not shown.
|
|
@ -137,7 +137,7 @@ export default {
|
||||||
computed: {
|
computed: {
|
||||||
defaultTag() {
|
defaultTag() {
|
||||||
const t = import.meta.env.VITE_MICRON_PARSER_GO_RELEASE;
|
const t = import.meta.env.VITE_MICRON_PARSER_GO_RELEASE;
|
||||||
return typeof t === "string" && t.trim() ? t.trim() : "v1.0.5";
|
return typeof t === "string" && t.trim() ? t.trim() : "v1.0.6";
|
||||||
},
|
},
|
||||||
downloadBase() {
|
downloadBase() {
|
||||||
return MICRON_PARSER_GO_RELEASE_DOWNLOAD_BASE;
|
return MICRON_PARSER_GO_RELEASE_DOWNLOAD_BASE;
|
||||||
|
|
|
||||||
|
|
@ -1895,7 +1895,7 @@
|
||||||
"micron_wasm_update_upload_heading": "Install from file",
|
"micron_wasm_update_upload_heading": "Install from file",
|
||||||
"micron_wasm_update_upload_warning": "Uploaded WASM is not authenticity-checked. Only use files you trust.",
|
"micron_wasm_update_upload_warning": "Uploaded WASM is not authenticity-checked. Only use files you trust.",
|
||||||
"micron_wasm_update_revert_bundled": "Remove override (use bundled WASM)",
|
"micron_wasm_update_revert_bundled": "Remove override (use bundled WASM)",
|
||||||
"micron_wasm_update_err_empty_tag": "Enter a release tag (for example v1.0.5).",
|
"micron_wasm_update_err_empty_tag": "Enter a release tag (for example v1.0.6).",
|
||||||
"micron_wasm_update_err_not_wasm": "Choose a file whose name ends with .wasm.",
|
"micron_wasm_update_err_not_wasm": "Choose a file whose name ends with .wasm.",
|
||||||
"micron_wasm_update_err_too_large": "That file is too large to store as a runtime override.",
|
"micron_wasm_update_err_too_large": "That file is too large to store as a runtime override.",
|
||||||
"micron_wasm_update_err_too_small": "That file is too small to be a valid WASM module.",
|
"micron_wasm_update_err_too_small": "That file is too small to be a valid WASM module.",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"version": "v1.0.5",
|
"version": "v1.0.6",
|
||||||
"wasm": "sha384-E16yCcmQKfjrg2OxZQ2uY8ZnQoJvQK9y7NmH4BJOO8qO5Eg677HPie1AbZqWKfcK",
|
"wasm": "sha384-v8PajPnZcEzOx9l7nBD+cV9zvpJbmgHyWOmeRW9KXCJ2Z7g0S7mRIBAvIHXElH9B",
|
||||||
"wasmExec": "sha384-PWCs+V4BDf9yY1yjkD/p+9xNEs4iEbuvq+HezAOJiY3XL5GI6VyJXMsvnjiwNbce",
|
"wasmExec": "sha384-PWCs+V4BDf9yY1yjkD/p+9xNEs4iEbuvq+HezAOJiY3XL5GI6VyJXMsvnjiwNbce",
|
||||||
"wasmExecSourceUrl": "https://raw.githubusercontent.com/golang/go/go1.26.2/lib/wasm/wasm_exec.js",
|
"wasmExecSourceUrl": "https://raw.githubusercontent.com/golang/go/go1.26.2/lib/wasm/wasm_exec.js",
|
||||||
"wasmExecEtag": "W/\"97232acf11bb7ff454a8c640d2a6c59e000ceebfee1e4478f2f250d98618a007\""
|
"wasmExecEtag": "W/\"97232acf11bb7ff454a8c640d2a6c59e000ceebfee1e4478f2f250d98618a007\""
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
{
|
{
|
||||||
"name": "micron-parser-go-wasm",
|
"name": "micron-parser-go-wasm",
|
||||||
"pattern": "https://github.com/Quad4-Software/Micron-Parser-Go/releases/download/*/micron-parser-go.wasm",
|
"pattern": "https://github.com/Quad4-Software/Micron-Parser-Go/releases/download/*/micron-parser-go.wasm",
|
||||||
"pinned_tag": "v1.0.5",
|
"pinned_tag": "v1.0.6",
|
||||||
"tag_source": "scripts/micron-parser-go-version.mjs"
|
"tag_source": "scripts/micron-parser-go-version.mjs"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,4 +2,4 @@
|
||||||
* Micron-Parser-Go release tag for default WASM URL (scripts/fetch-micron-wasm.mjs)
|
* Micron-Parser-Go release tag for default WASM URL (scripts/fetch-micron-wasm.mjs)
|
||||||
* and build-time tooltip copy (VITE_MICRON_PARSER_GO_RELEASE).
|
* and build-time tooltip copy (VITE_MICRON_PARSER_GO_RELEASE).
|
||||||
*/
|
*/
|
||||||
export const MICRON_PARSER_GO_RELEASE_TAG = "v1.0.5";
|
export const MICRON_PARSER_GO_RELEASE_TAG = "v1.0.6";
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ def test_safe_path_under_dir_rejects_nul_and_dot(tmp_path):
|
||||||
|
|
||||||
|
|
||||||
def test_safe_path_under_dir_rejects_symlink_escape(tmp_path):
|
def test_safe_path_under_dir_rejects_symlink_escape(tmp_path):
|
||||||
"""realpath containment must reject basename symlinks that leave the jail."""
|
"""Reject basename symlinks whose real path leaves the jail."""
|
||||||
outside = tmp_path / "outside.secret"
|
outside = tmp_path / "outside.secret"
|
||||||
outside.write_bytes(b"secret")
|
outside.write_bytes(b"secret")
|
||||||
jail = tmp_path / "jail"
|
jail = tmp_path / "jail"
|
||||||
|
|
|
||||||
|
|
@ -182,7 +182,9 @@ async def test_rncp_send_path_jails_and_blocks_identity(tmp_path, monkeypatch):
|
||||||
fake_home = tmp_path / "home"
|
fake_home = tmp_path / "home"
|
||||||
fake_home.mkdir()
|
fake_home.mkdir()
|
||||||
monkeypatch.setenv("HOME", str(fake_home))
|
monkeypatch.setenv("HOME", str(fake_home))
|
||||||
monkeypatch.setattr(os.path, "expanduser", lambda p: str(fake_home) if p == "~" else p)
|
monkeypatch.setattr(
|
||||||
|
os.path, "expanduser", lambda p: str(fake_home) if p == "~" else p
|
||||||
|
)
|
||||||
|
|
||||||
outside_root = tmp_path.parent / "rncp-outside-root"
|
outside_root = tmp_path.parent / "rncp-outside-root"
|
||||||
outside_root.mkdir(exist_ok=True)
|
outside_root.mkdir(exist_ok=True)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue