summaryrefslogtreecommitdiff
path: root/cli/tests/testdata
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-01-21 17:19:10 -0500
committerGitHub <noreply@github.com>2024-01-21 17:19:10 -0500
commitfbfeedb68b593d0dbf3f0bfb0061939756da20b7 (patch)
treedc58c302dcb1ac9cdc11c0cdd14fea39b6d960d1 /cli/tests/testdata
parente58462dbb9b8b611628c5d8da7e523e48a58242c (diff)
fix(lsp): improved npm specifier to import map entry mapping (#22016)
Upgrades to the latest deno_semver
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r--cli/tests/testdata/npm/registry/@denotest/types-exports-subpaths/1.0.0/dist/entry-a.js2
-rw-r--r--cli/tests/testdata/npm/registry/@denotest/types-exports-subpaths/1.0.0/dist/entry-b.d.ts1
-rw-r--r--cli/tests/testdata/npm/registry/@denotest/types-exports-subpaths/1.0.0/dist/entry-b.js3
-rw-r--r--cli/tests/testdata/npm/registry/@denotest/types-exports-subpaths/1.0.0/package.json3
4 files changed, 8 insertions, 1 deletions
diff --git a/cli/tests/testdata/npm/registry/@denotest/types-exports-subpaths/1.0.0/dist/entry-a.js b/cli/tests/testdata/npm/registry/@denotest/types-exports-subpaths/1.0.0/dist/entry-a.js
index 070b1ccbd..84f1f2c94 100644
--- a/cli/tests/testdata/npm/registry/@denotest/types-exports-subpaths/1.0.0/dist/entry-a.js
+++ b/cli/tests/testdata/npm/registry/@denotest/types-exports-subpaths/1.0.0/dist/entry-a.js
@@ -1,3 +1,3 @@
-export function entryC() {
+export function entryA() {
return 12;
}
diff --git a/cli/tests/testdata/npm/registry/@denotest/types-exports-subpaths/1.0.0/dist/entry-b.d.ts b/cli/tests/testdata/npm/registry/@denotest/types-exports-subpaths/1.0.0/dist/entry-b.d.ts
new file mode 100644
index 000000000..382d1995e
--- /dev/null
+++ b/cli/tests/testdata/npm/registry/@denotest/types-exports-subpaths/1.0.0/dist/entry-b.d.ts
@@ -0,0 +1 @@
+export function entryB(): "b";
diff --git a/cli/tests/testdata/npm/registry/@denotest/types-exports-subpaths/1.0.0/dist/entry-b.js b/cli/tests/testdata/npm/registry/@denotest/types-exports-subpaths/1.0.0/dist/entry-b.js
new file mode 100644
index 000000000..162d4f190
--- /dev/null
+++ b/cli/tests/testdata/npm/registry/@denotest/types-exports-subpaths/1.0.0/dist/entry-b.js
@@ -0,0 +1,3 @@
+export function entryB() {
+ return "b";
+}
diff --git a/cli/tests/testdata/npm/registry/@denotest/types-exports-subpaths/1.0.0/package.json b/cli/tests/testdata/npm/registry/@denotest/types-exports-subpaths/1.0.0/package.json
index 169017560..cc43cf2ed 100644
--- a/cli/tests/testdata/npm/registry/@denotest/types-exports-subpaths/1.0.0/package.json
+++ b/cli/tests/testdata/npm/registry/@denotest/types-exports-subpaths/1.0.0/package.json
@@ -18,6 +18,9 @@
},
"./entry-a": {
"import": "./dist/entry-a.js"
+ },
+ "./nested/entry-b": {
+ "import": "./dist/entry-b.js"
}
}
}