mirror of
https://github.com/denoland/deno.git
synced 2024-12-27 01:29:14 -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
76 B
JavaScript
3 lines
76 B
JavaScript
import mod from "npm:@denotest/lossy-utf8-script@1.0.0";
|
|
|
|
console.log(mod);
|