1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 23:04:45 -05:00
denoland-deno/cli/args
David Sherret 1a0cb5b531
feat(unstable): --unstable-detect-cjs for respecting explicit "type": "commonjs" (#26149)
When using the `--unstable-detect-cjs` flag or adding `"unstable":
["detect-cjs"]` to a deno.json, it will make a JS file CJS if the
closest package.json contains `"type": "commonjs"` and the file is not
an ESM module (no TLA, no `import.meta`, no `import`/`export`).
2024-10-14 20:48:39 -04:00
..
deno_json.rs BREAKING(config): make supported compilerOptions an allow list (#25432) 2024-09-04 17:39:30 +02:00
flags.rs feat(unstable): --unstable-detect-cjs for respecting explicit "type": "commonjs" (#26149) 2024-10-14 20:48:39 -04:00
flags_net.rs refactor(permissions): remove FromStr implementations, add ::parse methods (#25473) 2024-09-06 11:28:53 +02:00
import_map.rs refactor(permissions): split up Descriptor into Allow, Deny, and Query (#25508) 2024-09-16 21:39:37 +01:00
lockfile.rs feat(byonm): support deno run npm:<package> when package is not in package.json (#25981) 2024-10-02 21:17:39 +01:00
mod.rs feat(unstable): --unstable-detect-cjs for respecting explicit "type": "commonjs" (#26149) 2024-10-14 20:48:39 -04:00
package_json.rs fix(install): surface package.json dependency errors (#26023) 2024-10-04 07:52:00 +00:00