mirror of
https://github.com/denoland/deno.git
synced 2024-11-01 09:24:20 -04: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.
9 lines
580 B
Text
9 lines
580 B
Text
[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])
|