Using msgpackr by using npm: flag with invalid UTF-8 string (\x80\xfd...) panic Deno like
============================================================
Deno has panicked. This is a bug in Deno. Please report this
at https://github.com/denoland/deno/issues/new.
If you can reliably reproduce this panic, include the
reproduction steps and re-run with the RUST_BACKTRACE=1 env
var set and include the backtrace in your report.
Platform: macos aarch64
Version: 1.43.3
Args: ["/Users/alisue/.local/share/mise/installs/deno/latest/bin/deno", "run", "--allow-all", "--unstable-ffi", "--unstable-temporal", "--unstable-kv", "/Users/alisue/ogh/vim-denops/deno-denops-std/test.ts"]
thread 'main' panicked at cli/napi/js_native_api.rs:867:33:
called `Result::unwrap()` on an `Err` value: Utf8Error { valid_up_to: 0, error_len: Some(1) }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Version: Deno 1.43.3
Using msgpackr by using
npm:
flag with invalid UTF-8 string (\x80\xfd...
) panic Deno likeI'm not familiar with but the library seems to use some node's extra feature to accelerate performance and that cause this panic when used with invalid UTF-8 string.
How to reproduce
Run the following script.