Skip to content

Remove the deno pack Deno shim docs (removed in Deno 2.8.1) - #3557

Open
PRIMITIFA wants to merge 1 commit into
denoland:mainfrom
PRIMITIFA:fix/pack-deno-shim
Open

PRIMITIFA wants to merge 1 commit into
denoland:mainfrom
PRIMITIFA:fix/pack-deno-shim

Conversation

@PRIMITIFA

Copy link
Copy Markdown

The deno pack reference still describes automatic @deno/shim-deno injection and a --no-deno-shim flag. Both were removed in denoland/deno#34411, which shipped in 2.8.1. On Deno 2.9.8, deno pack --no-deno-shim fails with "unexpected argument", and packing a module that uses Deno.env produces a package.json with no shim dependency. This removes the shimming section and its example, and adds a line under Limitations saying Deno.* code is packed as is. deno fmt --check and deno task test pass.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant