mirror of
https://github.com/denoland/deno.git
synced 2024-12-24 16:19:12 -05:00
1e261c9756
Partially addresses https://github.com/denoland/deno/issues/25648. This allows packages that use `crossws` to be installed with `deno install`. `crossws` specifies an optional peer dependency on `uWebSockets`, but `uWebSockets` is not on npm (it is used with `git:` or `github:` specifiers). Previously we would error on this, now we don't error on non-existent optional peer dependencies.
12 lines
No EOL
215 B
JSON
12 lines
No EOL
215 B
JSON
{
|
|
"name": "@denotest/non-existent-optional-peer",
|
|
"version": "1.0.0",
|
|
"peerDependencies": {
|
|
"uWebSockets.js": "*"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"uWebSockets.js": {
|
|
"optional": true
|
|
}
|
|
}
|
|
} |