summaryrefslogtreecommitdiff
path: root/tests/testdata
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-07-10 11:18:10 +1000
committerGitHub <noreply@github.com>2024-07-10 03:18:10 +0200
commiteb46296e974c686896486350bb00bf428a84e9fd (patch)
tree33427c6f8560459218ed5dff3834f6ccc6cb05ca /tests/testdata
parentff5163af05d95409cbb3d1a13f49a43fefd4849a (diff)
feat: deprecate `deno vendor` (#22183)
This commit deprecates `deno vendor` subcommand in favor of using `--vendor` flag or `"vendor": true` setting in the config file. The subcommand is still available (until Deno 2) but is hidden from the help output. Closes #20584 --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Diffstat (limited to 'tests/testdata')
-rw-r--r--tests/testdata/vendor/dynamic_non_existent.ts.out2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testdata/vendor/dynamic_non_existent.ts.out b/tests/testdata/vendor/dynamic_non_existent.ts.out
index a1b2ade81..1bbd01f7b 100644
--- a/tests/testdata/vendor/dynamic_non_existent.ts.out
+++ b/tests/testdata/vendor/dynamic_non_existent.ts.out
@@ -1,3 +1,5 @@
+⚠️ Warning: `deno vendor` is deprecated and will be removed in Deno 2.0.
+Add `"vendor": true` to your `deno.json` or use the `--vendor` flag instead.
Download http://localhost:4545/vendor/dynamic_non_existent.ts
Download http://localhost:4545/vendor/non-existent.js
Ignoring: Dynamic import not found "http://localhost:4545/vendor/non-existent.js".