mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
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.
This commit is contained in:
parent
fd32f75da9
commit
53e974b276
10 changed files with 58 additions and 152 deletions
1
cli/tests/testdata/npm/no_unstable/main.out
vendored
1
cli/tests/testdata/npm/no_unstable/main.out
vendored
|
@ -1 +0,0 @@
|
|||
error: Unstable use of npm specifiers. The --unstable flag must be provided.
|
3
cli/tests/testdata/npm/no_unstable/main.ts
vendored
3
cli/tests/testdata/npm/no_unstable/main.ts
vendored
|
@ -1,3 +0,0 @@
|
|||
import chalk from "npm:chalk@5";
|
||||
|
||||
console.log(chalk.green("hello"));
|
Loading…
Add table
Add a link
Reference in a new issue