mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -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
|
|
}
|
|
}
|
|
} |