From eb46296e974c686896486350bb00bf428a84e9fd Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Wed, 10 Jul 2024 11:18:10 +1000 Subject: feat: deprecate `deno vendor` (#22183) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- tests/testdata/vendor/dynamic_non_existent.ts.out | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/testdata/vendor') 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". -- cgit v1.2.3