fix(npm): panic on invalid package name (#16123)

This commit is contained in:
Bartek Iwańczuk 2022-10-03 17:45:01 +02:00 committed by GitHub
parent a4a628dc6f
commit 8e1b2fca59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 16 additions and 6 deletions

View file

@ -0,0 +1 @@
import * as foo from "npm:@foo";

View file

@ -0,0 +1,2 @@
error: Not a valid package: @foo
at [WILDCARD]/invalid_package_name/main.js:1:22