summaryrefslogtreecommitdiff
path: root/tests/testdata/npm
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-08-28 14:17:47 -0400
committerGitHub <noreply@github.com>2024-08-28 14:17:47 -0400
commitb708a13eb02510925b5fd964fe933b4896093185 (patch)
treee20a84f95680439a3eb665245fc7ede27bf4be02 /tests/testdata/npm
parent7dd861aa36974d5afa9633078b51c4c7f17cf181 (diff)
feat: improve lockfile v4 to store normalized version constraints and be more terse (#25247)
Stores normalized version constraints in the lockfile, which will improve reproducibility and will fix a bug with duplicate specifiers ending up in the lockfile. Also, gets rid of some duplicate data in the specifiers area of the lockfile.
Diffstat (limited to 'tests/testdata/npm')
-rw-r--r--tests/testdata/npm/invalid_package_name/main.js1
-rw-r--r--tests/testdata/npm/invalid_package_name/main.out2
2 files changed, 0 insertions, 3 deletions
diff --git a/tests/testdata/npm/invalid_package_name/main.js b/tests/testdata/npm/invalid_package_name/main.js
deleted file mode 100644
index 1e3783054..000000000
--- a/tests/testdata/npm/invalid_package_name/main.js
+++ /dev/null
@@ -1 +0,0 @@
-import * as foo from "npm:@foo";
diff --git a/tests/testdata/npm/invalid_package_name/main.out b/tests/testdata/npm/invalid_package_name/main.out
deleted file mode 100644
index b4a421bd7..000000000
--- a/tests/testdata/npm/invalid_package_name/main.out
+++ /dev/null
@@ -1,2 +0,0 @@
-error: Invalid package specifier 'npm:@foo'. Did not contain a valid package name.
- at [WILDCARD]/invalid_package_name/main.js:1:22