summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/npm
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-11-10 17:57:10 +0100
committerGitHub <noreply@github.com>2022-11-10 17:57:10 +0100
commit53e974b276b095faf52918c4c6e988e9d2788cef (patch)
tree44b9807d87e90005f02192bb01e96ef053096f1a /cli/tests/testdata/npm
parentfd32f75da997b805a4ba95c68b4aaeed9f020cb1 (diff)
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.
Diffstat (limited to 'cli/tests/testdata/npm')
-rw-r--r--cli/tests/testdata/npm/no_unstable/main.out1
-rw-r--r--cli/tests/testdata/npm/no_unstable/main.ts3
2 files changed, 0 insertions, 4 deletions
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"));