summaryrefslogtreecommitdiff
path: root/tests/integration/lsp_tests.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-09-23 14:46:50 -0400
committerGitHub <noreply@github.com>2024-09-23 18:46:50 +0000
commite1c8d2755e23182875b8fefeb558e603dd981418 (patch)
tree0202f2aeea0038f8ac3c7d48553fc6cb264b073c /tests/integration/lsp_tests.rs
parent1287739ddfa659c0b2bd88930eb10e9469b59099 (diff)
BREAKING: remove support for remote import maps in deno.json (#25836)
This is for security reasons for the time being for Deno 2. Details to follow post Deno 2.0 release. Remote import maps seem incredibly rare (only 2 usages on GitHub from what I can tell), so we'll add this back with more permissions if there's enough demand for it: https://github.com/search?type=code&q=%2F%22importMap%22%3A+%22http%2F In the meantime, use the `--import-map` flag and `"deno.importMap"` config in the LSP for remote import maps.
Diffstat (limited to 'tests/integration/lsp_tests.rs')
-rw-r--r--tests/integration/lsp_tests.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/integration/lsp_tests.rs b/tests/integration/lsp_tests.rs
index 2d8d88b27..a0368d8d1 100644
--- a/tests/integration/lsp_tests.rs
+++ b/tests/integration/lsp_tests.rs
@@ -364,13 +364,6 @@ fn lsp_import_map_remote() {
.build();
let temp_dir = context.temp_dir();
temp_dir.write(
- "deno.json",
- json!({
- "importMap": "http://localhost:4545/import_maps/import_map_remote.json",
- })
- .to_string(),
- );
- temp_dir.write(
"file.ts",
r#"
import { printHello } from "print_hello";