summaryrefslogtreecommitdiff
path: root/tests/testdata
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-09-26 15:57:12 -0400
committerGitHub <noreply@github.com>2024-09-26 15:57:12 -0400
commit7cccb7422bb9be7a2e87d71ca59c8dabd32c07ec (patch)
tree2e3564ef57220db130dca41dfd92f72ac5bb5dd6 /tests/testdata
parent543c687c3474233d674ba9938c40c9a33fab61e8 (diff)
fix(info): move "version" field to top of json output (#25890)
Diffstat (limited to 'tests/testdata')
-rw-r--r--tests/testdata/npm/cjs_with_deps/main_info_json.out2
-rw-r--r--tests/testdata/npm/peer_deps_with_copied_folders/main_info_json.out2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/testdata/npm/cjs_with_deps/main_info_json.out b/tests/testdata/npm/cjs_with_deps/main_info_json.out
index af1ef1351..137b9f8ce 100644
--- a/tests/testdata/npm/cjs_with_deps/main_info_json.out
+++ b/tests/testdata/npm/cjs_with_deps/main_info_json.out
@@ -1,4 +1,5 @@
{
+ "version": 1,
"roots": [
"file://[WILDCARD]/main.js"
],
@@ -51,7 +52,6 @@
"npm:chai@4.3": "npm:/chai@4.3.6",
"npm:chalk@4": "npm:/chalk@4.1.2"
},
- "version": 1,
"npmPackages": {
"ansi-styles@4.3.0": {
"name": "ansi-styles",
diff --git a/tests/testdata/npm/peer_deps_with_copied_folders/main_info_json.out b/tests/testdata/npm/peer_deps_with_copied_folders/main_info_json.out
index df6541aa8..d87496d6d 100644
--- a/tests/testdata/npm/peer_deps_with_copied_folders/main_info_json.out
+++ b/tests/testdata/npm/peer_deps_with_copied_folders/main_info_json.out
@@ -1,4 +1,5 @@
{
+ "version": 1,
"roots": [
"[WILDCARD]/npm/peer_deps_with_copied_folders/main.ts"
],
@@ -51,7 +52,6 @@
"npm:@denotest/peer-dep-test-child@1": "npm:/@denotest/peer-dep-test-child@1.0.0",
"npm:@denotest/peer-dep-test-child@2": "npm:/@denotest/peer-dep-test-child@2.0.0"
},
- "version": 1,
"npmPackages": {
"@denotest/peer-dep-test-child@1.0.0_@denotest+peer-dep-test-peer@1.0.0": {
"name": "@denotest/peer-dep-test-child",