From 7cccb7422bb9be7a2e87d71ca59c8dabd32c07ec Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 26 Sep 2024 15:57:12 -0400 Subject: fix(info): move "version" field to top of json output (#25890) --- .../npm/node_modules_dir_with_deps/cjs_with_deps/main_info_json.out | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/specs/npm/node_modules_dir_with_deps') diff --git a/tests/specs/npm/node_modules_dir_with_deps/cjs_with_deps/main_info_json.out b/tests/specs/npm/node_modules_dir_with_deps/cjs_with_deps/main_info_json.out index af1ef1351..137b9f8ce 100644 --- a/tests/specs/npm/node_modules_dir_with_deps/cjs_with_deps/main_info_json.out +++ b/tests/specs/npm/node_modules_dir_with_deps/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", -- cgit v1.2.3