summaryrefslogtreecommitdiff
path: root/tests/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata')
-rw-r--r--tests/testdata/info/076_info_json_deps_order.out1
-rw-r--r--tests/testdata/info/info_json.out1
-rw-r--r--tests/testdata/info/info_json_location.out1
-rw-r--r--tests/testdata/info/json_output/main.out1
-rw-r--r--tests/testdata/lint/expected_from_stdin_json.out1
-rw-r--r--tests/testdata/lint/expected_json.out1
-rw-r--r--tests/testdata/lint/with_report_config_override.out1
-rw-r--r--tests/testdata/npm/cjs_with_deps/main_info_json.out1
-rw-r--r--tests/testdata/npm/info/chalk_json.out1
-rw-r--r--tests/testdata/npm/peer_deps_with_copied_folders/main_info_json.out1
10 files changed, 10 insertions, 0 deletions
diff --git a/tests/testdata/info/076_info_json_deps_order.out b/tests/testdata/info/076_info_json_deps_order.out
index a1b15e00c..33d58da16 100644
--- a/tests/testdata/info/076_info_json_deps_order.out
+++ b/tests/testdata/info/076_info_json_deps_order.out
@@ -160,5 +160,6 @@
}
],
"redirects": {},
+ "version": 1,
"npmPackages": {}
}
diff --git a/tests/testdata/info/info_json.out b/tests/testdata/info/info_json.out
index 3215af742..607489ca3 100644
--- a/tests/testdata/info/info_json.out
+++ b/tests/testdata/info/info_json.out
@@ -1,4 +1,5 @@
{
+ "version": 1,
"denoDir": "[WILDCARD]",
"modulesCache": "[WILDCARD]deps",
"npmCache": "[WILDCARD]npm",
diff --git a/tests/testdata/info/info_json_location.out b/tests/testdata/info/info_json_location.out
index 510fa7749..004bf03db 100644
--- a/tests/testdata/info/info_json_location.out
+++ b/tests/testdata/info/info_json_location.out
@@ -1,4 +1,5 @@
{
+ "version": 1,
"denoDir": "[WILDCARD]",
"modulesCache": "[WILDCARD]deps",
"npmCache": "[WILDCARD]npm",
diff --git a/tests/testdata/info/json_output/main.out b/tests/testdata/info/json_output/main.out
index 5a89d5cab..43c4f7398 100644
--- a/tests/testdata/info/json_output/main.out
+++ b/tests/testdata/info/json_output/main.out
@@ -87,5 +87,6 @@
}
],
"redirects": {},
+ "version": 1,
"npmPackages": {}
}
diff --git a/tests/testdata/lint/expected_from_stdin_json.out b/tests/testdata/lint/expected_from_stdin_json.out
index 9e1188bcd..27b215b43 100644
--- a/tests/testdata/lint/expected_from_stdin_json.out
+++ b/tests/testdata/lint/expected_from_stdin_json.out
@@ -1,4 +1,5 @@
{
+ "version": 1,
"diagnostics": [
{
"filename": "[WILDCARD]$deno$stdin.ts",
diff --git a/tests/testdata/lint/expected_json.out b/tests/testdata/lint/expected_json.out
index 95c3d30ba..6712c891a 100644
--- a/tests/testdata/lint/expected_json.out
+++ b/tests/testdata/lint/expected_json.out
@@ -1,4 +1,5 @@
{
+ "version": 1,
"diagnostics": [
{
"filename": "[WILDCARD]file1.js",
diff --git a/tests/testdata/lint/with_report_config_override.out b/tests/testdata/lint/with_report_config_override.out
index 7ca748158..ad32e3123 100644
--- a/tests/testdata/lint/with_report_config_override.out
+++ b/tests/testdata/lint/with_report_config_override.out
@@ -1,4 +1,5 @@
{
+ "version": 1,
"diagnostics": [
{
"filename": "[WILDCARD]a.ts",
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 fd850b8a1..4d8c1a5be 100644
--- a/tests/testdata/npm/cjs_with_deps/main_info_json.out
+++ b/tests/testdata/npm/cjs_with_deps/main_info_json.out
@@ -53,6 +53,7 @@
"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/info/chalk_json.out b/tests/testdata/npm/info/chalk_json.out
index bffed4ad4..d54155270 100644
--- a/tests/testdata/npm/info/chalk_json.out
+++ b/tests/testdata/npm/info/chalk_json.out
@@ -12,6 +12,7 @@
"redirects": {
"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 a4306a6d5..48cb1f992 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
@@ -53,6 +53,7 @@
"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",