summaryrefslogtreecommitdiff
path: root/tests/registry
diff options
context:
space:
mode:
authorsnek <snek@deno.com>2024-09-19 21:10:34 -0700
committerGitHub <noreply@github.com>2024-09-19 21:10:34 -0700
commita01dce3a25e0bf671c6c21bd6ff57861be613087 (patch)
treebecb8a7c90e5a21e83c81160eec9d91e1281bc92 /tests/registry
parentf1ba26661346a83b6e7fe5e7ffeed4553a9571ae (diff)
fix: cjs resolution cases (#25739)
Fixes cjs modules being loaded as esm.
Diffstat (limited to 'tests/registry')
-rw-r--r--tests/registry/npm/@denotest/type-commonjs/1.0.0/index.js1
-rw-r--r--tests/registry/npm/@denotest/type-commonjs/1.0.0/package.json5
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/registry/npm/@denotest/type-commonjs/1.0.0/index.js b/tests/registry/npm/@denotest/type-commonjs/1.0.0/index.js
new file mode 100644
index 000000000..cb0ff5c3b
--- /dev/null
+++ b/tests/registry/npm/@denotest/type-commonjs/1.0.0/index.js
@@ -0,0 +1 @@
+export {};
diff --git a/tests/registry/npm/@denotest/type-commonjs/1.0.0/package.json b/tests/registry/npm/@denotest/type-commonjs/1.0.0/package.json
new file mode 100644
index 000000000..d10933e86
--- /dev/null
+++ b/tests/registry/npm/@denotest/type-commonjs/1.0.0/package.json
@@ -0,0 +1,5 @@
+{
+ "name": "@denotest/type-commonjs",
+ "version": "1.0.0",
+ "type": "commonjs"
+}