1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-01 16:51:13 -05:00
denoland-deno/cli/schemas
David Sherret 2bbfef137c
feat(unstable): repurpose --unstable-detect-cjs to attempt loading more modules as cjs (#27094)
This resurrects the `--unstable-detect-cjs` flag (which became stable),
and repurposes it to attempt loading .js/.jsx/.ts/.tsx files as CJS in
the following additional scenarios:

1. There is no package.json
1. There is a package.json without a "type" field

Also cleans up the implementation of this in the LSP a lot by hanging
`resolution_mode()` off `Document` (didn't think about doing that until
now).
2024-11-27 09:50:38 -05:00
..
config-file.v1.json feat(unstable): repurpose --unstable-detect-cjs to attempt loading more modules as cjs (#27094) 2024-11-27 09:50:38 -05:00
kv-metadata-exchange-response.v1.json feat(ext/kv): connect to remote database (#20178) 2023-08-22 13:56:00 +08:00
module-graph.json BREAKING: remove "emit" and "map" from deno info output (#25468) 2024-09-05 14:22:13 +00:00
registry-completions.v1.json feat(lsp): improve registry completion suggestions (#13023) 2021-12-14 06:24:11 +11:00
registry-completions.v2.json feat(lsp): improve registry completion suggestions (#13023) 2021-12-14 06:24:11 +11:00