mirror of
https://github.com/denoland/deno
synced 2024-10-13 03:22:31 +00:00
de2c042482
This commit removes support for importing JSON files as modules. This change is dictated by security; browsers rolled back on this support as well.
10 lines
580 B
Plaintext
10 lines
580 B
Plaintext
[WILDCARD]
|
|
error: Uncaught TypeError: Cannot resolve extension for "[WILDCARD]config.json" with mediaType "Json".
|
|
at getExtension ($deno$/compiler/sourcefile.ts:[WILDCARD])
|
|
at new SourceFile ($deno$/compiler/sourcefile.ts:[WILDCARD])
|
|
at processImports ($deno$/compiler/imports.ts:[WILDCARD])
|
|
at async Object.processImports ($deno$/compiler/imports.ts:[WILDCARD])
|
|
at async compile ([WILDCARD]compiler.ts:[WILDCARD])
|
|
at async tsCompilerOnMessage ([WILDCARD]compiler.ts:[WILDCARD])
|
|
at async workerMessageRecvCallback ($deno$/runtime_worker.ts:[WILDCARD])
|