diff options
author | Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> | 2024-09-23 19:12:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 02:12:48 +0000 |
commit | 1e261c9756e232b5d8ef1e7a6627f6f03695ab16 (patch) | |
tree | 522fd2101a2ebc96af15387bb64cbb1b418e3756 /tests/registry | |
parent | 74e294c8c1873db447af0f02229470f8d78fffdd (diff) |
fix: Update deno_npm to fix `deno install` with crossws (#25837)
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.
Diffstat (limited to 'tests/registry')
-rw-r--r-- | tests/registry/npm/@denotest/non-existent-optional-peer/1.0.0/index.js | 0 | ||||
-rw-r--r-- | tests/registry/npm/@denotest/non-existent-optional-peer/1.0.0/package.json | 12 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/registry/npm/@denotest/non-existent-optional-peer/1.0.0/index.js b/tests/registry/npm/@denotest/non-existent-optional-peer/1.0.0/index.js new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/tests/registry/npm/@denotest/non-existent-optional-peer/1.0.0/index.js diff --git a/tests/registry/npm/@denotest/non-existent-optional-peer/1.0.0/package.json b/tests/registry/npm/@denotest/non-existent-optional-peer/1.0.0/package.json new file mode 100644 index 000000000..e1eaf20b7 --- /dev/null +++ b/tests/registry/npm/@denotest/non-existent-optional-peer/1.0.0/package.json @@ -0,0 +1,12 @@ +{ + "name": "@denotest/non-existent-optional-peer", + "version": "1.0.0", + "peerDependencies": { + "uWebSockets.js": "*" + }, + "peerDependenciesMeta": { + "uWebSockets.js": { + "optional": true + } + } +}
\ No newline at end of file |