mirror of
https://github.com/denoland/deno.git
synced 2024-12-20 22:34:46 -05:00
c1f23c5788
Previously various reads of files in `node_modules` would error on invalid UTF-8. These were cases involving: - reading package.json from Rust - reading package.json from JS - reading CommonJS files from JS - reading CommonJS files from Rust (for ESM translation) - reading ESM files from Rust
3 lines
82 B
JavaScript
3 lines
82 B
JavaScript
import mod from "npm:@denotest/lossy-utf8-package-json@1.0.0";
|
|
|
|
console.log(mod);
|