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:
Bartek Iwańczuk 2022-11-10 17:57:10 +01:00 committed by GitHub
parent fd32f75da9
commit 53e974b276
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 58 additions and 152 deletions

View file

@ -1 +0,0 @@
error: Unstable use of npm specifiers. The --unstable flag must be provided.

View file

@ -1,3 +0,0 @@
import chalk from "npm:chalk@5";
console.log(chalk.green("hello"));