From 53e974b276b095faf52918c4c6e988e9d2788cef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 10 Nov 2022 17:57:10 +0100 Subject: feat: remove --unstable flag requirement for npm: specifiers (#16473) This commit makes "npm:" specifiers not require "--unstable" flag. At the moment some APIs used by Node polyfills still require "--unstable" which will be addressed in follow up PRs. --- cli/tests/testdata/npm/no_unstable/main.out | 1 - cli/tests/testdata/npm/no_unstable/main.ts | 3 --- 2 files changed, 4 deletions(-) delete mode 100644 cli/tests/testdata/npm/no_unstable/main.out delete mode 100644 cli/tests/testdata/npm/no_unstable/main.ts (limited to 'cli/tests/testdata/npm') diff --git a/cli/tests/testdata/npm/no_unstable/main.out b/cli/tests/testdata/npm/no_unstable/main.out deleted file mode 100644 index 5a5a4e5a7..000000000 --- a/cli/tests/testdata/npm/no_unstable/main.out +++ /dev/null @@ -1 +0,0 @@ -error: Unstable use of npm specifiers. The --unstable flag must be provided. diff --git a/cli/tests/testdata/npm/no_unstable/main.ts b/cli/tests/testdata/npm/no_unstable/main.ts deleted file mode 100644 index bb14e62c5..000000000 --- a/cli/tests/testdata/npm/no_unstable/main.ts +++ /dev/null @@ -1,3 +0,0 @@ -import chalk from "npm:chalk@5"; - -console.log(chalk.green("hello")); -- cgit v1.2.3